From 023966bc5b65f9c2c495385439c45c7eb5324e19 Mon Sep 17 00:00:00 2001 From: "Andrew K. Choi" Date: Wed, 6 Aug 2025 12:02:48 +0900 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B5=D0=B4=D0=B5=D0=BB?= =?UTF-8?q?=D0=BA=D0=B0=20=D1=88=D0=B0=D0=B1=D0=BB=D0=BE=D0=BD=D0=BE=D0=B2?= =?UTF-8?q?=20=D0=B4=D0=BB=D1=8F=20=D0=B0=D0=B4=D0=BC=D0=B8=D0=BD=D0=BA?= =?UTF-8?q?=D0=B8=20=D0=BB=D0=BE=D1=82=D0=B5=D1=80=D0=B5=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lottery/templates/admin/add_participants.html | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/lottery/templates/admin/add_participants.html b/lottery/templates/admin/add_participants.html index f29dfc2..5694254 100644 --- a/lottery/templates/admin/add_participants.html +++ b/lottery/templates/admin/add_participants.html @@ -94,8 +94,21 @@ {{ 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.client.name|default:"Не указан" }} - {{ invoice.client.club_card_number|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:"—" }}