feat: polish document exports and fix filename extensions
This commit is contained in:
@@ -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 "",
|
||||
|
||||
Reference in New Issue
Block a user