{% extends 'base.html' %} {% load static %} {% load humanize %} {% block content %}
Orders
{% if orders %} {% for order in orders %} {% endfor %} {% endif %}
# Item Image Qty. Ordered Date Status
{{forloop.counter}} {{order.product.title}} {% if order.product.product_image %} {{order.product.product_ttile}} {% endif %} {{order.quantity}} {{order.ordered_date|naturaltime}} {% if order.status == 'Pending' %} {% endif %} {% if order.status == 'Accepted' %}
{% endif %} {% if order.status == 'Packed' %}
{% endif %} {% if order.status == 'On The Way' %}
{% endif %} {% if order.status == 'Delivered' %}
{% endif %} {% if order.status == 'Cancelled' %}
{% endif %} {{order.status}}
{% endblock content %}