{% if used_term_default %}
Using current term by default:
{{ start_date }} to {{ end_date }}.
Included rows: {{ income_tx|length }} income, {{ expense_tx|length }} expense. | Basis: {{ mode|title }}
{% else %}
Showing transactions from {{ start_date }} to {{ end_date }}.
Included rows: {{ income_tx|length }} income, {{ expense_tx|length }} expense. | Basis: {{ mode|title }}
{% endif %}
Sample income (first {{ sample_income|length }}):
{% if sample_income %}
{% for t in sample_income %}
-
{{ t.date|date:"Y-m-d" }}
{{ t.description }}
UGX {{ t.amount|floatformat:0|intcomma }}
{% endfor %}
{% else %}
No income in range.
{% endif %}
Sample expenses (first {{ sample_expense|length }}):
{% if sample_expense %}
{% for t in sample_expense %}
-
{{ t.date|date:"Y-m-d" }}
{{ t.description }}
UGX {{ t.amount|floatformat:0|intcomma }}
{% endfor %}
{% else %}
No expenses in range.
{% endif %}
Total Income
UGX {{ total_income|floatformat:0|intcomma }}
Total Expenses
UGX {{ total_expense|floatformat:0|intcomma }}
Net Income
UGX {{ net_income|floatformat:0|intcomma }}
Income by Source
{% if income_breakdown %}
| Source |
Amount (UGX) |
{% for row in income_breakdown %}
| {{ row.source }} |
UGX {{ row.total|floatformat:0|intcomma }} |
{% endfor %}
| TOTAL |
UGX {{ total_income|floatformat:0|intcomma }} |
{% else %}
No income found for the selected period.
{% endif %}
Income Transactions
{% if income_tx %}
| Date |
Description |
Source |
Amount (UGX) |
{% for t in income_tx %}
| {{ t.date|date:"Y-m-d" }} |
{{ t.description }} |
{% if t.related_income_source %}{{ t.related_income_source.name }}{% else %}Unspecified{% endif %} |
UGX {{ t.amount|floatformat:0|intcomma }} |
{% endfor %}
{% else %}
No income transactions found.
{% endif %}
Expense Transactions
{% if expense_tx %}
| Date |
Description |
Amount (UGX) |
{% for t in expense_tx %}
| {{ t.date|date:"Y-m-d" }} |
{{ t.description }} |
UGX {{ t.amount|floatformat:0|intcomma }} |
{% endfor %}
{% else %}
No expense transactions found.
{% endif %}