{% extends "../base.html" %} {% load crispy_forms_tags %} {% load humanize %} {% block page_title %}Cash Flow Report{% endblock %} {% block content %}

Cash Flow Report

Monitor inflows, outflows, and daily net cash movement.

{% if used_term_default %} {% else %} {% endif %}
Sample inflows (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 inflows in range.
{% endif %}
Sample outflows (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 outflows in range.
{% endif %}
Total Inflows
UGX {{ total_income|floatformat:0|intcomma }}
Total Outflows
UGX {{ total_expenses|floatformat:0|intcomma }}
Net Cash Flow
UGX {{ net_cash_flow|floatformat:0|intcomma }}
Daily Net Flow
{% if daily_flow %}
{% for row in daily_flow %} {% endfor %}
Date Net (UGX) Status
{{ row.date|date:"Y-m-d" }} UGX {{ row.net|floatformat:0|intcomma }} {% if row.net >= 0 %} Positive {% else %} Negative {% endif %}
{% else %}
No daily flow data available for the selected period.
{% endif %}
Inflows (Income)
{% if income_tx %}
{% for t in income_tx %} {% endfor %}
Date Description Amount (UGX)
{{ t.date|date:"Y-m-d" }} {{ t.description }} UGX {{ t.amount|floatformat:0|intcomma }}
{% else %}
No inflow transactions found.
{% endif %}
Outflows (Expenses)
{% if expense_tx %}
{% for t in expense_tx %} {% endfor %}
Date Description Amount (UGX)
{{ t.date|date:"Y-m-d" }} {{ t.description }} UGX {{ t.amount|floatformat:0|intcomma }}
{% else %}
No outflow transactions found.
{% endif %}
{% endblock %}