@extends('layouts.admin') @section('title', 'View Booking') @section('content')

Booking Details

Booking Information
{{ $booking->booking_code }}

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


{{ $booking->route_from }} → {{ $booking->route_to }}
{{ $booking->departure_date->format('d M Y H:i') }}
{{ $booking->passengers }}
{{ ucfirst($booking->class) }}
Rp {{ number_format($booking->price, 0, ',', '.') }}
@if($booking->notes)

{{ $booking->notes }}

@endif
Progress Updates
@if($booking->progress && $booking->progress->count() > 0)
@foreach($booking->progress as $progress)
{{ ucfirst($progress->status) }}

{{ $progress->description }}

@if($progress->location) {{ $progress->location }} @endif
{{ $progress->updated_at_status->format('d M Y H:i') }}
@endforeach
@else
No progress updates yet
@endif
Customer Info

{{ $booking->user->name }}
{{ $booking->user->email }}


Role: {{ ucfirst($booking->user->role) }}

Timeline

Created:
{{ $booking->created_at->format('d M Y H:i:s') }}

Last Updated:
{{ $booking->updated_at->format('d M Y H:i:s') }}

@endsection