{{ __("All") }} {{ __("Online Drivers") }} {{ __("Offline Drivers") }} {{ __("Custom") }}
{{ __('Live tracking is enabled. Use zone and marker style filters to focus operations and monitor deliveries in real time.') }}

{{ __('Drivers') }}

{{ $driverMapSummary['total'] ?? 0 }}

{{ __('Online') }}

{{ $driverMapSummary['online'] ?? 0 }}

{{ __('Offline') }}

{{ $driverMapSummary['offline'] ?? 0 }}

{{ __('With Location') }}

{{ $driverMapSummary['with_location'] ?? 0 }}

{{ __('Without Location') }}

{{ $driverMapSummary['without_location'] ?? 0 }}

@if (!empty($onlineDriversWithoutLocation ?? []))

{{ __('Online drivers without valid location') }} ({{ count($onlineDriversWithoutLocation ?? []) }})

@foreach ($onlineDriversWithoutLocation as $driver) {{ $driver['name'] ?? ('#' . ($driver['id'] ?? '')) }} @endforeach
@endif
{{-- new form --}}

{{ __('Drivers') }}

{{-- scripts --}} @push('scripts') @php $driverTrackingJsVersion = @filemtime(public_path('js/extensions/driver_tracking.js')) ?: time(); $driverTrackingWebsocketJsVersion = @filemtime(public_path('js/extensions/driver_tracking_websocket.js')) ?: time(); @endphp @if((isUsingWebsocket() ?? false) == false) @else @endif @endpush