Skip to content

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

  1. Receive Complaints
  2. Automatically assigned by admin
  3. Appear in the solver's dashboard under “Assigned Complaints”

  4. Accept & View Complaint

  5. Click on a complaint to view full details:

    • Title & Description
    • Location (map or address)
    • Media (photos, videos)
    • Category & Urgency
  6. Mark as In Progress

  7. Status changes to in_progress
  8. Solver can add:

    • Initial comments/notes
    • Start time (auto-captured)
    • Optional ETA
  9. Update Progress

  10. Upload live images or videos
  11. Add work logs or tools used
  12. Optional: Update location via map

  13. Mark as Resolved

  14. Final status update
  15. Upload final media (proof of fix)
  16. Add completion notes
  17. Automatically sends update to citizen + admin

  18. View Complaint Details Anytime

  19. Timeline of updates
  20. Media gallery
  21. Admin instructions (if any)

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

  • complaints
  • complaint_assignments
  • complaint_status_logs
  • complaint_media

🧪 Status Flow

```text assigned → in_progress → resolved