{% extends 'base.html' %} {% load humanize %} {% block title %}Account Ledger: {{ account.code }} - {{ account.name }} - Haven Grazuri{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{% if account.description %}
{{ account.description }}
{% endif %}
Current Balance
KES {{ current_balance|floatformat:2|intcomma }}
{% if account.account_type in 'asset,expense' %} (Debit Balance) {% else %} (Credit Balance) {% endif %}
{{ total_transactions }}
Total Transactions
KES {{ total_debits|floatformat:0|intcomma }}
Total Debits
KES {{ total_credits|floatformat:0|intcomma }}
Total Credits
KES {{ net_change|floatformat:0|intcomma }}
Net Change
Quick:
📄 Export PDF 📊 Export Excel
📒 General Ledger Entries
{% if transactions %}
{% if opening_balance %} {% endif %} {% for entry in transactions %} {% endfor %}
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 }} —
{% if is_paginated %} {% endif %} {% else %}
📭
No Transactions Found

There are no transactions for this account in the selected period.

{% if start_date or end_date %} Clear Filters {% endif %}
{% endif %}
← Back to Chart of Accounts ← Back to Reports
{% endblock %}