feat: UI/UX cleanup V1 with header, import requisites, and status fixes

This commit is contained in:
Арсентьев Александр
2026-09-27 20:22:13 +03:00
parent 79d802d536
commit 94571f9684
31 changed files with 2842 additions and 73 deletions
+7 -3
View File
@@ -33,9 +33,13 @@
<td>{{ row.document.date.strftime('%d.%m.%Y') }}</td>
<td>{% if row.document.reporting_period_from and row.document.reporting_period_to %}{{ row.document.reporting_period_from.strftime('%d.%m.%Y') }} — {{ row.document.reporting_period_to.strftime('%d.%m.%Y') }}{% endif %}</td>
<td>
<span class="badge bg-{{ 'success' if row.document.status == 'issued' else 'secondary' }}">
{{ 'Проведён' if row.document.status == 'issued' else 'Черновик' }}
</span>
{% if row.document.status == 'cancelled' %}
<span class="badge bg-danger">Сторнирован</span>
{% elif row.document.status == 'issued' %}
<span class="badge bg-success">Проведён</span>
{% else %}
<span class="badge bg-secondary">Черновик</span>
{% endif %}
</td>
<td>{{ row.ks2_count }}</td>
<td class="text-end text-nowrap money-value">{{ row.amount | money }}</td>