From f56a031b94368c511a6dec5838a8e5ca60673b87 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Fri, 25 Sep 2020 17:32:29 +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 9086d933..0369a059 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." date: ".$booking->created_at."
"; } })->name('home'); Route::group(['middleware' => ['role:admin']], function() {