{% extends "admin/base_site.html" %} {% block content %}

Operational Dashboard

₦{{ total_revenue|floatformat:2 }}
Total Revenue
{{ total_orders }}
Total Orders
{{ pending_orders }}
Pending Orders
{{ low_stock_count }}
Low Stock Items

Recent Orders

{% for order in recent_orders %} {% endfor %}
Order ID User Amount Status
#{{ order.id }} {{ order.user.username }} ₦{{ order.total_amount }} {{ order.status }}

Best Selling Products

{% for product in top_products %} {% endfor %}
Product Price Stock
{{ product.name }} ₦{{ product.price }} {% if product.stock < 10 %} {{ product.stock }} {% else %} {{ product.stock }} {% endif %}
{% endblock %}