{% extends "base.html" %} {% block title %}Complaints & Grievance Redressal - NGO Foundation Admin{% endblock %} {% block body_class %}admin-portal-active{% endblock %} {% block content %}
{% if current_user.role and current_user.role.role_name == 'Finance' %} {% include "finance/_finance_sidebar.html" %} {% else %} {% include "admin/_admin_sidebar.html" %} {% endif %}
{% set topbar_title = 'Complaints & Grievance Redressal' %} {% set topbar_subtitle = 'Home / Operations / Complaints Management' %} {% include "admin/_admin_topbar.html" %} {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% endfor %} {% endif %} {% endwith %}

Citizen Complaints & Grievance Redressal

Monitor citizen feedback, process grievances, record official resolutions, and dispatch automated emails.

Total Registered

{{ kpi.total }}

All-time grievances
Pending Review

{{ kpi.pending }}

Awaiting initial action
In Progress / On Hold

{{ kpi.in_progress }}

Active inquiry
Resolved / Closed

{{ kpi.resolved }}

Successfully addressed
{% if current_status != 'all' or current_category != 'all' or current_priority != 'all' or search_q or from_date or to_date %} {% endif %}
Registered Grievance Redressal Queue
Showing {{ complaints|length }} of {{ kpi.total }} records
{% for c in complaints %} {% else %} {% endfor %}
Ticket & Date Complainant Details Category & Priority Subject & Description Status Resolution Actions
{{ c.ticket_number }}
{{ c.submitted_at_local_formatted }}
{{ c.name }}
{{ c.email }}
{% if c.phone %}
{{ c.phone }}
{% endif %}
{{ c.category }}
{{ c.priority }} Priority
{{ c.subject }}
{{ c.message }}
{{ c.status }} {% if c.admin_reply %}
Replied
{% if c.resolved_at %}
{{ c.resolved_at_local_formatted }}
{% endif %} {% else %} Awaiting Response {% endif %}
No Grievances Found

There are currently no complaints matching your search or filter criteria.

{% endblock %}