Complaint Handling (Solver Module)
This module covers how solvers receive, view, update, and resolve complaints assigned by the admin. It includes optional map navigation and progress tracking with media uploads.
✅ Key Actions for Solvers
- Receive Complaints
- Automatically assigned by admin
-
Appear in the solver's dashboard under “Assigned Complaints”
-
Accept & View Complaint
-
Click on a complaint to view full details:
- Title & Description
- Location (map or address)
- Media (photos, videos)
- Category & Urgency
-
Mark as In Progress
- Status changes to
in_progress -
Solver can add:
- Initial comments/notes
- Start time (auto-captured)
- Optional ETA
-
Update Progress
- Upload live images or videos
- Add work logs or tools used
-
Optional: Update location via map
-
Mark as Resolved
- Final status update
- Upload final media (proof of fix)
- Add completion notes
-
Automatically sends update to citizen + admin
-
View Complaint Details Anytime
- Timeline of updates
- Media gallery
- Admin instructions (if any)
🗺️ Navigation (Optional Feature)
If navigation is enabled:
- On Complaint Detail Page:
- Click “Open Map”
- Launch Google Maps with complaint coordinates
- Allows real-time route from current location
🧩 Tables Involved
complaintscomplaint_assignmentscomplaint_status_logscomplaint_media
🧪 Status Flow
```text assigned → in_progress → resolved