diff --git a/routes/web.php b/routes/web.php index b1c3ee69..ef22321c 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::distinct()->get(['invoice_id'])->pluck('invoice_id'); + $invoices = \App\Invoice::all(); dd($invoices); echo "

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

"; foreach ($invoices as $invoice){