debug loaded container job

This commit is contained in:
omair saleh
2021-12-07 12:32:16 +08:00
parent 3620e4c4b5
commit c3050445e1
2 changed files with 3 additions and 4 deletions
@@ -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;
}
+2 -2
View File
@@ -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');