{% extends "layouts/base.html" %} {% load i18n %} {% block title %}Complaints Yearly Report - PX360{% endblock %} {% block content %}

{% trans "Complaints Yearly Report Card" %}

{% trans "Step 2/Yearly — KPI tables, source breakdowns, escalated analysis, response rates" %}

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

{% trans "No Data" %}

{% trans "No complaint records for the selected hospital." %}

{% else %}

{% trans "Total Complaints" %}

{{ kpi_data.totals.total }}

{% trans "Resolution Rate" %}

{{ kpi_data.totals.resolution_rate|floatformat:1 }}%

{% trans "Target: 95%" %}

{% trans "72h Resolution Rate" %}

{{ kpi_data.totals.resolved_72h_rate|floatformat:1 }}%

{% trans "Satisfaction Rate" %}

{{ satisfaction_data.totals.rate|floatformat:1 }}%

{{ satisfaction_data.totals.surveyed }} {% trans "surveyed" %}

{% trans "Escalated" %}

{{ escalated.total_escalated }}

{{ escalated.escalation_rate|floatformat:1 }}% {% trans "rate" %}

{% trans "Resolution Rate Trend" %}

{% trans "Monthly Complaints" %}

{% trans "External vs Internal" %}

{% trans "By Location" %}

{% trans "By Department Type" %}

{% if response_rates.internal.total > 0 %}

{% trans "Internal Response Rate" %}

{% trans "Total:" %} {{ response_rates.internal.total }}

{% trans "MOH Response Rate" %}

{% trans "Total:" %} {{ response_rates.moh.total }}

{% trans "CHI Response Rate" %}

{% trans "Total:" %} {{ response_rates.chi.total }}

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