@extends('layouts.app') @section('title', 'Doctor routes map – Gap Finder Analytics') @push('styles') @endpush @section('content')
Select an employee to display their doctors on the map. Path is drawn in the same sequence as in the imported sheet. You can also draw on the map and save custom overlays.
doctor_db.xlsx) from Imports. Required columns: EmployeeName, DoctorName, pLat, pLng; optional: EmployeeReferenceId, DesignationName, BaseTownName, TeamName, DoctorCode, DoctorSpecialty. Path order follows row order per employee.
Select an employee above to see their route. Ref ID and ASM/HOS come from the imported sheet (e.g. doctor_db.xlsx).
| Employee (MR) | Ref ID | ASM | HOS | Stops |
|---|---|---|---|---|
| {{ $mr->name }} | {{ $mr->employee_reference_id ?? '–' }} | {{ $mr->asm_name ?? '–' }} | {{ $mr->hos_name ?? '–' }} | {{ $mr->doctorRoutes()->count() }} |
| Import a location sheet (e.g. doctor_db.xlsx) with EmployeeName, DoctorName, pLat, pLng. | ||||