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
@@ -31,7 +31,7 @@ Route::get('/po-approval', function(){
|
||||
}
|
||||
$bookings = Booking::where('admin_status', 6)->whereDoesntHave('purchaseOrder')->orWhereDoesntHave('invoice', function($q){
|
||||
$q->where('invoice_path', '=', '')->orWhereNull('invoice_path');
|
||||
});
|
||||
})->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