{{ __('Trips') }}

{{ __('Trips') }}

{{ __('Journeys planned and completed across your fleet.') }}

{{ __('Add Trip') }}
{{-- Form View / Spreadsheet View toggle --}}
@if (session('status'))
{{ session('status') }}
@endif
@if (array_filter($filters ?? [])) {{ __('Clear') }} @endif
@if ($trips->isEmpty())

{{ __('No trips found.') }}

{{ __('Add your first trip') }}
@else @foreach ($trips as $trip) @endforeach
{{ __('Date') }} {{ __('Vehicle') }} {{ __('Driver') }} {{ __('Route') }} {{ __('Status') }}
{{ $trip->date->format('M j, Y') }} {{ $trip->vehicle?->plate ?? '—' }} {{ $trip->driver?->name ?? '—' }} {{ $trip->pickup_location }} → {{ $trip->dropoff_location }} {{ $trip->status->label() }} {{ __('Edit') }}
{{ $trips->links() }}
@endif