zaster
200
4
Laravel

Method delete does not exist.

Posted 2 months ago by zaster
            if ($cost_item->status == 0) {                           
                $po_item = POItem::where('cost_item_id', $cost_item->id)->get();               
                $po_item->delete();
                $cost_item->delete();
            }

I am getting this error

Method delete does not exist.

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.