{% extends "_layout.html" %} {% set active_page = 'trial_balance' %} {% import 'macros/_account_macros.html' as account_macros with context %} {% import 'macros/_interval_macros.html' as interval_macros with context %} {% import "charts/_charts.html" as charts with context %} {% block title %}Account {{ account_name }}{% endblock %} {% block content %} {{ account_macros.account_name_header(account_name) }} {% include "charts/_chart_skeleton.html" %} {% with linechart_data=api.linechart_data(account_name) %} {% include "charts/_chart_account_balance.html" %} {% endwith %} {% with label="Changes", interval_totals=api.interval_totals(interval, account_name) %} {% include "charts/_chart_interval_totals.html" %} {% endwith %} {% if not journal %} {{ charts.treemap(account_name) }} {% endif %}
| Account Expand all | {% for begin_date, _ in dates|reverse %}{{ interval_macros.format_date(begin_date) }} | {% endfor %}
|---|---|
| {{ row[0].account|last_segment }} | {% for entry in row|reverse %}
{% if entry.balance %}
{% for currency, number in entry.balance.items() %}
{{ number|format_currency(currency) }} {{ currency }} {% endfor %} {% endif %} {% if entry.balance_children %} {% for currency, number in entry.balance_children.items() %} {{ number|format_currency(currency) }} {{ currency }} {% endfor %} {% endif %} |
{% endfor %}
| {% for entry in interval_balances[0]|reverse %} |
{% for currency, number in entry.balance_children.items() %}
{% if number %}
{{ number|format_currency(currency) }} {{ currency }} {% endif %} {% endfor %} |
{% endfor %}