update
This commit is contained in:
@@ -507,10 +507,14 @@ export default function BestellungDetail() {
|
|||||||
if (data.section === 'body' && data.column.index === 0) {
|
if (data.section === 'body' && data.column.index === 0) {
|
||||||
const cell0 = String(data.row.raw?.[0] ?? '');
|
const cell0 = String(data.row.raw?.[0] ?? '');
|
||||||
if (!cell0.startsWith(' •') && data.row.index > 0) {
|
if (!cell0.startsWith(' •') && data.row.index > 0) {
|
||||||
const { doc, row, settings } = data;
|
data.doc.setDrawColor(200, 200, 200);
|
||||||
doc.setDrawColor(200, 200, 200);
|
data.doc.setLineWidth(0.2);
|
||||||
doc.setLineWidth(0.2);
|
data.doc.line(
|
||||||
doc.line(settings.margin.left, row.y, doc.internal.pageSize.width - settings.margin.right, row.y);
|
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) {
|
if (data.section === 'body' && data.column.index === 0) {
|
||||||
const cell0 = String(data.row.raw?.[0] ?? '');
|
const cell0 = String(data.row.raw?.[0] ?? '');
|
||||||
if (!cell0.startsWith(' •') && data.row.index > 0) {
|
if (!cell0.startsWith(' •') && data.row.index > 0) {
|
||||||
const { doc, row, settings } = data;
|
data.doc.setDrawColor(200, 200, 200);
|
||||||
doc.setDrawColor(200, 200, 200);
|
data.doc.setLineWidth(0.2);
|
||||||
doc.setLineWidth(0.2);
|
data.doc.line(
|
||||||
doc.line(settings.margin.left, row.y, doc.internal.pageSize.width - settings.margin.right, row.y);
|
data.settings.margin.left,
|
||||||
|
data.cell.y,
|
||||||
|
data.doc.internal.pageSize.width - data.settings.margin.right,
|
||||||
|
data.cell.y,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user