{{-- Tickets eligible for the page's action, each with the form that performs it. Shared by reissue / cancellation / refund, which differ only in the extra field the action needs. Expects: $eligible, $action ('Reissued' | 'Cancelled' | 'Refunded'). --}} @if(hasPermission('flight_update') && $eligible->count())

{{ ___('label.eligible_tickets') }}

{{ $eligible->count() }}
@foreach($eligible as $ticket) @endforeach
{{ ___('label.pnr') }} {{ ___('label.passenger') }} {{ ___('label.route') }} {{ ___('label.flight_date') }} {{ ___('label.fare') }} {{ ___('label.status') }} {{ ___('label.action') }}
{{ $ticket->pnr }} {{ $ticket->passenger_name }} {{ $ticket->route }} {{ $ticket->flight_date?->translatedFormat('d M Y') }} {{ currency_symbol() }}{{ number_format($ticket->fare) }} {{ admin_label($ticket->status) }}
@csrf @method('PUT') @if($action === 'Reissued')
@endif @if($action === 'Refunded') {{-- Capped at the fare: anything not returned is recorded as the airline's penalty. --}}
{{-- Where the money went back from — the refund posts against this account. --}}
@endif
@endif