Feature #5529
openFieldstaff Daily Job Route Optimization
Description
As a Fieldstaff/Installer
I want to view all my assigned jobs for a selected date as an ordered route map
So that I can know which job to visit first, second, third based on shortest travel distance
And reduce unnecessary travel time between customer locations
Acceptance Criteria
AC1: Show all jobs assigned to the fieldstaff for the selected date
Select a date → system fetches all jobs assigned to the user for that date.
Jobs include:Customer name, Location (latitude/longitude or address),Preferred customer timings
AC2: Display jobs on a map (Google Maps / Mapbox)
All jobs for the day must be shown as pins on the map.
Each pin must have a job number (1, 2, 3…).
Hover/clicking on a pin must show: Customer name, Job details
AC3: Automatic route ordering (Shortest Distance First)
System must calculate the optimal job sequence:
Job 1 → Closest
Job 2 → Next closest
Job 3 → Next
And so on…
AC4: Show the route path
Draw a polyline/path connecting Job 1 → 2 → 3…
Show estimated travel time between each point.
Related issues