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

Parties

Central registry of customers, vendors, debitors, investors, staff & banks.

{% for p in parties %} {% empty %} {% endfor %}
Code Name Type Mobile COA Account GL Balance
{{ p.party_code }} {{ p.party_name }} {{ p.party_type|title }} {{ p.mobile }} {% if p.coa_account_id %} {% for c in coa_accounts %} {% if c.id == p.coa_account_id %}{{ c.code }} — {{ c.name }}{% endif %} {% endfor %} {% else %} Not linked {% endif %} {% if p.gl_balance >= 0 %} {{ p.gl_balance|floatformat:2 }} {% else %} {{ p.gl_balance|floatformat:2 }} {% endif %}
No parties found.
Total parties: {{ parties|length }}
Note: GL Balance is a positive Dr balance / negative Cr balance as per ledger. For a customer (A/R), positive means the customer owes us. For a vendor (A/P), negative means we owe the vendor.
{% endblock %}