diff --git a/myproject/orders/templates/orders/order_detail.html b/myproject/orders/templates/orders/order_detail.html index f197b35..58faccb 100644 --- a/myproject/orders/templates/orders/order_detail.html +++ b/myproject/orders/templates/orders/order_detail.html @@ -6,7 +6,16 @@
| Наименование | +Количество | +Цена | +Сумма | +
|---|---|---|---|
|
+ {{ item.item_name }}
+ {% if item.product_kit and item.product_kit.is_temporary %}
+ Временный
+ + Создан специально для этого заказа + + + Сделать постоянным + + {% endif %} + |
+ {{ item.quantity }} шт. | +
+ {{ item.price|floatformat:2 }} руб.
+ {% if item.is_custom_price %}
+ Изменена
+ + + Оригинальная: {{ item.original_price|floatformat:2 }} руб. + {% if item.price_difference %} + {% if item.price_difference > 0 %} + (+{{ item.price_difference|floatformat:2 }} руб.) + {% else %} + ({{ item.price_difference|floatformat:2 }} руб.) + {% endif %} + {% endif %} + + {% endif %} + |
+ {{ item.get_total_price|floatformat:2 }} руб. | +
| Наименование | -Количество | -Цена | -Сумма | -
|---|---|---|---|
|
- {{ item.item_name }}
- {% if item.product_kit and item.product_kit.is_temporary %}
- Временный
- - Создан специально для этого заказа - - - Сделать постоянным - - {% endif %} - |
- {{ item.quantity }} шт. | -
- {{ item.price|floatformat:2 }} руб.
- {% if item.is_custom_price %}
- Изменена
- - - Оригинальная: {{ item.original_price|floatformat:2 }} руб. - {% if item.price_difference %} - {% if item.price_difference > 0 %} - (+{{ item.price_difference|floatformat:2 }} руб.) - {% else %} - ({{ item.price_difference|floatformat:2 }} руб.) - {% endif %} - {% endif %} - - {% endif %} - |
- {{ item.get_total_price|floatformat:2 }} руб. | -