diff --git a/myproject/orders/templates/orders/order_form.html b/myproject/orders/templates/orders/order_form.html index 6fadaf4..1d14f4a 100644 --- a/myproject/orders/templates/orders/order_form.html +++ b/myproject/orders/templates/orders/order_form.html @@ -111,13 +111,12 @@ -
- {% csrf_token %} - - -
- -
+ +
+ +
+ + {% csrf_token %}
@@ -590,8 +589,9 @@
-
- + +
+
@@ -657,13 +657,10 @@ - - - - - - - + + + + @@ -674,24 +671,12 @@ {{ transaction.transaction_date|date:"d.m.Y H:i" }} - - - {% endfor %} @@ -732,12 +707,12 @@
ДатаТипСпособ оплатыСуммаПримечанияКемДатаСпособ оплатыСуммаКем
- {% if transaction.transaction_type == 'payment' %} - Платёж - {% else %} - Возврат - {% endif %} - {{ transaction.payment_method.name }} {% if transaction.transaction_type == 'refund' %}−{% else %}+{% endif %}{{ transaction.amount|floatformat:2 }} - - {{ transaction.notes|default:transaction.reason|default:"—"|truncatewords:8 }} - - {% if transaction.created_by %} @@ -701,16 +686,6 @@ {% endif %} -
- {% csrf_token %} - -
-