diff --git a/app/Classes/Modules/PackingLists/Processors/FetchOrderListsFromYdPortalProcessor.php b/app/Classes/Modules/PackingLists/Processors/FetchOrderListsFromYdPortalProcessor.php index c199e1c2..2a517663 100644 --- a/app/Classes/Modules/PackingLists/Processors/FetchOrderListsFromYdPortalProcessor.php +++ b/app/Classes/Modules/PackingLists/Processors/FetchOrderListsFromYdPortalProcessor.php @@ -185,7 +185,7 @@ class FetchOrderListsFromYdPortalProcessor } $customerno = preg_split('(-|\(|\)|\/)', $row->customerno); -dd($customerno); + if (!array_key_exists(2, $customerno)){ if (!array_key_exists(1, $customerno)){ continue; @@ -298,8 +298,6 @@ dd($customerno); dump('added'); } - } catch (\Throwable $e) { - dd($e); } catch (\Exception $exception) { Log::debug($exception); }