" %}
{% for position in value.cost() %}
{% if position.units.number != 0 %}
{{ position.units.number|format_currency }} {{ position.units.currency }}
{% endif %}
{% endfor %}
|
{% elif type|string == "" %}
{% if name == "account" %}
{{ account_macros.account_name(value) }}
{% else %}
{{value }}
{% endif %}
{# TODO do the same for payee(s) and tag(s) #}
|
{% elif type|string == "" %}
{{ value|format_currency }} |
{% elif type|string == "" %}
{{ value|upper }} |
{% elif type|string == "" %}
{{ value }} |
{% elif type|string == "" %}
{{ value|join(',') }} |
{% elif type|string == "" %}
{{ value }} |
{% elif type|string == "" %}
{{ value.units.number|format_currency }} {{value.units.currency }} |
{% else %}
{{ value }} |
{% endif %}