{% if app.user.cotisations|length > 0 %}
	{% set idcard = 'cotisationspresta' %}
	{% extends 'block/block_collapse.html.twig' %}

	{% block blocktitle %}
		<i class="fa fa-clipboard-list mr-4"></i> {{ 'Mes cotisations'|trans }}
	{% endblock blocktitle %}
	{% block blocksubtitle %}
	{% endblock blocksubtitle %}
	{% block blockcontent %}
		<ul class='list-group'>
			{% for cotisation in app.user.cotisations %}
				<li class="list-group-item">{{cotisation.annee|upper}} : {{cotisation.montant}}&euro; ({{ 'payée le'|trans }} {{cotisation.createdAt|date('d-m-Y')}})</li>
			{% endfor %}
		</ul>
	{% endblock blockcontent %}
{% endif %}