From 2e6432f2e57049736a92638f681e0e2f7a7d13be Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Tue, 18 Oct 2022 13:45:24 +0800 Subject: [PATCH] list customer with delayed shipment --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 2bee8771..c6cc169c 100644 --- a/routes/web.php +++ b/routes/web.php @@ -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);