{% load i18n %}
| Ref # | Source | Title | Patient | Hospital | Department | Severity | Status | Due Date | Actions | |
|---|---|---|---|---|---|---|---|---|---|---|
{{ complaint.reference_number }}
|
{% if complaint.source %} {{ complaint.source.name_en|truncatechars:12 }} {% elif complaint.complaint_source_type == 'internal' %} Internal {% else %} Patient {% endif %} | {{ complaint.title|truncatewords:8 }} {% if complaint.is_overdue %} OVERDUE {% endif %} | {% if complaint.patient %} {{ complaint.patient.get_full_name }} {% else %} - {% endif %} | {{ complaint.hospital.name }} | {{ complaint.department.name }} | {{ complaint.get_severity_display }} | {{ complaint.get_status_display }} | {% if complaint.due_date %} {{ complaint.due_date|date:"M d, Y" }} {% else %} - {% endif %} |
No complaints found