Fixed used variable in class

This commit is contained in:
Torsten Schulz
2025-07-15 16:00:45 +02:00
parent 81cf94cebc
commit 549147cfb3

View File

@@ -181,15 +181,15 @@ class PDFGenerator {
this.addressY = 30;
}
this.doc.setFontSize(14);
this.doc.setFont(undefined, 'bold');
this.doc.text(clubName, 20, this.addressY);
this.pdf.setFontSize(14);
this.pdf.setFont(undefined, 'bold');
this.pdf.text(clubName, 20, this.addressY);
this.doc.setFontSize(12);
this.doc.setFont(undefined, 'normal');
this.pdf.setFontSize(12);
this.pdf.setFont(undefined, 'normal');
addressLines.forEach(line => {
this.addressY += 7;
this.doc.text(line, 20, this.addressY);
this.pdf.text(line, 20, this.addressY);
});
this.addressY += 10; // Abstand zur nächsten Adresse