feat(refill): map refill state in cartStore, clarify free loyalty 5% discount UX, and render Refill badges across full app and admin
This commit is contained in:
1 parent
24c361c4ff
commit
b5650c4cbb
7 files changed
+92
-11
No files matched your search
@@ -369,7 +369,12 @@ export default function Orders() {
|
||||
return (
|
||||
<tr key={order.id} className="hover:bg-gray-50/50 transition-colors">
|
||||
<td className="py-4 px-6 font-bold text-purple-600 font-mono" dir="ltr">
|
||||
{toPersianDigits(displayCode)}
|
||||
<div>{toPersianDigits(displayCode)}</div>
|
||||
{order.isRefill && (
|
||||
<span className="inline-block mt-1 text-[9px] font-black px-2 py-0.5 rounded-full bg-green-50 text-green-700 border border-green-200">
|
||||
Refill 5%
|
||||
</span>
|
||||
)}
|
||||
</td>
|
||||
<td className="py-4 px-6">
|
||||
<div className="font-bold text-gray-900">{customerName}</div>
|
||||
|
||||
Reference in new issue
Block a user