@extends('frontend.layouts.master') @section('title', ___('frontend.flight_booking') . ' — ' . (settings('name') ?: 'Travelio')) @section('meta', ___('frontend.flight_meta_description')) @section('page', 'flights') @section('content') @include('frontend.components.page-hero', [ 'title' => ___('frontend.flight_booking'), 'subtitle' => ___('frontend.flight_booking_subtitle'), 'crumbs' => [___('frontend.flight_booking') => null], ])
{{-- Search/enquiry --}}
{{-- Fares in the agency's own currency (Settings → General). --}}
{{-- Published fare deals (CMS: Flight Routes) --}} @if($routes->isNotEmpty())
{{ ___('frontend.popular_routes') }}

{{ ___('frontend.top_flight_deals') }}

@foreach($routes as $route)
{{ $route->origin }}{{ $route->origin_code ? ' (' . $route->origin_code . ')' : '' }} {{ $route->destination }}{{ $route->destination_code ? ' (' . $route->destination_code . ')' : '' }}
{{ $route->airline ?: ___('frontend.multiple_airlines') }} · {{ $route->trip_type }}
{{ currency_symbol() }}{{ number_format($route->fare) }}
{{ ___('frontend.book') }}
@endforeach
@else

{{ ___('frontend.no_fare_deals') }}

{{ ___('frontend.request_fare') }}
@endif
@endsection @push('scripts') {{-- All user-facing copy arrives via data-* attributes on the form so it stays translatable. Offers arrive in the provider-neutral shape documented on App\Services\Flights\FlightProvider. --}} @endpush