Files
shop-pip/app/templates/admin/order_detail.html
T

26 lines
778 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "admin/base.html" %}
{% block title %}Заказ {{ order.public_id }} — {{ app_name }}{% endblock %}
{% block content %}
<div class="section-head">
<h2>Заказ {{ order.public_id }}</h2>
<p>{{ order.email }} · {{ order.status }} · {{ order.total | rub }}</p>
</div>
{% if order.customer_note %}
<p><strong>Комментарий:</strong> {{ order.customer_note }}</p>
{% endif %}
{% for item in order.items %}
<article class="order-item">
<h3>{{ item.title }} × {{ item.quantity }}</h3>
<p class="muted">{{ item.unit_price | rub }}</p>
{% if item.delivered_codes %}
<pre class="codes">{{ item.delivered_codes }}</pre>
{% endif %}
</article>
{% endfor %}
<a class="btn btn-ghost" href="/admin/orders">К списку</a>
{% endblock %}