feat: polish document exports and fix filename extensions

This commit is contained in:
Арсентьев Александр
2026-09-27 17:18:15 +03:00
parent d8e92386d9
commit b3741ca106
14 changed files with 920 additions and 112 deletions
+4
View File
@@ -26,6 +26,8 @@ class KS6aExportHeader:
customer: str
contractor: str
contract_number: str
contract_date: date | None
currency: str
period_from: date
period_to: date
system_name: str
@@ -90,6 +92,8 @@ def build_ks6a_export_dto(project, rows, date_from: date, date_to: date, system_
customer=project.customer if project and project.customer else "",
contractor="",
contract_number=project.contract_number if project and project.contract_number else "",
contract_date=project.contract_date if project else None,
currency=project.currency if project and project.currency else "",
period_from=date_from,
period_to=date_to,
system_name=system_name or "",