-
{% if is_granted('ROLE_PRESTA_USER') %}
{% for prestation in prestations %}
{% if app.user in prestation.responsables %}
{% set class = 'fa-pencil-alt' %}
{% else %}
{% set class = 'fa-eye' %}
{% endif %}
- {{ prestation.intitule }} Du {{ prestation.debut|date('d/m/Y') }} au {{ prestation.fin|date('d/m/Y') }} {% else %}
Pas de prestation
{% endfor %}
{% endif %}
{% if is_granted('ROLE_PRET_USER') %}
{% for pret in prets %}
- Pret pour {{ pret.client.nomCompletOrganisation}} Du {{ pret.debut|date('d/m/Y') }} au {{ pret.fin|date('d/m/Y') }} {% else %}
Pas de prêt géré
{% endfor %}
{% endif %}