Guest Details

Back to Guests

Guest Information

{{ $guest->name }}

{{ $guest->phone }}

{{ $guest->id_number }}

{{ $guest->created_at->format('M d, Y') }}

Booking History

@if ($guest->bookings->count() > 0)
@foreach ($guest->bookings as $booking)

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

{{ $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) }}

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

View Details →
@endforeach
@else

No booking history found.

@endif