{% extends 'root/base.html' %} {% load static %} {% block title %} Purchase Order {% endblock %} {% block maincontent %}

Purchase Order #{{po_header_details.0.doc_number}}

Document Number
{{po_header_details.0.doc_number}}
Document Name
{{po_header_details.0.description}}
Supplier
{{po_header_details.0.supplier_id}} - {{po_header_details.0.supplier_description}}
Created On
{{po_header_details.0.created_at}}
Shipping Address
{{po_header_level_address.title}} {{po_header_level_address.name1}} {{po_header_level_address.name2}}, {{po_header_level_address.street}} {{po_header_level_address.area}} {{po_header_level_address.landmark}} {{po_header_level_address.city}} {{po_header_level_address.postal_code}} {{po_header_level_address.region}} {{po_header_level_address.country_code}}
Payment Terms
{{po_header_details.0.payment_term}}
Incoterm
{{po_header_details.0.incoterm}} - {{po_header_details.0.incoterm_loc}}
Status
{{po_header_details.0.status}}
Requested By
{{po_header_details.0.requester}}
Purchasing Organisation
{{po_header_details.0.porg_description}}
Purchasing Group
{{po_header_details.0.pgrp_description}}
Items Overview
{% for po_item_detail in po_item_details %} {% endfor %}
No. Item Description Delivery Date Price Unit Unit Price per unit Quantity Total
{{po_item_detail.po_item_num}}
{% if po_item_detail.call_off == '01'%} {{ po_item_detail.description }} {% else %} {{ po_item_detail.description }} {% endif %}
{{po_item_detail.item_del_date|date:'Y-m-d'}} {{po_item_detail.price_unit}} {{po_item_detail.unit}} {{po_item_detail.price}} {{po_item_detail.currency}} {{po_item_detail.quantity}} {{po_item_detail.value}} {{po_header_details.0.currency}}
Total Value (Net) {{actual_price}} INR
Total Discount - {{discount_value}} INR
Total Tax {{tax_value}} INR

Total Value (Gross) {{po_header_details.0.total_value}} INR
{% for itm in po_item_details %}
Item - {{ forloop.counter }} - {{itm.description}}
{% endfor %}
{% for itm in po_item_details %}

Identification

{% if itm.call_off in '01' or itm.call_off in '02'%}
{% endif %}
Organization

Further Properties

{% if itm.silent_po %} {% else %} {% endif %}

Currency, Values and Delivery Date

{% if itm.call_off == 'PR' %}
{% endif %}
{% for po_accounting_detail in po_accounting_details %}

Accounting Details

{% endfor %}

Notes

{% for supp_note in supplier_notes %}
{% endfor %}

Attachments

{% if po_attachments %} {% for items in po_item_details %}
{% for attachments in po_attachments %} {% if attachments.item_guid == items.po_item_guid %}
Name Type File
{{attachments.attachment_name}} {% if attachments.type == 'I' %} Internal Use{% else %} External Use{% endif %} {{attachments.file_name}}
{% endif %} {% endfor %}
{% endfor %} {% else %}

No attachments available

{% endif%}
{% include 'Workflow/manager_detail.html' %}
{% for item_detail in itm_det %}
{% if item_detail.call_off == "Catalog" %}

Supplier Details

{% for supplier in supplier_data %} {% if supplier.supp_id == item_detail.supplier_id %}
{% endif %} {% endfor %} {% if not item_detail.supplier_id %}
{% endif %}
{% elif item_detail.call_off == "PR" %}

Supplier Details

{% elif item_detail.call_off == "Limit" %}

Supplier Details

{% elif item_detail.call_off == 'Freetext' %}

Supplier Details

{% for supplier in supplier_data %} {% if supplier.supp_id == item_detail.supplier_id %} {% endif %} {% endfor %} {% if not item_detail.pref_supplier %} {% endif %}
{% for supplier in supplier_data %} {% if supplier.supp_id == item_detail.supplier_id %} {% endif %} {% endfor %}
{% endif %}
{% endfor %}
{% for del_addrs in po_item_level_address %}

Address Details

{% endfor %}
{% for items in po_item_details %} {% endfor %}
{% endfor %}
{% include 'ProductDetailPopup/basic_product_detail_popup.html' %} {% endblock %}