{% extends 'base.html.twig' %} {% block title %}Mes documents{% endblock %} {% block titre_page %}Mes documents{% endblock %} {% block resume_page %}Les documents que je dois connaitre, lire ou signer{% endblock %} {% block description_page %} {% endblock %} {% block body %}
Liste des documents
{% if documents|length == 0 %} Pas de document disponible. {% else %}
{% for document in documents %} {% endfor %}
Nom Action Date de validation
{% if document.action %} {% if document.action.certified %} {% else %} {% endif %} {% else %} {% endif %} {{ document.document.title }}
{{ document.document.text }}
{{ constant('App\\Constants\\DocumentAction::' ~ document.document.action).label }} {% if not document.action or not document.action.certified %} {% if document.document.action == constant('App\\Constants\\DocumentAction::TOREAD').code %}  Lire {% endif %} {% if document.document.action == constant('App\\Constants\\DocumentAction::TOSIGN').code %}  Signer {% endif %} {% else %} {% if document.document.action == constant('App\\Constants\\DocumentAction::TOREAD').code %} Lu le {{ document.action.actionAt|date('d/m/Y') }}
{% endif %} {% if document.document.action == constant('App\\Constants\\DocumentAction::TOSIGN').code %} Signé le {{ document.action.actionAt|date('d/m/Y') }}
Voir mon document {% endif %} {% endif %}
{% endif %}
{% endblock %} {% block modals %} {% endblock %} {% block javascripts %} {% endblock %}