{% extends "dashboard/layouts/base.html" %} {% block title %}Admin Dashboard - SavvyGT{% endblock %} {% load static %} {% block content %}
Active Customer
Active Agents
All Customer
Total Revenue
{% if f.comments|length > 60 %} {{ f.comments|slice:":60" }}... Read more {% else %} {{ f.comments|default:"No comment" }} {% endif %}
No feedbacks yet.
{% endfor %}
No feedback available to display satisfaction chart.
{% endif %}Satisfaction: {{ satisfaction_label }} ({{ satisfaction_percent }}%)
| S.No | Order ID | Product Name | Ordered By | Quantity | Price | Order Placed on | Delivery Address | Delivery Status | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ forloop.counter }} | {{ p.order_id }} | {{ p.product.name }} | {{ p.user.first_name }} {{ p.user.last_name }} | {{ p.quantity }} | ${{ p.total_price|floatformat:2 }} | {{ p.purchase_date|date:"M d, Y H:i" }} | {{ p.order_location }} | {% if p.order_status == "Delivered" %}{{ p.order_status }} | {% elif p.order_status == "Shipped" %}{{ p.order_status }} | {% elif p.order_status == "Processing" %}{{ p.order_status }} | {% else %}{{ p.order_status }} | {% endif %}
| No purchase history available. | |||||||||||