{% extends "base.html" %} {% block title %}Wholesale{% endblock %} {% block content %}

Wholesale Pricing

Price Groups
{% for g in groups %}{% endfor %}
CodeNameDefault
{{ g.code or '' }}{{ g.name }}{{ 'Yes' if g.is_default else '' }}
Sales by Price Group
{% for s in summary %}{% endfor %}
GroupOrdersTotal
{{ s.price_group_name }}{{ s.orders }}{{ '{:,.0f}'.format(s.total) }}
Price Lists & Items
{% for lst in lists %}
{{ lst.name }} {{ lst.price_group_id or '' }}
{% for it in items[lst.id] %}{% endfor %}
VariantCustomerPriceMOQ
{{ it.variant_id }}{{ it.customer_id or '—' }}{{ '{:,.0f}'.format(it.unit_price or 0) }}{{ it.min_qty or 1 }}
{% endfor %}

{% endblock %}