mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-29 09:24:26 +00:00
fix vt warehouse list
This commit is contained in:
-1
@@ -141,7 +141,6 @@ class FetchWarehouseReceiveListFromVTPortalProcessor
|
||||
continue;
|
||||
}
|
||||
|
||||
dump($orderNumber);
|
||||
try {
|
||||
$order = $this->fetchesOrder->execute(['reference' => $orderNumber]);
|
||||
} catch (ResourceNotFoundException $exception) {
|
||||
|
||||
+9
-10
@@ -110,17 +110,16 @@ Route::get('/customer/{marking}/details', function ($marking) {
|
||||
})->name('customer.profile.details');
|
||||
|
||||
Route::get('/orders/refresh', function(){
|
||||
(App()->make(\App\Classes\Modules\PackingLists\Processors\FetchWarehouseReceiveListFromVTPortalProcessor::class))->execute();
|
||||
// FetchWarehouseReceiveListFromVTPortalJob::dispatch();
|
||||
// FetchWarehouseReceiveListFromVTPortalJob::withChain([
|
||||
// new FetchLoadedContainersFromVTPortalJob,
|
||||
// new FetchPackingListFromVTPortalJob,
|
||||
// new FetchContainersStatusUpdateFromVTPortalJob,
|
||||
// new FetchDeliveryListFromVTPortalJob,
|
||||
// new FetchOrdersFromYDPortalJob
|
||||
// ])->dispatch();
|
||||
|
||||
// return redirect('orders');
|
||||
FetchWarehouseReceiveListFromVTPortalJob::withChain([
|
||||
new FetchLoadedContainersFromVTPortalJob,
|
||||
new FetchPackingListFromVTPortalJob,
|
||||
new FetchContainersStatusUpdateFromVTPortalJob,
|
||||
new FetchDeliveryListFromVTPortalJob,
|
||||
new FetchOrdersFromYDPortalJob
|
||||
])->dispatch();
|
||||
|
||||
return redirect('orders');
|
||||
|
||||
})->name('orders.refresh');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user