{% extends "./layout/default.twig" %} {% block breadcrumbs %} {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, journal) }} {% endblock %} {% block content %}

Metadata

{% if journal.interest_date %} {% endif %} {% if journal.book_date %} {% endif %} {% if journal.process_date %} {% endif %} {% if journal.bill %} {% endif %} {% if journal.tags|length > 0 %} {% endif %}
{{ trans('list.date') }} {{ journal.date.formatLocalized(monthAndDayFormat) }}
{{ trans('list.interest_date') }} {{ journal.interest_date.formatLocalized(monthAndDayFormat) }}
{{ trans('list.book_date') }} {{ journal.book_date.formatLocalized(monthAndDayFormat) }}
{{ trans('list.process_date') }} {{ journal.process_date.formatLocalized(monthAndDayFormat) }}
{{ trans('list.type') }} {{ journal.transactiontype.type|_ }}
{{ trans('list.completed') }} {% if journal.completed %} {{ 'yes'|_ }} {% else %} {{ 'no'|_ }} {% endif %}
{{ 'budgets'|_ }} {{ journalBudgets(journal)|raw }}
{{ 'categories'|_ }} {{ journalCategories(journal)|raw }}
{{ 'source_accounts'|_ }} {{ sourceAccount(journal)|raw }}
{{ 'destination_accounts'|_ }} {{ destinationAccount(journal)|raw }}
{{ 'bill'|_ }} {{ journal.bill.name }}
{{ 'tags'|_ }} {% for tag in journal.tags %}

{% if tag.tagMode == 'nothing' %} {% endif %} {% if tag.tagMode == 'balancingAct' %} {% endif %} {% if tag.tagMode == 'advancePayment' %} {% endif %} {{ tag.tag }}

{% endfor %}
{% if journal.piggyBankEvents|length > 0 %}

{{ 'piggyBanks'|_ }}

{% include 'list/piggy-bank-events' with {'events': events, 'showPiggyBank':true} %}
{% endif %}
{% if journal.attachments|length > 0 %}

{{ 'attachments'|_ }}

{% for att in journal.attachments %} {% endfor %}
{% if att.title %} {{ att.title }} {% else %} {{ att.filename }} {% endif %} ({{ att.size|filesize }}) {% if att.description %}
{{ att.description }} {% endif %}
{% endif %}

Transactions

{% for index, t in transactions %} {% endfor %}
{{ trans('list.description') }} {{ trans('list.account') }} {{ trans('list.amount') }} {{ trans('list.new_balance') }} {{ trans('list.budget') }} {{ trans('list.category') }}
{% if (index+1) != transactions|length or what == 'transfer' %} {{ t.description }} {% endif %} {{ t.account.name }} ({{ t.account.accounttype.type|_ }}) {{ t.sum|formatAmount }} {{ t.before|formatAmount }} → {{ (t.sum+t.before)|formatAmount }} {% if (index+1) != transactions|length or what == 'transfer' %} {{ transactionBudgets(t)|raw }} {% endif %} {% if (index+1) != transactions|length or what == 'transfer' %} {{ transactionCategories(t)|raw }} {% endif %}
{% endblock %}