3import Link from 'next/link';
4import { Icon } from '@/contexts/IconContext';
6export default function StockControlPage() {
8 <div className="min-h-screen bg-bg">
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">Stock Control</span>
17 <h1 className="text-3xl font-bold text-text mb-2 flex items-center gap-2"><Icon name="inventory" size={32} /> Stock Control Configuration</h1>
18 <p className="text-muted">Configure inventory tracking and management 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">Inventory Tracking</h2>
25 <p className="text-muted mb-4">Configure how stock levels are tracked</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">
32 <option>Real-time</option>
33 <option>End of Day</option>
34 <option>Manual</option>
38 <label className="block text-sm font-medium text-text mb-2">
44 className="w-full px-3 py-2 border border-border rounded-md"
50 <div className="bg-surface rounded-lg shadow-sm border border-border p-6">
51 <h2 className="text-xl font-semibold text-text mb-4">Stock Alerts</h2>
52 <p className="text-muted mb-4">Configure alerts and notifications</p>
53 <div className="space-y-4">
54 <div className="flex items-center justify-between">
55 <span className="text-text">Alert on negative stock</span>
56 <input type="checkbox" className="toggle" />
58 <div className="flex items-center justify-between">
59 <span className="text-text">Alert on low stock</span>
60 <input type="checkbox" className="toggle" />
62 <div className="flex items-center justify-between">
63 <span className="text-text">Alert on stock discrepancies</span>
64 <input type="checkbox" className="toggle" />
69 <div className="flex justify-end gap-3">
70 <button className="px-4 py-2 border border-border rounded-md text-text hover:bg-surface-2">
73 <button className="px-4 py-2 bg-brand text-white rounded-md hover:bg-brand2 flex items-center gap-2">
74 <Icon name="save" size={18} /> Save Changes