From bd9f1a4339b0dcefde4aa2eee7e7a26c5eda46d8 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Mon, 7 Dec 2020 11:51:59 +0800 Subject: [PATCH] pending customer po grouped by customer --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index e69fbe0c..ce3bd545 100644 --- a/routes/web.php +++ b/routes/web.php @@ -101,7 +101,7 @@ Route::group(['middleware' => ['role:admin']], function() { }); echo "

Total Po Pending Customer Update: ".count($bookings)."

"; foreach ($customers as $customer => $bookings) { - dd($bookings->user); + dd($bookings); echo "

".$customer."(".count($bookings).")


"; foreach ($bookings as $booking) { echo "".$booking->id." ".$booking->user->marking." / ".$booking->created_at."
";