Booking Management

@if (session()->has('success'))
{{ session('success') }}
@endif
@foreach($bookings as $booking) @php // Determine the color theme based on status $statusTheme = match($booking->status) { 'confirmed' => ['bg' => 'bg-success', 'light' => 'bg-success-subtle', 'text' => 'text-success'], 'rejected' => ['bg' => 'bg-danger', 'light' => 'bg-danger-subtle', 'text' => 'text-danger'], 'pending' => ['bg' => 'bg-warning', 'light' => 'bg-warning-subtle', 'text' => 'text-warning-emphasis'], 'cancelled' => ['bg' => 'bg-secondary', 'light' => 'bg-secondary-subtle', 'text' => 'text-secondary'], default => ['bg' => 'bg-info', 'light' => 'bg-info-subtle', 'text' => 'text-info'] }; @endphp @endforeach
Parent / Child Location Package Ref & Status Payment Action
{{ $booking->child_name }}
{{ $booking->parent_name }}
{{ $booking->location ?? 'N/A' }} {{ $booking->camp_package->name ?? 'N/A' }}
{{ $booking->payment_reference }}
{{ strtoupper($booking->status) }}