{% extends "base.html" %} {% block title %}Statements & Reports{% endblock %} {% block body %}

Financial Statements & Reports — {{ period }}

Period

Trial Balance {{ 'balanced' if tb.balanced else 'OUT OF BALANCE' }}

{% for r in tb.rows %}{% endfor %}
CodeAccountDebitCredit
{{ r.code }}{{ r.name }}{{ r.debit|c if r.debit }}{{ r.credit|c if r.credit }}
Total{{ tb.total_debit|c }}{{ tb.total_credit|c }}

Income Statement ({{ start }} → {{ end }})

{% for r in isr.income %}{% endfor %} {% for r in isr.expense %}{% endfor %}
Income
{{ r.code }} {{ r.name }}{{ r.amount|c }}
Total income{{ isr.total_income|c }}
Expense
{{ r.code }} {{ r.name }}{{ r.amount|c }}
Total expense{{ isr.total_expense|c }}
Net income{{ isr.net_income|c }}

Balance Sheet (as of {{ end }}) {{ 'balanced' if bs.balanced else 'OUT OF BALANCE' }}

{% for r in bs.assets %}{% endfor %} {% for r in bs.liabilities %}{% endfor %} {% for r in bs.equity %}{% endfor %}
Assets
{{ r.code }} {{ r.name }}{{ r.amount|c }}
Total assets{{ bs.total_assets|c }}
Liabilities
{{ r.code }} {{ r.name }}{{ r.amount|c }}
Total liabilities{{ bs.total_liabilities|c }}
Equity
{{ r.code }} {{ r.name }}{{ r.amount|c }}
Total equity{{ bs.total_equity|c }}
Liabilities + equity{{ (bs.total_liabilities+bs.total_equity)|c }}

Cash Flow (direct) & Net Worth

Operating{{ cf.operating|c }}
Investing{{ cf.investing|c }}
Financing{{ cf.financing|c }}
Net change in cash{{ cf.net|c }}
Net worth (assets − liabilities){{ nw.net_worth|c }}

Managerial: spending by service line / cost center

{% for r in by_sl %}{% endfor %}
Service lineAmount
{{ r.name }}{{ r.amount|c }}
{% for r in by_cc %}{% endfor %}
Cost centerAmount
{{ r.name }}{{ r.amount|c }}
{% endblock %}