From f8d1cf7fd5cf53d15dff2424c6c47bfb96aec2a9 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Fri, 25 Sep 2020 18:15:37 +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 1f404211..d1ad6f9d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -24,7 +24,7 @@ Route::get('/old-invoices', function(){ }); echo "

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

"; foreach ($months as $month => $bookings) { - echo "

".$month."


"; + echo "

".$month."(".count($bookings).")


"; foreach ($bookings as $booking) { echo "".$booking->id." date: ".$booking->created_at."
"; }