{% extends 'base.html' %} {% block title %}Supplier Stats{% endblock %} {% block main %}

{{ count }}+

Suppliers

are supplying products to the EBMS warehouse.



Get the details of a specific supplier.



Top-Rated Suppliers

Here is a summary of the suppliers having all their product ratings above 3

{% for row in top_rated %} {% endfor %}
Supplier ID Supplier Name E-Mail Address Average Rating of all Products
{{ row['supplierID'] }} {{ row['name'] }} {{ row['email'] }} {{ row['avg_rating'] }}


Inactive Suppliers

Here's a list of suppliers who haven't supplied any products to ebms in the past term

{% for row in inactive %} {% endfor %}
Supplier ID Supplier Name E-Mail Address
{{ row['supplierID'] }} {{ row['name'] }} {{ row['email'] }}


Supplier Activity and Demographics

Here is a detailed summary of demographics of the supplier activity on ebms

{% for row in demographics %} {% if row['country'] != None and row['state'] != None %} {% endif %} {% endfor %}
Country State Number of Suppliers Average Earning per Order Total Earning
{{ row['country'] }} {{ row['state'] }} {{ row['supplier_count'] }} {{ row['avg_earned'] }} {{ row['total_earned'] }}
{% for row in demographics %} {% if row['country'] != None and row['state'] == None %} {% endif %} {% endfor %}
Country Number of Suppliers Average Earning per Order Total Earning
{{ row['country'] }} {{ row['supplier_count'] }} {{ row['avg_earned'] }} {{ row['total_earned'] }}
{% for row in demographics %} {% if row['country'] == None and row['state'] == None %} {% endif %} {% endfor %}
Total Number of Active Suppliers Average Earning per Order Total Global Earning
{{ row['supplier_count'] }} {{ row['avg_earned'] }} {{ row['total_earned'] }}
{% endblock %}