{% 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 %}
Product(s) |
Qty |
Amount ({{currency}}) |
{% for item in order.items %}
{{currency}} {{item.product.price|floatformat:2}} / {{item.product.unit}}
{% if item.product.keyvalues %}
{% for kv in item.product.keyvalues %}
{{kv.key}} |
{{kv.value}} |
{% endfor %}
{% endif %}
|
{{item.qty}} |
{{item.amount|floatformat:"0"}} |
{% endfor %}
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 %}