@extends('adminmodule::layouts.master')
@section('title', translate('Driver_Earning_Analytics'))
@section('content')
Recent Drivers
{{ $recent_count ?? 0 }}
Not Recent Drivers
{{ $not_recent_count ?? 0 }}
No Location
{{ $no_location_count ?? 0 }}
| # |
Driver Name |
Last Update |
Status |
@forelse ($drivers as $index => $driver)
| {{ $index + 1 }} |
{{ $driver->name ?? 'N/A' }} |
{{ $driver->updated_at ? $driver->updated_at->diffForHumans() : '—' }} |
@if ($driver->is_recent)
Recent
@else
Not Recent
@endif
|
@empty
|
No driver data available.
|
@endforelse
@push('css_or_js')
@endpush
@endsection