This commit is contained in:
Matthias Hochmeister
2026-03-26 10:56:39 +01:00
parent d5e5f2d44e
commit ca12a23a30
4 changed files with 76 additions and 49 deletions

View File

@@ -642,7 +642,14 @@ async function generatePdf(
const pdfSettings = await fetchPdfSettings();
// Header
const tableStartY = addPdfHeader(doc, `Kalender — ${monthLabel} ${year}`, pdfSettings, 297);
let tableStartY = await addPdfHeader(doc, pdfSettings, 297);
// Document title below header
const titleText = `Kalender — ${monthLabel} ${year}`;
doc.setFontSize(14);
doc.setFont('helvetica', 'bold');
doc.text(titleText, 10, tableStartY);
tableStartY += 8;
// Build combined list (same logic as CombinedListView)
type ListEntry =