{% extends "base_admin.html.twig" %} {% block title %}Documents manquants{% endblock %} {% block body %}
Nom | Prénom | Documents manquants | Dernière relance | Statut | ||
---|---|---|---|---|---|---|
{{ profil.lastname }} | {{ profil.firstname }} | {% set missingList = [] %} {% if profil.identityCard is null or not profil.validIdentity %} {% set missingList = missingList|merge(['Carte d\'identité']) %} {% endif %} {% if profil.picture is null or not profil.validPicture %} {% set missingList = missingList|merge(['Photo']) %} {% endif %} {% if profil.medicalCertificate is null or not profil.validCertificat %} {% set missingList = missingList|merge(['Certificat médical']) %} {% endif %} {% if missingList|length > 0 %} {% for doc in missingList %} {{ doc }} {% endfor %} {% else %} Aucun {% endif %} | {# Dans l'exemple d’origine, on avait item.lastReminderDate. Si tu ne l'as pas pour l'instant, laisse "-" #} - | - | ||
Aucun document manquant trouvé. |