@extends('admin.layouts.master') @section('title', 'Client Details') @section('content')
{{ $client->full_phone }}
{{ $client->email ?? 'N/A' }}
{{ $client->ip ?? 'N/A' }}
{{ $client->login_provider ?? 'Manual' }}
{{ $client->country_name ?? 'N/A' }} ({{ $client->country_code ?? 'N/A' }})
{{ $client->city ?? 'N/A' }} ({{ $client->city_code ?? 'N/A' }})
| # | Order ID | Airline | Type | Status | Price | Created | Agent |
|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $booking->order_id }} | {{ $booking->airline }} | {{ $booking->type }} | {{ strtoupper($booking->status) }} | {{ $booking->total_tax_price }} | {{ $booking->created_at->format('M d, Y') }} | {{ optional($booking->agent)->name ?? 'Unassigned' }} |
| No bookings found. | |||||||
| # | Name | Type | Nationality | Passport / Cnic | Expiry | Date of Birth |
|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $passenger->title }} {{ $passenger->given_name }} {{ $passenger->surname }} | {{ strtoupper($passenger->type) }} | {{ $passenger->nationality }} | {{ $passenger->passport_no }} | {{ $passenger->passport_exp?->format('M d, Y') ?? 'N/A' }} | {{ $passenger->dob?->format('M d, Y') ?? 'N/A' }} |
| No passengers found. | ||||||