diff --git a/routes/web.php b/routes/web.php index 37ee3796..bc534d72 100644 --- a/routes/web.php +++ b/routes/web.php @@ -96,7 +96,7 @@ Route::group(['middleware' => ['role:admin']], function() { })->get(); $customers = $bookings->groupBy(function($item) { return $item->user_id; - }); + })->order(); echo "