mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
Debug an old 504 problem at payment-and-billing page > pending payment tab with no data
This commit is contained in:
@@ -76,6 +76,7 @@ class ListPackingListsLogic extends AbstractControllerLogic
|
||||
|
||||
//from front end component
|
||||
if(isset($filters['exclude_storages'])){
|
||||
Log::info("ListPackingListsLogic exclude_storages");
|
||||
if (isset($item['storages'])) {
|
||||
unset($item['storages']);
|
||||
}
|
||||
@@ -102,8 +103,12 @@ class ListPackingListsLogic extends AbstractControllerLogic
|
||||
$item['include_suspended_invoice'] = $filters['include_suspended_invoice'];
|
||||
$useNew = true;
|
||||
}
|
||||
|
||||
Log::info("ListPackingListsLogic useNew");
|
||||
}
|
||||
|
||||
|
||||
Log::info("ListPackingListsLogic useNew: " . ($useNew ? 'true' : 'false'));
|
||||
if($useNew){
|
||||
return $this->collectionResponse(PackingListBaseResource::collection($query));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user