{% extends "customer_portal/old_portal_base.html" %} {% block title %}Ledger · Customer Portal{% endblock %} {% block n_led %}active{% endblock %} {% block content %}

Account Ledger

{{ cust.name }} · {{ biz_label }}

Reset
Closing balance
{{ balance|floatformat:2 }}
{% if is_ticket %} {% for r in led.rows %} {% if r.row_type == "opening" %} {% elif r.row_type == "invoice" %} {% endif %} {% endfor %}
DateInvoiceServicesReceivableReceivedBalance
{{ r.date }}Opening Balance{{ r.balance|floatformat:2 }}
{{ r.date }} {{ r.folder_no }} {{ r.svc_flags }} {% if r.inv_title %}· {{ r.inv_title }}{% endif %} {{ r.inv_amount|floatformat:2 }} {{ r.received|floatformat:2 }} {{ r.balance|floatformat:2 }} Print
Totals {{ led.total_receivable|floatformat:2 }} {{ led.total_received|floatformat:2 }} {{ led.closing|floatformat:2 }}
{% else %} {% for r in led.rows %} {% if r.row_type == "opening" %} {% else %} {% endif %} {% endfor %}
DateDetailInvoiceChargePaymentBalance
OpeningOpening Balance{{ r.balance|floatformat:2 }}
{{ r.date }} {% if r.is_sale %}Charge{% else %}Payment{% endif %} {{ r.description }} {{ r.invoice_no }} {{ r.charge|floatformat:2 }} {{ r.payment|floatformat:2 }} {{ r.balance|floatformat:2 }} {% if r.is_sale %}Print{% endif %}
Totals {{ led.total_charge|floatformat:2 }} {{ led.total_payment|floatformat:2 }} {{ led.closing|floatformat:2 }}
{% endif %}
{% endblock %}