mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-24 23:04:16 +00:00
show old invoices
This commit is contained in:
+4
-2
@@ -14,8 +14,10 @@ Route::get('/', 'WelcomeController@index');
|
||||
Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm')->name('password.request');
|
||||
Route::post('password/reset', 'Auth\ResetPasswordController@postReset')->name('password.reset');
|
||||
Route::get('/old-invoices', function(){
|
||||
$bookings = \App\Booking::where('status', 6)->get();
|
||||
dd(count($bookings));
|
||||
$bookings = \App\Booking::select('id')->where('status', 6)->whereHas('invoice', function($q){
|
||||
$q->whereNotNull('invoice_url');
|
||||
})->get();
|
||||
dd($bookings);
|
||||
})->name('home');
|
||||
Route::group(['middleware' => ['role:admin']], function() {
|
||||
Route::get('bulkBookings', function () {
|
||||
|
||||
Reference in New Issue
Block a user