Toor Travel.com Logo

Your Flight Ticket

PNR: {{ $booking['PNR'] ?? '-' }}

Issued by:

IATA Logo

Passenger Information

@php $leadPax = isset($booking['Itinerary']['Passenger'][0]) ? $booking['Itinerary']['Passenger'][0] : null; $title = $leadPax['Title'] ?? ''; $firstName = $leadPax['FirstName'] ?? ''; $lastName = $leadPax['LastName'] ?? ''; $paxType = ($leadPax['Type'] ?? 1) == 1 ? 'Adult' : 'Pax'; $cabinClass = isset($booking['Itinerary']['Segments'][0]['CabinClass']) ? $booking['Itinerary']['Segments'][0]['CabinClass'] : ''; @endphp

Name: {{ trim($title.' '.$firstName.' '.$lastName) }} ({{ $paxType }})

Class: {{ $cabinClass }}

@php $seg = isset($booking['Itinerary']['Segments'][0]) ? $booking['Itinerary']['Segments'][0] : null; $origin = $seg['Origin'] ?? null; $dest = $seg['Destination'] ?? null; $dep = isset($seg['DepartureTime']) ? \Carbon\Carbon::parse($seg['DepartureTime']) : null; $arr = isset($seg['ArrivalTime']) ? \Carbon\Carbon::parse($seg['ArrivalTime']) : null; @endphp

Departure Flight

{{ $origin['AirportCode'] ?? '-' }}

{{ $origin['AirportName'] ?? '' }}

{{ ($seg['Airline'] ?? '').'-'.($seg['FlightNumber'] ?? '') }}

{{ ($seg && (($seg['Stops'] ?? 0) == 0)) ? 'Direct Flight' : 'With Stops' }}

{{ $dest['AirportCode'] ?? '-' }}

{{ $dest['AirportName'] ?? '' }}

Departure: {{ $dep ? $dep->format('M d, Y') : '-' }}

Time: {{ $dep ? $dep->format('h:i A') : '-' }}

Arrival: {{ $arr ? $arr->format('M d, Y') : '-' }}

Time: {{ $arr ? $arr->format('h:i A') : '-' }}

Waiting time in Dubai, DXB 20h 50m

@php $seg2 = isset($booking['Itinerary']['Segments'][1]) ? $booking['Itinerary']['Segments'][1] : null; $hasSecond = $seg2 != null; if ($hasSecond) { $origin2 = $seg2['Origin'] ?? null; $dest2 = $seg2['Destination'] ?? null; $dep2 = isset($seg2['DepartureTime']) ? \Carbon\Carbon::parse($seg2['DepartureTime']) : null; $arr2 = isset($seg2['ArrivalTime']) ? \Carbon\Carbon::parse($seg2['ArrivalTime']) : null; } @endphp @if($hasSecond)

Connecting Flight

{{ $origin2['AirportCode'] ?? '-' }}

{{ $origin2['AirportName'] ?? '' }}

{{ ($seg2['Airline'] ?? '').'-'.($seg2['FlightNumber'] ?? '') }}

{{ ($seg2 && (($seg2['Stops'] ?? 0) == 0)) ? 'Direct Flight' : 'With Stops' }}

{{ $dest2['AirportCode'] ?? '-' }}

{{ $dest2['AirportName'] ?? '' }}

Departure: {{ $dep2 ? $dep2->format('M d, Y') : '-' }}

Time: {{ $dep2 ? $dep2->format('h:i A') : '-' }}

Arrival: {{ $arr2 ? $arr2->format('M d, Y') : '-' }}

Time: {{ $arr2 ? $arr2->format('h:i A') : '-' }}

@endif

Baggage Allowance

@php $baggage = $seg['IncludedBaggage'] ?? '-'; $cabinBaggage = $seg['CabinBaggage'] ?? '-'; @endphp

Cabin baggage: {{ $cabinBaggage }}

Checked baggage: {{ $baggage }}

Extra baggage: -

Price Summary

@if(isset($total))

Base Price: {{ number_format((float)($total['base_price'] ?? 0), 2) }}

Tax: {{ number_format((float)($total['tax'] ?? 0), 2) }}

Final Price: {{ number_format((float)($total['final_price'] ?? 0), 2) }} AED

@else

Pricing details are not available.

@endif

Important Information

Please present this English version of the e-ticket at the check-in counter. The Arabic version has only been included for your reference.

Cancel & Change: Non-refundable. Change not possible.

Thank you for flying with us!