HH/templates/emails/communication_request_notification.html
ismail 7369d08012
All checks were successful
Build and Push Docker Image / build (push) Successful in 4m14s
feat: unified reference numbers + feedback modules QA audit
Reference numbers (unified scheme PREFIX-YYYYMM-HOSP-NNNN, e.g. CMP-202606-HHN-0001):
- new ReferenceSequence model + generate_reference() helper (apps/core)
- Complaint/Inquiry/Observation/Appreciation/Suggestion emit unified refs via save()
- prefix-based auto-routing in public track API (CMP/INQ/OBS trackable; APR/SGT internal-only)
- removed legacy CMP-/INQ- generators in ui_views, integrations, px_sources
- migrations: core.0003_referencesequence, appreciation.0006, feedback.0008, observations.0012
- unit tests (format, sanitization, monthly reset, 40-thread concurrency)

QA audit:
- isolated E2E hospital sandbox mirroring HH-N + 10 role users (create_e2e_isolated_env)
- feedback-modules-audit.spec.ts + audit helper (headed, run-to-completion)
- reports/feedback-modules-qa-report.md

Also bundles accumulated in-progress work across complaints, observations,
organizations, templates, and other modules.
2026-06-14 14:29:23 +03:00

30 lines
1.5 KiB
HTML

{% extends 'emails/base_email_template.html' %}
{% load i18n %}
{% block title %}{% trans "New Communication Request - Al Hammadi Hospital" %}{% endblock %}
{% block preheader %}{% trans "A source user has submitted a communication request." %}{% endblock %}
{% block content %}
<h2 style="color: #0d9488; margin-top: 0; font-size: 20px;">{% trans "New Communication Request" %}</h2>
<p>{% trans "A source user has submitted a communication request:" %}</p>
<div style="background: #f8fafc; padding: 15px; border-radius: 8px; margin: 15px 0; border-left: 4px solid #0d9488;">
<p style="margin: 0 0 8px 0;"><strong>{% trans "Reason:" %}</strong> {{ reason }}</p>
{% if patient_name %}
<p style="margin: 0 0 8px 0;"><strong>{% trans "Patient:" %}</strong> {{ patient_name }}</p>
{% endif %}
<p style="margin: 0 0 8px 0;"><strong>{% trans "From:" %}</strong> {{ source_user_name }}</p>
<p style="margin: 0;"><strong>{% trans "Message:" %}</strong> {{ message }}</p>
</div>
<p style="color: #64748b; font-size: 13px;">{% trans "Request ID:" %} {{ request_id }}</p>
<div style="text-align: center; margin: 25px 0;">
<a href="{{ detail_url }}" style="display: inline-block; padding: 12px 30px; font-size: 14px; font-weight: 600; color: white; text-decoration: none; border-radius: 8px; background-color: #0d9488;">{% trans "View & Respond" %}</a>
</div>
<p style="color: #64748b; font-size: 12px; margin-top: 10px;">
{% trans "Or log in to the PX360 system and go to PX Sources → Comm. Requests." %}
</p>
{% endblock %}