diff --git a/routes/web.php b/routes/web.php index 0f927694..bd6cbf1a 100644 --- a/routes/web.php +++ b/routes/web.php @@ -17,7 +17,7 @@ Route::get('/old-invoices', function(){ $bookings = \App\Booking::select('id')->where('status', 6)->whereHas('purchaseOrder', function($q){ $q->whereNotNull('image_path'); })->get(); - + echo "

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

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