{% extends 'store/layout/layout.html' %} {% load static %} {% block title %}Order #{{order.id}}{% endblock %} {% block style %}{% endblock %} {% block body %}
Order Details

{% if messages %} {% endif %}
{% include 'store/includes/orders.html' with order=order %}

{% 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 %} {% endfor %}
{{kv.key}} {{kv.value}}
{% 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 %}
{% endblock %} {% block script %} {% endblock %}