{% load i18n shop_ui %} {% load ravix_ui %}

{% blocktrans trimmed with number=order.number %}Order number: {{ number }} — status:{% endblocktrans %} {{ order.get_status_display }}

{% if order.status == 'pending_payment' %}

{% trans "Payment for this order has not been confirmed yet." %}

{% csrf_token %}{% if gateway_choices|length > 1 %}
{% trans "Payment gateway" %}{% for v, l in gateway_choices %} {% endfor %}
{% endif %}
{% elif order.status == 'cancelled' %}

{% trans "This order was cancelled." %}

{% elif order.status == 'refunded' %}

{% trans "This order was refunded; the download is no longer active." %}

{% elif can_download %}

{% trans "Your payment was confirmed successfully. Thank you." %}

{% endif %} {% for i in items %}{% endfor %}{% if order.discount_total %}{% endif %}
{% trans "Product" %}{% trans "Count" %}{% trans "Total" %}
{{ i.name }}{% if i.variant_label %} — {{ i.variant_label }}{% endif %}{% if i.sku %} {{ i.sku }}{% endif %}{% if i.kind == 'digital' and can_download %} — {% trans "Download" %}{% endif %}{{ i.quantity|fa_digits }}{% price i.line_total order %}
{% trans "Discount" %}{% price order.discount_total order %}
{% trans "Grand total" %}{% price order.total order %}
{% if events %}

{% trans "Order history" %}

{% endif %}

{% trans "Keep this address to track the order; anyone who has the address can see the order." %}