mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
pending customer po grouped by customer
This commit is contained in:
@@ -103,9 +103,12 @@ Route::group(['middleware' => ['role:admin']], function() {
|
||||
echo "<h1>Total Customers: <b>".count($customers)."</b></h1>";
|
||||
echo "<h1>Total Po Pending Customer Update: <b>".count($bookings)."</b></h1>";
|
||||
foreach ($customers as $customer => $bookings) {
|
||||
$i = 0;
|
||||
echo "<h3>".$bookings[0]->user->marking."(".count($bookings).")</h3><br>";
|
||||
foreach ($bookings as $booking) {
|
||||
$i += 1;
|
||||
echo "<a target='_blank' href='https://exchange.cief-malaysia.com/booking/".$booking->id."/upload-invoice'>".$booking->id."</a> / <small style='color: darkgrey;'>".$booking->created_at."</small> <small style='color: dodgerblue;' href=''>https://exchange.cief-malaysia.com/booking/". $booking->id . "/upload-po</small><br>";
|
||||
if($i % 20 == 0) echo "<br><br>";
|
||||
}
|
||||
echo "<br><br><br>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user