update
This commit is contained in:
@@ -367,7 +367,7 @@ export default function BestellungDetail() {
|
|||||||
doc.setFontSize(14);
|
doc.setFontSize(14);
|
||||||
doc.setFont('helvetica', 'bold');
|
doc.setFont('helvetica', 'bold');
|
||||||
doc.text(title, 10, curY);
|
doc.text(title, 10, curY);
|
||||||
curY += 8;
|
curY += 10;
|
||||||
|
|
||||||
// Metadata block
|
// Metadata block
|
||||||
doc.setFontSize(10);
|
doc.setFontSize(10);
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ export default function Bestellungen() {
|
|||||||
doc.setFontSize(14);
|
doc.setFontSize(14);
|
||||||
doc.setFont('helvetica', 'bold');
|
doc.setFont('helvetica', 'bold');
|
||||||
doc.text('Bestellungen — Übersicht', 10, startY);
|
doc.text('Bestellungen — Übersicht', 10, startY);
|
||||||
startY += 8;
|
startY += 10;
|
||||||
|
|
||||||
const rows = filteredOrders.map((o) => {
|
const rows = filteredOrders.map((o) => {
|
||||||
const brutto = calcBrutto(o);
|
const brutto = calcBrutto(o);
|
||||||
|
|||||||
@@ -649,7 +649,7 @@ async function generatePdf(
|
|||||||
doc.setFontSize(14);
|
doc.setFontSize(14);
|
||||||
doc.setFont('helvetica', 'bold');
|
doc.setFont('helvetica', 'bold');
|
||||||
doc.text(titleText, 10, tableStartY);
|
doc.text(titleText, 10, tableStartY);
|
||||||
tableStartY += 8;
|
tableStartY += 10;
|
||||||
|
|
||||||
// Build combined list (same logic as CombinedListView)
|
// Build combined list (same logic as CombinedListView)
|
||||||
type ListEntry =
|
type ListEntry =
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ export async function addPdfHeader(
|
|||||||
doc.setTextColor(0, 0, 0);
|
doc.setTextColor(0, 0, 0);
|
||||||
doc.setFontSize(10);
|
doc.setFontSize(10);
|
||||||
|
|
||||||
return lineY + 5;
|
return lineY + 9;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user