{{ __('Trip Details') }}
@if (session('status'))
{{ session('status') }}
@endif

{{ $trip->pickup_location }} → {{ $trip->dropoff_location }}

{{ $trip->status->label() }}
{{ __('Edit') }}
{{ __('Date') }}
{{ $trip->date->format('M j, Y') }}
{{ __('Departure Time') }}
{{ $trip->departure_time ? \Illuminate\Support\Carbon::parse($trip->departure_time)->format('g:i A') : '—' }}
{{ __('Vehicle') }}
@if ($trip->vehicle) {{ $trip->vehicle->plate }} @else @endif
{{ __('Driver') }}
@if ($trip->driver) {{ $trip->driver->name }} @else @endif
{{ __('Customer') }}
@if ($trip->customer) {{ $trip->customer->name }} @else @endif
{{ __('Pickup') }}
{{ $trip->pickup_location }}
{{ __('Dropoff') }}
{{ $trip->dropoff_location }}
@if ($trip->notes)
{{ __('Notes') }}
{{ $trip->notes }}
@endif
{{ __('Added by') }}
{{ $trip->creator?->name ?? __('Unknown') }} · {{ $trip->created_at->format('M j, Y g:i A') }}
← {{ __('Back to Trips') }}