{% extends 'emails/base_email_template.html' %} {% load i18n %} {% block title %}{% trans "SLA Reminder - Observation" %}{% endblock %} {% block preheader %}{% trans "An observation 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 observation requires your attention." %} {% else %} {% trans "An observation assigned to you is approaching its SLA deadline." %} {% endif %} {% endblock %} {% block content %}

{% trans "Dear" %} {{ recipient_name|default:'Colleague' }},

{% if is_unassigned %}

{% trans "This is a reminder about an unassigned observation that requires attention. The observation has not yet been assigned to any team member. Please assign it as soon as possible." %}

{% else %}

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

{% endif %}

{% trans "Observation Details" %}

{% if observation.title %} {% endif %} {% if observation.location_text %} {% endif %}
{% trans "Tracking Code:" %} {{ observation.tracking_code }}
{% trans "Title:" %} {{ observation.title }}
{% trans "Category:" %} {% if observation.category %}{{ observation.category.name_en }}{% else %}N/A{% endif %}
{% trans "Severity:" %} {{ observation.get_severity_display }}
{% trans "Status:" %} {{ observation.get_status_display }}
{% trans "Location:" %} {{ observation.location_text }}

{% trans "SLA Information" %}

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

{% trans "Action Required:" %}

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

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

{% endif %}

تذكير بموعد الاستحقاق - {{ observation.tracking_code }}

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

{% endblock %} {% block cta_url %}{{ observation_url }}{% endblock %} {% block cta_text %}{% trans "View Observation" %}{% endblock %} {% block info_title %}{% trans "Important" %}{% endblock %} {% block info_content %} {% trans "If you have already addressed this observation, please update its status in the system." %} {% endblock %} {% block footer_address %} PX360 Observation Management System
Al Hammadi Hospital {% endblock %}