{% set sum = 0 %} {% for row in income %} {% set sum = sum + row.sum %} {% if loop.index > listLength %} {% else %} {% endif %} {% endfor %} {% if income|length > listLength %} {% endif %}
{{ row.name }} {% if row.count > 1 %}
{{ row.count }} {{ 'transactions'|_|lower }} {% endif %}
{{ row.sum|formatAmount }}
{{ trans('firefly.show_full_list',{ number:listLength } ) }}
{{ 'sum'|_ }} {{ sum|formatAmount }}