{% 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 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 "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 "Due Date:" %} {{ due_date|date:"F d, Y H:i" }}
{% trans "Time Remaining:" %} {{ hours_remaining }} {% trans "hours" %}
{% trans "Status:" %} {{ complaint.get_status_display }}
{% 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 %}| {% trans "View Complaint" %} |
تذكير اتفاقية مستوى الخدمة - شكوى #{{ complaint.id|slice:":8" }}
{% if is_unassigned %}
هام: هذا تذكير بشكوى غير معينة تحتاج إلى اهتمامكم. يرجى تعيينها لأحد أعضاء الفريق المناسبين في أقرب وقت ممكن.
{% endif %}
معلومات اتفاقية مستوى الخدمة: تاريخ الاستحقاق {{ due_date|date:"Y F d H:i" }} - الوقت المتبقي: {{ hours_remaining }} ساعة
{% if not is_unassigned %}
يرجى مراجعة هذه الشكوى واتخاذ الإجراء المناسب قبل الموعد النهائي لتجنب تجاوزها.
{% endif %}