update
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user