diff --git a/lottery/templates/admin/add_participants.html b/lottery/templates/admin/add_participants.html index 5694254..7f252f2 100644 --- a/lottery/templates/admin/add_participants.html +++ b/lottery/templates/admin/add_participants.html @@ -71,57 +71,54 @@
{% csrf_token %}
- - - - - - - - - - - - - - - - - - {% for invoice in form.fields.invoices.queryset %} - - - - - - - - - - - - - - - {% empty %} - - - - {% endfor %} - -
СозданЗакрытСчётКлиентНомер клиентаСумма счетаБонусФДДепозитПримечание
{{ invoice.created_at|date:"d.m.Y H:i" }}{% if invoice.closed_at %}{{ invoice.closed_at|date:"d.m.Y H:i" }}{% else %}—{% endif %}{{ invoice.ext_id|default:"—" }}{{ invoice.ext_id|default:"—" }} - {% if invoice.client %} - {{ invoice.client.name|default:"—" }} - {% else %} - Не указан - {% endif %} - - {% if invoice.client %} - {{ invoice.client.club_card_number|default:"—" }} - {% else %} - — - {% endif %} - {{ invoice.sum|default:"—" }}{{ invoice.bonus|default:"—" }}{{ invoice.start_bonus|default:"—" }}{{ invoice.deposit_sum|default:"—" }}{{ invoice.notes|default:"—" }}
Нет доступных счетов
+ + + + + + + + + + + + + + + + + + {% for invoice in invoices %} + + + + + + + + + + + + + + {% empty %} + + {% endfor %} + +
СозданЗакрытСчетКлиентНомер клиентаСумма счетаБонусФДДепозитПримечание
{{ invoice.created_at|date:"Y-m-d H:i:s" }}{% if invoice.closed_at %}{{ invoice.closed_at|date:"Y-m-d H:i:s" }}{% else %}—{% endif %}{{ invoice.ext_id }} + {% if invoice.client %} + {{ invoice.client.name|default:"—" }} + {% else %} + Не указан + {% endif %} + + {% if invoice.client %} + {{ invoice.client.club_card_number|default:"—" }} + {% else %} + — + {% endif %} + {{ invoice.sum|floatformat:2 }}{{ invoice.bonus|floatformat:2|default:"—" }}{{ invoice.start_bonus|floatformat:2|default:"—" }}{{ invoice.deposit_sum|floatformat:2|default:"—" }}{{ invoice.notes|default:"—" }}
Нет доступных счетов