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

Orders


{% for order in orders|slice:":1" %}

{% include 'store/includes/orders.html' with order=order %} View Details
{% endfor %} {% for order in orders|slice:"1:" %}

{% include 'store/includes/orders.html' with order=order %} View Details
{% endfor %}
{% include 'store/pagination.html' with page_obj=orders %}
{% else %} Orders 0 {% endif %} {% endlocaltime %} {% endblock %} {% block script %} {% endblock %}