{% extends 'base.html' %} {% load humanize %} {% block title %}My Financials{% endblock %} {% block content %}
KES {{ total_expected|intcomma }}
Total Billed
KES {{ total_paid|intcomma }}
Total Paid
KES {{ total_balance|intcomma }}
Outstanding Balance
Invoices
{% for i in invoices %} {% empty %} {% endfor %}
Unit Amount Paid Balance Due Date Status Action
{{ i.unit.unit_number|default:"-" }} KES {{ i.amount|intcomma }} KES {{ i.total_paid|intcomma }} KES {{ i.balance|intcomma }} {{ i.due_date|date:"M d, Y" }} {% if i.status == 'pending' %}
Due Soon {% elif i.status == 'overdue' %}
Overdue {% endif %}
{{ i.status|title }} {% if i.balance > 0 %} Pay Now {% else %} Paid {% endif %}
No invoices found
Payment History
{% for p in payments %} {% empty %} {% endfor %}
Unit Amount Transaction Date
{{ p.unit.unit_number|default:"-" }} KES {{ p.amount|intcomma }} {{ p.created_at|date:"M d, Y H:i" }}
No payments found
{% endblock %}