@extends('layouts.app') @section('title', 'Print Invoice') @section('content')
Booking Date: {{ $booking->booking_date ?? $booking->created_at ?? '-' }}
Customer Name: {{ $booking->customer->name ?? '-' }}
Iqama No: {{ $booking->customer->iqama_no ?? '-' }}
Phone Number: {{ $booking->customer->mobile_no ?? '-' }}
Address: {{ $booking->customer->address ?? '-' }}
Invoice Date: {{ $invoiceDate ?? ($booking->created_at ?? '-') }}
Invoice Number: {{ $booking->invoice_id ?? '-' }}
Branch: {{ $booking->branch->name ?? 'RUH' }}
Office: {{ $booking->office->name ?? 'RUH' }}
Representative: {{ $booking->user->name ?? '-' }}
Offer: {{ $offer ?? 'NO' }}
Finger Location: {{ $booking->fingerprint_location ?? '-' }}
Finger Deadline: {{ $fingerprintDeadline ?? '-' }}
| Pax No | Name of Passengers | Gender | Passport Number | Package | Duration | Package Value |
|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $passenger->first_name ?? '' }} {{ $passenger->last_name ?? '' }} | {{ $passenger->gender ?? '-' }} | {{ $passenger->passport_no ?? '-' }} | {{ $booking->package->package_name ?? 'Package' }} | {{ $passenger->stay_duration ?? '-' }} | {{ $passenger->package_value ?? '-' }} |
| No passengers | ||||||
| Pax | Type | Airlines | Route | Est. Flight Date | Baggage (Kg) | Cabin | Meal | Flight Type | Remarks |
|---|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $passenger->passenger_type?->value ?? '-' }} | {{ $passenger->ticketFare?->airline?->name ?? '-' }} | {{ $passenger->route_display }} | {{ $passenger->flight_date_display }} | {{ $passenger->baggage_display }} | {{ $passenger->ticketFare?->airlineClass?->travelClass?->name ?? '-' }} | {{ $passenger->meal_display }} | {{ $passenger->flight_type_display }} | {{ $booking->remarks ?? '-' }} |
| No flight details | |||||||||
Offer: {{ $offer ?? 'N/A' }}
Conditions: ________________________