@extends('layouts.app') @section('content') {{-- Loading overlay --}}
Loading…
{{-- Hero --}}

Complete Your Booking

@php $dep = $flightData['departureAirport'] ?? '?'; $arr = $flightData['arrivalAirport'] ?? '?'; $isRT = $flightData['isRoundTrip'] ?? false; @endphp {{ $dep }} {{ $isRT ? '↔' : '→' }} {{ $arr }}  ·  @if($isRT) Return @else One Way @endif  ·  {{ ($searchParams['room_1_adults'] ?? 1) }} Adult(s)

{{-- 4-step wizard bar --}}
@foreach(['Price Summary','Passengers Info','Add extras','Complete booking'] as $si => $sl)
{{ $si + 1 }} {{ $sl }}
@endforeach
{{-- ══ PANEL 1: Price Summary (shown after bundle selection) ════════════════ --}}
{{-- Route hero header --}}
{{ $flightData['departureAirportName'] ?? ($flightData['departureAirport'] ?? '?') }} {{ $isRT ? '↔' : '→' }} {{ $flightData['arrivalAirportName'] ?? ($flightData['arrivalAirport'] ?? '?') }}
{{ $isRT ? 'Return' : 'One Way' }} · {{ ($searchParams['room_1_adults'] ?? 1) }} x Adult(s)
{{-- Two-column layout --}}
{{-- Left: Price Summary card --}}
Price Summary

Fare breakdown for your selected itinerary

{{-- Price table (populated by JS) --}}
Loading fare details…
{{-- Bundle badge (populated by JS) --}} {{-- T&C note --}}

* By clicking Continue to Passenger Details button you agree to the Terms and Conditions and Privacy Policy

{{-- Right: Planning card + Enter Passenger Details CTA --}}
Planning a Trip

Complete passenger details to continue with seat selection, baggage, meals, and secure your booking faster.

{{-- Main column --}}
{{-- ══ PANEL 2: Passenger Info ══════════════════════════════════ --}}
{{-- Important flight info --}}
Important information about your flight

Travel Advisory: Foreign nationals arriving in India must complete the online Disembarkation Card within 72 hours before arrival.

{{-- Passenger cards (rendered by JS) --}}
Passenger Details

Enter traveller information as shown on passport

{{-- Contact Details --}}
Contact Details

We'll send your booking confirmation here

{{-- ══ PANEL 3: Add Extras ══════════════════════════════════════ --}}
Add Extras

Enhance your travel experience

{{-- Essentials --}}
Essentials
Baggage
Pre-book your baggage and avoid extra fees and hassle at the airport.
From loading…
Window or Aisle Seat?
Reserve your seat and skip the hassle of random assignments at check-in.
From loading…
{{-- Recommended --}}
Recommended
Pre-Book Your Meal
Order ahead from Sky Café and enjoy access to exclusive meals not available on board…
From loading…
{{-- ══ PANEL 4: Complete Booking ════════════════════════════════ --}}
Review & Confirm

Verify your booking details before confirming

{{-- ══ PANEL 5: Done ════════════════════════════════════════════ --}}
Your booking is confirmed.
{{-- Sidebar: Flight Summary ───────────────────────────────────────────── --}}
Your Flight
{{-- Outbound --}}
@if($isRT) Outbound@endif
{{ $flightData['departureAirport'] ?? '' }}
{{ $flightData['departureTime'] ?? '' }}
{{ $flightData['duration'] ?? '' }}
{{ $flightData['arrivalAirport'] ?? '' }}
{{ $flightData['arrivalTime'] ?? '' }}
{{-- Return leg --}} @if($isRT && !empty($flightData['returnFlight'])) @php $ret = $flightData['returnFlight']; @endphp
Return
{{ $ret['departureAirport'] ?? '' }}
{{ $ret['departureTime'] ?? '' }}
{{ $ret['duration'] ?? '' }}
{{ $ret['arrivalAirport'] ?? '' }}
{{ $ret['arrivalTime'] ?? '' }}
@endif
{{ $flightData['currency'] ?? 'AED' }} {{ number_format(($flightData['basePrice'] ?? 0), 2) }}
{{ $isRT ? 'Total for round trip' : 'Per person, taxes included' }}
{{-- Bundle modal partial --}} @include('flights.partials._bundle-modal') {{-- Extras slide panel partial --}} @include('flights.partials._extras-panel') @endsection