diff --git a/frontend/src/tools/bestellungen.jsx b/frontend/src/tools/bestellungen.jsx index 2f5b2c1..95566f1 100644 --- a/frontend/src/tools/bestellungen.jsx +++ b/frontend/src/tools/bestellungen.jsx @@ -282,18 +282,26 @@ function BestellungDetail({ id, toast, onBack }) {
FESTPREIS/STK (€)
- { - if (!!order.bezahlt) return; - const v = e.target.value==='' ? null : parseFloat(e.target.value); - updateItem(item.id, {custom_price:v}); - }} - style={{...S.inp,fontSize:14,padding:'8px 10px', - opacity:!!order.bezahlt?0.5:1, - cursor:!!order.bezahlt?'not-allowed':'text'}}/> +
+ { + if (!!order.bezahlt) return; + const v = e.target.value==='' ? null : parseFloat(e.target.value); + updateItem(item.id, {custom_price:v}); + }} + style={{...S.inp,fontSize:14,padding:'8px 10px',flex:1, + opacity:!!order.bezahlt?0.5:1, + cursor:!!order.bezahlt?'not-allowed':'text'}}/> + {item.custom_price!=null && !order.bezahlt && ( + + )} +