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

{% trans "Step 0 — Complaint Requests Report" %}

{% trans "Track complaint request filling, status, and timing" %}

{% trans "Export Excel" %}
{% trans "Complaint Requests" %} ({{ page_obj.paginator.count }} {% trans "total" %})
{% for req in page_obj %} {% empty %} {% endfor %}
{% trans "#" %} {% trans "Date" %} {% trans "Patient" %} {% trans "File #" %} {% trans "Department" %} {% trans "Staff" %} {% trans "Status" %} {% trans "Fill Time" %} {% trans "Barcode" %} {% trans "Non-Activation Reason" %} {% trans "PR Observations" %}
{{ forloop.counter }} {{ req.request_date }} {{ req.patient_name|default:"—" }} {{ req.file_number|default:"—" }} {{ req.complained_department.name|default:"—" }} {{ req.staff.get_full_name|default:"—" }} {% if req.on_hold %} {% trans "On Hold" %} {% elif req.filled %} {% trans "Filled" %} {% elif req.not_filled %} {% trans "Not Filled" %} {% else %} {% endif %} {{ req.get_filling_time_category_display }} {% if req.from_barcode %}SELF{% else %}—{% endif %} {{ req.get_reason_non_activation_display|default:"—" }} {{ req.pr_observations|default:"—" }}
No complaint requests found for the selected filters.
{% if page_obj.has_other_pages %} {% endif %}
{% endblock %}