{% extends 'admin_pages/base_admin.html' %} {% block title %}Invoice - Order #{{ order.id }}{% endblock %} {% block content %}
Customer: {{ order.full_name }}
Phone: {{ order.phone }}
Address: {{ order.address }}
Payment Method: {{ order.payment_method }}
Status: {{ order.status }}
Date: {{ order.created_at|date:"Y-m-d H:i" }}
# | Product | Qty | Unit Price | Total |
---|---|---|---|---|
{{ forloop.counter }} | {{ item.product.name }} | {{ item.quantity }} | ${{ item.price }} | ${{ item.get_total_price }} |
Total: | ${{ order.total_price }} |