From 7647dc0e231632491b10e83f465fc59656cdbe9e Mon Sep 17 00:00:00 2001 From: omair saleh Date: Tue, 7 Dec 2021 12:58:53 +0800 Subject: [PATCH] debug loaded container job --- .../Processors/FetchDeliveryListFromVTPortalProcessor.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Classes/Modules/PackingLists/Processors/FetchDeliveryListFromVTPortalProcessor.php b/app/Classes/Modules/PackingLists/Processors/FetchDeliveryListFromVTPortalProcessor.php index c8204183..ce370842 100644 --- a/app/Classes/Modules/PackingLists/Processors/FetchDeliveryListFromVTPortalProcessor.php +++ b/app/Classes/Modules/PackingLists/Processors/FetchDeliveryListFromVTPortalProcessor.php @@ -65,7 +65,11 @@ class FetchDeliveryListFromVTPortalProcessor $shippingPackingListsRequest = $this->fetchesDataFRomVTPortal->clientRequest('http://portal.vtnation.com.my/Services/DataControllerService.asmx/GetPage', 'POST', json_decode('{"controller":"VPodetailparcel","view":"grid1","request":{"PageIndex":-1,"PageSize":10000,"SortExpression":"CreatedOn asc","Filter":'.$filter.'}}'), ''); $shippingPackingLists = $this->fetchesDataFRomVTPortal->getResponseBody($shippingPackingListsRequest); -dd($shippingPackingLists->Rows); + + if(empty($shippingPackingLists)){ + continue; + } + $shippingPackingList = $shippingPackingLists->Rows[0]; if(!$shippingPackingList[9] && !$shippingPackingList[10]) {