mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
include approved po's in the system
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ Route::get('/po-approval', function(){
|
||||
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>";
|
||||
}
|
||||
$bookings = Booking::where('admin_status', 6)->whereDoesntHave('purchaseOrder')->WhereDoesntHave('invoice')->get();
|
||||
$bookings = Booking::where('admin_status', 6)->whereDoesntHave('purchaseOrder')->orWhereDoesntHave('invoice')->get();
|
||||
echo "<h1>Total Po Pending Customer Update: <b>".count($bookings)."</b></h1>";
|
||||
foreach ($bookings as $booking){
|
||||
echo "<a target='_blank' href='https://exchange.cief-malaysia.com/booking/".$booking->id."/upload-invoice'>".$booking->id."</a><br>";
|
||||
|
||||
Reference in New Issue
Block a user