list po's pending approval

This commit is contained in:
omair saleh
2020-09-29 12:13:34 +08:00
parent 65e5c1dd09
commit 94803a5009
+1 -1
View File
@@ -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.'<br>';
echo "<a target='_blank' href='https://exchange.cief-malaysia.com/booking/".$invoice->invoice->booking->id."/upload-invoice'>".$invoice->invoice->booking->id."</a><br>";
}
})->name('po.approval');