{% extends 'base.html' %} {% load static %} {% block extra_head %} {% endblock %} {% block content %}

Tracking Timeline

{% for step in timeline %}
{{ step.label }}
{% endfor %}

Order Summary

Payment method {{ order.payment_method }}
Total amount Rs. {{ order.total_price|floatformat:2 }}
Customer {{ order.full_name|default:order.user.username }}
Phone {{ order.phone|default:'-' }}
Address {{ order.address|default:'-' }}

Items

{% for item in order.items.all %}
{% if item.product.image %} {{ item.product.name }} {% else %} {{ item.product.name|slice:":1"|upper }} {% endif %}

{{ item.product.name }}

Quantity: {{ item.quantity }}

Rs. {{ item.price|floatformat:2 }}
{% endfor %}
{% endblock %}