{% import 'macros/_account_macros.html' as account_macros %} {% import 'macros/_commodity_macros.html' as commodity_macros %} {% import '_query_table.html' as querytable %} {% macro copy_balance_directives_text() -%} {% for account in ledger.attributes.accounts -%} {% if ledger.accounts[account].meta.get('fava-uptodate-indication') %} {%- if ledger.account_uptodate_status(account) != "green" -%} {{- account_macros.balance_directive(ledger, account) }} {%- endif -%} {% endif %} {%- endfor -%} {%- endmacro %}
{{ _('Account') }} | {{ _('Last Entry') }} | {{ _('Balance') }} | ||||
---|---|---|---|---|---|---|
{{ account }} | {% if ledger.accounts[account].meta.get('fava-uptodate-indication') %}{{ account_macros.indicator(ledger, account) }} | {{ account_macros.last_account_activity(ledger, account) }} | {% else %}{% endif %} | {{ last_entry.date }} |
{%- for position in (ledger.root_account|get_or_create(account)).balance|units -%}
{{ commodity_macros.render_amount(ledger, position.units) }} {% endfor -%} |
{{ _('Type') }} | {{ _('# Entries') }} |
---|---|
{{ type }} | {{ entries|length }} |
{{ _('Total') }} | {{ ledger.entries|length }} |