transactions.html.twig 840 Bytes
Newer Older
1 2 3 4 5 6
{% set fluxs = getAllFlux(app.user, app.request) %}
{% if fluxs.getTotalItemCount > 0 %}
	{% set idcard = 'transactions' %}
	{% extends 'block/block_collapse.html.twig' %}

	{% block blocktitle %}
7
		<i class="fa fa-list-alt mr-4"></i> {{ 'Opérations'|trans }}
8 9 10 11
	{% endblock blocktitle %}
	{% block blocksubtitle %}
	{% endblock blocksubtitle %}
	{% block blockcontent %}
12 13 14 15 16 17 18 19 20 21 22
		<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>
23
			{% for flux in fluxs %}
24
				{{flux.toHtmlArray()|raw}}
25
			{% endfor %}
26 27
		  </tbody>
		</table>
28 29
	{% endblock blockcontent %}
{% endif %}