{% extends 'base_print.html.twig' %} {% block title %}{{ certificate.typeLabel }} — {{ case.patient.name }}{% endblock %} {% block styles %} {{ parent() }} {% endblock %} {% block header %}{% endblock %} {% block content %}
{{ case.hospital }}
{{ case.hospital.address ?: '' }}
{{ certificate.typeLabel }}
{# The stored body was produced by CertificateMergeService, which escapes every merged value before substitution — so the only HTML here is the hospital's own template markup. #}
{{ certificate.bodyHtml|raw }}
MRD No.: {{ case.mrdId }}
UHID: {{ case.patient.uhId }}
Issued On: {{ certificate.createdAt|date('d-M-Y g:i A') }}
_______________________
{{ case.doctor }}
{{ case.hospital }}
{% endblock %}