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
+27 -2
View File
@@ -4,11 +4,36 @@
<meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}Work Volume Tracker{% endblock %}</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
.money-value { transition: filter 0.15s; }
.money-hidden .money-value { filter: blur(6px); user-select: none; pointer-events: none; }
.clickable-row { cursor: pointer; }
.clickable-row:hover { background-color: rgba(0,0,0,0.04); }
</style>
</head>
<body class="bg-light">
<body class="bg-light money-hidden">
<main class="container py-4">
<div class="d-flex justify-content-end mb-2">
<button type="button" class="btn btn-outline-secondary btn-sm" id="toggleMoney" title="Показать/скрыть финансовые суммы" aria-label="Показать или скрыть финансовые суммы">👁</button>
</div>
{% block content %}{% endblock %}
</main>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<script>
(function() {
var btn = document.getElementById('toggleMoney');
if (btn) btn.addEventListener('click', function() {
document.body.classList.toggle('money-hidden');
});
document.querySelectorAll('.clickable-row').forEach(function(row) {
row.addEventListener('click', function(e) {
if (e.target.closest('a, button, form, input, select, textarea')) return;
var url = row.dataset.url;
if (url) window.location.href = url;
});
});
})();
</script>
</body>
</html>
</html>