{% extends "./layout/default.twig" %} {% block breadcrumbs %} {{ Breadcrumbs.renderIfExists }} {% endblock %} {% block content %} {% include 'partials/boxes.twig' %}

{{ 'yourAccounts'|_ }}

{{ 'budgetsAndSpending'|_ }}

{{ 'categories'|_ }}

{{ 'bills'|_ }}

{% for data in transactions %}
{% include 'list.journals-tiny' with {'transactions': data[0],'account': data[1]} %}
{% endfor %}

{{ 'expense_accounts'|_ }}

{{ 'savings'|_ }}

{% if savings|length == 0 %}

{{ 'markAsSavingsToContinue'|_ }}

{% else %} {% for account in savings %}
{{ account.startBalance|formatAmount }}
{% if account.difference < 0 %}
{% if account.percentage >= 20 %} {{ account.difference|formatAmountPlain }} {% endif %}
{% if account.percentage < 20 %} {{ account.difference|formatAmountPlain }} {% endif %}
{% else %}
{% if account.percentage >= 20 %} {{ account.difference|formatAmountPlain }} {% endif %}
{% if account.percentage < 20 %} {{ account.difference|formatAmountPlain }} {% endif %}
{% endif %}
{{ account.endBalance|formatAmount }}
{% endfor %} {% endif %}

{{ 'piggyBanks'|_ }}

{% if piggyBankAccounts|length == 0 %}

{{ 'createPiggyToContinue'|_ }}

{% else %} {% for account in piggyBankAccounts %}
{{ account.startBalance|formatAmount }}
{% if account.percentage >= 20 %} {{ account.piggyBalance|formatAmountPlain }} {{ 'divided'|_ }} {% endif %}
{% if account.percentage < 20 %} {{ account.difference|formatAmountPlain }} {{ 'toDivide'|_ }} {% endif %}
{{ account.piggyBalance|formatAmount }}
{% endfor %} {% endif %}
{% endblock %} {% block scripts %} {% endblock %} {% block styles %} {% endblock %}