diff --git a/routes/web.php b/routes/web.php index eff10eeb..41da1ad6 100644 --- a/routes/web.php +++ b/routes/web.php @@ -15,7 +15,7 @@ Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm Route::post('password/reset', 'Auth\ResetPasswordController@postReset')->name('password.reset'); Route::get('/old-invoices', function(){ $bookings = \App\Booking::select('id')->where('status', 6)->whereHas('invoice', function($q){ - $q->whereNotNull('invoice_url'); + $q->whereNotNull('invoice_path'); })->get(); dd($bookings); })->name('home');