{% set fluxs = getAllFlux(app.user, app.request) %}
{% if fluxs.getTotalItemCount > 0 %}
	{% set idcard = 'transactions' %}
	{% extends 'block/block_collapse.html.twig' %}

	{% block blocktitle %}
		<i class="fa fa-list-alt mr-4"></i> Opérations
	{% endblock blocktitle %}
	{% block blocksubtitle %}
	{% endblock blocksubtitle %}
	{% block blockcontent %}
		<ul class='list-group'>
			{% for flux in fluxs %}
				<li class="list-group-item">{{flux.parenttype|capitalize}} à {{flux.destinataire}} {{flux.montant}}&euro; (payée le {{flux.createdAt|date('d-m-Y')}})</li>
			{% endfor %}
		</ul>
	{% endblock blockcontent %}
{% endif %}