Update POSDashboard.tsx

This commit is contained in:
ssbg04 authored and GitHub committed 2025-12-06 13:45:28 +08:00
1 parent 2bb2dd8f8b
commit 961a405765
1 file changed
+6 -5
+6 -5
View File
@@ -35,7 +35,7 @@ import {
AlertTriangle, AlertTriangle,
X, X,
Printer, Printer,
// RotateCcw, RotateCcw,
Camera, Camera,
LogOut, LogOut,
} from "lucide-react"; } from "lucide-react";
@@ -583,7 +583,7 @@ const POSDashboard = () => {
</div> </div>
<div className="flex gap-3 items-center"> <div className="flex gap-3 items-center">
{/* Refund Button */} {/* Refund Button */}
{/* <button <button
onClick={() => setShowRefundModal(true)} onClick={() => setShowRefundModal(true)}
className={`flex items-center gap-1 px-4 py-2 rounded-lg text-sm font-semibold shadow-sm transition-colors className={`flex items-center gap-1 px-4 py-2 rounded-lg text-sm font-semibold shadow-sm transition-colors
bg-orange-50 text-orange-600 border border-orange-200 bg-orange-50 text-orange-600 border border-orange-200
@@ -592,7 +592,7 @@ const POSDashboard = () => {
`} `}
> >
<RotateCcw size={18} /> Refund <RotateCcw size={18} /> Refund
</button> */} </button>
<button <button
onClick={logout} onClick={logout}
@@ -983,7 +983,7 @@ const POSDashboard = () => {
</button> </button>
</div> </div>
<div className="p-6 overflow-y-auto space-y-4"> {/* <div className="p-6 overflow-y-auto space-y-4">
{/* Scanner Video Overlay */} {/* Scanner Video Overlay */}
{isScanning && ( {isScanning && (
<div className="relative w-full h-48 bg-black rounded-lg overflow-hidden mb-4 border border-slate-700"> <div className="relative w-full h-48 bg-black rounded-lg overflow-hidden mb-4 border border-slate-700">
@@ -1023,7 +1023,7 @@ const POSDashboard = () => {
> >
<X size={16} /> <X size={16} />
</button> </button>
</div> </div> */}
)} )}
{/* Search Bar */} {/* Search Bar */}
@@ -1185,3 +1185,4 @@ export default POSDashboard;