Flight Cards
@if(session('success')) @endif @if(session('error')) @endif

Flight Cards

Manage homepage and flights-page offer cards. Clicking a card opens Amadeus search.

Add Flight Card
Reset
@forelse($flights as $flight) @empty @endforelse
Route Flight Type Airline Class Price Status Actions
{{ $flight->from_label }} → {{ $flight->display_destination }}
@if($flight->destination?->airport_code)
Search code: {{ $flight->destination->airport_code }}
@endif
{{ $flight->type_label }}
{{ $flight->airlineRef?->name ?? ($flight->airline ?: '—') }}
{{ $flight->class }}
£{{ number_format($flight->price, 0) }}
@if($flight->is_draft) Draft @endif
@csrf @method('PATCH')
@csrf @method('DELETE')
No flight cards found. Add one to show offers on the site.
@if($flights->hasPages())
{{ $flights->links() }}
@endif