{% extends "base.html" %} {% load static %} {% load crispy_forms_tags %} {% block title %} RFQ {% endblock title %} {% block Style %} {% endblock Style %} {% block MainContent %} {% if messages %} {% for message in messages %} {% endfor %} {% endif %} {% if request.user.is_superuser == True %}

RFQ

{% csrf_token %}
{{form.mother_organization|as_crispy_field }}
{{form.sister_organization|as_crispy_field }}
{{form.branch|as_crispy_field }}
{% endif %} {% if request.user.user_type == 'Mother_Organization_admin' %}

RFQ

{% csrf_token %}
{{form.sister_organization|as_crispy_field }}
{{form.branch|as_crispy_field }}
{% endif %} {% if request.user.user_type == 'Sister_Organization_admin' %}

RFQ

{% csrf_token %}
{{form.branch|as_crispy_field }}
{% endif %} {% if request.user.user_type == 'Branch' or request.user.user_type == 'Regular'%}
{% endif %}

RFQ

{% if request.user.user_type == 'Branch' or request.user.user_type == 'Regular'%} {% if 'department_add' in user_permission_list %} {% endif %} {% endif %}
{% if rfq_list %}
{% for rfq in rfq_list %} {% endfor %}
SL No Bill To Product Name Price Date Action
{{forloop.counter}} {{ rfq.bill_to}} {{ rfq.product_name}} {{ rfq.price}} {{ rfq.date}}
{% if rfq_list.has_other_pages %} {% endif %}
{% endif %} {% endblock MainContent %} {% block meassage %} {% include 'notifications/notifications.html' %} {% endblock meassage %} {% block JS %} {% endblock JS %}