diff --git a/routes/web.php b/routes/web.php index 41da1ad6..7f80c2fc 100644 --- a/routes/web.php +++ b/routes/web.php @@ -17,7 +17,10 @@ Route::get('/old-invoices', function(){ $bookings = \App\Booking::select('id')->where('status', 6)->whereHas('invoice', function($q){ $q->whereNotNull('invoice_path'); })->get(); - dd($bookings); + + foreach ($bookings as $booking) { + echo "".$booking->id."
"; + } })->name('home'); Route::group(['middleware' => ['role:admin']], function() { Route::get('bulkBookings', function () {