feat: add KS-6a Excel/Word export
This commit is contained in:
@@ -43,12 +43,18 @@
|
||||
{% endif %}
|
||||
|
||||
{% if date_from and date_to and not error %}
|
||||
<div class="mb-2 text-muted">
|
||||
Период: {{ date_from }} — {{ date_to }}
|
||||
{% if system_id and system_id != 'all' %}
|
||||
{% for system in systems %}{% if system_id|string == system.id|string %} · Система: {{ system.name }}{% endif %}{% endfor %}
|
||||
{% else %} · Все системы{% endif %}
|
||||
· Строк: {{ total_count }}
|
||||
<div class="mb-2 d-flex flex-wrap align-items-center gap-2">
|
||||
<div class="text-muted">
|
||||
Период: {{ date_from }} — {{ date_to }}
|
||||
{% if system_id and system_id != 'all' %}
|
||||
{% for system in systems %}{% if system_id|string == system.id|string %} · Система: {{ system.name }}{% endif %}{% endfor %}
|
||||
{% else %} · Все системы{% endif %}
|
||||
· Строк: {{ total_count }}
|
||||
</div>
|
||||
<a href="/projects/{{ project.id }}/ks6a/export/excel?date_from={{ date_from }}&date_to={{ date_to }}&system_id={{ system_id or 'all' }}"
|
||||
class="btn btn-outline-success btn-sm">📊 Excel</a>
|
||||
<a href="/projects/{{ project.id }}/ks6a/export/word?date_from={{ date_from }}&date_to={{ date_to }}&system_id={{ system_id or 'all' }}"
|
||||
class="btn btn-outline-primary btn-sm">📄 Word</a>
|
||||
</div>
|
||||
|
||||
{% if rows %}
|
||||
|
||||
Reference in New Issue
Block a user