mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
list po pending approval
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm
|
|||||||
Route::post('password/reset', 'Auth\ResetPasswordController@postReset')->name('password.reset');
|
Route::post('password/reset', 'Auth\ResetPasswordController@postReset')->name('password.reset');
|
||||||
|
|
||||||
Route::get('/po-approval', function(){
|
Route::get('/po-approval', function(){
|
||||||
$invoices = InvoiceStatuses::distinct('invoice_id')->get();
|
$invoices = InvoiceStatuses::distinct()->get(['invoice_id']);
|
||||||
dd($invoices);
|
dd($invoices);
|
||||||
echo "<h1>Total PO Pending Approval:<b>".count($invoices)."</b></h1>";
|
echo "<h1>Total PO Pending Approval:<b>".count($invoices)."</b></h1>";
|
||||||
foreach ($invoices as $invoice){
|
foreach ($invoices as $invoice){
|
||||||
|
|||||||
Reference in New Issue
Block a user