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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user