Debug an old 504 problem at payment-and-billing page > pending payment tab with no data

This commit is contained in:
Dillon Ngo
2025-08-09 19:55:05 +08:00
parent b3d904f3c8
commit a716a7a38b
@@ -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));
}