HH/templates/accounts/onboarding/completion_email.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

37 lines
1.9 KiB
HTML

{% extends 'emails/base_email_template.html' %}
{% load i18n %}
{% block title %}{% trans "User Onboarding Completed - Al Hammadi Hospital" %}{% endblock %}
{% block preheader %}{% trans "A new user has completed onboarding and is now active." %}{% endblock %}
{% block content %}
<p style="margin: 0 0 20px;">
{% trans "A new user has successfully completed the onboarding process and is now active in the PX360 system." %}
</p>
<p style="margin: 0 0 5px;"><strong>{% trans "Name:" %}</strong> {{ user.get_full_name|default:_("Not provided") }}</p>
<p style="margin: 0 0 5px;"><strong>{% trans "Email:" %}</strong> {{ user.email }}</p>
<p style="margin: 0 0 5px;"><strong>{% trans "Role:" %}</strong> {{ role_display|default:_("Not assigned") }}</p>
<p style="margin: 0 0 5px;"><strong>{% trans "Department:" %}</strong> {{ user.department.name|default:_("Not assigned") }}</p>
<p style="margin: 0 0 20px;"><strong>{% trans "Completed At:" %}</strong> {{ completed_at|date:"Y-m-d H:i" }}</p>
<p style="margin: 0 0 5px;"><strong>{% trans "Next Steps:" %}</strong> {% trans "The user can now access PX360. You may want to:" %}</p>
<p style="margin: 0 0 5px;">- {% trans "Welcome them to the team" %}</p>
<p style="margin: 0 0 5px;">- {% trans "Provide role-specific training if needed" %}</p>
<p style="margin: 0 0 5px;">- {% trans "Assign initial tasks or responsibilities" %}</p>
<p style="margin: 0 0 25px;">- {% trans "Introduce them to relevant team members" %}</p>
{% if user_detail_url %}
<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td align="center">
<a href="{{ user_detail_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;">
{% trans "View User Profile" %}
</a>
</td>
</tr>
</table>
{% endif %}
{% endblock %}