zaster
8 months ago

Method delete does not exist.

Posted 8 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.