{% extends "pos/base.html" %} {% load static %} {% block title %}Party Ledger — {{ ledger.party.name }}{% endblock %} {% block stylesheets %} {% endblock %} {% block heading %}Party Ledger — {{ ledger.party.name }} ({{ ledger.party.get_party_type_display }}){% endblock %} {% block content %}
| Date | Voucher No | Type | Description | Debit | Credit | Balance |
|---|---|---|---|---|---|---|
| Opening Balance | {{ ledger.opening_balance|floatformat:2 }} {{ ledger.opening_balance_type }} | |||||
| {{ line.date }} | {{ line.voucher_no }} | {{ line.voucher_type }} | {{ line.description }} | {% if line.debit %}{{ line.debit|floatformat:2 }}{% endif %} | {% if line.credit %}{{ line.credit|floatformat:2 }}{% endif %} | {{ line.running_balance|floatformat:2 }} {{ line.balance_side }} |
| No transactions in this period. | ||||||
| Totals: | {{ ledger.total_debit|floatformat:2 }} | {{ ledger.total_credit|floatformat:2 }} | {{ ledger.closing_balance|floatformat:2 }} {{ ledger.closing_balance_type }} | |||