From 73e77cdc5e030ec0f34e1d350ee4748f1a8edaee Mon Sep 17 00:00:00 2001 From: omair saleh Date: Tue, 29 Sep 2020 12:03:03 +0800 Subject: [PATCH] list pending po pending approval --- routes/web.php | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/web.php b/routes/web.php index a83d270d..45ff8b2d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -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; }