From 574786b8fa949fdabcb40ea4ddb3f67af595c605 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Thu, 12 Nov 2020 13:17:10 +0800 Subject: [PATCH] test sending booking do to email --- routes/web.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/routes/web.php b/routes/web.php index e627c677..0081fd68 100644 --- a/routes/web.php +++ b/routes/web.php @@ -46,13 +46,6 @@ Route::get('/old-invoices', function(){ } })->name('invoice.old'); -Route::get('/approved-today', function(){ - $approvedInvoices = InvoiceStatuses::where('status', 'approve')->whereDate('created_at', Carbon::today())->distinct()->get(['invoice_id']); - echo count($approvedInvoices).'



'; - foreach($approvedInvoices as $approved){ - echo $approved->invoice->booking->id.'
'; - } -}); Route::group(['middleware' => ['role:admin']], function() { Route::get('bulkBookings', function () {