{% trans "Complaint Details" %}
{% if complaint.source %} {% trans "Source:" %} {{ complaint.source.get_localized_name }} {% endif %}"{{ complaint.description }}"
{% trans "Location" %}
{% if complaint.location %}{{ complaint.location.name_en }}{% else %}-{% endif %}
{% if complaint.main_section %}{{ complaint.main_section.name_en }}{% if complaint.subsection %} > {{ complaint.subsection.name_en }}{% endif %}
{% endif %}{% trans "Severity" %}
{{ complaint.get_severity_display }}
{% trans "Date Created" %}
{{ complaint.created_at|date:"d M Y, h:i A" }}
{% trans "Response 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 "Classification" %}
{% trans "Domain" %}
{{ complaint.domain.get_localized_name }}
{% trans "Category" %}
{{ complaint.category.get_localized_name }}
{% trans "Subcategory" %}
{{ complaint.subcategory_obj.get_localized_name }}
{% trans "Classification" %}
{{ complaint.classification_obj.get_localized_name }}
{% trans "Patient Information" %}
{% trans "Name" %}
{{ complaint.patient.get_full_name }}
{% trans "MRN" %}
{{ complaint.patient.mrn|default:"-" }}
{% trans "Phone" %}
{{ complaint.patient.phone|default:"-" }}
{% trans "Quick Actions" %}
{% trans "Activate this complaint to perform actions" %}
{% trans "Update Status" %}
{% trans "72h Closure Delay Reason" %}
{% if complaint.delay_reason_closure %}{{ 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 %} {% 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 }}