{% extends 'emails/base_email_template.html' %} {% load i18n %} {% block title %}{% trans "SLA Reminder - Complaint" %}{% endblock %} {% block preheader %}{% trans "A complaint is approaching its SLA deadline. Please take action." %}{% endblock %} {% block hero_title %}{% trans "SLA Deadline Reminder" %}{% endblock %} {% block hero_subtitle %} {% if is_unassigned %} {% trans "An unassigned complaint requires your immediate attention." %} {% else %} {% trans "An assigned complaint is approaching its SLA deadline." %} {% endif %} {% endblock %} {% block content %}

{% trans "Dear" %} {{ recipient.get_full_name }},

{% if is_unassigned %}

{% trans "This is a reminder about an UNASSIGNED complaint that needs your attention. This complaint has not yet been assigned to anyone. Please assign it to an appropriate team member as soon as possible." %}

{% else %}

{% trans "This is an automated reminder that you have an assigned complaint approaching its SLA deadline. Please review and take appropriate action." %}

{% endif %}

{% trans "Complaint Details" %}

{% trans "Reference:" %} #{{ complaint.id|slice:":8" }}
{% trans "Title:" %} {{ complaint.title }}
{% trans "Severity:" %} {{ complaint.get_severity_display }}
{% trans "Priority:" %} {{ complaint.get_priority_display }}
{% trans "Category:" %} {% if complaint.category %}{{ complaint.category.get_localized_name }}{% else %}N/A{% endif %}
{% trans "Department:" %} {% if complaint.department %}{{ complaint.department.get_localized_name }}{% else %}N/A{% endif %}
{% trans "Patient:" %} {% if complaint.patient %}{{ complaint.patient.get_full_name }} (MRN: {{ complaint.patient.mrn }}){% else %}N/A{% endif %}

{% trans "SLA Information" %}

{% trans "Due Date:" %} {{ due_date|date:"F d, Y H:i" }}
{% trans "Time Remaining:" %} {{ hours_remaining }} {% trans "hours" %}
{% trans "Status:" %} {{ complaint.get_status_display }}

{% trans "Action Required:" %}

{% if is_unassigned %}
  • {% trans "Assign this complaint to an appropriate staff member immediately" %}
  • {% trans "Ensure the assigned person is aware of the approaching SLA deadline" %}
  • {% trans "Monitor progress to ensure timely resolution" %}
{% else %}

{% trans "Please review this complaint and take appropriate action before the SLA deadline to avoid breach." %}

{% endif %}

تذكير اتفاقية مستوى الخدمة - شكوى #{{ complaint.id|slice:":8" }}

{% if is_unassigned %} هام: هذا تذكير بشكوى غير معينة تحتاج إلى اهتمامكم. يرجى تعيينها لأحد أعضاء الفريق المناسبين في أقرب وقت ممكن.
{% endif %} معلومات اتفاقية مستوى الخدمة: تاريخ الاستحقاق {{ due_date|date:"Y F d H:i" }} - الوقت المتبقي: {{ hours_remaining }} ساعة
{% if not is_unassigned %} يرجى مراجعة هذه الشكوى واتخاذ الإجراء المناسب قبل الموعد النهائي لتجنب تجاوزها. {% endif %}

{% endblock %} {% block cta_url %}{{ site_url }}/complaints/{{ complaint.id }}/{% endblock %} {% block cta_text %}{% trans "View Complaint" %}{% endblock %} {% block info_title %}{% trans "Important" %}{% endblock %} {% block info_content %} {% if not is_unassigned %} {% trans "If you have already addressed this complaint, please update its status in the system." %} {% endif %} {% endblock %} {% block footer_address %} PX360 Patient Experience Management System
Al Hammadi Hospital {% endblock %}