mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
list customer with delayed shipment
This commit is contained in:
+1
-1
@@ -431,7 +431,7 @@ Route::get('/delayed_container/customers', function(){
|
||||
return $query->whereHas('Schedules', function($query){
|
||||
return $query->where('eta', '>', \Carbon\Carbon::parse('15-10-2022'));
|
||||
});
|
||||
});
|
||||
})->get();
|
||||
|
||||
$orders = $containers->map(function($container){
|
||||
return $container->orders;
|
||||
|
||||
Reference in New Issue
Block a user