{% 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() }}

{{ articles | length }} Articles

{% if not filterSubFamily %}

Injection des notices uniquement avec un filtre sous-famille (à tous les articles de la sous-famille)

{% if app.user.hasServiceDateCertif %} {% endif %} {% endif %}
{% if filterSubFamily and not filterFamily and not filterDelay %} {% if isCertif == 'no' %} {% if app.user.hasServiceAddNotice %}
{% endif %} {% endif %} {% if app.user.hasServiceDeleteNotice %}
{% endif %} {% endif %} {% for article in articles %} {% endfor %}
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 %}
{% endblock %} {% block modal %} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}