{% extends "merchant_base.html" %} {% load static %} {% load crispy_forms_tags %} {% block title %} PI Index {% endblock title %} {% block Style %} {% endblock Style %} {% block MainContent %} {% if messages %} {% for message in messages %} {% endfor %} {% endif %}

PI Upload Index

{% if pi_obj %}
{% for pi in pi_obj %} {% endfor %}
SL No PI Number Supplier Budget Booking Sales Contract PI value Action
{{forloop.counter}} {{pi.0.pi_no}} {{pi.0.supplier}} {% if pi.1 %} {% for budget in pi.1 %}{{budget.budget.name}},{% endfor %}{% else %}N/A{% endif %} {% if pi.2 %} {% for booking in pi.2 %}{{booking.booking}},{% endfor %}{% else %}N/A{% endif %} {% if pi.3 %} {% for sales_contract in pi.3 %}{{sales_contract.sales_contract}},{% endfor %}{% else %}N/A{% endif %} {{pi.0.pi_value}}
{% if page_obj.has_other_pages %} {% endif %}
{% endif %} {% endblock MainContent %} {% block meassage %} {% include 'notifications/notifications.html' %} {% endblock meassage %} {% block JS %} {% endblock JS %}