{% trans "Complaint Description" %}
"{{ complaint.description }}"
{% trans "Location" %}
{% if can_manage_actions and complaint.is_active_status %} {% endif %}{% if complaint.department %}{{ complaint.department.get_localized_name }}{% else %}-{% endif %}
-
{% if complaint.area %}
- {% trans "Area" %}
- {% if LANG == 'ar' and complaint.area.name_ar %}{{ complaint.area.name_ar }}{% else %}{{ complaint.area.name_en }}{% endif %}
- {% trans "Category" %}
- {{ complaint.department.get_category_display }}
- {% trans "Section" %}
- {{ complaint.section.get_localized_name }}
- {% trans "Zone" %}
- {{ complaint.zone }}
- {% trans "Floor" %}
- {{ complaint.floor }}
{% if complaint.legacy_location %}{{ complaint.legacy_location.name_en }}{% else %}-{% endif %}
{% if complaint.legacy_main_section %}{{ complaint.legacy_main_section.name_en }}{% if complaint.legacy_subsection %} > {{ complaint.legacy_subsection.name_en }}{% endif %}
{% endif %} {% endif %}{% trans "Severity" %}
{{ complaint.get_severity_display }}
{% trans "Classification" %}
{% if complaint.ai_brief_en %} {% if LANG == 'ar' and complaint.ai_brief_ar %} {{ complaint.ai_brief_ar }} {% else %} {{ complaint.ai_brief_en }} {% endif %} {% else %}-{% endif %}
{% trans "Created" %}
{{ complaint.created_at|date:"d M Y, h:i A" }}
{% trans "Deadline" %}
{{ complaint.due_at|date:"d M Y, h:i A" }} {% if complaint.is_overdue %} {% trans "Overdue" %} {% endif %}
{% if complaint.due_at and complaint.status != 'resolved' and complaint.status != 'closed' and complaint.status != 'cancelled' %}{% elif complaint.sla_is_overdue_display %}
{{ complaint.sla_is_overdue_display }}
{% endif %}{% trans "Escalated" %}
{% trans "Escalated on" %} {{ complaint.escalated_at|date:"d M Y, h:i A" }}
{% trans "OVR escalation requested. Please review and approve or reject." %}
{% if request.user.is_px_admin or request.user.is_hospital_admin or request.user.is_px_management %}{% trans "Waiting for admin approval." %}
{% endif %}{% trans "Expected Result" %}
{{ complaint.expected_result }}
{% trans "Quick Actions" %}
{% trans "Activate this complaint to perform actions" %}
{% trans "Patient Contact" %}
{% if complaint.patient_contact_status and complaint.patient_contact_status != 'not_contacted' %}{% trans "Patient has not been contacted yet." %}
{% endif %}