feat: add template-based KS-2 Excel and KS-3 Word renderers

This commit is contained in:
Арсентьев Александр
2026-09-29 17:50:58 +03:00
parent cddde114fe
commit e66bce0d25
12 changed files with 1643 additions and 176 deletions
+22
View File
@@ -0,0 +1,22 @@
{
"template_type": "ks2",
"template_version": 1,
"file": "ks2_ru_v1.xlsx",
"format": "xlsx",
"language": "ru",
"description": "Акт КС-2, упрощённая табличная часть (DOC-B3)",
"table_marker": "##KS2_ROWS##",
"totals_marker": "##KS2_TOTALS##",
"storno_marker": "##KS2_STORNO##",
"placeholders": [
"project_name",
"customer",
"contract_number",
"contract_date",
"currency",
"period",
"comment",
"ks2_number",
"ks2_date"
]
}
Binary file not shown.
+22
View File
@@ -0,0 +1,22 @@
{
"template_type": "ks3",
"template_version": 1,
"file": "ks3_ru_v1.docx",
"format": "docx",
"language": "ru",
"description": "Акт КС-3, таблица выбранных КС-2 (DOC-B4)",
"table_marker": "##KS3_KS2_ROWS##",
"totals_marker": "##KS3_TOTALS##",
"storno_marker": "##KS3_STORNO##",
"placeholders": [
"project_name",
"customer",
"contract_number",
"contract_date",
"currency",
"period",
"comment",
"ks3_number",
"ks3_date"
]
}