{{ __('Vehicle Dashboard') }}

@if(!$vehicle)

Vehicle Not Linked

Your account has not been linked to a vehicle record yet. Please contact the administrator.

@else

Vehicle: {{ $vehicle->vehicle_number }}

Fleet management summary for this vehicle.

Status

{{ $vehicle->status ?? 'Active' }}
Today's Trips
{{ $todayTripsCount }}
Today's Hours
{{ number_format($todayHoursCount, 2) }}
Total Trips
{{ $totalTrips }}

Recent Trips

View All →
@if($recentTrips->isEmpty())

No trips recorded for this vehicle yet.

@else
    @foreach($recentTrips as $trip)
  • {{ $trip->location }}

    {{ $trip->date->format('d M Y') }} • Driver: {{ $trip->driver->driver_name ?? 'N/A' }}

    {{ $trip->trip_type }}
  • @endforeach
@endif
@endif