Update POSDashboard.tsx

This commit is contained in:
ssbg04 authored and GitHub committed 2025-12-05 12:48:57 +08:00
1 parent c9db5ef23d
commit afecd2f2f1
1 file changed
+3 -2
+3 -2
View File
@@ -488,7 +488,7 @@ const POSDashboard = () => {
</span> </span>
</div> </div>
<div className="flex justify-between font-bold"> <div className="flex justify-between font-bold text-black dark:text-white">
<span>Change Due</span> <span>Change Due</span>
<span>{sale.change_due ? sale.change_due.toFixed(2) : "0.00"}</span> <span>{sale.change_due ? sale.change_due.toFixed(2) : "0.00"}</span>
</div> </div>
@@ -758,7 +758,7 @@ const POSDashboard = () => {
</div> </div>
{/* Cart Items */} {/* Cart Items */}
<div className="flex-1 overflow-y-auto p-4 space-y-3"> <div className="flex-1 overflow-y-auto p-4 space-y-3 text-black dark:text-white">
{cart.length === 0 ? ( {cart.length === 0 ? (
<div className="h-full flex flex-col items-center justify-center text-slate-400 space-y-2 opacity-50"> <div className="h-full flex flex-col items-center justify-center text-slate-400 space-y-2 opacity-50">
<ShoppingCart size={48} /> <ShoppingCart size={48} />
@@ -1172,3 +1172,4 @@ const POSDashboard = () => {
export default POSDashboard; export default POSDashboard;