3import Link from 'next/link';
4import { Icon } from '@/contexts/IconContext';
6export default function SaleProcessingPage() {
8 <div className="min-h-screen bg-surface-2">
9 <div className="max-w-7xl mx-auto p-6">
11 <div className="mb-8">
12 <div className="flex items-center gap-2 text-sm text-muted mb-4">
13 <Link href="/pages/settings" className="hover:text-text">Settings</Link>
15 <span className="text-text">Sale Processing</span>
17 <h1 className="text-3xl font-bold text-text mb-2">Sale Processing Configuration</h1>
18 <p className="text-muted">Configure sale behavior and workflow settings</p>
21 {/* Configuration Sections */}
22 <div className="space-y-6">
23 <div className="bg-surface rounded-lg shadow-sm border border-border p-6">
24 <h2 className="text-xl font-semibold text-text mb-4">Sale Behavior</h2>
25 <p className="text-muted mb-4">Configure how sales are processed and handled</p>
26 <div className="grid grid-cols-1 md:grid-cols-2 gap-4">
28 <label className="block text-sm font-medium text-text mb-2">
31 <select className="w-full px-3 py-2 border border-border rounded-md">
37 <label className="block text-sm font-medium text-text mb-2">
38 Require Customer on Sale
40 <select className="w-full px-3 py-2 border border-border rounded-md">
48 <div className="bg-surface rounded-lg shadow-sm border border-border p-6">
49 <h2 className="text-xl font-semibold text-text mb-4">Workflow Settings</h2>
50 <p className="text-muted mb-4">Control the sale process flow and validations</p>
51 <div className="space-y-4">
52 <div className="flex items-center">
53 <input type="checkbox" className="mr-3" />
54 <span className="text-text">Auto-print receipt after sale</span>
56 <div className="flex items-center">
57 <input type="checkbox" className="mr-3" />
58 <span className="text-text">Require manager approval for discounts</span>
60 <div className="flex items-center">
61 <input type="checkbox" className="mr-3" />
62 <span className="text-text">Show running total during sale</span>
67 <div className="flex justify-end gap-3">
68 <button className="px-4 py-2 border border-border rounded-md text-text hover:bg-surface-2">
71 <button className="px-4 py-2 bg-brand text-white rounded-md hover:bg-brand/90">