feat: 📦 Badge in Listenansicht wenn abgeholt aber noch nicht bezahlt
This commit is contained in:
@@ -740,6 +740,13 @@ export default function Bestellungen({ toast, mobile }) {
|
||||
</div>
|
||||
</button>
|
||||
<div style={{display:'flex',gap:5,alignItems:'center'}}>
|
||||
{!!order.abgeholt && !order.bezahlt && (
|
||||
<span style={{background:'rgba(251,191,36,0.12)',border:'1px solid rgba(251,191,36,0.3)',
|
||||
borderRadius:20,padding:'3px 8px',color:'#fbbf24',fontFamily:'monospace',fontSize:10}}
|
||||
title="Abgeholt (noch nicht bezahlt)">
|
||||
📦
|
||||
</span>
|
||||
)}
|
||||
{!!order.bezahlt && (
|
||||
<span style={{background:BEZAHLT.bg,border:`1px solid ${BEZAHLT.color}44`,
|
||||
borderRadius:20,padding:'3px 10px',color:BEZAHLT.color,fontFamily:'monospace',fontSize:10}}>
|
||||
|
||||
Reference in New Issue
Block a user