pending customer po grouped by customer

This commit is contained in:
omair saleh
2020-12-07 18:01:54 +08:00
parent e3f876277b
commit f102d11d36
+2 -1
View File
@@ -105,7 +105,8 @@ 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: darkgrey;'>".$booking->created_at."</small> <small style='color: dodgerblue;' href=''>https://exchange.cief-malaysia.com/booking/". $booking->id . "/upload-po</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> <small style='color: dodgerblue;' href=''>https://exchange.cief-malaysia.com/booking/". $booking->id . "/upload-po</small><br>";
echo "<a style='color: dodgerblue;' href='https://exchange.cief-malaysia.com/booking/". $booking->id . "/upload-po'>https://exchange.cief-malaysia.com/booking/". $booking->id . "/upload-po</a><br>";
}
echo "<br><br><br>";
}