{% extends 'base.html' %} {% block content %}

Customer Accounts

{% for c in customers %} {% set customer_balance = balances[c.id] if balances and c.id in balances else 0 %} {% else %} {% endfor %}
Customer Phone Balance Status Actions
{{ c.name }} {{ c.phone or '-' }} {{ customer_balance|currency }} {% if customer_balance > 0 %} Owes {{ customer_balance|currency }} {% elif customer_balance < 0 %} Credit {{ (customer_balance * -1)|currency }} {% else %} Paid Up {% endif %} Ledger Record Payment
No customers.
{% endblock %}