Unterlagen und weitere Fehler
This commit is contained in:
@@ -4,12 +4,10 @@ import { getEmpfehlungen } from "#lib/XML/getEmpfehlungen.js";
|
||||
import { Enums } from "#lib/server/prisma.js";
|
||||
import * as fs from "fs"
|
||||
import moment from "moment";
|
||||
import { PDFDocument, PDFFont, PDFImage, PDFPage, StandardFonts, TextAlignment } from "pdf-lib";
|
||||
import { PDFDocument, PDFFont, PDFImage, PDFPage, StandardFonts } from "pdf-lib";
|
||||
import { addCheckMark } from "./utils/checkbox.js";
|
||||
import { addText } from "./utils/text.js";
|
||||
import { addAnsichtsausweisLabel, addDatumGEG } from "./utils/helpers.js";
|
||||
import { fileURLToPath } from "url";
|
||||
import { PERSISTENT_DIR } from "#lib/server/constants.js";
|
||||
import { getS3File } from "#lib/s3.js";
|
||||
|
||||
/* -------------------------------- Pdf Tools ------------------------------- */
|
||||
@@ -106,7 +104,7 @@ export async function pdfVerbrauchsausweisWohnen(ausweis: VerbrauchsausweisWohne
|
||||
|
||||
pages[0].drawText(erneuerbareEnergienVerwendung.join(", "), {
|
||||
x: 358,
|
||||
y: height - 325,
|
||||
y: height - 338,
|
||||
size: 8
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user