{% extends 'emails/base_email_template.html' %}
{% load i18n %}

{% block title %}{% trans "New Observation Submitted - Al Hammadi Hospital" %}{% endblock %}
{% block preheader %}{% trans "A new observation requires your review and triage" %}{% endblock %}

{% block content %}
<p style="margin: 0 0 15px;">
    {% trans "Dear" %} <strong>{{ recipient_name|default:'Colleague' }}</strong>,
</p>

<p style="margin: 0 0 20px;">
    {% trans "A new observation has been submitted and requires your review. Please review the details below." %}
</p>

<p style="margin: 0 0 5px;"><strong>{% trans "Tracking Code:" %}</strong> {{ observation.tracking_code }}</p>
{% if observation.title %}
<p style="margin: 0 0 5px;"><strong>{% trans "Title:" %}</strong> {{ observation.title }}</p>
{% endif %}
<p style="margin: 0 0 5px;"><strong>{% trans "Category:" %}</strong> {% if observation.category %}{{ observation.category.name_en }}{% else %}N/A{% endif %}</p>
<p style="margin: 0 0 5px;"><strong>{% trans "Status:" %}</strong> {{ observation.get_status_display }}</p>
{% if observation.assigned_department %}
<p style="margin: 0 0 5px;"><strong>{% trans "Department:" %}</strong> {{ observation.assigned_department.name }}</p>
{% endif %}

<p style="margin: 20px 0 0; font-size: 13px; color: #999999;">
    {% trans "This is an automated notification. Please log in to PX360 for full details." %}
</p>
{% endblock %}
