{%setcotisations=getAllFlux(app.user,app.request,'cotisation')%}{%ifcotisations|length>0%}{%setidcard='cotisationspresta'%}{%extends'block/block_collapse.html.twig'%}{%blockblocktitle%}<iclass="fa fa-clipboard-list mr-4"></i>{{'Mes cotisations'|trans}}{%endblockblocktitle%}{%blockblocksubtitle%}{%endblockblocksubtitle%}{%blockblockcontent%}{# {% if not isCotisationValid() %}{% if cotisations|length > 0 %} <div class='text-danger mb-3'>{{ 'Votre dernière cotisation est arrivée à expiration, veuillez cotiser de nouveau pour accéder aux fonctionnalités de votre compte !'|trans }}</div>{% else %} <div class='text-danger mb-3'>{{ 'Si vous souhaitez utiliser le fonctionnalités de votre compte, vous devez cotiser !'|trans }}</div>{% endif %}{% endif %} #}<ulclass='list-group'>{%forcotisationincotisations%}<liclass="list-group-item"><spanclass='btn btn-xs btn-primary disabled'>{{cotisation.annee|upper}}</span><b>{{cotisation.montant}}€</b><em>{{'payée le'|trans}}{{cotisation.createdAt|date('d/m/Y')}} en {{cotisation.moyen}}</em></li>{%endfor%}</ul>{%if((app.userandis_granted('ROLE_ADHERENT')andapp.user.adherent)or(app.userandis_granted('ROLE_PRESTATAIRE')andapp.session.has('_prestagere')))%}<aclass='btn btn-xs btn-primary'href='{{path('cotiser')}}'>{{'Cotiser'|trans}}</a>{%endif%}{%endblockblockcontent%}{%endif%}