{{ widget(1)->extra_field_1 }}

Flight Booking Confirmation

Order ID: {{ $booking->offer_id ?? '-' }}

Booking Information
Status Total Amount Booking Date
{{ ucfirst($booking->booking_status) }} {{ $booking->currency }} {{ number_format($booking->total_amount, 2) }} {{ $booking->created_at->format('d/m/Y H:i A') }}
@php $offer = json_decode($booking->flight_info, true); @endphp @if (!empty($offer))
Flight Summary
Route Date Passengers
{{ $offer['slices'][0]['origin']['city_name'] ?? '' }} ({{ $offer['slices'][0]['origin']['iata_code'] ?? '' }}) - {{ $offer['slices'][0]['destination']['city_name'] ?? '' }} ({{ $offer['slices'][0]['destination']['iata_code'] ?? '' }}) {{ \Carbon\Carbon::parse($offer['slices'][0]['segments'][0]['departing_at'])->format('d M Y h:i A') }} - {{ \Carbon\Carbon::parse(end($offer['slices'])['segments'][0]['arriving_at'])->format('d M Y h:i A') }} {{ count($offer['passengers'] ?? []) }}
Ticket Details
@foreach ($offer['slices'] as $sliceIndex => $slice) @foreach ($slice['segments'] as $segment) @if (isset($segment['passengers'][0]['baggages'])) @endif @endforeach
{{ $sliceIndex == 0 ? 'DEPART' : 'RETURN' }}: {{ $slice['origin']['iata_code'] ?? '' }} -> {{ $slice['destination']['iata_code'] ?? '' }}
Time {{ \Carbon\Carbon::parse($segment['departing_at'])->format('d M Y h:i A') }} -> {{ \Carbon\Carbon::parse($segment['arriving_at'])->format('d M Y h:i A') }} ({{ $segment['duration'] ?? 'N/A' }})
Airline {{ $segment['operating_carrier']['name'] ?? '' }} {{ $segment['operating_carrier']['flight_number'] ?? '' }} @if (isset($segment['aircraft']['name']))
Aircraft: {{ $segment['aircraft']['name'] }} ({{ $segment['aircraft']['iata_code'] ?? '' }}) @endif
From {{ $segment['origin']['name'] ?? '' }} ({{ $slice['origin']['iata_code'] ?? 'N/A' }}) @if (isset($segment['origin_terminal']))
Terminal: {{ $segment['origin_terminal'] }} @endif
To {{ $segment['destination']['name'] ?? '' }} ({{ $slice['destination']['iata_code'] ?? 'N/A' }}) @if (isset($segment['destination_terminal']))
Terminal: {{ $segment['destination_terminal'] }} @endif
Cabin {{ $segment['passengers'][0]['cabin_class_marketing_name'] ?? 'N/A' }}
Baggage @foreach ($segment['passengers'][0]['baggages'] as $baggage) {{ ucfirst($baggage['type']) }}: {{ $baggage['quantity'] ?? 1 }}@if (!$loop->last) , @endif @endforeach
@endforeach @endif
Important Information

Please arrive at the airport at least 2 hours before your flight departure time.

Make sure to carry valid identification documents for all passengers.

For any queries or assistance, please contact our customer support.