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

{{ $route->label() }}

{{ __('Edit') }}
{{ __('Expected Distance') }}
{{ number_format((float) $route->expected_distance_km, 1) }} km
{{ __('Expected Fuel Range') }}
{{ $route->expectedFuelRangeLabel() ?? '—' }}
{{ __('Expected Travel Time') }}
{{ $route->expectedTravelTimeLabel() ?? '—' }}
@foreach ([ 'Origin' => $route->origin, 'Destination' => $route->destination, 'Applicable Vehicle Types' => $route->vehicle_types ? implode(', ', $route->vehicle_types) : 'Any', 'Added' => $route->created_at->format('M j, Y'), ] as $label => $value)
{{ __($label) }}
{{ $value ?: '—' }}
@endforeach @if ($route->notes)
{{ __('Notes') }}
{{ $route->notes }}
@endif
← {{ __('Back to Routes') }}