{% extends 'base.html.twig' %} {% block title %}Instrument Lister !{% endblock %} {% block body %}

Tous les instruments

{% if 'ROLE_ADMIN' in app.user.roles or 'ROLE_GEST' in app.user.roles %}
Ajouter un instrument
{% else %}
Liste de vos instruments
{% endif %}
{% if is_granted('ROLE_ADMIN') %} {% endif %} {% if is_granted('ROLE_ADMIN') %} {% endif %} {% if is_granted('ROLE_ADMIN') %} {% endif %} {% if is_granted('ROLE_ADMIN') %} {% endif %} {% if user is defined and app.user is not null and app.user.eleve is not null %} {% for i in app.user.eleve.contrats %} {% if is_granted('ROLE_ADMIN') %} {% endif %} {% if is_granted('ROLE_ADMIN') %} {% endif %} {% else %} {% endfor %} {% else %} {% if pInstruments is defined %} {% for i in pInstruments %} {% if is_granted('ROLE_ADMIN') %} {% endif %} {% if is_granted('ROLE_ADMIN') %} {% endif %} {% else %} {% endfor %} {% endif %} {% endif %}
Type Classe N°Serie Achat UtilisationContrat de prêtInterventionAction
Type Classe N°Serie Achat UtilisationContrat de prêtInterventionAction
{{ i.instrument.type.libelle }} {{ i.instrument.type.classe.libelle }} {{ i.instrument.numSerie}} {{ i.instrument.dateAchat|date('d/m/Y')}} {{ i.instrument.utilisation}}Voir l'historiqueVoir l'historique{% if is_granted('ROLE_ADMIN') %} ✏️ {% endif %} 👁️
Aucun instrument n'a été trouvé.
{{ i.type.libelle }} {{ i.type.classe.libelle }} {{ i.numSerie}} {{ i.dateAchat|date('d/m/Y')}} {{ i.utilisation}}Voir l'historiqueVoir l'historique {% if is_granted('ROLE_ADMIN') %} ✏️ {% endif %} 👁️
Aucun instrument n'a été trouvé.
{% endblock %}