pending customer po grouped by customer

This commit is contained in:
omair saleh
2020-12-07 12:05:40 +08:00
parent 42c99636d4
commit 23a5e9596b
+1 -1
View File
@@ -103,7 +103,7 @@ Route::group(['middleware' => ['role:admin']], function() {
foreach ($customers as $customer => $bookings) {
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>";
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> <a style='color: dodgerblue;' href='https://exchange.cief-malaysia.com/booking/". $booking->id . "/upload-po'></small><br>";
}
echo "<br><br><br>";
}