{% for item in order.orderitems.all %}
{{item.product.product.title|lower|title}}
{% if item.discount_percent %}{{item.discount_percent}}% off{% endif %}
{% if item.product.keyvalues.all %}
{% for kv in item.product.keyvalues.all %}
{{kv.key}} |
{{kv.value}} |
{% endfor %}
{% endif %}
Price ({{currency}}/{{item.product.unit}}) |
Qty ({{item.product.unit}}) |
Amt. ({{currency}}) |
Payable ({{currency}}) |
{{item.product.price}} |
{{item.quantity}} |
{{item.amount}} |
{{item.amount_payable}} |
{% endfor %}
{% if order.order_status == 'O' %}
Cancel Order
{% endif %}