diff --git a/routes/web.php b/routes/web.php index 7ba9a394..63fb91f1 100644 --- a/routes/web.php +++ b/routes/web.php @@ -142,7 +142,7 @@ Route::get('/orders/refresh', function(\Illuminate\Http\Request $request){ $packingLists = \App\Models\PackingList::where('type', \App\Classes\ValueObjects\Constants\PackingListType::WAREHOUSE_RECEIVE_LIST)->has('containers')->get(); dd($packingLists->each(function (\App\Models\PackingList $packingList) { - $packingList->containers()->detach; + $packingList->containers()->detach(); })); // FetchWarehouseReceiveListFromVTPortalJob::withChain([