mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
show old invoices
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ 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::select('id')->where('status', 6)->whereHas('invoice', function($q){
|
||||
$bookings = \App\Booking::select('id')->where('status', 6)->whereHas('purchaseOrder', function($q){
|
||||
$q->whereNotNull('invoice_path');
|
||||
})->get();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user