.
This commit is contained in:
@@ -252,32 +252,48 @@ export async function pdfVerbrauchsausweisGewerbe(ausweis: VerbrauchsausweisGewe
|
||||
const endEnergieVerbrauchGesamtText = `${endEnergieVerbrauchGesamt.toString()}kWh/(m²a)`;
|
||||
const stromVerbrauchGesamtText = `${Math.round(berechnungen?.endEnergieVerbrauchStrom ?? 0).toString()}kWh/(m²a)`;
|
||||
const vergleichswertWaermeText = `${Math.round(berechnungen?.vergleichsWertWaerme).toString()}kWh/(m²a)`
|
||||
const vergleichswertWaermeText2 = `${Math.round(berechnungen?.vergleichsWertWaerme).toString()}kWh/(m²a)`
|
||||
const vergleichswertStromText = `${Math.round(berechnungen?.vergleichsWertStrom).toString()}kWh/(m²a)`
|
||||
const vergleichswertStromText2 = `${Math.round(berechnungen?.vergleichsWertStrom).toString()}`
|
||||
|
||||
page.drawText("0", {
|
||||
x: 83,
|
||||
y: height - 236,
|
||||
x: 85,
|
||||
y: height - 240,
|
||||
size: 13,
|
||||
font: bold
|
||||
})
|
||||
|
||||
page.drawText(vergleichswertWaermeText2, {
|
||||
x: 295,
|
||||
y: height - 240,
|
||||
size: 13,
|
||||
font: bold
|
||||
})
|
||||
|
||||
page.drawText(MaxvergleichsWertWaermeText, {
|
||||
x: vergleichsWertWaermeTranslationX * 2 - margin - bold.widthOfTextAtSize(vergleichswertWaermeText, 10) - 10,
|
||||
y: height - 236,
|
||||
x: vergleichsWertWaermeTranslationX * 2 - margin - bold.widthOfTextAtSize(MaxvergleichsWertWaermeText, 10) - 15,
|
||||
y: height - 240,
|
||||
size: 13,
|
||||
font: bold
|
||||
})
|
||||
|
||||
page.drawText("0", {
|
||||
x: 83,
|
||||
y: height - 380,
|
||||
x: 85,
|
||||
y: height - 384,
|
||||
size: 13,
|
||||
font: bold
|
||||
})
|
||||
|
||||
page.drawText(vergleichswertStromText2, {
|
||||
x: 295,
|
||||
y: height - 384,
|
||||
size: 13,
|
||||
font: bold
|
||||
})
|
||||
|
||||
page.drawText(MaxvergleichswertStromText, {
|
||||
x: vergleichsWertStromTranslationX * 2 - margin - bold.widthOfTextAtSize(vergleichswertStromText, 10) - 10,
|
||||
y: height - 380,
|
||||
x: vergleichsWertStromTranslationX * 2 - margin - bold.widthOfTextAtSize(MaxvergleichswertStromText, 10) - 15,
|
||||
y: height - 384,
|
||||
size: 13,
|
||||
font: bold
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user