update container reschedule for yd

This commit is contained in:
omair saleh
2022-03-17 17:31:39 +08:00
parent fe00b1fab7
commit 6214a2b723
@@ -217,6 +217,17 @@ class FetchOrderListsFromYdPortalProcessor
}
}
if($delayDate){
$container = $this->fetchesContainer->execute(['reference' => $containerReference]);
$transport = $container->transports()->first();
if(!$transport->schedules()->where('eta', '>', $delayDate)->first()) {
dump($container->reference);
}
}
continue;
$customerno = preg_split('(-|\(|\)|\/)', $row->customerno);
$orderNumber = $customerno[array_key_last($customerno)];