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