{% 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'|trans }}
	{% endblock blocktitle %}
	{% block blocksubtitle %}
	{% endblock blocksubtitle %}
	{% block blockcontent %}
		<table class="table">
          <thead>
            <tr>
              <th scope="col">Date</th>
              <th scope="col">Type</th>
              <th scope="col">Expediteur</th>
              <th scope="col">Destinataire</th>
              <th scope="col">Montant</th>
            </tr>
          </thead>
          <tbody>
			{% for flux in fluxs %}
				{{flux.toHtmlArray()|raw}}
			{% endfor %}
		  </tbody>
		</table>
	{% endblock blockcontent %}
{% endif %}