From c3050445e160654fac7baf2843edabe3dc902123 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Tue, 7 Dec 2021 12:32:16 +0800 Subject: [PATCH] debug loaded container job --- .../Processors/FetchDeliveryListFromVTPortalProcessor.php | 3 +-- routes/web.php | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/Classes/Modules/PackingLists/Processors/FetchDeliveryListFromVTPortalProcessor.php b/app/Classes/Modules/PackingLists/Processors/FetchDeliveryListFromVTPortalProcessor.php index 2546e018..091d3fd9 100644 --- a/app/Classes/Modules/PackingLists/Processors/FetchDeliveryListFromVTPortalProcessor.php +++ b/app/Classes/Modules/PackingLists/Processors/FetchDeliveryListFromVTPortalProcessor.php @@ -56,7 +56,7 @@ class FetchDeliveryListFromVTPortalProcessor try { $packingLists = PackingList::where('type', '=', PackingListType::SHIPPING_PACKING_LIST)->whereIn('status', [ApprovalStatus::APPROVED, ApprovalStatus::SUSPENDED])->get(); - +dd($packingLists); /** @var PackingList $packingList */ foreach($packingLists as $packingList){ try { @@ -87,7 +87,6 @@ class FetchDeliveryListFromVTPortalProcessor $deliveryStep->update(['status' => ApprovalStatus::COMPLETED]); } catch (GuzzleException $exception) { - dd($exception); continue; } diff --git a/routes/web.php b/routes/web.php index fd4e5220..73f7841b 100644 --- a/routes/web.php +++ b/routes/web.php @@ -102,8 +102,8 @@ Route::get('/orders/refresh', function(){ Route::get('/containers/refresh', function(){ - FetchLoadedContainersFromVTPortalJob::dispatch(); -// FetchContainersStatusUpdateFromVTPortalJob::dispatch(); +// FetchLoadedContainersFromVTPortalJob::dispatch(); + FetchContainersStatusUpdateFromVTPortalJob::dispatch(); return redirect('orders');