{% extends "layouts/base.html" %} {% load i18n %} {% block title %}Complaint Monthly Calculations - PX360{% endblock %} {% block content %}

{% trans "Complaint Monthly Calculations" %}

{% trans "Step 1 — Complaint lifecycle tracking with stage timing" %}

{% trans "Export Excel" %}
{% if no_data %}

{% trans "No Complaint Data" %}

{% trans "There are no complaint records for the selected hospital and period." %}

{% else %}

{% trans "Total Complaints" %}

{{ total_fmt }}

{% trans "Resolution Rate" %}

{{ summary.resolution_rate }}%

{% trans "Activation Rate" %}

{{ summary.activation_rate }}%

{% trans "Escalated" %}

{{ summary.escalated }}

{% trans "Avg Close Time" %}

{{ stage_times.total_close|default:"—" }}h

{% trans "Daily Trend" %}

{% trans "Stage Funnel" %}

{% trans "By Status" %}

{% trans "By Source Type" %}

{% trans "By Satisfaction" %}

{% endif %}
{% endblock %} {% block extra_js %} {% if not no_data and chart_data_json %} {% endif %} {% endblock %}