From 1d61867153f9845f77df6634a1168c21e5c56761 Mon Sep 17 00:00:00 2001 From: Dicken Date: Tue, 26 May 2026 11:32:40 +0200 Subject: [PATCH] Dateien nach "frontend/src/tools" hochladen --- frontend/src/tools/bestellungen.jsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/src/tools/bestellungen.jsx b/frontend/src/tools/bestellungen.jsx index 12b034f..48d007f 100644 --- a/frontend/src/tools/bestellungen.jsx +++ b/frontend/src/tools/bestellungen.jsx @@ -572,9 +572,13 @@ export default function Bestellungen({ toast, mobile }) { {done}/{total} fertig - {customSum > 0 && ( + {(order.custom_price != null || customSum > 0) && (
- ∑ {customSum.toFixed(2)}€ + ∑ + {order.custom_price != null + ? parseFloat(order.custom_price).toFixed(2) + : customSum.toFixed(2)}€ +
)}