mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 12:24:09 +00:00
list pending po pending approval
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm
|
||||
Route::post('password/reset', 'Auth\ResetPasswordController@postReset')->name('password.reset');
|
||||
|
||||
Route::get('/po-approval', function(){
|
||||
$invoices = InvoiceStatuses::where('status', 'pending');
|
||||
$invoices = InvoiceStatuses::where('status', 'pending')->get();
|
||||
dd(count($invoices));
|
||||
foreach ($invoices as $invoice){
|
||||
echo $invoice->invoice->booking->id;
|
||||
|
||||
Reference in New Issue
Block a user