mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
fix order status count
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ class FetchPackingListFromVTPortalProcessor
|
||||
|
||||
$packingLists = PackingList::where('type', '=', PackingListType::SHIPPING_PACKING_LIST)->whereIn('status', [ApprovalStatus::PENDING_VERIFICATION, ApprovalStatus::SUSPENDED])->whereDoesntHave('containers', function($query){
|
||||
$query->where('status', '=', ApprovalStatus::COMPLETED);
|
||||
})->get();
|
||||
})->whereIn('reference', ['PO053014', 'PO052965'])->get();
|
||||
|
||||
foreach($packingLists as $packingList){
|
||||
|
||||
|
||||
+2
-1
@@ -106,8 +106,9 @@ Route::get('/orders/refresh', function(){
|
||||
|
||||
Route::get('/containers/refresh', function(){
|
||||
|
||||
FetchPackingListFromVTPortalJob::dispatch();
|
||||
// FetchLoadedContainersFromVTPortalJob::dispatch();
|
||||
FetchContainersStatusUpdateFromVTPortalJob::dispatch();
|
||||
// FetchContainersStatusUpdateFromVTPortalJob::dispatch();
|
||||
|
||||
return redirect('orders');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user