{% extends "./layout/default" %}
{% block breadcrumbs %}
{{ Breadcrumbs.render(Route.getCurrentRoute.getName, accountIds, tagTags, start, end) }}
{% endblock %}
{% block content %}
{{ 'name'|_ }} |
{{ 'earned'|_ }} |
{{ 'spent'|_ }} |
{% for account in accounts %}
{{ account.name }}
|
{% if accountSummary[account.id] %}
{{ accountSummary[account.id].earned|formatAmount }} |
{% else %}
{{ 0|formatAmount }} |
{% endif %}
{% if accountSummary[account.id] %}
{{ accountSummary[account.id].spent|formatAmount }} |
{% else %}
{{ 0|formatAmount }} |
{% endif %}
{% endfor %}
{{ 'sum'|_ }} |
{{ accountSummary.sum.earned|formatAmount }} |
{{ accountSummary.sum.spent|formatAmount }} |
{{ 'name'|_ }} |
{{ 'earned'|_ }} |
{{ 'spent'|_ }} |
{% for tag in tags %}
{{ tag.tag }}
|
{% if tagSummary[tag.id] %}
{{ tagSummary[tag.id].earned|formatAmount }} |
{% else %}
{{ 0|formatAmount }} |
{% endif %}
{% if tagSummary[tag.id] %}
{{ tagSummary[tag.id].spent|formatAmount }} |
{% else %}
{{ 0|formatAmount }} |
{% endif %}
{% endfor %}
{{ 'sum'|_ }} |
{{ tagSummary.sum.earned|formatAmount }} |
{{ tagSummary.sum.spent|formatAmount }} |
{% if averageExpenses|length > 0 %}
{{ 'account'|_ }} |
{{ 'spent_average'|_ }} |
{{ 'total'|_ }} |
{{ 'transaction_count'|_ }} |
{% set totalCount = 0 %}
{% set totalSum = 0 %}
{% for row in averageExpenses %}
{% set totalCount = totalCount+ row.count %}
{% set totalSum = totalSum + row.sum %}
{% if loop.index > listLength %}
{% else %}
{% endif %}
{{ row.name }}
|
{{ row.average|formatAmount }}
|
{{ row.sum|formatAmount }}
|
{{ row.count }}
|
{% endfor %}
{% if averageExpenses|length > listLength %}
{{ trans('firefly.show_full_list',{number:incomeTopLength}) }}
|
{% endif %}
{{ 'sum'|_ }}
|
{{ totalSum|formatAmount }} |
{{ totalCount }} |
{% endif %}
{% if topExpenses.count > 0 %}
{% endif %}
{% if averageIncome|length > 0 %}
{{ 'account'|_ }} |
{{ 'income_average'|_ }} |
{{ 'total'|_ }} |
{{ 'transaction_count'|_ }} |
{% set totalCount = 0 %}
{% set totalSum = 0 %}
{% for row in averageIncome %}
{% set totalCount = totalCount+ row.count %}
{% set totalSum = totalSum + row.sum %}
{{ row.name }}
|
{{ row.average|formatAmount }}
|
{{ row.sum|formatAmount }}
|
{{ row.count }}
|
{% endfor %}
{{ 'sum'|_ }}
|
{{ totalSum|formatAmount }} |
{{ totalCount }} |
{% endif %}
{% if topIncome.count > 0 %}
{% endif %}
{% endblock %}
{% block scripts %}
{% endblock %}
{% block styles %}
{% endblock %}