|
{{ account.name }}
{% if account.location %}
{% endif %}
{% if account.attachments.count() > 0 %}
{% endif %}
|
{% if objectType == "asset" %}
{% for entry in account.accountmeta %}
{% if entry.name == 'account_role' %}
{{ ('account_role_'~entry.data)|_ }}
{% endif %}
{% endfor %}
|
{% endif %}
{% if objectType == 'liabilities' %}
{{ account.accountTypeString }} |
{{ account.interest }}% ({{ account.interestPeriod|lower }})
|
{% endif %}
{{ account.iban }}{% if account.iban == '' %}{{ accountGetMetaField(account, 'account_number') }}{% endif %} |
{{ formatAmountByAccount(account, account.endBalance) }}
|
{% if account.active %}
{% else %}
{% endif %}
|
{# hide last activity to make room for other stuff #}
{% if objectType != 'liabilities' %}
{% if account.lastActivityDate %}
{{ account.lastActivityDate.formatLocalized(monthAndDayFormat) }}
|
{% else %}
{{ 'never'|_ }}
|
{% endif %}
{% endif %}
{{ formatAmountByAccount(account, account.difference) }}
|
|
{% endfor %}