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

	{% block blocktitle %}
		<i class="fa fa-user mr-4"></i> Mes cotisations
	{% 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 {{cotisation.createdAt|date('d-m-Y')}})</li>
			{% endfor %}
		</ul>
	{% endblock blockcontent %}
{% endif %}