{% extends "base.html" %} {% block title %}История заказов - {{ client.name }}{% endblock %} {% block content %}
| ID заказа | Дата | Товары | Базовая стоимость | Транспортные расходы (10%) | Скидка | Итоговая стоимость | Статус | Действия |
|---|---|---|---|---|---|---|---|---|
| {{ order.id }} | {{ order.order_date }} | {{ "%.2f"|format(order.base_amount) }} руб. | {{ "%.2f"|format(order.shipping_cost) }} руб. | {% if order.discount and order.discount > 0 %} {{ order.discount }}% {% else %} - {% endif %} | {{ "%.2f"|format(order.display_total) }} руб. | {{ order.status }} | ||
|
У этого клиента пока нет заказов Создать первый заказ |
||||||||