{# templates/adminpanel/order_list.html #} {% extends "adminpanel/base.html" %} {% block pagetitle %}Orders{% endblock %} {% block page_header %}Orders{% endblock %} {% block header_actions %}
{% endblock %} {% block content %}
{% for o in page_obj.object_list %} {% empty %} {% endfor %}
ID Customer Email Total Status Created Actions
#{{ o.id }} {{ o.name }} {{ o.email }} $ {{ o.total }} {% if o.status == 'paid' %} Paid {% elif o.status == 'canceled' %} Canceled {% else %} Pending {% endif %} {{ o.created_at|date:"Y-m-d H:i" }} Open
No orders found.
{% endblock %}