Booking ID: {{ $booking->booking_no }}
Invoice ID: {{ $booking->invoice_no ?: '-' }}
Customer: {{ $booking->customer?->full_name }}
Branch: {{ $booking->branch?->name ?: '-' }}
Service: {{ $booking->serviceTypeLabel() }}
{{ $booking->serviceType() === \App\Models\Booking::SERVICE_TOUR_PACKAGE ? 'Package' : 'Item' }}: {{ $booking->itemTitle('-') }}
@if ($booking->shipTrip)
Trip: {{ $booking->shipTrip->name }}
@endif
@if ($booking->service_items)
Priced as:
@foreach ($booking->service_items as $item)
{{ $item['quantity'] }} × {{ $item['title'] }} @ {{ number_format($item['unit_price'], 2) }}{{ $loop->last ? '' : ' · ' }}
@endforeach
@endif
@if ($booking->service_details)
Service Details: {!! nl2br(e($booking->service_details)) !!}
@endif
Booking Type: {{ ucfirst($booking->booking_type ?? 'offline') }}
Travel Date: {{ optional($booking->travel_date)->format('d M Y') }}
Return Date:
{{ optional($booking->return_date)->format('d M Y') ?: '-' }}
@if ($booking->hotel_category)
{{-- Only set on packages priced by the matrix: the grade and travel
window the price was quoted from. --}}
Hotel Category: {{ $booking->hotelCategoryLabel() }}
Travel Window: {{ $booking->pickTime?->name ?: 'Any date' }}
@endif
Room Allocation: {{ $booking->room_allocation ?: '-' }}
Seat Allocation: {{ $booking->seat_allocation ?: '-' }}
Status: {{ ucfirst($booking->status) }}
Payment Status: {{ ucfirst($booking->payment_status) }}
Payment Method:
{{ ucfirst($booking->payment_method_type ?? 'full') }}
Total: {{ number_format($booking->sub_total, 2) }}
Net:
{{ number_format($booking->net_amount ?? $booking->total_amount, 2) }}
Paid/Due: {{ number_format($booking->paid_amount, 2) }} /
{{ number_format($booking->due_amount, 2) }}
Installment Plan: {{ (int) ($booking->installment_count ?? 0) }} x
{{ number_format($booking->installment_amount ?? 0, 2) }}
Next Due Date:
{{ optional($booking->next_due_date)->format('d M Y') ?: '-' }}
Refund: {{ number_format($booking->refund_amount ?? 0, 2) }} on
{{ optional($booking->refund_date)->format('d M Y') ?: '-' }}
Refund Reason: {{ $booking->refund_reason ?: '-' }}