Transactions

{{ transactions|length }} transaction{{ transactions|length > 1 ? 's' : '' }}

{% if transactions is empty %}

Aucune transaction pour ce compte.

{% else %} {% for t in transactions %} {% endfor %}
Date Libellé Catégorie Type Montant
{{ t.bookingDate|date('d/m/Y') }} {{ t.label|viz_label }} {% if t.reference %}
{{ t.reference }} {% endif %} {% if t.property or t.rentalPlatform %}
{% if t.property %} {{ t.property.code|viz_label }} {% endif %} {% if t.rentalPlatform %} {% set pColor = t.rentalPlatform.color ?? '#6B7280' %} {% if t.rentalPlatform.icon %}{% endif %} {{ t.rentalPlatform.name|viz_label }} {% endif %} {% endif %} {% if t.tagLinks|length > 0 %}
{% for link in t.tagLinks %} {% set tagColor = link.tag.color ?? '#6B7280' %} {{ link.tag.name|viz_label }} {% endfor %} {% endif %} {% if t.notes %}
{{ t.notes|slice(0, 60) }}{% if t.notes|length > 60 %}…{% endif %} {% endif %}
{% if t.category %} {% if t.category.icon %}{% endif %} {{ t.category.name|viz_label }} {% else %} {% endif %} {{ t.transactionType.label }} {{ t.direction.value == 'out' ? '−' : '+' }}{{ t.amount|money(t.currency, bank_account.currencyMinorUnits) }}
{% endif %}