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

Account Ledger

{{ account.code }} — {{ account.name }} {{ account.account_type|title }} Normal: {{ account.normal_balance|title }} {% if account.is_control %}Control{% endif %}
Opening Balance
{{ opening_bal|floatformat:2 }}
Closing Balance
{{ closing_bal|floatformat:2 }}
Transactions
{{ ledger_rows|length }}
{% for row in ledger_rows %} {% empty %} {% endfor %}
Date Entry # Narration Party Debit Credit Balance
Opening Balance {{ opening_bal|floatformat:2 }}
{{ row.date|date:'Y-m-d' }} {{ row.entry_no }} {{ row.narration }} {{ row.party }} {% if row.debit %}{{ row.debit|floatformat:2 }}{% endif %} {% if row.credit %}{{ row.credit|floatformat:2 }}{% endif %} {{ row.balance|floatformat:2 }}
No transactions in selected period.
Closing Balance {{ closing_bal|floatformat:2 }}
{% endblock %}