{% for label, transactions in this.groupedTransactions %} {% set index = loop.index %}

{{ label }}

{% for transaction in transactions %} {{ component('Transaction:TransactionComponent', { transactionId: transaction.id, key: index ~ '-' ~ transaction.id, index: index }) }} {% endfor %}
{% else %}

Aucune transaction

{% endfor %}
{% if this.canLoadMore %}
{% include "partials/elements/_button.html.twig" with { type: 'brand', icon: '', pins: false, action: 'loadMore', text: 'Charger plus' } %}
{% endif %}