{% extends "core/base.html" %} {% load static %} {% block title %}Suppliers - SwiftPOS{% endblock %} {% block topbar_title %}Suppliers{% endblock %} {% block content %}
Suppliers
Manage your suppliers and purchase orders
Add Supplier
{% if suppliers %}
{{ suppliers|length }}
Total Suppliers
{% endif %}
{% for s in suppliers %}
{{ s.name }}
{% if s.contact_name %}
{{ s.contact_name }}
{% endif %} {% if s.phone %}
{{ s.phone }}
{% endif %}

Purchased
{{ currency_symbol }}{{ s.total_purchased|floatformat:0 }}
Paid
{{ currency_symbol }}{{ s.total_paid|floatformat:0 }}
Balance
{{ currency_symbol }}{{ s.balance|floatformat:0 }}
{% if s.balance > 0 %}
{% with pct=s.total_paid|default:0 %}
{% endwith %}
Balance outstanding
{% endif %}
{% empty %}

No suppliers yet

Add your first supplier to track purchase orders and payments.

Add Supplier
{% endfor %}
{% endblock %}