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

Supplier Accounts

{% for s in suppliers %} {% else %} {% endfor %}
Supplier Name Email Company Phone Payable Amount Manager Actions
{{ s.name }} {{ s.email }} {{ s.company_name or '-' }} {{ s.phone or '-' }} {{ (balances[s.id] if balances and s.id in balances else 0)|currency }} {% if s.parent_id %} {% set mgr = (suppliers | selectattr('id', 'equalto', s.parent_id) | list | first) %} {{ mgr.name if mgr else 'Admin' }} {% else %} - {% endif %} Ledger Pay
No suppliers found.
Total Payable {{ (balances.values() | sum)|currency }}
{% endblock %}