Dateien nach "frontend/src/tools" hochladen
This commit is contained in:
@@ -572,9 +572,13 @@ export default function Bestellungen({ toast, mobile }) {
|
|||||||
{done}/{total} fertig
|
{done}/{total} fertig
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{customSum > 0 && (
|
{(order.custom_price != null || customSum > 0) && (
|
||||||
<div style={{color:'rgba(255,255,255,0.5)',fontFamily:"'Space Mono',monospace",fontSize:12}}>
|
<div style={{color:'rgba(255,255,255,0.5)',fontFamily:"'Space Mono',monospace",fontSize:12}}>
|
||||||
∑ <span style={{color:'#fff',fontWeight:700}}>{customSum.toFixed(2)}€</span>
|
∑ <span style={{color:'#fff',fontWeight:700}}>
|
||||||
|
{order.custom_price != null
|
||||||
|
? parseFloat(order.custom_price).toFixed(2)
|
||||||
|
: customSum.toFixed(2)}€
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user