feat: add KS-3/payments, tech debt fixes, UI polish, and KS-2 Excel/Word export

Tasks 008-016: KS-6a journal, KS-3 documents, payments with allocations,
tech debt cleanup, financial privacy, document tree, storno mechanism,
row-click UI, BOQ collapse/sticky header, and KS-2 export to Excel/Word
via shared DTO architecture.
This commit is contained in:
Арсентьев Александр
2026-09-27 13:38:45 +03:00
parent 6c608a8779
commit 9cfb341774
57 changed files with 7163 additions and 50 deletions
+2 -2
View File
@@ -27,7 +27,7 @@
</thead>
<tbody>
{% for row in rows %}
<tr>
<tr class="clickable-row" data-url="/projects/{{ project.id }}/ks2/{{ row.document.id }}">
<td>{{ row.document.number }}</td>
<td>{{ row.document.date.strftime('%d.%m.%Y') }}{% if row.document.reporting_period_from and row.document.reporting_period_to %}<br><small class="text-muted">{{ row.document.reporting_period_from.strftime('%d.%m.%Y') }} — {{ row.document.reporting_period_to.strftime('%d.%m.%Y') }}</small>{% endif %}</td>
<td>
@@ -36,7 +36,7 @@
</span>
</td>
<td>{{ row.item_count }}</td>
<td class="text-end text-nowrap">{{ row.amount | money }}</td>
<td class="text-end text-nowrap money-value">{{ row.amount | money }}</td>
<td>
<a href="/projects/{{ project.id }}/ks2/{{ row.document.id }}" class="btn btn-sm btn-outline-primary">Просмотр</a>
</td>