Files
Арсентьев Александр 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

36 lines
826 B
JSON

{
"template_type": "ks2",
"template_version": 2,
"file": "ks2_ru_v2.xlsx",
"format": "xlsx",
"language": "ru",
"description": "Акт КС-2, официальная унифицированная форма № КС-2 (DOC-C2)",
"table_marker": "##KS2_ROWS##",
"group_marker": "##KS2_GROUP##",
"totals_marker": "##KS2_TOTALS##",
"storno_marker": "##KS2_STORNO##",
"placeholders": [
"customer",
"contractor_name",
"object_name",
"contract_number",
"contract_date",
"ks2_number",
"ks2_date",
"period_from",
"period_to",
"contractor_signer_position",
"contractor_signer_name",
"customer_signer_position",
"customer_signer_name"
],
"row_placeholders": [
"source_number",
"name",
"unit",
"quantity",
"unit_price",
"amount"
]
}