Booking Details

PNR: {{ $booking->pnr }}

Back to List

Booking Information

PNR / Reference

{{ $booking->pnr }}

Booking Date

{{ $booking->created_at->format('M d, Y') }}

Sales Type

{{ ucfirst($booking->sales_type) }}

Sales Origin

{{ $booking->sales_origin }}

Seat Type

{{ ucfirst($booking->seat_type) }}

Call Centre Agent

{{ $booking->call_centre_agent ?? 'N/A' }}

Channel Information

Channel Type

{{ strtoupper($booking->bookingChannel->code) }}

Channel Name

{{ $booking->bookingChannel->name }}

Flight Information

Flight Number

{{ $booking->flight->flight_number }}

Route

{{ $booking->flight->route }}

Flight Date

{{ \Carbon\Carbon::parse($booking->flight->flight_date)->format('M d, Y') }}

Departure Time

{{ $booking->flight->departure_time }}

Passengers ({{ $booking->passenger_count }})

@foreach($booking->passengers as $index => $passenger)

Passenger {{ $index + 1 }}

Full Name

{{ $passenger->name }}

ID/Passport

{{ $passenger->id_number }}

Phone

{{ $passenger->phone }}

Reason for Travel

{{ $passenger->reason_for_travel }}

@endforeach

Status

Booking Status

@if($booking->booking_status === 'confirmed') Confirmed @elseif($booking->booking_status === 'pending') Pending @else Cancelled @endif

Payment Status

@if($booking->payment_status === 'paid') Paid @elseif($booking->payment_status === 'pending') Pending @else Partial @endif

Payment Details

Total Amount ${{ number_format($booking->total_amount, 2) }}
Commission (3%) ${{ number_format($booking->commission_amount, 2) }}
@if($booking->bookingChannel->channel_type === 'agency')
Admin Fee ${{ number_format($booking->admin_fee, 2) }}
@endif
Total with Fees ${{ number_format($booking->total_amount + $booking->commission_amount + $booking->admin_fee, 2) }}

Payment Method

{{ ucfirst(str_replace('_', ' ', $booking->payment_method)) }}

Actions

Edit Booking @if($booking->booking_status !== 'cancelled')
@csrf
@endif
@csrf @method('DELETE')