update
This commit is contained in:
@@ -361,7 +361,13 @@ export default function BestellungDetail() {
|
||||
: String(bestellung.id);
|
||||
const title = `Bestellung #${kennung}`;
|
||||
|
||||
let curY = addPdfHeader(doc, title, settings, 210);
|
||||
let curY = await addPdfHeader(doc, settings, 210);
|
||||
|
||||
// Document title below header
|
||||
doc.setFontSize(14);
|
||||
doc.setFont('helvetica', 'bold');
|
||||
doc.text(title, 10, curY);
|
||||
curY += 8;
|
||||
|
||||
// Metadata block
|
||||
doc.setFontSize(10);
|
||||
|
||||
Reference in New Issue
Block a user