{% extends "base.html" %} {% load static %} {% load i18n %} {% load inventree_extras %} {% block page_title %} {% inventree_title %} | {% trans "Supplier List" %} {% endblock %} {% block content %}

{{ title }}


{% if pagetype == 'manufacturers' and roles.purchase_order.add or pagetype == 'suppliers' and roles.purchase_order.add or pagetype == 'customers' and roles.sales_order.add %}
{% endif %}
{% endblock %} {% block js_ready %} {{ block.super }} $('#new-company').click(function () { launchModalForm("{{ create_url }}", { follow: true }); }); loadCompanyTable("#company-table", "{% url 'api-company-list' %}", { pagetype: '{{ pagetype }}', params: { {% for key,value in filters.items %}{{ key }}: "{{ value }}",{% endfor %} } } ); {% endblock %}