diff --git a/routes/web.php b/routes/web.php index 84cbacd0..0756fda0 100644 --- a/routes/web.php +++ b/routes/web.php @@ -140,7 +140,7 @@ Route::get('/customer/{marking}/details', function ($marking) { 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(); + $packingLists = \App\Models\PackingList::where('type', \App\Classes\ValueObjects\Constants\PackingListType::WAREHOUSE_RECEIVE_LIST)->has('containers')->detach(); dd($packingLists); // FetchWarehouseReceiveListFromVTPortalJob::withChain([