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

Ledger - {{ supplier.name }}

Record Payment

Supplier Info

Name: {{ supplier.name }}

Email: {{ supplier.email }}

Company: {{ supplier.company_name or '-' }}

Phone: {{ supplier.phone or '-' }}

{% for entry in entries %} {% else %} {% endfor %}
Date Description Type Debit Credit Balance
{{ entry.date.strftime('%Y-%m-%d') }} {{ entry.description }} {{ entry.type|capitalize }} {{ entry.debit|currency if entry.debit > 0 else '-' }} {{ entry.credit|currency if entry.credit > 0 else '-' }} {{ entry.balance|currency }}
No entries found.
{% endblock %}