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
-1
View File
@@ -30,7 +30,6 @@
<p><strong>Комментарий:</strong> {{ document.comment }}</p>
{% endif %}
<div class="mt-2">
<a href="/projects/{{ project.id }}/ks2/{{ document.id }}/export/excel" class="btn btn-outline-success btn-sm">КС-2 (Excel)</a>
<a href="/projects/{{ project.id }}/ks2/{{ document.id }}/export/word" class="btn btn-outline-primary btn-sm">КС-2 (Word)</a>
{% if document.status == 'cancelled' %}<span class="badge bg-danger ms-1">СТОРНИРОВАН</span>{% endif %}
</div>