{{ $order->primary_first_name ?? 'N/A' }} {{ $order->primary_last_name ?? '' }}
{{ $order->primary_phone ?? 'N/A' }}
@else{{ $order->customer_first_name ?? 'N/A' }} {{ $order->customer_last_name ?? 'N/A' }}
{{ $order->customer_phone ?? 'N/A' }}
@endifStatus : {{ $booking->order->status ?? 'No Status' }}
@if ($order->bookings->isNotEmpty())Total Bookings : {{ $order->bookings->count() }}
@else Total Bookings :0
@endif @if ($order->bookings->isNotEmpty())Total Participants : {{ $order->bookings->sum(fn($b) => $b->passengers->count()) }}
@else total Participants :0
@endif
{{ $booking->order->primaryContact ? $booking->order->primary_first_name . ' ' . $booking->order->primary_last_name : ($partner ? $partner->name : 'N/A') }}
@if ($booking->order->primaryContact)
{{ $booking->order->primary_email }}
@endif
{{ $booking->tour->name ?? 'No Tour' }}
Total Participants : {{ $booking->passengers->count() ?? '0' }}
{{ $passenger && $passenger->first_name ? ($index + 1) . ' ' . $passenger->first_name . ' ' . $passenger->last_name : ($index + 1) . ' ' . ucfirst($passenger->type) }}
@can('write_schedule') @endcan