{% extends 'layouts/main-layout.html' %} {% block content %}

供应商

{% if perms.authentication.add_vendor %}
{% endif %}
{% if page_object %}
{% if request.user.is_superuser %} {% endif %}
{% endif %}
{% if perms.authentication.edit_vendor or perms.authentication.view_vendor or perms.authentication.delete_vendor %} {% endif %} {% if page_object %} {% for vendors in page_object %} {% endfor %} {% else %} {% endif %}
序号 供应商名称 联系人 邮箱 税号 电话号码 状态操作
{{forloop.counter}} {{vendors.name}} {{vendors.contact_person}} {{vendors.email}} {{vendors.gstin_number}} {{vendors.phone}} {% if request.user.is_superuser %}
{% else %} {% if vendors.status %} Active {% else %} Inactive {% endif %} {% endif %}
{% if perms.authentication.view_vendor %} {% endif %} {% if perms.authentication.edit_vendor %} {% endif %} {% if perms.authentication.delete_vendor %}
{% csrf_token %}
{% endif %}
{% include 'commons/pagination.html' %}
{% endblock content%}