feat: add official artifact download endpoints and UI for KS-2/KS-3

This commit is contained in:
Арсентьев Александр
2026-09-30 11:20:47 +03:00
parent c1be111e1a
commit bc0e04a482
7 changed files with 1078 additions and 0 deletions
+6
View File
@@ -32,6 +32,12 @@
<div class="mt-2">
<a href="/projects/{{ project.id }}/ks3/{{ document.id }}/export/excel" class="btn btn-outline-success btn-sm">📊 Excel</a>
<a href="/projects/{{ project.id }}/ks3/{{ document.id }}/export/word" class="btn btn-outline-primary btn-sm">📄 Word</a>
{% if document.status != 'draft' %}
<a href="/projects/{{ project.id }}/ks3/{{ document.id }}/artifact" class="btn btn-outline-dark btn-sm">
📎 Официальная форма (Word)
{% if document.status == 'cancelled' %}<span class="badge bg-danger ms-1">СТОРНИРОВАН</span>{% endif %}
</a>
{% endif %}
</div>
</div>
</div>