"{{ complaint.description }}"
{% trans "Location" %}
{% 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 %}{% 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 "Update Status" %}
{% trans "72h Closure Delay Reason" %}
{{ complaint.get_delay_reason_closure_display }}
{% trans "Staff Assignment" %} ({{ complaint.involved_staff_count }})
{% if complaint.involved_staff.exists %}{{ staff_inv.staff }}
{{ staff_inv.get_role_display }}
{% trans "No staff assigned to this case yet." %}
{% if can_edit and complaint.is_active_status %} {% trans "Select Staff" %} {% endif %}{% trans "Assignment Info" %}
- {% trans "Main Dept:" %} {{ complaint.department.name|default:"-" }}
- {% trans "Assigned To:" %} {{ complaint.assigned_to.get_full_name|default:"Unassigned" }}
- {% trans "TAT Goal:" %} {{ complaint.due_at|timeuntil }}
- {% trans "Status:" %} {{ complaint.get_status_display }}
{% trans "Involved Departments" %} ({{ complaint.involved_departments_count }})
{% trans "Patient Contact" %}
{% if complaint.patient_contact_status and complaint.patient_contact_status != 'not_contacted' %}{% trans "Patient has not been contacted yet." %}
{% endif %}