{% extends 'store/layout/layout.html' %} {% load static %} {% load tz %} {% block title %}Orders{% endblock %} {% block style %}{% endblock %} {% block body %} {% localtime on %}

Order ID - {{order.id}}


{% include 'store/includes/orders.html' with order=order %}
{% for item in order.items %} {% endfor %}
Product(s) Qty Amount ({{currency}})
{{currency}} {{item.product.price|floatformat:2}} / {{item.product.unit}}
{% if item.product.keyvalues %} {% for kv in item.product.keyvalues %} {% endfor %}
{{kv.key}} {{kv.value}}
{% endif %}
{{item.qty}} {{item.amount|floatformat:"0"}}
Total ({{currency}}) {{order.amount|floatformat:"0"}}
Discount {% if order.discount %}{{order.discount}}%{% else %}-{% endif %}
Amount Payable ({{currency}}) {{order.amount_payable|floatformat:"0"}}
{% if order.status == 'O' %} {% elif order.status == 'P' %} Reopen Order {% endif %}
{% endlocaltime %} {% include 'store/modals/order.html' %} {% endblock %} {% block script %} {% include 'store/handlebars/order.html' %} {% endblock %}