| # | البند / Item | السعر / Rate | الكمية / Qty | {{--الاجمالي بدون الضريبة | --}}الضرائب | {{--الضرائب الإضافية | --}} {{--الربح | --}} {{-- @if($invoice->type !="refund")نسبة الضريبة من الاجمالي | @endif --}}الإجمالي |
|---|---|---|---|---|---|---|---|---|---|
| {{ $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 ?? '-') }} @if($ticket->pnr) رقم الحجز (PNR): {{ $ticket->pnr ?? '-' }} @endif @if($ticket->issue_date) تاريخ الإصدار: {{ $ticket->issue_date ? $ticket->issue_date->format('Y-m-d') : '-' }} @endif @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--}} @elseif($ticket->itinerary_string) المسار: {{ $ticket->itinerary_string ?? '-' }} @endif |
{{ number_format(($ticket->sale_total_amount - $extra_tax_amount ) ?? 0, 2) }} | 1 | {{--{{ number_format(($ticket->sale_total_amount- $extra_tax_amount) ?? 0, 2) }} | --}} {{--{{ number_format($ticket->cost_tax_amount ?? 0, 2) }} | --}}{{ number_format($extra_tax_amount ?? 0, 2) }} | {{--{{ number_format($ticket->profit_amount ?? 0, 2) }} | --}} {{-- @if($invoice->type !="refund") @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) }}% | @endif--}}{{ number_format($ticket->sale_total_amount ?? 0, 2) }} |
{{ $company['other_info'] }}