{% extends "./layout/default" %} {% block breadcrumbs %} {{ Breadcrumbs.render(Route.getCurrentRoute.getName, journal) }} {% endblock %} {% block content %}
| {{ trans('list.type') }} | {{ journal.transactiontype.type|_ }} |
| {{ trans('list.description') }} | {{ journal.description }} |
| {{ 'source_accounts'|_ }} | {{ sourceAccount(journal)|raw }} |
| {{ 'destination_accounts'|_ }} | {{ destinationAccount(journal)|raw }} |
| {{ 'total_amount'|_ }} | {{ journal|journalTotalAmount }} {# if more transactions, list each one: #} {% if transactions|length > 1 %} ({% for transaction in transactions %}{{ transaction|transactionArrayAmount }}{% if loop.index != loop.length %}, {% endif %}{% endfor %}) {% endif %} |
| {{ trans('list.date') }} | {{ journal.date.formatLocalized(monthAndDayFormat) }} |
| {{ 'categories'|_ }} | {{ journalCategories(journal)|raw }} |
| {{ 'budgets'|_ }} | {{ journalBudgets(journal)|raw }} |
| {{ trans('list.interest_date') }} | {{ getMetaDate(journal,'interest_date').formatLocalized(monthAndDayFormat) }} |
| {{ trans('list.book_date') }} | {{ getMetaDate(journal,'book_date').formatLocalized(monthAndDayFormat) }} |
| {{ trans('list.process_date') }} | {{ getMetaDate(journal,'process_date').formatLocalized(monthAndDayFormat) }} |
| {{ trans('list.due_date') }} | {{ getMetaDate(journal,'due_date').formatLocalized(monthAndDayFormat) }} |
| {{ trans('list.payment_date') }} | {{ getMetaDate(journal,'payment_date').formatLocalized(monthAndDayFormat) }} |
| {{ trans('list.invoice_date') }} | {{ getMetaDate(journal,'invoice_date').formatLocalized(monthAndDayFormat) }} |
| {{ trans('list.internal_reference') }} | {{ intRef }} |
| {{ trans('list.notes') }} | {{ journal.notes.first.text|markdown }} |
| {{ '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 att.title %}
{{ att.title }}
{% else %}
{{ att.filename }}
{% endif %}
({{ att.size|filesize }})
{% if att.description %}
{{ att.description }} {% endif %} |
|
{{ ('this_'~(what|lower))|_ }}
{% if link.source.id == journal.id %}
{{ journalLinkTranslation('outward', link.linkType.outward) }}
#{{ link.destination.id }}: {{ link.destination.description }}
({{ link.destination|journalTotalAmount }})
{% else %}
{{ journalLinkTranslation('inward', link.linkType.inward) }}
#{{ link.source.id }}: {{ link.source.description }}
({{ link.source|journalTotalAmount }})
{% endif %}
{% if link.notes.count == 1 %}
{{ link.notes.first.text|markdown }} {% endif %} |
{% endif %}
| {{ trans('list.source_account') }} | {{ trans('list.destination_account') }} | {{ trans('list.amount') }} |
|---|---|---|
| {% if transaction.source_account_type == 'Cash account' %} ({{ 'cash'|_ }}) {% else %} {{ transaction.source_account_name }} {% endif %} | {% if transaction.destination_account_type == 'Cash account' %} ({{ 'cash'|_ }}) {% else %} {{ transaction.destination_account_name }} {% endif %} | {{ transaction|transactionArrayAmount }} |