Flight Results @if(!empty($criteria['destination_name']) || !empty($criteria['to'])) to {{ $criteria['destination_name'] ?? $criteria['to'] }} @endif

{{ $criteria['from_label'] ?? $criteria['from'] }} → {{ $criteria['to_label'] ?? $criteria['to'] ?: '—' }} · {{ \Carbon\Carbon::parse($criteria['depart_date'])->format('d M Y') }} @if(!empty($criteria['return_date'])) – {{ \Carbon\Carbon::parse($criteria['return_date'])->format('d M Y') }} @endif · {{ $criteria['adults'] }} adult{{ $criteria['adults'] > 1 ? 's' : '' }} @if(($criteria['children'] ?? 0) > 0) · {{ $criteria['children'] }} child{{ $criteria['children'] > 1 ? 'ren' : '' }} @endif · {{ str_replace('_', ' ', $criteria['travel_class']) }}

@if(!empty($criteria['destination_slug'])) @endif
@if($error) @endif @if($errors->any()) @endif @if($offers->isEmpty() && !$error && !$errors->any())
No flights found for this search. Try different dates or call us on {{ config('company.phone') }}.
@endif
@foreach($offers as $offer) @php $outbound = $offer['itineraries'][0] ?? null; $inbound = $offer['itineraries'][1] ?? null; $firstSegment = $outbound['segments'][0] ?? null; $lastOutbound = $outbound ? ($outbound['segments'][count($outbound['segments']) - 1] ?? null) : null; @endphp
@if($outbound)

Outbound

{{ \App\Support\FlightDuration::format($outbound['duration'] ?? null) }} · {{ ($outbound['stops'] ?? 0) === 0 ? 'Direct' : $outbound['stops'].' stop'.($outbound['stops'] > 1 ? 's' : '') }}

@if(!empty($firstSegment['carrier_image_url'])) {{ $firstSegment['carrier_name'] ?? 'Airline' }} @endif
{{ \App\Support\FlightDuration::time($firstSegment['departure_at'] ?? null) }}
{{ $firstSegment['departure_iata'] ?? '—' }}
{{ $firstSegment['carrier_name'] ?? $firstSegment['carrier_code'] ?? '' }} {{ ($firstSegment['carrier_code'] ?? '').($firstSegment['flight_number'] ?? '') }}
{{ \App\Support\FlightDuration::time($lastOutbound['arrival_at'] ?? null) }}
{{ $lastOutbound['arrival_iata'] ?? '—' }}

{{ \App\Support\FlightDuration::date($firstSegment['departure_at'] ?? null) }}

@endif @if($inbound) @php $inFirst = $inbound['segments'][0] ?? null; $inLast = $inbound['segments'][count($inbound['segments']) - 1] ?? null; @endphp

Return

{{ \App\Support\FlightDuration::format($inbound['duration'] ?? null) }} · {{ ($inbound['stops'] ?? 0) === 0 ? 'Direct' : $inbound['stops'].' stop'.($inbound['stops'] > 1 ? 's' : '') }}

@if(!empty($inFirst['carrier_image_url'])) {{ $inFirst['carrier_name'] ?? 'Airline' }} @endif
{{ \App\Support\FlightDuration::time($inFirst['departure_at'] ?? null) }}
{{ $inFirst['departure_iata'] ?? '—' }}
{{ $inFirst['carrier_name'] ?? $inFirst['carrier_code'] ?? '' }} {{ ($inFirst['carrier_code'] ?? '').($inFirst['flight_number'] ?? '') }}
{{ \App\Support\FlightDuration::time($inLast['arrival_at'] ?? null) }}
{{ $inLast['arrival_iata'] ?? '—' }}

{{ \App\Support\FlightDuration::date($inFirst['departure_at'] ?? null) }}

@endif
Total from
{{ $offer['currency'] ?? 'GBP' }} {{ number_format((float) ($offer['price_total'] ?? 0), 2) }}
@if(!empty($offer['seats_left']))
{{ $offer['seats_left'] }} seats left
@endif
Call to Book
@endforeach