{% extends 'admin/layout.html' %} {% block content %}
| Order ID | Date | Customer | Product | Quantity | Total | Payment | Contact |
|---|---|---|---|---|---|---|---|
| {{ order.id }} | {{ order.order_date.strftime('%Y-%m-%d %H:%M') }} |
{{ order.customer_name }}
{{ order.address }}
|
{{ order.product_name }}
{{ order.category|capitalize }}
|
{{ order.quantity }} | ₹{{ "%.2f"|format(order.price * order.quantity) }} | {{ order.payment_method }} | {{ order.mobile }} |