mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
allow admin to create po
This commit is contained in:
+2
-1
@@ -18,7 +18,8 @@ Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm
|
||||
Route::post('password/reset', 'Auth\ResetPasswordController@postReset')->name('password.reset');
|
||||
|
||||
Route::get('/po-approval', function(){
|
||||
$invoices = InvoiceStatuses::where('status', 'pending')->groupBy('invoice_id')->get();
|
||||
$invoices = InvoiceStatuses::where('status', 'pending')->get();
|
||||
dd($invoices);
|
||||
echo "<h1>Total PO Pending Approval:<b>".count($invoices)."</b></h1>";
|
||||
foreach ($invoices as $invoice){
|
||||
echo "<a target='_blank' href='https://exchange.cief-malaysia.com/booking/".$invoice->invoice->booking->id."/upload-invoice'>".$invoice->invoice->booking->id."</a><br>";
|
||||
|
||||
Reference in New Issue
Block a user