{% extends "merchant_base.html" %} {% load static %} {% load crispy_forms_tags %} {% block title %}
| PI Details | |
|---|---|
| Item Details | {{get_obj.pi.backlog_budget_costing.good_description|default:"N/A"}} |
| Material Type | {% if get_obj.pi.material_type %}{{get_obj.pi.get_material_type_display|default:"N/A"}} {% else %} N/A{% endif %} |
| Supplier | {{get_obj.pi.supplier}} |
| PI No | {{get_obj.pi.pi_no}} |
| PI Value | ${{get_obj.pi.pi_value|default:"N/A"}} |
| Costing Value | ${{get_obj.pi.backlog_budget_costing.costing_value|floatformat:"4"}} |
| PI Receive Date | {{get_obj.pi.pi_rcv_date|default:"N/A"}} |
| Tenor | {{get_obj.pi.tenor|default:"N/A"}} |
| Payment Type | {{get_obj.pi.get_payment_type_display|default:"N/A"}} |
| Remarks | {{get_obj.pi.remarks|default:"N/A"}} |
| Documents | View Document |
| Basic Informations | |||||
|---|---|---|---|---|---|
| File | {{get_obj.pi.parent_file}} (Order-{{get_obj.pi.parent_order.order_no}}) | ||||
| Budget | {{get_obj.pi.budget}} | ||||
| BTB LC | {{get_obj.btb_lc|default:"N/A"}} | ||||
| BTB Tenor | {{get_obj.btb_lc.tenor|default:"N/A"}} | ||||
| Tentative Doc. Release Date | {{get_obj.tentative_release_date|default:"N/A"}} | ||||
| Team | {{get_obj.team|default:"N/A"}} | ||||
| Manager Comment | {{get_obj.manager_comment|default:"N/A"}} | ||||
| FnB Comment | {{get_obj.rejection_comment|default:"N/A"}} | ||||
| Manager Submission | {% comment %}{{get_obj.get_f_nd_b_submission_display|default:"N/A"}} | {% endcomment %} {% comment %} {% if request.user.is_superuser or request.user.special_users or get_obj.manager_approval_status == 'not_submitted' or get_obj.manager_approval_status == 'back_to_merchant' %} {% endcomment %} {% if get_obj.manager_approval_status == 'not_submitted' or get_obj.manager_approval_status == 'back_to_merchant' %}{% elif get_obj.manager_approval_status == 'Approved' %} | {{get_obj.get_manager_approval_status_display}} | {% else %} {% if get_obj.manager_approval_status == "Approved" %}{{get_obj.get_manager_approval_status_display}} | {% else %}{{get_obj.get_manager_approval_status_display}} | {% endif %} {% endif %}
| Approval Status | {% if get_obj.manager_approval_status == 'submitted' %} {% if 'payment_request_manager_approval' in request.user.merchant_permissions or request.user.is_superuser %}{% else %} | {{ get_obj.get_manager_approval_status_display }} | {% endif %} {% elif get_obj.manager_approval_status == 'Approved' %}{{ get_obj.get_manager_approval_status_display }} | {% else %}{{ get_obj.get_manager_approval_status_display }} | {% endif %}|
| SL | Type | Status |
|---|---|---|
| 1 | Bill of Exchange | {% if doc_obj.mdr_bill_of_exchange %}✅{% else %}❌{% endif %} |
| 2 | Delivery Challan | {% if doc_obj.mdr_delivery_challan %}✅{% else %}❌{% endif %} |
| 3 | Mushak | {% if doc_obj.mdr_mushak %}✅{% else %}❌{% endif %} |
| 4 | Proforma Invoice (PI) | {% if doc_obj.mdr_pi %}✅{% else %}❌{% endif %} |
| 5 | BTB LC Copy | {% if doc_obj.mdr_btb %}✅{% else %}❌{% endif %} |
| SL | Type | Status |
|---|---|---|
| 1 | Bill of Exchange | {% if doc_obj.mdr_bill_of_exchange %}✅{% else %}❌{% endif %} |
| 2 | Delivery Challan | {% if doc_obj.mdr_delivery_challan %}✅{% else %}❌{% endif %} |
| 3 | Mushak | {% if doc_obj.mdr_mushak %}✅{% else %}❌{% endif %} |
| 4 | Proforma Invoice (PI) | {% if doc_obj.mdr_pi %}✅{% else %}❌{% endif %} |
| 5 | BTB LC Copy | {% if doc_obj.mdr_btb %}✅{% else %}❌{% endif %} |
| Consignment Breakdown | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| SL No | Item | PI Number | PI Value | Balance | Cons. Quantity | Cons. Value | Action | |||
| {{forloop.counter}} | {{obj.pi_breakdown.backlog_budget_costing}} | {{obj.pi_breakdown.pi.pi_no}} | ${{obj.pi_breakdown.pi.pi_value}} | ${{obj.pi_breakdown.balance}} | {{obj.received_qty}} Pcs | {% if obj.is_overruled %}${{obj.consignment_value}} | {% else %}${{obj.consignment_value}} | {% endif %} {% if "payment_request_manager_approval" in request.user.merchant_permissions and obj.payment_request.manager_approval_status == 'submitted' %}{% elif obj.payment_request.manager_approval_status == 'not_submitted' %} | {% else %} | {% endif %} |