From 38e7f8929320efbf554debc11c1f12f235c8f45f Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Tue, 18 Oct 2022 13:36:41 +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 2a2db523..66a5c024 100644 --- a/routes/web.php +++ b/routes/web.php @@ -426,7 +426,7 @@ Route::get('billplz/bills/{bill_no}', function($bill_no){ Route::get('/export/null-debtor/f614e339d7058904a831aad742e24d55', 'Exports\ExportCustomersToExcelController@nullDebtor')->name('newDebtor.export'); Route::get('/export/payment-transactions/f614e339d7058904a831aad742e24d55', 'Exports\ExportCustomersToExcelController@paymentTransactions')->name('paymentTransactions.export'); -Route::get('/delayed_container/customers', function($bill_no){ +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'));