fix build config & fixes for invoice FA1/FA2/FA3

This commit is contained in:
Michał Chudy
2025-12-03 13:42:56 +01:00
parent b9972746aa
commit 1912b5b48d
68 changed files with 1144 additions and 227 deletions

View File

@@ -3,6 +3,7 @@ import {
createHeader,
createLabelText,
formatText,
generateColumns,
getTable,
hasValue,
verticalSpacing,
@@ -105,7 +106,7 @@ export function generateAdnotacje(adnotacje?: Adnotacje): Content[] {
secondColumn.push({ text: 'Samofakturowanie' });
}
if (firstColumn.length || secondColumn.length) {
result.push({ columns: [firstColumn, secondColumn], columnGap: 20 });
result.push(generateColumns([firstColumn, secondColumn]));
}
if (result.length) {