Commit Graph

4 Commits

Author SHA1 Message Date
Арсентьев Александр 2b309b007c feat: KS-3 official Word form with marker template and single-table flow
Rewrite the KS-3 print renderer on the DOC-C4–DOC-C7 architecture:

- working marker template ks3_ru_markers.docx from the official blank;
  static fields via named markers, values only from KS3ExportHeader/Item
- one dynamic works table with w:tblHeader page-break repetition, no
  page/subtable split; final Итого block once at the end, VAT rows left
  empty (unsupported by the DTO)
- unified money formatter (space thousands, comma decimals)
- UI keeps only КС-3 (Word); Excel endpoint remains for internal tests
- DB, KS3↔KS2 links, issue/cancel, payments and KS-2 untouched
2026-10-03 22:01:37 +03:00
Арсентьев Александр bd64bb6307 feat: official KS-2 Excel/Word forms with template markers and single-table flow
Replace the simplified KS-2 exports with the official unified form:

- Excel: official blank as working template, merge-safe row insertion,
  compact layout, header/signer polish, 0.00 money format
- Word: official blank via named template markers (DOC-C4), one dynamic
  works table with repeating header rows, separate closing totals block
  (Итого / Всего по акту), system group rows merged across 8 columns
- Word money formatter (space thousands, comma decimals) and split
  contract date day/month/year boxes
- Issue persists both xlsx and docx artifacts; UI keeps Excel and adds
  Word download
- Daily reports: multi-system item selection in the form

Regression tests for renderers, artifacts and layout; docs/tasks +
docs/implementation for the DOC-C* series.
2026-10-03 19:48:29 +03:00
Арсентьев Александр e66bce0d25 feat: add template-based KS-2 Excel and KS-3 Word renderers 2026-09-29 17:50:58 +03:00
Арсентьев Александр b3741ca106 feat: polish document exports and fix filename extensions 2026-09-27 17:18:15 +03:00