{% extends 'admin_layout_two.html' %} {% load static %} {% block content %} Beni | Reports

Reports

{% csrf_token %}
{% comment %} {% endcomment %} {% for orders in all_order %} {% endfor %}
ID Order Id Customer Order Date Sub Total VAT Percentage Total Amount Delivery Status Payment Status Store IdActions
#{{orders.id}} {{orders.orderId}} {{orders.customer.email}} {{orders.created_at|date:"d M Y"}} {{orders.subTotalAmount}} {{orders.vatPercentage}}% {{orders.totalAmount}} {% if orders.delivery_status == 0 %} Pending {% elif orders.delivery_status == 1 %} On the way {% else%}Delivered{% endif %} {% if orders.isPaid == 1 %}PAID{% else %}UNPAID{% endif %} {{orders.productDetail.product.store.id}} {% comment %} {% endcomment %}
{% if all_order %}
    {% if all_order.has_previous %}
  • «
  • {% else %}
  • «
  • {% endif %} {% for i in all_order.paginator.page_range %} {% if all_order.number == i %}
  • {{ i }}
  • {% else %}
  • {{ i }}
  • {% endif %} {% endfor %} {% if all_order.has_next %}
  • »
  • {% else %}
  • »
  • {% endif %}
{% endif %}
{% endblock %}