{% load staticfiles %}
{% include "includes/base.html" %}
{% include "includes/navbarheader.html" %}
{% include "includes/navtop.html" %}
{% include "includes/sidemenu.html" %}
{{comments}}
Total Comments!
{{customers}}
Total Customers!
Top Customers
Customer Name |
#Orders |
Total Sale |
{% for customer in top_customers %}
{{customer.customer.first_name}} {{customer.customer.last_name}} |
{{customer.orders}} |
{{customer.total_sale}} |
{% endfor %}
Latest Orders
ID |
Location |
Customer Name |
Type |
Order Timestamp |
Total Amount |
Satus |
{% for order in latest_orders %}
{{order.id}} |
{{order.location}} |
{{order.customer.customer.first_name}} {{order.customer.customer.last_name}} |
Delivery |
{{order.order_timestamp}} |
{{order.total_amount}} |
{% if order.delivery_status == "Completed" %}
Delivered
{% elif order.delivery_status == "Processing" %}
Processing
{% else %}
Pending
{% endif %}
|
{% endfor %}
{% include "includes/scripts.html" %}