From 3dedb752398ec204092b73fa40661674bbccb49d Mon Sep 17 00:00:00 2001 From: omair saleh Date: Tue, 19 Jul 2022 18:38:56 +0800 Subject: [PATCH] fix vt packing list api --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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([