{% extends 'accounts/_layout.html' %} {% load seo %} {% block title %}Order #{{ order.id }} | The Reverse Times{% endblock %} {% block acct_width %}760px{% endblock %} {% block content %}

← My account

অর্ডার #{{ order.id|bn }} · {{ order.created_at|date:"j M Y, g:i A" }}

{% if order.status == 'cancelled' %}অর্ডারটি বাতিল হয়েছে {% elif order.status == 'delivered' %}ডেলিভারি সম্পন্ন হয়েছে {% elif order.status == 'shipped' %}আপনার অর্ডার পথে আছে {% elif order.status == 'confirmed' %}অর্ডার নিশ্চিত হয়েছে {% else %}অর্ডার পেয়েছি — শিগগিরই ফোন করব{% endif %}

{% if order.customer_message %}
{{ order.customer_message }}
{% endif %} {% if order.status == 'cancelled' %}

বাতিল: {{ order.cancelled_at|date:"j M Y"|default:"—" }}। কোনো প্রশ্ন থাকলে আমাদের সাথে যোগাযোগ করুন।

{% else %}
    {% for s in steps %}
  1. {{ s.label }} {% if s.at %}{{ s.at|date:"j M, g:i A" }}{% endif %}
  2. {% endfor %}
{% endif %} {% if order.courier or order.tracking_code %}

কুরিয়ার: {{ order.courier|default:"—" }}{% if order.tracking_code %} · ট্র্যাকিং নম্বর: {{ order.tracking_code }}{% endif %}

{% endif %}

পণ্য

{% for i in order.items.all %}
{% if i.product and i.product.image %}{% endif %}
{% if i.product %}{{ i.product.title }}{% else %}Product{% endif %}
{{ i.quantity }} × ৳{{ i.price|floatformat:2 }}{% if i.size %} · {{ i.size }}{% endif %}{% if i.color %} · {{ i.color }}{% endif %}
৳{{ i.line_total|floatformat:2 }}
{% endfor %} {% if order.discount_amount %}
ছাড়{% if order.coupon %} ({{ order.coupon.code }}){% endif %}−৳{{ order.discount_amount|floatformat:0 }}
{% endif %}
মোট (ক্যাশ অন ডেলিভারি)৳{{ order.total_amount|floatformat:2 }}

ডেলিভারি

{{ order.name }} · {{ order.phone }}{% if order.alt_phone %} / {{ order.alt_phone }}{% endif %}

{{ order.location }}

{% if order.note %}

নোট: {{ order.note }}

{% endif %}
{% endblock %}