{% extends "base.html" %}
{% block title %}Statements & Reports{% endblock %}
{% block body %}
Financial Statements & Reports — {{ period }}
Trial Balance {{ 'balanced' if tb.balanced else 'OUT OF BALANCE' }}
| Code | Account | Debit | Credit |
{% for r in tb.rows %}| {{ r.code }} | {{ r.name }} | {{ r.debit|c if r.debit }} | {{ r.credit|c if r.credit }} |
{% endfor %}
| Total | {{ tb.total_debit|c }} | {{ tb.total_credit|c }} |
Income Statement ({{ start }} → {{ end }})
| Income |
{% for r in isr.income %}| {{ r.code }} {{ r.name }} | {{ r.amount|c }} |
{% endfor %}
| Total income | {{ isr.total_income|c }} |
| Expense |
{% for r in isr.expense %}| {{ r.code }} {{ r.name }} | {{ r.amount|c }} |
{% endfor %}
| 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' }}
| Assets |
{% for r in bs.assets %}| {{ r.code }} {{ r.name }} | {{ r.amount|c }} |
{% endfor %}
| Total assets | {{ bs.total_assets|c }} |
| Liabilities |
{% for r in bs.liabilities %}| {{ r.code }} {{ r.name }} | {{ r.amount|c }} |
{% endfor %}
| Total liabilities | {{ bs.total_liabilities|c }} |
| Equity |
{% for r in bs.equity %}| {{ r.code }} {{ r.name }} | {{ r.amount|c }} |
{% endfor %}
| 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
| Service line | Amount |
{% for r in by_sl %}| {{ r.name }} | {{ r.amount|c }} |
{% endfor %}
| Cost center | Amount |
{% for r in by_cc %}| {{ r.name }} | {{ r.amount|c }} |
{% endfor %}
{% endblock %}