plz und ort in Ausweis pdf eingefügt

This commit is contained in:
Jens Cornelsen
2025-04-17 01:20:18 +02:00
parent b0828592c5
commit b1b95159fa

View File

@@ -67,8 +67,8 @@ export async function pdfVerbrauchsausweisWohnen(ausweis: VerbrauchsausweisWohne
})
}
}
pages[0].drawText(objekt.adresse || "", {
const volleAdresse = `${objekt.adresse || ""}\n${objekt.plz || ""} ${objekt.ort || ""}`;
pages[0].drawText(volleAdresse, {
x: 211,
y: height - 194,
size: 10