{% extends "customer_portal/base.html" %} {% block title %}My Ledger{% endblock %} {% block content %} {% if show_password_reminder %}
For your security, please set your own password.
Change Password
{% endif %}
My Ledger
{{ account.party.name }} — {{ business_name }}
Submit Payment
Closing Balance
{{ ledger.closing_balance|default:"0.00"|floatformat:2 }} {{ ledger.closing_balance_type|default:"" }}
{% if not ledger or ledger.closing_balance == 0 %} Fully Settled {% elif ledger.closing_balance_type == "DR" %} Amount Payable by You {% else %} Amount Payable to You {% endif %}
{% if ledger %}
Opening Balance
{{ ledger.opening_balance|floatformat:2 }} {{ ledger.opening_balance_type }}
Total Debit
{{ ledger.total_debit|floatformat:2 }}
Total Credit
{{ ledger.total_credit|floatformat:2 }}
Journal Vouchers
{{ jv_count }}
Total Invoiced
{{ invoices_total|floatformat:2 }}
Opening Balance {{ ledger.opening_balance|floatformat:2 }} {{ ledger.opening_balance_type }}
{% for line in merged_lines %} {% empty %} {% endfor %}
DateVoucher NoTypeDescription DebitCreditBalance
{{ line.date }} {{ line.voucher_no }} {% if line.is_virtual %}{% else %}{% endif %}{{ line.voucher_type }} {{ line.description }} {% if line.is_virtual and line.screenshot_url %} View Screenshot {% endif %} {% if line.is_virtual and line.virtual_status == 'REJECTED' and line.review_note %}
Rejected: {{ line.review_note }}
{% endif %}
{% if line.debit %}{{ line.debit|floatformat:2 }}{% endif %} {% if line.credit %}{{ line.credit|floatformat:2 }}{% endif %} {% if line.is_virtual %} {% if line.virtual_status == 'PENDING' %}Pending Verification {% else %}Rejected{% endif %} {% else %} {{ line.running_balance|floatformat:2 }} {{ line.balance_side }} {% endif %}
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 }}
{% endif %} {% endblock %} {% block extra_js %} {% endblock %}