@extends('layouts.customer-dashboard') @section('title', 'Dashboard') {{-- Breadcrumb --}} @section('breadcrumb') @endsection {{-- Dashboard Content ONLY — no sidebar, no header, no footer --}} @section('dashboard-content') {{-- Alert --}}
Reminder about your upcoming booking Hotel Hayat on 15 May 2025 at 09:30 AM. We look forward to seeing you!
{{-- Stats Cards --}}

{{ $bookings->count() }}

Total Bookings

$5.3K

Total Transactions

$5965

Average Value

{{-- Recent Bookings + Statistics --}}
{{-- Recent Bookings --}}
Recent Bookings
@forelse($bookings as $booking) @php $today = \Carbon\Carbon::today(); $start = \Carbon\Carbon::parse($booking->travel_start_date); $end = $booking->travel_end_date ? \Carbon\Carbon::parse($booking->travel_end_date) : $start; if ($booking->status == 'pending') { $status = 'Pending'; $badge = 'badge-warning text-dark'; } elseif ($booking->status == 'cancelled') { $status = 'Cancelled'; $badge = 'badge-danger'; } else { if ($today->lt($start)) { $status = 'Upcoming'; $badge = 'badge-purple'; } elseif ($today->between($start, $end)) { $status = 'In Progress'; $badge = 'badge-info'; } else { $status = 'Completed'; $badge = 'badge-success'; } } @endphp
Img
{{ $booking->package->name ?? 'Package' }}
{{ $booking->full_name }}
{{ $status }}
{{ \Carbon\Carbon::parse($booking->travel_start_date)->format('d M Y') }} {{ $booking->adults }} Adults
@empty

No bookings found

@endforelse
{{-- Booking Statistics --}}
Bookings Statistics

Total Amount Spend

$2659

+21% increased compared to last year

{{-- Quick Book Categories --}}
@foreach([ ['img' => 'hotels/hotel-15.jpg', 'count' => '968 Hotels', 'link' => 'hotel-grid.html'], ['img' => 'flight/flight-07.jpg', 'count' => '689 Flights', 'link' => 'flight-grid.html'], ['img' => 'tours/tours-24.jpg', 'count' => '985 Tours', 'link' => 'tour-grid.html'], ['img' => 'cars/car-11.jpg', 'count' => '698 Cars', 'link' => 'car-grid.html'], ['img' => 'cruise/cruise-15.jpg', 'count' => '968 Cruise', 'link' => 'cruise-grid.html'], ] as $item)
img
{{ $item['count'] }}
Book Now
@endforeach
{{-- Spending Chart + Most Booked Services --}}
{{-- Spending Chart --}}
Spending For Bookings

Spending For Bookings

$20,659

12% vs last years

{{-- Most Booked Services --}}
Most Booked Services
@foreach([ ['img' => 'flight/flight-01.jpg', 'name' => 'Cloudrider 789', 'link' => 'flight-details.html', 'badge' => 'badge-soft-teal', 'type' => 'Flight', 'date' => '25 Apr 2025'], ['img' => 'hotels/hotel-21.jpg', 'name' => 'The Luxe Haven', 'link' => 'hotel-details.html', 'badge' => 'badge-soft-info', 'type' => 'Hotel', 'date' => '16 May 2025'], ['img' => 'cars/car-09.jpg', 'name' => 'Ford Mustang 4.0 AT','link' => 'car-details.html', 'badge' => 'badge-soft-purple', 'type' => 'Car', 'date' => '25 May 2025'], ['img' => 'cruise/cruise-26.jpg', 'name' => 'Super Aquamarine', 'link' => 'cruise-details.html','badge' => 'badge-soft-cyan', 'type' => 'Cruise', 'date' => '18 Jun 2025'], ['img' => 'tours/tours-29.jpg', 'name' => 'Mystic Falls', 'link' => 'tour-details.html', 'badge' => 'badge-soft-pink', 'type' => 'Tour', 'date' => '25 May 2025'], ] as $i => $service)
Img
{{ $service['name'] }} {{ $service['type'] }}

Last Booked : {{ $service['date'] }}

Rebook
@endforeach
{{-- Notifications + Recent Invoices --}}
{{-- Notifications --}}
Notifications
@foreach([ ['bg' => 'bg-primary', 'icon' => 'isax-info-circle5', 'title' => 'Pre-Tour Information', 'msg' => 'Your Mountain Valley tour is on 15 May 2024. Please arrive at Los Angeles.'], ['bg' => 'bg-purple', 'icon' => 'isax-calendar-remove5', 'title' => 'Rescheduling Notification', 'msg' => 'Your Hotel Booking of Suite Room on 15 Jan 2025 has been rescheduled to 20 May 2025.'], ['bg' => 'bg-teal', 'icon' => 'isax-calendar-edit5', 'title' => 'Booking Confirmation', 'msg' => 'Thank you for choosing Air India. Your adventure is set for 21 Jan 2025 at 04:45 PM.'], ['bg' => 'bg-secondary', 'icon' => 'isax-color-swatch5', 'title' => 'Special Offer Notification','msg' => 'Book your next tour with us by Jan 2025 to avail the offer.'], ] as $i => $notif)
{{ $notif['title'] }}

1 day ago

{{ $notif['msg'] }}

@endforeach
{{-- Recent Invoices --}}
Recent Invoices
@foreach([ ['img' => 'flight/flight-01.jpg', 'title' => 'Cloudrider 789', 'link' => 'flight-details.html', 'inv' => '#INV12565', 'date' => '15 May 2024', 'amount' => '$569'], ['img' => 'hotels/hotel-24.jpg', 'title' => 'The Luxe Haven', 'link' => 'hotel-details.html', 'inv' => '#INV12564', 'date' => '13 May 2024', 'amount' => '$430'], ['img' => 'cars/car-07.jpg', 'title' => 'Ford Mustang 4.0 AT','link' => 'car-details.html', 'inv' => '#INV12563', 'date' => '10 May 2024', 'amount' => '$380'], ['img' => 'cruise/cruise-02.jpg', 'title' => 'Super Aquamarine', 'link' => 'cruise-details.html','inv' => '#INV12562', 'date' => '04 May 2024', 'amount' => '$475'], ] as $i => $invoice)
Img
{{ $invoice['title'] }}
{{ $invoice['inv'] }}

Date: {{ $invoice['date'] }}

{{ $invoice['amount'] }}

Paid

@endforeach
@endsection