| # | البند / Item | السعر / Rate | الكمية / Qty | الاجمالي بدون الضريبة | الضرائب | الضرائب الإضافية | نسبة الضريبة من الاجمالي | الإجمالي |
|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} |
تذكرة جوية / Flight Ticket
شركة الطيران: {{ $ticket->airline->name ?? ($ticket->airline_name ?? '-') }}
@if ($ticket->airline)
({{ $ticket->airline->iata_code ?? '' }})
@endif
@if ($ticket->passengers->count() > 0) الراكب: @foreach ($ticket->passengers as $passenger) {{ $passenger->first_name }} {{ $passenger->last_name }}{{ !$loop->last ? '، ' : '' }} @endforeach @endif رقم التذكرة: {{ $ticket->ticket_number_full ?? ($ticket->ticket_number_core ?? '-') }} رقم الحجز (PNR): {{ $ticket->pnr ?? '-' }} تاريخ الإصدار: {{ $ticket->issue_date ? $ticket->issue_date->format('Y-m-d') : '-' }} @if ($ticket->segments->count() > 0) المسار: {{ $ticket->segments->pluck('origin.iata')->join(' → ') }} → {{ $ticket->segments->last()->destination->iata }} @foreach ($ticket->segments as $segment) رقم الرحلة: {{ $segment->flight_number ?? '-' }} المغادرة: {{ $segment->departure_at ? $segment->departure_at->format('Y-m-d H:i') : '-' }} @endforeach @else المسار: {{ $ticket->itinerary_string ?? '-' }} @endif |
{{ number_format($ticket->cost_base_amount ?? 0, 2) }} | 1 | {{ number_format($ticket->cost_base_amount ?? 0, 2) }} | {{ number_format($ticket->cost_tax_amount ?? 0, 2) }} | {{ number_format($ticket->extra_tax_amount ?? 0, 2) }} | @php $taxes = ($ticket->cost_tax_amount ?? 0) + ($ticket->extra_tax_amount ?? 0); $saleAmount = $ticket->sale_total_amount ?? 0; $percentage = $saleAmount > 0 ? ($taxes / $saleAmount) * 100 : 0; @endphp{{ number_format($percentage, 2) }}% | {{ number_format($ticket->sale_total_amount ?? 0, 2) }} |