Part 6 — Field Staff
Part 6 — Field Staff
20. Field Work (shop visits)
What it is
For sales or service staff who visit shops/customers. While on duty, they log each visit with shop name, remarks, a selfie and GPS location. Managers see a day-wise timeline and map.
How to enable
Edit the employee → Attendance tab → Attendance Mode Software → tick Field Work → Save. The employee must log out and log in again to see the Field Work menu.
How the employee logs a visit
- Check in for the day.
- Dashboard → Log Shop Visit (or menu Field Work → Log shop visit).
- Enter Shop name (required) and Visit remarks / report (e.g. "Showed new range, order of 20 cartons").
- Tap Capture selfie → Submit visit. Location is captured automatically.
- Message: "Shop visit recorded". The visit appears in today's list.
How the admin reviews visits
- Sidebar → Field Work Visits. Filter by dates and employee → Apply.
- One row per employee per day: number of visits, shop names, time span.
- Click Day view → see a numbered route map, a timeline of visits with selfies, GPS accuracy and Open in Maps links.
Example
Arjun (Field Sales) checks in at 9:35, visits 7 shops, and checks out at 18:10. In the evening his manager opens Field Work Visits → Day view and sees the route from shop 1 to 7 on the map with each shop's selfie and notes.
What to expect / rules
| Situation | Message |
|---|---|
| Not checked in yet | "Check in first before logging shop visits" |
| Already checked out | "You have already checked out today" |
| Field work not enabled | "Field Work is not enabled on your profile" |
| Location permission denied | "Location permission required for shop visits" |
Common mistakes
- Visits logged from the office → GPS shows the office. Use the map in Day view to verify.
- No map in Day view → add a Google Maps API key in System Settings.
21. Live location tracking and Live Map
What it is
For field staff, the portal records the employee's GPS location every few minutes between check-in and check-out. Admins see everyone on a live map and can replay each person's route.
How to enable
Edit employee → Attendance tab → Software mode → Live location tracking: Enable → Tracking interval (minimum 5, default 15 minutes) → Save.
What the employee does
- Check in. If tracking is on, the portal opens Location Tracking ("Location tracking active — Recording every 15 min").
- Keep the portal open (installed as an app on the home screen works best). Tap Keep screen awake if needed.
- If the internet drops, points are saved on the phone ("Offline — queued") and uploaded later.
- Tracking stops automatically at check-out.
What the admin sees — Live Map
Sidebar → Live Map:
- Each tracked employee appears at their latest location.
- Status: Live (on shift, recent point), Recent (within 1 hour), Idle (older / no location).
- Switch between Map and List view, search by name, pick a past date. Auto-refreshes every 60 seconds.
- Click View Trip → to open the trip replay.
Trip view
- The route on a map with Play / Pause and speed controls.
- Travelled distance (km), Stops, Long stays (same place 5+ minutes) with addresses, and Gaps (missing points).
- A full Location timeline table.
Example
At 3 PM, Priya opens the Live Map and sees Arjun "Live" near Kothrud. She opens his trip: 34 km travelled, 2 long stays (40 minutes at a distributor, 25 minutes at lunch).
Common mistakes
| Problem | Fix |
|---|---|
| Employee shows "No location" | The employee must allow precise location for the browser and keep the portal open. |
| "Invalid GPS fix — move outdoors or enable precise location." | Turn on GPS / high-accuracy mode on the phone. |
| "Tracking stopped — check in again…" | The employee has checked out, or tracking is not enabled on their profile. |
| Map not showing | Add a Google Maps API key in System Settings. |