{% extends 'dashboard/base.html' %} {% load humanize %} {% block title %}Orders{% endblock %} {% block page_title %}Orders{% endblock %} {% block content %}
{% if q or status_filter %} Clear {% endif %}
{% for order in orders %} {% empty %} {% endfor %}
Order # Customer Date Items Total Payment Status Action
#{{ order.order_number }}
{{ order.full_name }}
{{ order.email }}
{{ order.created_at|date:"M d, Y" }}
{{ order.created_at|time:"g:i A" }}
{{ order.items.all|length }} ₦{{ order.total|floatformat:0|intcomma }} {% if order.is_paid %}Paid{% else %}Unpaid{% endif %} {{ order.get_status_display }} Manage
No orders found matching those criteria.
{% if orders.has_other_pages %} {% endif %}
{% endblock %}