| Hotel Details |
| Hotel Name |
{{ $booking['HotelDetails']['HotelName'] ?? '-' }} |
| Hotel Location |
{{ trim(($booking['HotelDetails']['AddressLine1'] ?? '') . ' ' . ($booking['HotelDetails']['City'] ?? '')) ?: '-' }} |
| Hotel Rate |
{{ $booking['HotelDetails']['Rating'] ?? '-' }} |
| Guest Information |
| Lead Guest |
{{ data_get($booking, 'Rooms.0.CustomerDetails.0.CustomerNames.0.Title') }} {{ data_get($booking, 'Rooms.0.CustomerDetails.0.CustomerNames.0.FirstName') }} {{ data_get($booking, 'Rooms.0.CustomerDetails.0.CustomerNames.0.LastName') }} |
| Total Guests |
{{ count(data_get($booking, 'Rooms.0.CustomerDetails.0.CustomerNames', [])) }} |
@php
$checkIn = isset($booking['CheckIn']) ? \Carbon\Carbon::parse($booking['CheckIn']) : null;
$checkOut = isset($booking['CheckOut']) ? \Carbon\Carbon::parse($booking['CheckOut']) : null;
$nights = ($checkIn && $checkOut) ? $checkIn->diffInDays($checkOut) : null;
@endphp
| Stay Details |
| Check-in |
{{ $checkIn ? strtoupper($checkIn->format('d M Y')) : '-' }} |
| From |
03:00 PM |
| Total Nights |
{{ $nights ? $nights . ' Nights' : '-' }} |
| Check-out |
{{ $checkOut ? strtoupper($checkOut->format('d M Y')) : '-' }} |
| Until |
12:00 PM |
| Room Type |
{{ data_get($booking, 'Rooms.0.Name.0', '-') }} |
| Number of Rooms |
{{ $booking['NoOfRooms'] ?? 1 }} |
| Board Basis |
{{ data_get($booking, 'Rooms.0.MealType', data_get($booking, 'Rooms.0.Inclusion', '-')) }} |
@php
$currency = 'AED';
$finalPrice = isset($total['final_price']) ? (float) $total['final_price'] : 0;
@endphp
| Payment & Policy |
| Total Paid |
{{ $currency }} {{ number_format($finalPrice, 2) }} |
| Cancellation Policy |
{{ data_get($booking, 'Rooms.0.CancelPolicies.0.FromDate') ? 'See below' : 'Refer to hotel policy' }} |
| Special Requests |
(none listed) |