@section('title', 'Tour Bookings Management') @section('content')

Tour Bookings

{{ number_format($stats['total_bookings']) }}

Total Bookings

{{ number_format($stats['pending_payments']) }}

Pending Payments

{{ number_format($stats['confirmed_bookings']) }}

Confirmed Bookings

{{ $currencySymbol }} {{ number_format($stats['total_revenue']) }}

Total Revenue

@forelse($bookings as $booking) @empty @endforelse
Booking Ref Tour Customer Passengers Departure Amount ({{ $currencySymbol }}) Status Payment Date Actions
{{ $booking->booking_reference }} @if($booking->payment_id)
Txn: {{ $booking->payment_id }} @endif
{{ Str::limit($booking->tour->title ?? 'N/A', 30) }} @if($booking->tour)
{{ $booking->tour->extra_field_3 ?? 'N/A' }} Days @endif
{{ $booking->user->name ?? 'N/A' }}
{{ $booking->user->email ?? 'N/A' }} @if($booking->user && $booking->user->phone)
{{ $booking->user->phone }} @endif
{{ $booking->adults }} Adults
@if($booking->children > 0)
{{ $booking->children }} Children
@endif
@if($booking->departure_date)
{{ date('d M Y', strtotime($booking->departure_date)) }}
{{ date('D', strtotime($booking->departure_date)) }}
@else N/A @endif
{{ $currencySymbol }} {{ number_format($booking->total_amount) }}
@if($booking->adults > 0) {{ $currencySymbol }} {{ number_format($booking->adult_price) }} × {{ $booking->adults }} @endif @if($booking->children > 0)
{{ $currencySymbol }} {{ number_format($booking->children_price ?? 0) }} × {{ $booking->children }} @endif
{{ ucfirst($booking->status) }}
{{ ucfirst($booking->payment_status) }}
{{ ucfirst($booking->payment_method) }}
{{ $booking->created_at->format('d M Y') }}
{{ $booking->created_at->format('h:i A') }}
No tour bookings found

Try adjusting your search criteria or filters.

@if($bookings->hasPages())
{{ $bookings->appends(request()->query())->links() }}
@endif
@push('scripts') @endpush