PDF Verbrauchsausweis Anzeige gefixt
This commit is contained in:
@@ -200,10 +200,10 @@ export async function pdfVerbrauchsausweisGewerbe(ausweis: VerbrauchsausweisGewe
|
|||||||
// Aussteller
|
// Aussteller
|
||||||
const aussteller = await pdf.embedPng(fs.readFileSync(new URL("../../../public/pdf/images/aussteller.png", import.meta.url), "base64"));
|
const aussteller = await pdf.embedPng(fs.readFileSync(new URL("../../../public/pdf/images/aussteller.png", import.meta.url), "base64"));
|
||||||
pages[0].drawImage(aussteller, {
|
pages[0].drawImage(aussteller, {
|
||||||
x: 40,
|
x: 260,
|
||||||
y: height - 750,
|
y: height - 755,
|
||||||
width: 100,
|
width: 130,
|
||||||
height: 50
|
height: 65
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -211,10 +211,10 @@ export async function pdfVerbrauchsausweisWohnen(ausweis: VerbrauchsausweisWohne
|
|||||||
const aussteller = await pdf.embedPng(fs.readFileSync(new URL("../../../public/pdf/images/aussteller.png", import.meta.url), "base64"));
|
const aussteller = await pdf.embedPng(fs.readFileSync(new URL("../../../public/pdf/images/aussteller.png", import.meta.url), "base64"));
|
||||||
|
|
||||||
pages[0].drawImage(aussteller, {
|
pages[0].drawImage(aussteller, {
|
||||||
x: 40,
|
x: 260,
|
||||||
y: height - 770,
|
y: height - 775,
|
||||||
width: 100,
|
width: 130,
|
||||||
height: 50
|
height: 65
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user