переделка шаблонов для админки лотереи
This commit is contained in:
@@ -94,8 +94,21 @@
|
|||||||
<td>{{ invoice.created_at|date:"d.m.Y H:i" }}</td>
|
<td>{{ invoice.created_at|date:"d.m.Y H:i" }}</td>
|
||||||
<td>{% if invoice.closed_at %}{{ invoice.closed_at|date:"d.m.Y H:i" }}{% else %}—{% endif %}</td>
|
<td>{% if invoice.closed_at %}{{ invoice.closed_at|date:"d.m.Y H:i" }}{% else %}—{% endif %}</td>
|
||||||
<td>{{ invoice.ext_id|default:"—" }}</td>
|
<td>{{ invoice.ext_id|default:"—" }}</td>
|
||||||
<td>{{ invoice.client.name|default:"Не указан" }}</td>
|
<td>{{ invoice.ext_id|default:"—" }}</td>
|
||||||
<td>{{ invoice.client.club_card_number|default:"—" }}</td>
|
<td>
|
||||||
|
{% if invoice.client %}
|
||||||
|
{{ invoice.client.name|default:"—" }}
|
||||||
|
{% else %}
|
||||||
|
Не указан
|
||||||
|
{% endif %}
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
{% if invoice.client %}
|
||||||
|
{{ invoice.client.club_card_number|default:"—" }}
|
||||||
|
{% else %}
|
||||||
|
—
|
||||||
|
{% endif %}
|
||||||
|
</td>
|
||||||
<td>{{ invoice.sum|default:"—" }}</td>
|
<td>{{ invoice.sum|default:"—" }}</td>
|
||||||
<td>{{ invoice.bonus|default:"—" }}</td>
|
<td>{{ invoice.bonus|default:"—" }}</td>
|
||||||
<td>{{ invoice.start_bonus|default:"—" }}</td>
|
<td>{{ invoice.start_bonus|default:"—" }}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user