{% extends "finance_and_banking_base.html" %} {% load static %} {% block title %} PI Details {% endblock title %} {% block Style %} {% endblock Style %} {% block MainContent %} {% if messages %} {% for message in messages %} {% endfor %} {% endif %}
PI Details
{% comment %} {% if request.user.is_superuser == True %} {% else %} {% if pi_obj.f_nd_b_submission == 'not_submitted' or pi_obj.old_pi_btb_lc == 'N/A' %} {% endif %} {% endif %} {% endcomment %}
{% for document in pi_document_obj %} {% if document.document %} {% else %} {% endif %} {% endfor %}
PI Details
Item Details {{pi_obj.backlog_budget_costing.good_description|default:"N/A"}}
Material Type {% if pi_obj.material_type %}{{pi_obj.get_material_type_display|default:"N/A"}} {% else %} N/A{% endif %}
Supplier {{pi_obj.supplier}}
PI No {{pi_obj.pi_no}}
PI Value ${{pi_obj.pi_value|default:"N/A"}}
Costing Value ${{pi_obj.backlog_budget_costing.costing_value|floatformat:"4"}}
PI Receive Date {{pi_obj.pi_rcv_date|default:"N/A"}}
Tenor {{pi_obj.tenor|default:"N/A"}}
Payment Type {{pi_obj.get_payment_type_display|default:"N/A"}}
Remarks {{pi_obj.remarks|default:"N/A"}}
DocumentsView DocumentDocument not found
{% if 'payment_request_manager_approval' in request.user.merchant_permissions or request.user.is_superuser %} {% endif %} {% if pi_obj.f_nd_b_approval_status == "Approved" %} {% else %} {% endif %}
Basic Information
File {{pi_obj.parent_file}} (Order-{{pi_obj.parent_order.order_no}})
Budget {{pi_obj.parent_order}}
BTB LC {{pi_obj.btb_lc_no|default:"N/A"}}
BTB Tenor {{pi_obj.old_pi_btb_lc.btb_lc.tenor|default:"N/A"}}
Team {{pi_obj.team|default:"N/A"}}
PI Created From {% if pi_obj.is_uploaded %} Finance & Banking Department. {{pi_obj.uploaded}} {% else %} Merchandising Department {{pi_obj.uploaded}} {% endif %}
FnB Approval Status{{pi_obj.get_f_nd_b_approval_status_display|default:"N/A"}}{{pi_obj.get_f_nd_b_approval_status_display|default:"N/A"}}
Material Details
{% if request.user.is_superuser == True %} {% else %} {% if pi_obj.f_nd_b_submission == 'not_submitted' or pi_obj.old_pi_btb_lc == 'N/A' %} {% endif %} {% endif %}
{% if pi_breakdowns %} {% if request.user.is_superuser == True %} {% else %} {% if pi_obj.f_nd_b_submission == 'not_submitted' or pi_obj.old_pi_btb_lc == 'N/A'%} {% endif %} {% endif %} {% for item in pi_breakdowns %} {% if request.user.is_superuser == True %} {% else %} {% if pi_obj.f_nd_b_submission == 'not_submitted' or pi_obj.old_pi_btb_lc == 'N/A' %} {% endif %} {% endif %} {% endfor %} {% if not pi_pos %} {% endif %}
SL No Material Item Costing PI Value Balance HS Code PI QuantityActionAction
{{forloop.counter}} {{item.backlog_budget_costing.material_type}} {{item.backlog_budget_costing.good_description}} ${{item.backlog_budget_costing.costing_value|floatformat:2 }} ${{item.pi_value }} ${{item.backlog_budget_costing.balance|floatformat:2 }} {{item.hs_code}} {{item.qty}} {{item.backlog_budget_costing.unit}}
Grand Total: ${{grand_total_pi_value}}
{% endif %}
{% comment %} {% if pi_obj.is_uploaded == False %} {% endcomment %} {% if pi_pos %}
PO Wise Garments
{% if request.user.is_superuser == True %} {% else %} {% if pi_obj.f_nd_b_submission == 'not_submitted' or pi_obj.old_pi_btb_lc == 'N/A' %} {% endif %} {% endif %}
{% if request.user.is_superuser == True %} {% else %} {% if pi_obj.f_nd_b_submission == 'not_submitted' or pi_obj.old_pi_btb_lc == 'N/A' %} {% endif %} {% endif %} {% for item in pi_pos %} {% if request.user.is_superuser == True %} {% else %} {% if pi_obj.f_nd_b_submission == 'not_submitted' or pi_obj.old_pi_btb_lc == 'N/A' %} {% endif %} {% endif %} {% endfor %}
SL No Style PO GMTActionAction
{{forloop.counter}} {{item.budgeted_po.purchase_order.style}} {{item.budgeted_po.purchase_order}} {{item.gmt_qty}} {{item.backlog_budget_costing.unit}}
{% endif %}
{% comment %} {% endif %} {% endcomment %}
{% endblock MainContent %} {% block meassage %} {% include 'notifications/notifications.html' %} {% endblock meassage %} {% block JS %} {% endblock JS %}