Kühlung vorhanden fix

This commit is contained in:
Jens Cornelsen
2025-04-28 13:16:54 +02:00
parent 422a03a2e8
commit c2542e7dab

View File

@@ -202,9 +202,9 @@ export async function pdfVerbrauchsausweisWohnen(ausweis: VerbrauchsausweisWohne
}
// Kühlung
if (aufnahme.kuehlung === "1") {
if (aufnahme.kuehlung === "1" && aufnahme.kuehlung !== null) {
pages[0].drawText("x", {
x: 213,
x: 356,
y: height - 383.5,
size: 10,
font: bold