mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-22 05:54:08 +00:00
fix vt packing list api
This commit is contained in:
+1
-3
@@ -141,9 +141,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();
|
||||
dd($packingLists->each(function (\App\Models\PackingList $packingList) {
|
||||
$packingList->containers()->detach();
|
||||
}));
|
||||
dd($packingLists);
|
||||
|
||||
// FetchWarehouseReceiveListFromVTPortalJob::withChain([
|
||||
// new FetchLoadedContainersFromVTPortalJob,
|
||||
|
||||
Reference in New Issue
Block a user