From 445a6bff17c13896d9b79e82a750927350c9b8b5 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Tue, 29 Sep 2020 12:15:14 +0800 Subject: [PATCH] list po's pending approval --- routes/web.php | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/web.php b/routes/web.php index bba14c58..7e4393b1 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')->get(); + echo "

Total PO Pending Approval:".count($invoices)."

"; foreach ($invoices as $invoice){ echo "".$invoice->invoice->booking->id."
"; }