list pending po pending approval

This commit is contained in:
omair saleh
2020-09-29 12:03:03 +08:00
parent 405de46203
commit 73e77cdc5e
+1
View File
@@ -19,6 +19,7 @@ Route::post('password/reset', 'Auth\ResetPasswordController@postReset')->name('p
Route::get('/po-approval', function(){
$invoices = InvoiceStatuses::where('status', 'pending');
dd(count($invoices));
foreach ($invoices as $invoice){
echo $invoice->invoice->booking->id;
}