mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-25 23:44:14 +00:00
update container reschedule for yd
This commit is contained in:
@@ -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)];
|
||||
|
||||
Reference in New Issue
Block a user