diff --git a/app/Http/Controllers/BookingController.php b/app/Http/Controllers/BookingController.php index d6715d51..d9e62eda 100644 --- a/app/Http/Controllers/BookingController.php +++ b/app/Http/Controllers/BookingController.php @@ -20,7 +20,6 @@ use DateTime; class BookingController extends Controller { - public function index(){ $user = Auth::user(); $bookings = Booking::select('user_id', 'id', 'created_at', 'status', 'rate', 'term', 'amount', 'bia', 'verification_status') diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index 3e36f399..2ec0cacf 100644 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -25,6 +25,6 @@ class UserController extends Controller public function notifications() { $notifications = auth()->user()->unreadNotifications()->limit(5)->get(); - return response()->json(['notifications'=>$notifications], 200); + return response()->json(['notifications'=> $notifications], 200); } } diff --git a/resources/assets/js/components/Navbar.vue b/resources/assets/js/components/Navbar.vue index 1aabf1b3..abe9edfe 100644 --- a/resources/assets/js/components/Navbar.vue +++ b/resources/assets/js/components/Navbar.vue @@ -13,23 +13,24 @@
-
- +
- - - {{item.data.details}} - - -
- - - +
+ + + {{item.data.details}} + + +
+ + + +
- +