Raise invoice payment QR code

This commit is contained in:
2026-07-22 19:48:30 +02:00
parent 5dcdc29a18
commit c222b793b0

View File

@@ -990,13 +990,14 @@ export const createInvoicePDF = async (server:FastifyInstance, returnMode, invoi
const mm = 2.83
const qrSize = 32 * mm
const rightMargin = 20 * mm
const bottomMargin = 20 * mm
const bottomMargin = 40 * mm
const labelGap = 5 * mm
const qrX = lastPage.getWidth() - rightMargin - qrSize
const qrY = bottomMargin
lastPage.drawText("Überweisung per QR-Code", {
x: qrX,
y: qrY + qrSize + 7,
y: qrY + qrSize + labelGap,
size: 8,
color: rgb(0, 0, 0),
lineHeight: 8,