Elemente pdf
This commit is contained in:
@@ -106,10 +106,22 @@ export async function pdfVerbrauchsausweisWohnen(ausweis: VerbrauchsausweisWohne
|
||||
})
|
||||
|
||||
// Nach 82 aus Wohnfläche ermittelt
|
||||
if (aufnahme.flaeche == 0) {
|
||||
addCheckMark(pages[0], 274, height - 277)
|
||||
}
|
||||
if (aufnahme.flaeche == 0) {
|
||||
// addCheckMark(pages[0], 274, height - 277)
|
||||
|
||||
const haken = await getS3File("ibc-images", `haken.png`);
|
||||
|
||||
if (haken) {
|
||||
let image: PDFImage;
|
||||
image = await pdf.embedPng(haken)
|
||||
pages[0].drawImage(image, {
|
||||
x: 274,
|
||||
y: height - 277,
|
||||
width: 10,
|
||||
height: 10
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
pages[0].drawText(`${ausweis.brennstoff_1}, ${ausweis.brennstoff_2 || ""}`, {
|
||||
x: 211,
|
||||
|
||||
Reference in New Issue
Block a user