{% extends "./layout/default.twig" %}
{% block content %}
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, start, shared) }}
{{ 'incomeVsExpenses'|_ }}
{{ 'incomeVsExpenses'|_ }}
{{ 'accountBalances'|_ }}
| {{ 'name'|_ }} |
{{ 'balanceStartOfYear'|_ }} |
{{ 'balanceStartOfYear'|_ }} |
{{ 'difference'|_ }} |
{% for account in accounts.getAccounts %}
|
{{ account.name }}
|
{{ account.startBalance|formatAmount }} |
{{ account.endBalance|formatAmount }} |
{{ (account.endBalance - account.startBalance)|formatAmount }} |
{% endfor %}
| Sum of sums |
{{ accounts.getStart|formatAmount }} |
{{ accounts.getEnd|formatAmount }} |
{{ accounts.getDifference|formatAmount }} |
{{ 'incomeVsExpenses'|_ }}
| {{ 'in'|_ }} |
{{ totalIncome|formatAmount }} |
| {{ 'out'|_ }} |
{{ totalExpense|formatAmountPlain }} |
| {{ 'difference'|_ }} |
{{ (totalIncome - totalExpense)|formatAmount }} |
{{ 'income'|_ }} ({{ trans('firefly.topX',{number: incomeTopLength}) }})
{% for income in incomes.getIncomes %}
{% if loop.index > incomeTopLength %}
{% else %}
{% endif %}
{{ income.name }}
{% if income.count > 1 %}
{{ income.count }} {{ 'transactions'|_|lower }}
{% endif %}
|
{{ income.amount|formatAmount }} |
{% endfor %}
{% if incomes.getIncomes|length > incomeTopLength %}
|
{{ trans('firefly.showTheRest',{number:incomeTopLength}) }}
|
{% endif %}
| {{ 'sum'|_ }} |
{{ incomes.getTotal|formatAmount }} |
{{ 'expenses'|_ }} ({{ trans('firefly.topX',{number: expenseTopLength}) }})
{% for expense in expenses.getExpenses %}
{% if loop.index > expenseTopLength %}
{% else %}
{% endif %}
{{ expense.name }}
{% if expense.count > 1 %}
{{ expense.count }} {{ 'transactions'|_|lower }}
{% endif %}
|
{{ (expense.amount*-1)|formatAmountPlain }} |
{% endfor %}
{% if expenses.getExpenses|length > expenseTopLength %}
|
{{ trans('firefly.showTheRest',{number:incomeTopLength}) }}
|
{% endif %}
| {{ 'sum'|_ }} |
{{ (expenses.getTotal * -1)|formatAmountPlain }} |
{% endblock %}
{% block scripts %}
{% endblock %}