HH/templates/complaints/emails/new_complaint_admin_ar.html
ismail c5f76b3855
Some checks are pending
Build and Push Docker Image / build (push) Waiting to run
updates
2026-05-11 14:45:30 +03:00

59 lines
3.0 KiB
HTML

{% extends 'emails/base_email_template.html' %}
{% load i18n %}
{% block title %}{% if is_high_priority %}عاجل{% else %}جديد{% endif %} شكوى - {{ complaint.reference_number }}{% endblock %}
{% block preheader %}{% if is_high_priority %}شكوى عاجلة{% else %}شكوى جديدة{% endif %} تتطلب اهتمامك{% endblock %}
{% block content %}
<div dir="rtl" style="text-align: right;">
<p style="margin: 0 0 15px;">
عزيزي/عزيزتي <strong>{{ admin_name|default:"المسؤول" }}</strong>،
</p>
<p style="margin: 0 0 20px;">
تم تقديم شكوى جديدة وتتطلب اهتمامك.
</p>
<p style="margin: 0 0 5px;"><strong>الرقم المرجعي:</strong> {{ complaint.reference_number }}</p>
<p style="margin: 0 0 5px;"><strong>العنوان:</strong> {{ complaint.title }}</p>
<p style="margin: 0 0 5px;"><strong>الأولوية:</strong> {{ priority_display }}</p>
<p style="margin: 0 0 5px;"><strong>الخطورة:</strong> {{ severity_display }}</p>
<p style="margin: 0 0 5px;"><strong>الحالة:</strong> {{ status_display }}</p>
<p style="margin: 0 0 5px;"><strong>الاسم:</strong> {{ patient_name|default:"غير متوفر" }}</p>
<p style="margin: 0 0 5px;"><strong>الرقم الطبي:</strong> {{ patient_mrn|default:"غير متوفر" }}</p>
<p style="margin: 0 0 5px;"><strong>الهاتف:</strong> {{ contact_phone|default:"غير متوفر" }}</p>
<p style="margin: 0 0 5px;"><strong>البريد الإلكتروني:</strong> {{ contact_email|default:"غير متوفر" }}</p>
<p style="margin: 0 0 5px;"><strong>المستشفى:</strong> {{ hospital_name|default:"غير متوفر" }}</p>
<p style="margin: 0 0 5px;"><strong>القسم:</strong> {{ department_name|default:"غير متوفر" }}</p>
<p style="margin: 0 0 5px;"><strong>المصدر:</strong> {{ source_name|default:"غير متوفر" }}</p>
{% if description %}
<p style="margin: 15px 0 5px;"><strong>الوصف:</strong></p>
<p style="margin: 0 0 20px;">{{ description|truncatechars:500 }}</p>
{% endif %}
<p style="margin: 0 0 25px;">
<strong>الإجراء المطلوب:</strong> يرجى مراجعة وتفعيل هذه الشكوى في أقرب وقت ممكن.
</p>
{% if complaint_url %}
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td align="center">
<a href="{{ complaint_url }}"
style="display: inline-block; padding: 12px 32px; font-size: 16px; font-weight: 600; color: #ffffff; text-decoration: none; border-radius: 6px; background-color: #005696;">
عرض الشكوى
</a>
</td>
</tr>
</table>
{% endif %}
<p style="margin: 25px 0 0; font-size: 12px; color: #999999;">
{% if is_working_hours %}ساعات العمل - جميع المسؤولين (بريد فقط){% else %}خارج ساعات العمل - المرن (بريد + رسائل){% endif %}<br>
{{ notification_time }}<br>
هذا إشعار آلي من نظام PX 360.
</p>
</div>
{% endblock %}