All checks were successful
Build and Push Docker Image / build (push) Successful in 43s
- Replaced `Order.PaymentMethod` options with "cash" and "card" while adjusting related code and templates - Set "cash" as the default payment method for orders and checkout forms - Added profile editing functionality with `ProfileForm`, allowing users to update names - Improved feedback messages across profile and order management templates - Updated catalog to handle empty filter results with a "reset filters" option
26 lines
986 B
Plaintext
26 lines
986 B
Plaintext
Здравствуйте, {{ order.customer_name }}!
|
||
|
||
Ваш заказ №{{ order.id }} успешно оформлен.
|
||
|
||
Состав заказа:
|
||
{% for item in order.items.all %}
|
||
- {{ item.item_name }} — {{ item.quantity }} шт. × {{ item.item_price }} руб. = {{ item.line_total }} руб.
|
||
{% endfor %}
|
||
|
||
Товары: {{ order.products_total }} руб.
|
||
Скидка: {{ order.discount_total }} руб.
|
||
Доставка: {{ order.delivery_total }} руб.
|
||
Подъём на этаж: {{ order.floor_lift_total }} руб.
|
||
Итого: {{ order.total }} руб.
|
||
|
||
Доставка: {{ order.get_delivery_method_display }}
|
||
{% if order.region or order.address %}Адрес: {{ order.region }}{% if order.address %}, {{ order.address }}{% endif %}
|
||
{% endif %}Оплата: {{ order.get_payment_method_display }}
|
||
|
||
Контакты:
|
||
ФИО: {{ order.customer_name }}
|
||
Телефон: {{ order.phone }}
|
||
E-mail: {{ order.email }}
|
||
|
||
Спасибо за покупку в {{ site_name }}.
|