Booking Details

@if ($booking->status === 'active')
@csrf @method('PATCH')
@endif Back to Bookings

Guests Information

@foreach ($booking->room->bookings()->where('check_in_date', $booking->check_in_date)->get() as $guestBooking)

{{ $guestBooking?->guest?->name || 'Guest' }} @if ($loop->first) Primary Guest @endif

ID: {{ $guestBooking?->guest?->id_number }}

Phone: {{ $guestBooking?->guest?->phone }}

@endforeach

Room Information

{{ $booking->room->room_number }}

{{ $booking->room->capacity }} persons

${{ number_format($booking->room->price_per_night, 2) }}

Booking Details

{{ $booking->check_in_date->format('M d, Y') }}

{{ $booking->check_out_date->format('M d, Y') }}

$booking->status === 'active', 'bg-gray-100 text-gray-800 dark:bg-gray-900 dark:text-gray-200' => $booking->status === 'completed', 'bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-200' => $booking->status === 'cancelled', ])> {{ ucfirst($booking->status) }}

${{ number_format($booking->total_amount, 2) }}