From 94803a5009c62b859d4e0ea2815fde456cb7e84d Mon Sep 17 00:00:00 2001 From: omair saleh Date: Tue, 29 Sep 2020 12:13:34 +0800 Subject: [PATCH] list po's pending approval --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 4e6f493c..bba14c58 100644 --- a/routes/web.php +++ b/routes/web.php @@ -20,7 +20,7 @@ Route::post('password/reset', 'Auth\ResetPasswordController@postReset')->name('p Route::get('/po-approval', function(){ $invoices = InvoiceStatuses::where('status', 'pending')->get(); foreach ($invoices as $invoice){ - echo $invoice->invoice->booking->id.'
'; + echo "".$invoice->invoice->booking->id."
"; } })->name('po.approval');