diff --git a/frontend/src/pages/BestellungDetail.tsx b/frontend/src/pages/BestellungDetail.tsx
index 4a7d17f..d2e6310 100644
--- a/frontend/src/pages/BestellungDetail.tsx
+++ b/frontend/src/pages/BestellungDetail.tsx
@@ -451,7 +451,7 @@ export default function BestellungDetail() {
// ── Line items table ──
const steuersatz = (parseFloat(String(bestellung.steuersatz)) || 20) / 100;
- const hasPrices = positionen.some((p) => p.einzelpreis != null);
+ const hasPrices = positionen.some((p) => p.einzelpreis != null && p.einzelpreis > 0);
const totalNetto = positionen.reduce((sum, p) => {
const ep = p.einzelpreis != null ? parseFloat(String(p.einzelpreis)) : 0;
@@ -482,7 +482,7 @@ export default function BestellungDetail() {
head: [['Bezeichnung', 'Art.-Nr.', 'Menge', 'Einzelpreis', 'Gesamt']],
body: rows,
startY: curY,
- theme: 'grid',
+ theme: 'striped',
headStyles: { fillColor: [66, 66, 66], textColor: 255, fontStyle: 'bold' },
alternateRowStyles: { fillColor: [245, 245, 245] },
margin: { left: 10, right: 10 },
@@ -525,7 +525,7 @@ export default function BestellungDetail() {
head: [['Bezeichnung', 'Art.-Nr.', 'Menge']],
body: rows,
startY: curY,
- theme: 'grid',
+ theme: 'striped',
headStyles: { fillColor: [66, 66, 66], textColor: 255, fontStyle: 'bold' },
alternateRowStyles: { fillColor: [245, 245, 245] },
margin: { left: 10, right: 10 },
@@ -897,40 +897,40 @@ export default function BestellungDetail() {
) : (
-
-
-
- {p.bezeichnung}
- {p.spezifikationen && p.spezifikationen.length > 0 && (
-
- {p.spezifikationen.map((spec, i) => (
- • {spec}
- ))}
-
+
+
+ {p.bezeichnung}
+ {p.artikelnummer || '–'}
+ {p.menge}
+ {p.einheit}
+ {formatCurrency(p.einzelpreis)}
+ {formatCurrency((p.einzelpreis ?? 0) * p.menge)}
+
+ {canManageOrders ? (
+ updateReceived.mutate({ itemId: p.id, menge: Number(e.target.value) })}
+ />
+ ) : (
+ p.erhalten_menge
)}
-
-
- {p.artikelnummer || '–'}
- {p.menge}
- {p.einheit}
- {formatCurrency(p.einzelpreis)}
- {formatCurrency((p.einzelpreis ?? 0) * p.menge)}
-
- {canManageOrders ? (
- updateReceived.mutate({ itemId: p.id, menge: Number(e.target.value) })}
- />
- ) : (
- p.erhalten_menge
- )}
-
-
+
+
+ {p.spezifikationen && p.spezifikationen.length > 0 && (
+
+
+ {p.spezifikationen.map((spec, i) => (
+ • {spec}
+ ))}
+
+
+ )}
+
),
)}