{% extends 'base.html' %} {% load humanize %} {% block title %}Account Ledger: {{ account.code }} - {{ account.name }} - Haven Grazuri{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
| Date | Reference | Description | Debit | Credit | Balance | Posted By |
|---|---|---|---|---|---|---|
| {{ start_date|date:"d M Y" }} | Opening Balance | — | — | KES {{ opening_balance|floatformat:2|intcomma }} | — | |
| {{ entry.transaction_date|date:"d M Y" }} | {{ entry.reference_number }} | {{ entry.description|truncatewords:10 }} | {% if entry.debit_amount > 0 %}KES {{ entry.debit_amount|floatformat:2|intcomma }}{% else %}—{% endif %} | {% if entry.credit_amount > 0 %}KES {{ entry.credit_amount|floatformat:2|intcomma }}{% else %}—{% endif %} | KES {{ entry.balance|floatformat:2|intcomma }} | {{ entry.posted_by|default:"System" }} |
| Closing Balance | KES {{ total_debits|floatformat:2|intcomma }} | KES {{ total_credits|floatformat:2|intcomma }} | KES {{ current_balance|floatformat:2|intcomma }} | — | ||
There are no transactions for this account in the selected period.
{% if start_date or end_date %} Clear Filters {% endif %}