list customer with delayed shipment

This commit is contained in:
Omair Saleh
2022-10-18 13:45:24 +08:00
parent f8c37f4dbc
commit 2e6432f2e5
+1 -1
View File
@@ -429,7 +429,7 @@ Route::get('/export/payment-transactions/f614e339d7058904a831aad742e24d55', 'Exp
Route::get('/delayed_container/customers', function(){
$containers = Container::whereHas('transports', function($query){
return $query->whereHas('Schedules', function($query){
return $query->where('eta', '>', \Carbon\Carbon::parse('15-10-2022'));
return $query->where('etd', '>', \Carbon\Carbon::parse('15-10-2022'));
});
})->get();
dd($containers);