diff --git a/frontend/src/tools/bestellungen.jsx b/frontend/src/tools/bestellungen.jsx
index 48d007f..1ed7542 100644
--- a/frontend/src/tools/bestellungen.jsx
+++ b/frontend/src/tools/bestellungen.jsx
@@ -107,7 +107,7 @@ function BestellungDetail({ id, toast, onBack }) {
? archiv.filter(a => a.name.toLowerCase().includes(pickerSearch.toLowerCase()))
: archiv;
- if (loading) return
+
Noch keine Positionen.
)}
@@ -310,13 +310,13 @@ function BestellungDetail({ id, toast, onBack }) {
};
return (
-
{label.toUpperCase()}
+
{label.toUpperCase()}
+ style={{width:22,height:22,borderRadius:5,background:'rgba(0,0,0,0.3)',border:'none',color:canDec?color:'rgba(255,255,255,0.45)',fontSize:16,cursor:canDec?'pointer':'default',lineHeight:1}}>−
{qty}
+ style={{width:22,height:22,borderRadius:5,background:'rgba(0,0,0,0.3)',border:'none',color:canInc?color:'rgba(255,255,255,0.45)',fontSize:16,cursor:canInc?'pointer':'default',lineHeight:1}}>+
);
@@ -342,7 +342,7 @@ function BestellungDetail({ id, toast, onBack }) {
))}
{item.custom_price!=null && (
-
FEST
+
FEST
{(item.custom_price*item.stueckzahl).toFixed(2)}€
@@ -361,7 +361,7 @@ function BestellungDetail({ id, toast, onBack }) {
{PREISE.map(p=>(
{p.emoji}
-
{p.label}
+
{p.label}
{totals[p.key].toFixed(2)}€
@@ -414,7 +414,7 @@ function BestellungDetail({ id, toast, onBack }) {
}}>
{a.name}
-
{a.gramm}g · {a.stunden}h
+
{a.gramm}g · {a.stunden}h
{PREISE.map(p=>(
@@ -426,7 +426,7 @@ function BestellungDetail({ id, toast, onBack }) {
))}
- {filteredArchiv.length===0 &&
Keine Treffer.
}
+ {filteredArchiv.length===0 &&
Keine Treffer.
}
@@ -500,7 +500,7 @@ export default function Bestellungen({ toast, mobile }) {
setSearch(e.target.value)} placeholder="Name suchen…"
style={{...S.inp,paddingLeft:34,fontSize:15}}/>
- {search && }
+ {search && }
{/* Status-Filter */}
@@ -522,15 +522,15 @@ export default function Bestellungen({ toast, mobile }) {
))}
-
+
{filtered.length} von {orders.length} Bestellungen
- {loading &&
Lädt…
}
+ {loading &&
Lädt…
}
{!loading && orders.length===0 && (
-
Noch keine Bestellungen.
+
Noch keine Bestellungen.
)}
@@ -544,7 +544,7 @@ export default function Bestellungen({ toast, mobile }) {
);
}
@@ -65,7 +65,7 @@ function Stepper({ label, value, onChange, step, unit, min = 0, hint }) {
function SmallInput({ label, value, onChange, step = 0.01 }) {
return (
-
{label}
+
{label}
onChange(parseFloat(e.target.value) || 0)}
style={{ ...S.inp, padding:'7px 8px', fontSize:13 }}
@@ -169,7 +169,7 @@ export default function Kalkulator3D({ toast, editData, onEditDone, mobile }) {
setShowAdv(v => !v)} style={{
width:'100%', marginTop:4, background:'rgba(255,255,255,0.02)',
border:'1px solid rgba(255,255,255,0.06)', borderRadius:7,
- padding:'9px 12px', color:'rgba(255,255,255,0.35)', cursor:'pointer',
+ padding:'9px 12px', color:'rgba(255,255,255,0.6)', cursor:'pointer',
fontFamily:'monospace', fontSize:11, textAlign:'left',
display:'flex', alignItems:'center', gap:7,
}}>
@@ -203,7 +203,7 @@ export default function Kalkulator3D({ toast, editData, onEditDone, mobile }) {
borderBottom: i < 2 ? '1px solid rgba(255,255,255,0.05)' : 'none',
borderRight: i % 2 === 0 ? '1px solid rgba(255,255,255,0.05)' : 'none',
}}>
- {l.toUpperCase()}
+ {l.toUpperCase()}
{v.toFixed(2)} €
@@ -220,11 +220,11 @@ export default function Kalkulator3D({ toast, editData, onEditDone, mobile }) {
padding:'12px 10px', textAlign:'center', transform:i===1?'scale(1.04)':'scale(1)',
}}>
{s.emoji}
- {s.label}
+ {s.label}
{(calc.grund * s.mult).toFixed(2)}€
- ×{s.mult}
+ ×{s.mult}
))}
@@ -272,7 +272,7 @@ export default function Kalkulator3D({ toast, editData, onEditDone, mobile }) {
{filtered.length} von {items.length} Einträgen{search ? ` für „${search}"` : ''}
- {loading &&