{% extends 'base_rma.html.twig' %} {% import 'macros/macro.html.twig' as macro %} {% block title %} {{ parent() }} Gestion des Certificats {% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block body %} {{ parent() }}
Injection des notices uniquement avec un filtre sous-famille (à tous les articles de la sous-famille)
{% if app.user.hasServiceDateCertif %} {% endif %} {% endif %}Sous-Famille | Article | Numéro de série | Date du certificat d'origine | Temps de validation | Date création | Date de fin | Fichier | Observation |
---|---|---|---|---|---|---|---|---|
{{ article.caption }} | {{ article.id }} | {% if article.getDateCertifOrigin %} {{ article.dateCertifOrigin | date("d/m/Y") }} {% else %} / {% endif %} | {% if article.getExpirationCertif == '1 an' %} {{ article.getExpirationCertif }} +/- 1 mois {% elseif article.getExpirationCertif == '3 mois'%} {{ article.getExpirationCertif }} +/- 2 semaines {% elseif article.getExpirationCertif == '45 jours' %} {{ article.getExpirationCertif }} +/- 1 semaine {% endif %} | {% if article.getCreationDate %} {{ article.creationDate | date("d/m/Y") }} {% else %} {% endif %} | {% if article.getEndDate %} {{ article.endDate | date("d/m/Y") }} {% else %} {% endif %} | {% if article.isCertif() %} {% endif %} {% if article.getLastNoticeId %} {% endif %} {% if not article.getLastNoticeId and not article.isCertif() %} {% endif %} | {% if article.getObservation %} {{ article.observation }} {% endif %} |