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

Metadata

{% for budget in journal.budgets %} {% endfor %} {% for category in journal.categories %} {% endfor %} {% if journal.bill %} {% endif %} {% if journal.tags|length > 0 %} {% endif %}
{{ trans('list.date') }} {{ journal.date.formatLocalized(monthAndDayFormat) }}
{{ trans('list.type') }} {{ journal.transactiontype.type|_ }}
{{ trans('list.completed') }} {% if journal.completed %} {{ 'yes'|_ }} {% else %} {{ 'no'|_ }} {% endif %}
{{ 'budget'|_ }} {{ budget.name }}
{{ 'category'|_ }} {{ category.name }}
{{ '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.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 %} {% if journal.piggyBankEvents|length > 0 %}

{{ 'piggyBanks'|_ }}

{% include 'list/piggy-bank-events' with {'events': events, 'showPiggyBank':true} %}
{% endif %}
{% for t in journal.transactions %}

{{ t.account.name }}

{% if t.description %} {% endif %}
{{ 'account'|_ }} {{ t.account.name }}
{{ 'account_type'|_ }} {{ t.account.accounttype.type|_ }}
{{ 'amount'|_ }} {{ t|formatTransaction }}
{{ 'newBalance'|_ }} {{ t.before|formatAmount }} → {{ t.after|formatAmount }}
Description {{ t.description }}
{% endfor %}
{% endblock %}