{% include 'patient/_patient_sidbar_card.html.twig' with { 'patient': vaccination.getAppointment().getPatient(), 'is_patient_page': false } %}
{% set appointment = vaccination.appointmentDTO %}
Détail de la vaccination : {{ title }}
{% set btnClass = is_superior() ? 'w-50' : "w-100" %} {% if is_superior() %} {{ delete_btn(vaccination.getId(), path('manage_vaccination_delete', {id: vaccination.getId()}), csrf_token('delete' ~ vaccination.getId()), 'vaccination', 'Êtes-vous sûr de vouloir supprimer cette vaccination ?', 'La vaccination a été supprimée avec succès.', 'La suppression a été annulée.', path('manage_vaccination_index'), 'Supprimer', 'btn btn-danger me-2') }} {% endif %} Éditer
RENDEZ-VOUS DU :
{% set daysRemaining = appointment.getAppointmentDate()|days_remaining %} {% set statusMessage = aStatusMessage(appointment.getAppointmentStatus(), daysRemaining) %} {% if appointment.isVaccinationInProgress() %}

{{ icofont('exclamation-circle') }} Incomplet, en attente de vaccins manquants

{% elseif daysRemaining > 0 %}
{{ statusMessage|trans({'%count%': daysRemaining}) }}
{% elseif daysRemaining == 0 %}

{{ statusMessage }}

{% else %}

{{ statusMessage }}

{% endif %}
{% include 'appointment/_appointment_view_vacinnes.html.twig' with { 'appointmentVaccinationDTO': appointment } %}
{% if is_superior() %} {% include 'patient/_patient_personnel_card.html.twig' with { 'patient': appointment.getPatient() } %} {% endif %}