@extends('backend.app') @section('title', 'Booking Details') @section('content')

Booking Details: {{ $booking->booking_reference }}

Customer & Event Information

Customer Name {{ $booking->customer_name }}
Customer Email {{ $booking->customer_email }}
Customer Phone {{ $booking->customer_phone ?? 'N/A' }}
@if($booking->special_request)
Special Request
{{ $booking->special_request }}
@else
Special Request None
@endif
Event Title {{ $booking->event ? $booking->event->title : 'N/A' }}
Event Date {{ $booking->event && $booking->event->event_date ? $booking->event->event_date->format('d M Y') : 'N/A' }}

Payment Details

Payment Status @php $status = $booking->payment_status?->value ?? 'pending'; $badgeClass = match ($status) { 'paid' => 'badge-light-success', 'failed' => 'badge-light-danger', 'expired' => 'badge-light-info', 'cancelled' => 'badge-light-secondary', default => 'badge-light-warning', }; @endphp {{ ucfirst($status) }}
Total Amount ${{ number_format($booking->total_amount, 2) }}
Service Charge ${{ number_format($booking->service_charge_total, 2) }}
Stripe Session ID {{ $booking->session_id ?? 'N/A' }}
Payment Reference {{ $booking->payment_reference ?? 'N/A' }}

Booked Seats

@foreach($booking->bookingSeats as $bookingSeat) @endforeach @if($booking->bookingSeats->isEmpty()) @endif
Row Column Seat Number
{{ $bookingSeat->seat->row_label ?? 'N/A' }} {{ $bookingSeat->seat->column_no ?? 'N/A' }} {{ $bookingSeat->seat->seat_number ?? 'N/A' }}
No seats booked.
@endsection