{% trans "Description" %}
{{ complaint.description }}
{% endif %}- {% trans "Location" %} {% if can_manage_actions and complaint.is_active_status %} {% endif %}
- {% if complaint.department or complaint.location_type or complaint.area or complaint.section %} {% if complaint.department %}{{ complaint.department.get_localized_name }}{% else %}-{% endif %} {% if complaint.location_type %} {{ complaint.get_location_type_display }} {% endif %} {% if complaint.area %}· {% trans "Area" %}: {% if LANG == 'ar' and complaint.area.name_ar %}{{ complaint.area.name_ar }}{% else %}{{ complaint.area.name_en }}{% endif %}{% endif %} {% if complaint.department and complaint.department.category %}· {% trans "Category" %}: {{ complaint.department.get_category_display }}{% endif %} {% if complaint.section %}· {% trans "Section" %}: {{ complaint.section.get_localized_name }}{% endif %} {% if complaint.zone %}· {% trans "Zone" %}: {{ complaint.zone }}{% endif %} {% if complaint.floor %}· {% trans "Floor" %}: {{ complaint.floor }}{% endif %} {% else %} {% 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 complaint.assigned_to == current_user %}{% trans "Waiting for admin approval." %}
{% endif %}{% trans "Expected Result" %}
{{ complaint.expected_result }}
{% trans "PDF Report" %}
{% trans "Activate this complaint to enable PDF report generation." %}
{% trans "Quick Actions" %}
{% trans "Activate this complaint to perform actions" %}