feat: UI/UX cleanup V1 with header, import requisites, and status fixes
This commit is contained in:
@@ -31,9 +31,13 @@
|
||||
<td>{{ row.document.number }}</td>
|
||||
<td>{{ row.document.date.strftime('%d.%m.%Y') }}{% if row.document.reporting_period_from and row.document.reporting_period_to %}<br><small class="text-muted">{{ row.document.reporting_period_from.strftime('%d.%m.%Y') }} — {{ row.document.reporting_period_to.strftime('%d.%m.%Y') }}</small>{% 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.item_count }}</td>
|
||||
<td class="text-end text-nowrap money-value">{{ row.amount | money }}</td>
|
||||
|
||||
Reference in New Issue
Block a user