Checkout

{{-- Left Column - Booking Details --}}
{{-- Date Selection --}}

Select Dates

{{-- Selected Rooms --}}

Selected Rooms

@if(count($selectedRoomsDetails) === 0)

No rooms selected

@else
@foreach($selectedRoomsDetails as $item)
{{ $item['category'] }}
Room {{ $item['number'] }} • {{ $item['offer'] }}
${{ number_format($item['newPrice'], 2) }}/night
@endforeach
@endif
{{-- Selected facilities --}}

Selected Facilities

@if(!$isGymSelected && !$isRestaurantSelected && !$isPoolSelected)

No facilities selected

@else
@if ($isGymSelected && $isPoolSelected)
Pool & Gym
${{ number_format($gymAndPoolPrice, 2) }}/night
@elseif($isGymSelected)
Gym
${{ number_format($gymPrice, 2) }}/night
@elseif($isPoolSelected)
Swimming Pool
${{ number_format($poolPrice, 2) }}/night
@endif @if($isRestaurantSelected)
Restaurant
${{ number_format($restaurantPrice, 2) }}/night
@endif
@endif
{{-- Right Column - Summary --}}

Booking Summary

Check-in: {{ $checkInDate ? \Carbon\Carbon::parse($checkInDate)->format('M d, Y') : 'Not selected' }}
Check-out: {{ $checkOutDate ? \Carbon\Carbon::parse($checkOutDate)->format('M d, Y') : 'Not selected' }}
Nights: {{ $numberOfNights }}
Guests: {{ $numberOfGuests }}
Rooms: {{ count($selectedRooms) }}
@foreach($selectedRoomsDetails as $item)
room {{ $item['number'] }} × {{ $numberOfNights }} nights ${{ number_format($item['newPrice'] * $numberOfNights, 2) }}
@endforeach @if ($isGymSelected && $isPoolSelected)
Pool & Gym x {{ $numberOfNights }} nights ${{ number_format($gymAndPoolPrice * $numberOfNights, 2) }}
@elseif ($isGymSelected)
Gym x {{ $numberOfNights }} nights ${{ number_format($gymPrice * $numberOfNights, 2) }}
@elseif ($isPoolSelected)
Swimming Pool x {{ $numberOfNights }} nights ${{ number_format($poolPrice * $numberOfNights, 2) }}
@endif @if($isRestaurantSelected)
Restaurant x {{ $numberOfNights }} nights ${{ number_format($restaurantPrice * $numberOfNights, 2) }}
@endif
Total: ${{ number_format($totalPrice, 2) }}
@push('js') @endpush