{% extends "merchant_base.html" %} {% load static %} {% load crispy_forms_tags %} {% block title %} Purchase Index {% endblock title %} {% block Style %} {% endblock Style %} {% block MainContent %}
{% if messages %} {% for message in messages %} {% endfor %} {% endif %} {% comment %} {% if request.user.user_type == 'Mother_Organization_admin' %} {% include 'marchant_app/sample_section/index/mother_admin_index.html' %} {% endif %} {% if request.user.user_type == 'Sister_Organization_admin' %} {% include 'marchant_app/sample_section/index/sister_admin_index.html' %} {% endif %} {% if request.user and request.user.user_type != 'Sister_Organization_admin' and request.user.user_type != 'Mother_Organization_admin' and request.user.is_superuser != True %} {% include 'marchant_app/sample_section/index/merchant_admin.html' %} {% endif %} {% endcomment %} {% comment %} {% if lot_number_list %} {% endcomment %}
{% if lot_number_list %} {% regroup lot_number_list by purchase_number.style.style_number as grouped %} {% for group in grouped %} {% for obj in group.list %} {% ifchanged %} {% endifchanged %} {% endfor %} {% endfor %} {% else %} {% endif %}
SL No Style Number PO Confirm Price/GMT Lot Number Shipment Date Quantity Value Action
{{forloop.parentloop.counter}} {{ obj.purchase_number.style.style_number }}{{ obj.purchase_number }} {{ obj.purchase_number.confirm_unit_price }} {{ obj.lot_number }} {{ obj.shipment_date }} {{ obj.quantity }} {{ obj.value|floatformat:3 }}
No data is found
{% if lot_number_list.has_other_pages %} {% endif %}
{% endblock MainContent %} {% block meassage %} {% include 'notifications/notifications.html' %} {% endblock meassage %} {% block JS %} {% endblock JS %}