{% extends "pos/base.html" %} {% load static %} {% block title %}Vendor Ledger{% endblock %} {% block stylesheets %} {% endblock %} {% block heading %}Vendor Ledger{% endblock %} {% block content %}
{% if vendor_obj %}
Ledger for: {{ vendor_obj.name|title }}
{% for row in ledger %} {% endfor %}
ID Date Description Purchase # Debit Credit Balance Action
{{ row.id }} {{ row.date }} {{ row.description|safe }} {{ row.purchase_no }} {{ row.debit }} {{ row.credit }} {{ row.balance }} {% if row.id %} {% if 'edit_purchase_bill' in allowed_features %} {% endif %} {% if 'delete_purchase_bill' in allowed_features %} {% endif %} {% endif %}
Totals: {{ total_debit }} {{ total_credit }} {{ grand_total }}
{% else %}

Please select a vendor and click Search.

{% endif %} {% endblock %} {% block javascripts %} {% endblock %}