This commit is contained in:
Matthias Hochmeister
2026-03-26 14:54:59 +01:00
parent 7b7d799238
commit 671f0dedda

View File

@@ -507,10 +507,14 @@ export default function BestellungDetail() {
if (data.section === 'body' && data.column.index === 0) {
const cell0 = String(data.row.raw?.[0] ?? '');
if (!cell0.startsWith(' •') && data.row.index > 0) {
const { doc, row, settings } = data;
doc.setDrawColor(200, 200, 200);
doc.setLineWidth(0.2);
doc.line(settings.margin.left, row.y, doc.internal.pageSize.width - settings.margin.right, row.y);
data.doc.setDrawColor(200, 200, 200);
data.doc.setLineWidth(0.2);
data.doc.line(
data.settings.margin.left,
data.cell.y,
data.doc.internal.pageSize.width - data.settings.margin.right,
data.cell.y,
);
}
}
},
@@ -557,10 +561,14 @@ export default function BestellungDetail() {
if (data.section === 'body' && data.column.index === 0) {
const cell0 = String(data.row.raw?.[0] ?? '');
if (!cell0.startsWith(' •') && data.row.index > 0) {
const { doc, row, settings } = data;
doc.setDrawColor(200, 200, 200);
doc.setLineWidth(0.2);
doc.line(settings.margin.left, row.y, doc.internal.pageSize.width - settings.margin.right, row.y);
data.doc.setDrawColor(200, 200, 200);
data.doc.setLineWidth(0.2);
data.doc.line(
data.settings.margin.left,
data.cell.y,
data.doc.internal.pageSize.width - data.settings.margin.right,
data.cell.y,
);
}
}
},