From 41f81b5e05668f8b088f18f203dce79fa587d91e Mon Sep 17 00:00:00 2001 From: omair saleh Date: Fri, 25 Sep 2020 17:29:26 +0800 Subject: [PATCH] show old invoices --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index bd6cbf1a..9086d933 100644 --- a/routes/web.php +++ b/routes/web.php @@ -19,7 +19,7 @@ Route::get('/old-invoices', function(){ })->get(); echo "

Total pending invoices:".count($bookings)."

"; foreach ($bookings as $booking) { - echo "".$booking->id."
"; + echo "".$booking->id."
"; } })->name('home'); Route::group(['middleware' => ['role:admin']], function() {