chore: drop legacy export buttons from KS-2/KS-3 pages

UI cleanup after the Word print forms became the only export path:
remove КС-2 (Excel) from the KS-2 page and Официальная форма (Word)
from the KS-3 page. Keep КС-2 (Word), КС-3 (Word) and the red
СТОРНИРОВАН badge on cancelled KS-2. Excel renderer and export
endpoints stay as legacy fallbacks; no DB, model or business-logic
changes.
This commit is contained in:
Арсентьев Александр
2026-10-04 12:41:53 +03:00
parent 2b309b007c
commit a8be9db476
5 changed files with 231 additions and 16 deletions
-6
View File
@@ -31,12 +31,6 @@
{% endif %}
<div class="mt-2">
<a href="/projects/{{ project.id }}/ks3/{{ document.id }}/export/word" class="btn btn-outline-primary btn-sm">КС-3 (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>