INSERT INTO `sale_items` (`id`, `store_id`, `sale_id`, `item_id`, `item_name`, `quantity`, `unit_price`, `original_unit_price`, `total_price`, `discount_type`, `discount_value`, `discount_per_unit`, `discount_amount`, `tax_rate`, `remarks`, `is_deal`, `deal_selections`) VALUES
(2256, 1, 455, 207, 'UK SALT PINEAPPLE PEACH 50 MG', 3.000, 1700.00, 1700.00, 5100.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2257, 1, 456, 37, 'Vmate 0.7 OHM', 2.000, 1200.00, 1200.00, 2400.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2258, 1, 456, 38, 'Vmate 0.4 OHM', 1.000, 1200.00, 1200.00, 1200.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2259, 1, 456, 42, 'XROS 0.4 OHM', 2.000, 2300.00, 2300.00, 4600.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2260, 1, 456, 40, 'ARGUS 0.4 OHM', 4.000, 1950.00, 1950.00, 7800.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2261, 1, 456, 21, 'NEXLIM', 1.000, 5600.00, 5600.00, 5600.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2262, 1, 456, 1, 'CALIBURN G4 MINI', 1.000, 2400.00, 2400.00, 2400.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2263, 1, 456, 2, 'CALIBURN G3 LIGHT', 2.000, 2150.00, 2150.00, 4300.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2264, 1, 456, 34, 'CALIBURN G3 0.4 OHM', 10.000, 2450.00, 2450.00, 24500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2265, 1, 457, 235, 'TOKYO (SUPER COOL) PINEAPPLE MANGO 35 MG', 1.000, 2200.00, 2200.00, 2200.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2266, 1, 457, 90, 'TOKYO (SUPER COOL) PINEAPPLE MANGO 50 MG', 5.000, 2200.00, 2200.00, 11000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2267, 1, 457, 110, 'TOKYO (SUPER COOL) PINEAPPLE PISSION  50 MG', 3.000, 2200.00, 2200.00, 6600.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2268, 1, 457, 70, 'TOKYO (CRAZY FRUIT) PEACH WATERMELON 50 MG', 1.000, 1800.00, 1800.00, 1800.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2269, 1, 457, 221, 'TOKYO (SUPER COOL) YELLOW WATERMELON 30 MG', 1.000, 1950.00, 1950.00, 1950.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2270, 1, 457, 245, 'TOKYO (CLASSIC) WATERMELON PASSION 50 MG', 1.000, 1950.00, 1950.00, 1950.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2271, 1, 457, 164, 'TOKYO (CLASSIC) iced strawberry watermelon 50mg', 1.000, 1900.00, 1900.00, 1900.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2272, 1, 457, 219, 'TOKYO (SUPER COOL) EXTREME APRICOT 60 MG', 1.000, 1800.00, 1800.00, 1800.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2273, 1, 457, 191, 'TOKYO (CLASSIC) ICED WATERMELON 50 MG', 1.000, 1900.00, 1900.00, 1900.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2274, 1, 457, 40, 'ARGUS 0.4 OHM', 1.000, 1900.00, 1900.00, 1900.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2275, 1, 457, 207, 'UK SALT PINEAPPLE PEACH 50 MG', 1.000, 1600.00, 1600.00, 1600.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2276, 1, 457, 108, 'UK SALT PINEAPPLE GUAVA 50 MG', 3.000, 1600.00, 1600.00, 4800.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2277, 1, 457, 88, 'UK SALT GUAVA BUBBLE GUM 50 MG', 2.000, 1600.00, 1600.00, 3200.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2278, 1, 458, 235, 'TOKYO (SUPER COOL) PINEAPPLE MANGO 35 MG', 1.000, 2300.00, 2300.00, 2300.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2279, 1, 458, 126, 'TOKYO (CLASSIC) CRAN RASP BERRY 30 MG', 1.000, 1900.00, 1900.00, 1900.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2280, 1, 458, 189, 'TOKYO (SUPER COOL) BLUEBERRY WATERMELON 30 MG', 1.000, 1900.00, 1900.00, 1900.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2281, 1, 459, 4, 'CALIBURN G5 LITE', 1.000, 2600.00, 2600.00, 2600.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2282, 1, 460, 223, 'RELX PINK GUAVA 30 MG', 6.000, 780.00, 780.00, 4680.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2283, 1, 461, 171, 'TOKYO (SUPER COOL) mighty mint 35 mg', 3.000, 1800.00, 1800.00, 5400.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2284, 1, 461, 175, 'TOKYO (SUPER COOL) Pineapple lychee 35 mg', 5.000, 1800.00, 1800.00, 9000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2285, 1, 461, 126, 'TOKYO (CLASSIC) CRAN RASP BERRY 30 MG', 5.000, 1800.00, 1800.00, 9000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2286, 1, 461, 189, 'TOKYO (SUPER COOL) BLUEBERRY WATERMELON 30 MG', 2.000, 1800.00, 1800.00, 3600.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2287, 1, 461, 221, 'TOKYO (SUPER COOL) YELLOW WATERMELON 30 MG', 4.000, 1850.00, 1850.00, 7400.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2288, 1, 461, 111, 'XLIM GO', 2.000, 2170.00, 2170.00, 4340.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2289, 1, 461, 4, 'CALIBURN G5 LITE', 10.000, 2400.00, 2400.00, 24000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2290, 1, 461, 2, 'CALIBURN G3 LIGHT', 6.000, 2150.00, 2150.00, 12900.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2291, 1, 462, 144, 'IVG 6000 PUFF Strawberry watermelon ice 20 MG', 10.000, 2250.00, 2250.00, 22500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2292, 1, 462, 50, 'RELX PINEAPPLE DEILGHT 30 MG', 10.000, 800.00, 800.00, 8000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2293, 1, 462, 57, 'RELX WATERMELON ICE 30 MG', 20.000, 800.00, 800.00, 16000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2294, 1, 463, 2, 'CALIBURN G3 LIGHT', 5.000, 2200.00, 2200.00, 11000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2295, 1, 463, 133, 'TOKYO (CRAZY FRUIT) GUAVA 35 MG', 5.000, 1750.00, 1750.00, 8750.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2296, 1, 463, 88, 'UK SALT GUAVA BUBBLE GUM 50 MG', 5.000, 1650.00, 1650.00, 8250.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2297, 1, 463, 116, 'UK SALT PASSION BUBBLE GUM 50 MG', 5.000, 1650.00, 1650.00, 8250.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2298, 1, 463, 207, 'UK SALT PINEAPPLE PEACH 50 MG', 2.000, 1650.00, 1650.00, 3300.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2299, 1, 463, 235, 'TOKYO (SUPER COOL) PINEAPPLE MANGO 35 MG', 5.000, 2200.00, 2200.00, 11000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2300, 1, 463, 234, 'TOKYO (SUPER COOL) PINEAPPLE PISSION 35 MG', 7.000, 2200.00, 2200.00, 15400.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2301, 1, 463, 110, 'TOKYO (SUPER COOL) PINEAPPLE PISSION  50 MG', 5.000, 2200.00, 2200.00, 11000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2302, 1, 463, 240, 'TOKYO (SUPER COOL) PINEAPPLE PINK 35 MG', 2.000, 2200.00, 2200.00, 4400.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2303, 1, 463, 91, 'TOKYO (SUPER COOL) PINEAPPLE PINK 50 MG', 3.000, 2200.00, 2200.00, 6600.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2304, 1, 463, 37, 'Vmate 0.7 OHM', 10.000, 1150.00, 1150.00, 11500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2305, 1, 464, 116, 'UK SALT PASSION BUBBLE GUM 50 MG', 5.000, 1700.00, 1700.00, 8500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2306, 1, 464, 207, 'UK SALT PINEAPPLE PEACH 50 MG', 5.000, 1700.00, 1700.00, 8500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2307, 1, 464, 206, 'UK SALT PINEAPPLE BUBBLE GUM 50 MG', 6.000, 1700.00, 1700.00, 10200.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2308, 1, 464, 84, 'UK SALT WATERMELON BUBBLE GUM 50 MG', 5.000, 1700.00, 1700.00, 8500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2309, 1, 465, 265, 'OXBAR PINEAPPLE BUBBLEGUM', 1.000, 1650.00, 1650.00, 1650.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2310, 1, 465, 266, 'OXBAR PASSION FRUIT BUBBLEGUM', 1.000, 1650.00, 1650.00, 1650.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2311, 1, 465, 262, 'OXBAR PINEAPPLE PASSIONFRUIT', 1.000, 1650.00, 1650.00, 1650.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2312, 1, 465, 151, 'OXBAR Pineapple mango', 1.000, 1650.00, 1650.00, 1650.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2313, 1, 465, 268, 'OXBAR MINT', 1.000, 1650.00, 1650.00, 1650.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2314, 1, 465, 207, 'UK SALT PINEAPPLE PEACH 50 MG', 1.000, 1650.00, 1650.00, 1650.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2315, 1, 465, 84, 'UK SALT WATERMELON BUBBLE GUM 50 MG', 1.000, 1650.00, 1650.00, 1650.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2316, 1, 465, 270, 'UK SALT PINEAPPLE LYCHEE 50 MG', 1.000, 1650.00, 1650.00, 1650.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2317, 1, 465, 95, 'UK SALT PINEAPPLE GRAPES 50 MG', 1.000, 1650.00, 1650.00, 1650.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2318, 1, 466, 274, 'US SALT PINEAPPLE MANGO', 1.000, 1350.00, 1350.00, 1350.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2319, 1, 466, 39, 'ARGUS 0.7 OHM', 1.000, 1800.00, 1800.00, 1800.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2320, 1, 466, 37, 'Vmate 0.7 OHM', 1.000, 1200.00, 1200.00, 1200.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2321, 1, 466, 206, 'UK SALT PINEAPPLE BUBBLE GUM 50 MG', 1.000, 1650.00, 1650.00, 1650.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2322, 1, 466, 84, 'UK SALT WATERMELON BUBBLE GUM 50 MG', 1.000, 1650.00, 1650.00, 1650.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2323, 1, 466, 207, 'UK SALT PINEAPPLE PEACH 50 MG', 1.000, 1650.00, 1650.00, 1650.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2324, 1, 466, 116, 'UK SALT PASSION BUBBLE GUM 50 MG', 1.000, 1650.00, 1650.00, 1650.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2325, 1, 467, 133, 'TOKYO (CRAZY FRUIT) GUAVA 35 MG', 1.000, 1850.00, 1850.00, 1850.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2326, 1, 467, 223, 'RELX PINK GUAVA 30 MG', 10.000, 800.00, 800.00, 8000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2327, 1, 467, 57, 'RELX WATERMELON ICE 30 MG', 10.000, 800.00, 800.00, 8000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2328, 1, 468, 258, 'XLIM PRO', 1.000, 3100.00, 3100.00, 3100.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2329, 1, 468, 1, 'CALIBURN G4 MINI', 1.000, 2450.00, 2450.00, 2450.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2330, 1, 468, 88, 'UK SALT GUAVA BUBBLE GUM 50 MG', 4.000, 1650.00, 1650.00, 6600.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2331, 1, 468, 189, 'TOKYO (SUPER COOL) BLUEBERRY WATERMELON 30 MG', 2.000, 1900.00, 1900.00, 3800.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2332, 1, 468, 195, 'TOKYO (CRAZY FRUIT) CRAZY GUAVA 50 MG', 5.000, 1800.00, 1800.00, 9000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2333, 1, 468, 91, 'TOKYO (SUPER COOL) PINEAPPLE PINK 50 MG', 3.000, 2200.00, 2200.00, 6600.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2334, 1, 468, 110, 'TOKYO (SUPER COOL) PINEAPPLE PISSION  50 MG', 3.000, 2200.00, 2200.00, 6600.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2335, 1, 469, 110, 'TOKYO (SUPER COOL) PINEAPPLE PISSION  50 MG', 2.000, 2200.00, 2200.00, 4400.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2336, 1, 469, 91, 'TOKYO (SUPER COOL) PINEAPPLE PINK 50 MG', 2.000, 2200.00, 2200.00, 4400.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2337, 1, 469, 90, 'TOKYO (SUPER COOL) PINEAPPLE MANGO 50 MG', 2.000, 2200.00, 2200.00, 4400.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2338, 1, 469, 116, 'UK SALT PASSION BUBBLE GUM 50 MG', 2.000, 1650.00, 1650.00, 3300.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2339, 1, 469, 84, 'UK SALT WATERMELON BUBBLE GUM 50 MG', 2.000, 1650.00, 1650.00, 3300.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2340, 1, 469, 206, 'UK SALT PINEAPPLE BUBBLE GUM 50 MG', 2.000, 1650.00, 1650.00, 3300.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2341, 1, 469, 207, 'UK SALT PINEAPPLE PEACH 50 MG', 2.000, 1650.00, 1650.00, 3300.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2342, 1, 470, 206, 'UK SALT PINEAPPLE BUBBLE GUM 50 MG', 1.000, 1650.00, 1650.00, 1650.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2343, 1, 470, 207, 'UK SALT PINEAPPLE PEACH 50 MG', 1.000, 1650.00, 1650.00, 1650.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2344, 1, 470, 116, 'UK SALT PASSION BUBBLE GUM 50 MG', 1.000, 1650.00, 1650.00, 1650.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2345, 1, 471, 34, 'CALIBURN G3 0.4 OHM', 1.000, 2450.00, 2450.00, 2450.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2346, 1, 472, 4, 'CALIBURN G5 LITE', 5.000, 2500.00, 2500.00, 12500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2347, 1, 472, 2, 'CALIBURN G3 LIGHT', 1.000, 2250.00, 2250.00, 2250.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2348, 1, 472, 42, 'XROS 0.4 OHM', 1.000, 2300.00, 2300.00, 2300.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2349, 1, 472, 12, 'V MATE PRO', 2.000, 2450.00, 2450.00, 4900.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2350, 1, 472, 40, 'ARGUS 0.4 OHM', 2.000, 1750.00, 1750.00, 3500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2351, 1, 472, 34, 'CALIBURN G3 0.4 OHM', 2.000, 2400.00, 2400.00, 4800.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2352, 1, 472, 1, 'CALIBURN G4 MINI', 3.000, 2450.00, 2450.00, 7350.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2353, 1, 472, 22, 'NEXLIM GO', 2.000, 3200.00, 3200.00, 6400.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2354, 1, 473, 84, 'UK SALT WATERMELON BUBBLE GUM 50 MG', 10.000, 1650.00, 1650.00, 16500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2355, 1, 473, 206, 'UK SALT PINEAPPLE BUBBLE GUM 50 MG', 5.000, 1650.00, 1650.00, 8250.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2356, 1, 473, 235, 'TOKYO (SUPER COOL) PINEAPPLE MANGO 35 MG', 5.000, 2250.00, 2250.00, 11250.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2357, 1, 474, 34, 'CALIBURN G3 0.4 OHM', 1.000, 2400.00, 2400.00, 2400.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2358, 1, 474, 110, 'TOKYO (SUPER COOL) PINEAPPLE PISSION  50 MG', 1.000, 2500.00, 2500.00, 2500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2359, 1, 474, 90, 'TOKYO (SUPER COOL) PINEAPPLE MANGO 50 MG', 1.000, 2500.00, 2500.00, 2500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2360, 1, 475, 34, 'CALIBURN G3 0.4 OHM', 5.000, 2350.00, 2350.00, 11750.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `sale_item_modifiers`
--

CREATE TABLE IF NOT EXISTS `sale_item_modifiers` (
  `id` int NOT NULL AUTO_INCREMENT,
  `sale_item_id` int NOT NULL,
  `modifier_id` int NOT NULL,
  `modifier_group_id` int NOT NULL,
  `modifier_name` varchar(100) NOT NULL COMMENT 'Store name for historical records',
  `price_adjustment` decimal(10,2) DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `sale_item_id` (`sale_item_id`),
  KEY `modifier_id` (`modifier_id`),
  KEY `modifier_group_id` (`modifier_group_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- --------------------------------------------------------

--
-- Table structure for table `sale_returns`
--

CREATE TABLE IF NOT EXISTS `sale_returns` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int DEFAULT NULL,
  `sale_id` int NOT NULL,
  `customer_id` int NOT NULL,
  `return_date` datetime DEFAULT CURRENT_TIMESTAMP,
  `total_amount` decimal(10,2) NOT NULL,
  `remarks` varchar(255) DEFAULT NULL,
  `customer_remarks` varchar(255) DEFAULT NULL,
  `payment_method` enum('cash','bank','card','upi') DEFAULT 'cash',
  `bank_account_id` int DEFAULT NULL,
  `created_by` int DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `sale_id` (`sale_id`),
  KEY `customer_id` (`customer_id`),
  KEY `idx_sale_returns_store_id` (`store_id`),
  KEY `idx_sale_returns_bank_account` (`bank_account_id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `sale_returns`
--

INSERT INTO `sale_returns` (`id`, `store_id`, `sale_id`, `customer_id`, `return_date`, `total_amount`, `remarks`, `customer_remarks`, `payment_method`, `bank_account_id`, `created_by`, `created_at`) VALUES
(1, 1, 75, 33, '2026-03-18 16:15:05', 4350.00, 'Sale Return #1', '', 'cash', NULL, NULL, '2026-03-18 11:15:05'),
(2, 1, 187, 37, '2026-04-18 14:32:31', 34350.00, 'Sale Return #2', '', 'cash', NULL, NULL, '2026-04-18 09:32:31'),
(3, 1, 210, 17, '2026-04-18 14:33:33', 8000.00, 'Sale Return #3', '', 'cash', NULL, NULL, '2026-04-18 09:33:33'),
(4, 1, 161, 34, '2026-04-30 18:00:46', 7200.00, 'Sale Return #4', '', 'cash', NULL, NULL, '2026-04-30 13:00:46'),
(5, 1, 269, 9, '2026-04-30 18:02:47', 18650.00, 'Sale Return #5', '', 'cash', NULL, NULL, '2026-04-30 13:02:47'),
(6, 1, 404, 33, '2026-05-05 14:59:28', 1900.00, 'Sale Return #6', '', 'cash', NULL, NULL, '2026-05-05 09:59:28'),
(7, 1, 400, 3, '2026-05-09 15:06:55', 2400.00, 'Sale Return #7', '', 'cash', NULL, NULL, '2026-05-09 10:06:55'),
(8, 1, 436, 57, '2026-05-15 13:31:04', 6950.00, 'Sale Return #8', '', 'cash', NULL, NULL, '2026-05-15 08:31:04');

-- --------------------------------------------------------

--
-- Table structure for table `sale_return_items`
--

CREATE TABLE IF NOT EXISTS `sale_return_items` (
  `id` int NOT NULL AUTO_INCREMENT,
  `sale_return_id` int NOT NULL,
  `item_id` int NOT NULL,
  `quantity` decimal(12,3) NOT NULL,
  `unit_price` decimal(10,2) NOT NULL,
  `total_price` decimal(10,2) NOT NULL,
  `tax_rate` decimal(5,2) DEFAULT '0.00',
  PRIMARY KEY (`id`),
  KEY `sale_return_id` (`sale_return_id`),
  KEY `item_id` (`item_id`)
) ENGINE=MyISAM AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `sale_return_items`
--

INSERT INTO `sale_return_items` (`id`, `sale_return_id`, `item_id`, `quantity`, `unit_price`, `total_price`, `tax_rate`) VALUES
(1, 1, 38, 1.000, 2400.00, 2400.00, 0.00),
(2, 1, 2, 1.000, 1950.00, 1950.00, 0.00),
(3, 2, 112, 2.000, 3600.00, 7200.00, 0.00),
(4, 2, 111, 3.000, 2250.00, 6750.00, 0.00),
(5, 2, 1, 3.000, 2500.00, 7500.00, 0.00),
(6, 2, 5, 3.000, 3100.00, 9300.00, 0.00),
(7, 2, 36, 2.000, 1800.00, 3600.00, 0.00),
(8, 3, 210, 2.000, 4000.00, 8000.00, 0.00),
(9, 4, 36, 4.000, 1800.00, 7200.00, 0.00),
(10, 5, 197, 1.000, 1900.00, 1900.00, 0.00),
(11, 5, 163, 1.000, 1900.00, 1900.00, 0.00),
(12, 5, 175, 1.000, 1900.00, 1900.00, 0.00),
(13, 5, 166, 1.000, 1900.00, 1900.00, 0.00),
(14, 5, 185, 1.000, 1900.00, 1900.00, 0.00),
(15, 5, 189, 1.000, 1900.00, 1900.00, 0.00),
(16, 5, 125, 1.000, 1900.00, 1900.00, 0.00),
(17, 5, 135, 1.000, 1900.00, 1900.00, 0.00),
(18, 5, 88, 1.000, 1700.00, 1700.00, 0.00),
(19, 5, 85, 1.000, 1750.00, 1750.00, 0.00),
(20, 6, 168, 1.000, 1900.00, 1900.00, 0.00),
(21, 7, 58, 1.000, 2400.00, 2400.00, 0.00),
(22, 8, 40, 1.000, 1800.00, 1800.00, 0.00),
(23, 8, 18, 1.000, 2900.00, 2900.00, 0.00),
(24, 8, 111, 1.000, 2250.00, 2250.00, 0.00);

-- --------------------------------------------------------

--
-- Table structure for table `settings`
--

CREATE TABLE IF NOT EXISTS `settings` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int DEFAULT NULL,
  `category_id` int NOT NULL,
  `name` varchar(100) NOT NULL,
  `code` varchar(100) NOT NULL,
  `type` enum('boolean','text','number','select') DEFAULT NULL,
  `value` text,
  `default_value` text,
  `description` text,
  `is_active` tinyint(1) DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `idx_settings_code` (`code`),
  KEY `category_id` (`category_id`),
  KEY `idx_settings_store_id` (`store_id`)
) ENGINE=MyISAM AUTO_INCREMENT=65 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `settings`
--

INSERT INTO `settings` (`id`, `store_id`, `category_id`, `name`, `code`, `type`, `value`, `default_value`, `description`, `is_active`) VALUES
(1, NULL, 1, 'Print Customer Name', 'print_cus_name', 'boolean', NULL, '1', 'Print Customer Name on Print', 1),
(2, NULL, 1, 'Print KOT', 'print_kot', 'boolean', '1', '1', 'Print Kitchen Order Ticket (KOT)', 1),
(3, NULL, 4, 'Dine In', 'dine_in', 'boolean', '0', '1', 'Enable Dine In for table Orders', 1),
(4, NULL, 4, 'Take Away', 'take_away', 'boolean', '0', '1', 'Enable Take Away orders', 1),
(5, NULL, 4, 'Delivery', 'delivery', 'boolean', '0', '1', 'Delivery Orders', 1),
(6, NULL, 1, 'Receipt Font Size', 'receipt_font_size', 'number', '16', '16', NULL, 1),
(7, NULL, 1, 'Receipt Logo Width', 'receipt_logo_width', 'number', '100', '100', 'Width of the branch logo on printed receipts (in pixels)', 1),
(8, NULL, 5, 'Barcode Logo Width', 'barcode_logo_width', 'number', '80', '80', 'Width of the branch logo on printed barcodes (in pixels)', 1),
(9, NULL, 5, 'Display Barcode Logo', 'barcode_logo_display', 'boolean', '1', '1', 'Show or hide the branch logo on printed barcodes', 1),
(10, NULL, 6, 'Show Material Items on POS', 'show_material_items_on_pos', 'boolean', '1', '0', 'Show material items on POS item list', 1),
(11, NULL, 7, 'System Timezone', 'system_timezone', 'select', 'Asia/Karachi', 'Asia/Karachi', 'Set the timezone for all date and time operations in the system. This affects reports, logs, and all time-sensitive operations.', 1),
(12, NULL, 7, 'Date Display Format', 'date_display_format', 'select', 'Y-m-d', 'Y-m-d', 'Choose how dates are displayed throughout the system (YYYY-MM-DD, DD/MM/YYYY, etc.)', 1),
(13, NULL, 6, 'Display Images on POS', 'display_images_on_pos', 'boolean', '1', '1', 'Show product images on POS item cards', 1),
(14, NULL, 6, 'Enable Kitchen Display System', 'enable_kds', 'boolean', '0', '1', 'Enable Kitchen Display System for order management', 1),
(15, NULL, 6, 'KDS Auto Refresh', 'kds_auto_refresh', 'boolean', '1', '1', 'Enable automatic refresh for KDS screens', 1),
(16, NULL, 6, 'KDS Sound Notifications', 'kds_sound_notifications', 'boolean', '1', '1', 'Enable sound notifications for new orders', 1),
(17, NULL, 9, 'Tax Calculation Method', 'tax_calculation_method', 'select', 'item_wise', 'item_wise', 'Choose how taxes are calculated: item-wise (per item) or payment method based (uniform rate per payment type)', 1),
(18, NULL, 9, 'Show Payment Method Tax Rates', 'show_payment_method_tax_rates', 'boolean', '1', '1', 'Display tax rates for different payment methods on POS interface', 1),
(19, NULL, 9, 'Enable Tax Preview on Payment Selection', 'enable_tax_preview_on_payment', 'boolean', '1', '1', 'Show updated tax amount when payment method is selected (for payment method tax mode)', 1),
(20, NULL, 10, 'KDS Record Retention Days', 'kds_record_retention_days', 'number', '7', '7', 'Number of days to keep KDS records before automatic cleanup (1-90 days)', 1),
(21, NULL, 10, 'Enable KDS Auto Cleanup', 'kds_auto_cleanup_enabled', 'boolean', '1', '1', 'Enable automatic cleanup of old KDS records', 1),
(22, NULL, 10, 'KDS Last Cleanup Date', 'kds_last_cleanup_date', 'text', '', '', 'Timestamp of last KDS cleanup operation (system managed)', 0),
(23, NULL, 1, 'Print Customer Number', 'print_cus_number', 'boolean', '1', '1', 'Print Customer Phone Number on Print', 1),
(24, NULL, 1, 'Print Customer Address', 'print_cus_address', 'boolean', '1', '1', 'Print Customer Address on Print', 1),
(25, NULL, 1, 'Dealer Branding', 'dealer_branding', 'text', 'www.itresources.com.pk', 'www.itresources.com.pk', 'Dealer company name and contact info for receipt footer', 1),
(26, NULL, 1, 'Print Date and Time', 'print_datetime', 'boolean', '1', '1', 'Display date and time on printed receipts', 1),
(27, NULL, 1, 'Print Remarks', 'print_remarks', 'boolean', '1', '1', 'Display remarks/notes on printed receipts', 1),
(28, NULL, 1, 'Print Method', 'print_method', 'select', 'popup', 'popup', 'Choose print method: Popup (browser dialog) or Direct (use configured devices)', 1),
(29, NULL, 1, 'Global Print Mode', 'global_print_mode', 'select', 'ask', 'ask', 'Global print behavior: Ask (prompt user), Auto (direct print), No (no print)', 1),
(30, NULL, 7, 'Default Language', 'default_language', 'select', 'en', 'en', 'Default system language', 1),
(31, NULL, 7, 'Language Switcher', 'language_switcher_enabled', 'boolean', '1', '1', 'Enable language switcher in header', 1),
(32, NULL, 7, 'RTL Support', 'rtl_support_enabled', 'boolean', '1', '1', 'Enable RTL (Right-to-Left) support', 1),
(33, NULL, 11, 'Enable Expense Approval', 'expense_approval_enabled', 'boolean', '0', '0', 'When enabled, all new expenses will require approval before being processed', 1),
(34, NULL, 9, 'Discount Tax Sequence', 'discount_tax_sequence', 'select', 'before_tax', 'before_tax', 'Choose whether discounts apply before GST (reduce taxable base) or after GST (on tax-inclusive total).', 1),
(35, NULL, 1, 'Receipt Print Format', 'receipt_print_format', 'select', 'thermal', 'thermal', 'Choose receipt print format: Thermal (80mm) or A4 (Letter Size)', 1),
(36, NULL, 1, 'Print Complete Shift Summary Report', 'print_complete_shift_summary', 'boolean', '0', '0', 'When enabled, prints the complete detailed shift summary report. When disabled (default), prints a short condensed summary.', 1),
(37, NULL, 1, 'Print Customer Previous Balance', 'print_cus_previous_balance', 'boolean', '0', '0', 'When enabled, the receipt will display the customer\'s outstanding balance/dues before the current transaction', 1),
(38, NULL, 7, 'System Currency', 'system_currency', 'select', 'Rs', 'Rs', 'Select the default currency symbol to be used throughout the system', 1),
(39, NULL, 1, 'KOT Font Size', 'kot_font_size', 'number', '10', '10', 'Font size for Kitchen Order Tickets (KOT) when printing to LAN printers', 1),
(40, NULL, 6, 'Subcategory Font Size', 'pos_subcategory_font_size', 'number', '500', '16', 'Font size for subcategory text displayed in POS (in pixels, recommended: 14-20)', 1),
(41, NULL, 4, 'Catering', 'catering', 'boolean', '0', '1', 'Enable Catering orders', 1),
(42, NULL, 6, 'POS Screen Type', 'pos_screen_type', 'select', 'desktop', 'touch_screen', 'Select POS interface type: Touch Screen (restaurant) shows categories/subcategories, Desktop shows search bar', 1),
(43, NULL, 6, 'Display Order Taker Selection', 'pos_display_order_taker', 'boolean', '1', '0', 'Enable to show order taker selection dropdown on POS (appears next to customer selection)', 1),
(44, NULL, 7, 'Login Authentication Method', 'login_authentication_method', 'select', 'username_password', 'username_password', 'Choose the authentication method for user login: Username/Password or PIN', 1),
(45, NULL, 6, 'List Item Order', 'pos_list_item_order', 'select', 'descending', 'descending', 'Select the order in which items appear in the POS list: Descending (newest at top) or Ascending (newest at bottom)', 1),
(46, NULL, 4, 'Display Number of Guests (Dine-In)', 'dine_in_show_number_of_guests', 'boolean', '0', '1', 'When enabled, selecting a dine-in table will ask for number of guests and display it. When disabled, the prompt and guest count are hidden.', 1),
(47, NULL, 1, 'Next Invoice Number', 'next_invoice_number', 'number', '679', '1', 'Internal: next sequential invoice number (do not edit manually)', 0),
(48, NULL, 6, 'Reset invoice number on new shift', 'pos_reset_invoice_on_shift_start', 'boolean', '0', '0', 'When enabled, invoice count starts from 1 (e.g. INV-000001) each time a new shift is opened. When disabled, invoice numbers continue in sequence across shifts.', 1),
(49, NULL, 11, 'Enable Financials (GL)', 'financials_enabled', 'boolean', '1', '1', 'When enabled, the system creates and posts journal entries (double-entry) for sales, purchases, expenses, payments, transfers, and adjustments. When disabled, day-to-day operations continue without writing to the general ledger.', 1),
(50, NULL, 1, 'Invoice Footer Note', 'invoice_footer_note', 'text', '', '', 'Optional note shown at the bottom of invoices and receipts (thermal, A4, POS preview, LAN/USB). Use multiple lines if needed.', 1),
(51, NULL, 13, 'Send sales invoice via WhatsApp', 'pos_whatsapp_invoice_enabled', 'boolean', '0', '0', 'When enabled, the WhatsApp invoice button appears on the POS after payment so staff can send the invoice text to the customer.', 1),
(52, NULL, 13, 'Customer ledger on WhatsApp', 'whatsapp_customer_ledger_enabled', 'boolean', '0', '0', 'When enabled, staff can send the customer account ledger as a WhatsApp message from the Customer Ledger screen.', 1),
(53, NULL, 12, 'ZATCA Mode', 'zatca_mode', 'select', 'phase1', 'phase1', 'ZATCA integration mode: phase1 or phase2', 1),
(54, NULL, 12, 'Enable ZATCA Phase 2', 'zatca_phase2_enabled', 'boolean', '0', '0', 'Enable Phase 2 (clearance/reporting)', 1),
(55, NULL, 12, 'ZATCA Phase 2 Environment', 'zatca_phase2_environment', 'select', 'sandbox', 'sandbox', 'sandbox or production environment', 1),
(56, NULL, 12, 'Enable ZATCA Phase 2 Worker', 'zatca_phase2_worker_enabled', 'boolean', '1', '1', 'Enable background worker for retries/reporting', 1),
(57, NULL, 12, 'ZATCA Retry Delay Seconds', 'zatca_phase2_retry_delay_seconds', 'number', '120', '120', 'Base retry delay in seconds', 1),
(58, NULL, 12, 'ZATCA Max Retries', 'zatca_phase2_max_retries', 'number', '8', '8', 'Maximum retries for failed submissions', 1),
(59, NULL, 12, 'ZATCA Reporting SLA Hours', 'zatca_phase2_reporting_sla_hours', 'number', '24', '24', 'Simplified invoice reporting deadline in hours', 1),
(60, NULL, 12, 'ZATCA Phase 2 API Base URL', 'zatca_phase2_api_base_url', 'text', 'https://sandbox.fatoora.zatca.gov.sa', 'https://sandbox.fatoora.zatca.gov.sa', 'Base URL for ZATCA Phase 2 APIs', 1),
(61, NULL, 12, 'ZATCA Phase 2 API Token', 'zatca_phase2_api_token', 'text', '', '', 'Authorization token/credential for ZATCA APIs', 1),
(62, NULL, 12, 'ZATCA Clearance Endpoint', 'zatca_phase2_clearance_endpoint', 'text', '/api/v1/invoices/clearance/single', '/api/v1/invoices/clearance/single', 'Endpoint path for standard invoice clearance', 1),
(63, NULL, 12, 'ZATCA Reporting Endpoint', 'zatca_phase2_reporting_endpoint', 'text', '/api/v1/invoices/reporting/single', '/api/v1/invoices/reporting/single', 'Endpoint path for simplified invoice reporting', 1),
(64, NULL, 12, 'ZATCA Device Identifier', 'zatca_phase2_device_identifier', 'text', '', '', 'Optional fixed EGS device identifier for hash chain', 1);

-- --------------------------------------------------------

--
-- Table structure for table `setting_categories`
--

CREATE TABLE IF NOT EXISTS `setting_categories` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  `code` varchar(50) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `code` (`code`)
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `setting_categories`
--

INSERT INTO `setting_categories` (`id`, `name`, `code`) VALUES
(1, 'Print Settings', 'print_settings'),
(2, 'FBR Integration', 'integration'),
(3, 'FBR Digital Integration', 'fbr_digital_integration'),
(4, 'Sales Orders', 'sales_orders'),
(5, 'Barcode Settings', 'barcode_settings'),
(6, 'POS', 'pos'),
(7, 'System Settings', 'system_settings'),
(8, 'KPRA Integration', 'kpra_integration'),
(9, 'Tax Settings', 'tax_settings'),
(10, 'KDS', 'kds'),
(11, 'Accounts', 'accounts'),
(12, 'ZATCA Integration', 'zatca_integration'),
(13, 'WhatsApp', 'whatsapp');

-- --------------------------------------------------------

--
-- Table structure for table `setting_options`
--

CREATE TABLE IF NOT EXISTS `setting_options` (
  `id` int NOT NULL AUTO_INCREMENT,
  `setting_id` int NOT NULL,
  `option_label` varchar(100) DEFAULT NULL,
  `option_value` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `setting_id` (`setting_id`)
) ENGINE=MyISAM AUTO_INCREMENT=54 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `setting_options`
--

INSERT INTO `setting_options` (`id`, `setting_id`, `option_label`, `option_value`) VALUES
(1, 11, 'Pakistan (Karachi)', 'Asia/Karachi'),
(2, 11, 'Pakistan (Lahore)', 'Asia/Karachi'),
(3, 11, 'Pakistan (Islamabad)', 'Asia/Karachi'),
(4, 11, 'India (Mumbai)', 'Asia/Kolkata'),
(5, 11, 'India (Delhi)', 'Asia/Kolkata'),
(6, 11, 'Bangladesh (Dhaka)', 'Asia/Dhaka'),
(7, 11, 'Sri Lanka (Colombo)', 'Asia/Colombo'),
(8, 11, 'Nepal (Kathmandu)', 'Asia/Kathmandu'),
(9, 11, 'UAE (Dubai)', 'Asia/Dubai'),
(10, 11, 'Saudi Arabia (Riyadh)', 'Asia/Riyadh'),
(11, 11, 'Qatar (Doha)', 'Asia/Qatar'),
(12, 11, 'Kuwait (Kuwait City)', 'Asia/Kuwait'),
(13, 11, 'Bahrain (Manama)', 'Asia/Bahrain'),
(14, 11, 'Oman (Muscat)', 'Asia/Muscat'),
(15, 11, 'UK (London)', 'Europe/London'),
(16, 11, 'USA (New York)', 'America/New_York'),
(17, 11, 'USA (Los Angeles)', 'America/Los_Angeles'),
(18, 11, 'Canada (Toronto)', 'America/Toronto'),
(19, 11, 'Australia (Sydney)', 'Australia/Sydney'),
(20, 11, 'UTC (Universal Time)', 'UTC'),
(21, 12, 'YYYY-MM-DD (ISO)', 'Y-m-d'),
(22, 12, 'DD/MM/YYYY', 'd/m/Y'),
(23, 12, 'MM/DD/YYYY', 'm/d/Y'),
(24, 12, 'DD-MM-YYYY', 'd-m-Y'),
(25, 12, 'MM-DD-YYYY', 'm-d-Y'),
(26, 12, 'DD.MM.YYYY', 'd.m.Y'),
(27, 12, 'MM.DD.YYYY', 'm.d.Y'),
(28, 17, 'Item-wise Tax (Current)', 'item_wise'),
(29, 17, 'Payment Method Tax', 'payment_method'),
(30, 28, 'Popup (Browser Dialog)', 'popup'),
(31, 28, 'Direct to Device', 'direct'),
(32, 29, 'Ask User', 'ask'),
(33, 29, 'Auto Print', 'auto'),
(34, 29, 'No Print', 'no'),
(35, 34, 'Before GST (reduce taxable amount)', 'before_tax'),
(36, 34, 'After GST (discount tax-inclusive total)', 'after_tax'),
(37, 35, 'Thermal (80mm)', 'thermal'),
(38, 35, 'A4 (Letter Size)', 'a4'),
(39, 38, 'Pakistani Rupee (Rs)', 'Rs'),
(40, 38, 'Saudi Riyal (SR)', 'SR'),
(41, 38, 'US Dollar ($)', '$'),
(42, 38, 'Euro (€)', '€'),
(43, 38, 'UAE Dirham (AED)', 'AED'),
(44, 42, 'Touch Screen (Restaurant)', 'touch_screen'),
(45, 42, 'Desktop', 'desktop'),
(46, 44, 'Username & Password', 'username_password'),
(47, 44, 'PIN', 'pin'),
(48, 45, 'Descending (Newest at Top)', 'descending'),
(49, 45, 'Ascending (Newest at Bottom)', 'ascending'),
(50, 53, 'Phase 1', 'phase1'),
(51, 53, 'Phase 2', 'phase2'),
(52, 55, 'Sandbox', 'sandbox'),
(53, 55, 'Production', 'production');

-- --------------------------------------------------------

--
-- Table structure for table `shifts`
--

CREATE TABLE IF NOT EXISTS `shifts` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int DEFAULT NULL,
  `branch_id` int NOT NULL DEFAULT '1',
  `user_id` int NOT NULL,
  `start_time` datetime NOT NULL,
  `end_time` datetime DEFAULT NULL,
  `opening_cash` decimal(10,2) DEFAULT '0.00',
  `closing_cash` decimal(10,2) DEFAULT '0.00',
  `expected_cash` decimal(10,2) DEFAULT '0.00',
  `actual_cash` decimal(10,2) DEFAULT '0.00',
  `discrepancy` decimal(10,2) DEFAULT '0.00',
  `status` enum('open','closed') DEFAULT 'open',
  PRIMARY KEY (`id`),
  KEY `idx_shifts_store_id` (`store_id`),
  KEY `fk_shifts_branch` (`branch_id`)
) ENGINE=MyISAM AUTO_INCREMENT=51 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `shifts`
--

INSERT INTO `shifts` (`id`, `store_id`, `branch_id`, `user_id`, `start_time`, `end_time`, `opening_cash`, `closing_cash`, `expected_cash`, `actual_cash`, `discrepancy`, `status`) VALUES
(1, 1, 1, 1, '2026-02-23 20:17:43', '2026-03-23 18:22:49', 0.00, 0.00, 503710.00, 0.00, -503710.00, 'closed'),
(2, 1, 1, 1, '2026-03-24 12:28:05', '2026-03-24 13:13:57', 0.00, 31600.00, 0.00, 31600.00, 31600.00, 'closed'),
(3, 1, 1, 1, '2026-03-25 13:07:48', '2026-03-25 14:48:08', 0.00, 7240.00, 7240.00, 7240.00, 0.00, 'closed'),
(4, 1, 1, 1, '2026-03-26 12:27:36', '2026-03-26 13:20:53', 0.00, 11600.00, 11600.00, 11600.00, 0.00, 'closed'),
(5, 1, 1, 1, '2026-03-27 13:05:09', '2026-03-27 14:06:26', 0.00, 52940.00, 52940.00, 52940.00, 0.00, 'closed'),
(6, 1, 1, 1, '2026-03-28 13:58:38', '2026-03-30 10:03:27', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(7, 1, 1, 1, '2026-03-30 10:03:49', '2026-03-30 11:06:10', 0.00, 97300.00, 97300.00, 97300.00, 0.00, 'closed'),
(8, 1, 1, 1, '2026-03-30 22:27:48', '2026-03-30 23:22:50', 0.00, 43950.00, 43950.00, 43950.00, 0.00, 'closed'),
(9, 1, 1, 1, '2026-04-01 09:41:50', '2026-04-01 11:56:55', 0.00, 184900.00, 184900.00, 184900.00, 0.00, 'closed'),
(10, 1, 1, 1, '2026-04-02 09:57:26', '2026-04-02 11:23:17', 0.00, 125950.00, 125950.00, 125950.00, 0.00, 'closed'),
(11, 1, 1, 1, '2026-04-03 11:46:10', '2026-04-03 14:04:02', 0.00, 1880.00, 1880.00, 1880.00, 0.00, 'closed'),
(12, 1, 1, 1, '2026-04-04 09:44:51', '2026-04-04 10:40:31', 0.00, 64000.00, 64000.00, 64000.00, 0.00, 'closed'),
(13, 1, 1, 1, '2026-04-06 10:29:03', '2026-04-06 17:37:07', 0.00, 12800.00, 12800.00, 12800.00, 0.00, 'closed'),
(14, 1, 1, 1, '2026-04-07 14:18:07', '2026-04-07 15:03:08', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(15, 1, 1, 1, '2026-04-08 10:08:50', '2026-04-08 11:26:44', 0.00, 281900.00, 281900.00, 281900.00, 0.00, 'closed'),
(16, 1, 1, 1, '2026-04-08 11:34:21', '2026-04-09 12:11:08', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(17, 1, 1, 1, '2026-04-09 12:23:27', '2026-04-11 13:13:55', 0.00, 44500.00, 44500.00, 44500.00, 0.00, 'closed'),
(18, 1, 1, 1, '2026-04-11 13:16:31', '2026-04-12 12:22:05', 0.00, 44000.00, 44000.00, 44000.00, 0.00, 'closed'),
(19, 1, 1, 1, '2026-04-12 12:22:34', '2026-04-12 13:47:21', 0.00, 19100.00, 19100.00, 19100.00, 0.00, 'closed'),
(20, 1, 1, 1, '2026-04-13 10:05:30', '2026-04-14 10:56:44', 0.00, 55100.00, 55100.00, 55100.00, 0.00, 'closed'),
(21, 1, 1, 1, '2026-04-15 10:03:25', '2026-04-15 11:27:12', 0.00, 39430.00, 39430.00, 39430.00, 0.00, 'closed'),
(22, 1, 1, 1, '2026-04-16 11:02:47', '2026-04-17 13:26:34', 0.00, 5560.00, 5560.00, 5560.00, 0.00, 'closed'),
(23, 1, 1, 1, '2026-04-17 13:27:22', '2026-04-18 14:34:00', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(24, 1, 1, 1, '2026-04-18 14:34:28', '2026-04-19 14:58:08', 0.00, 29450.00, 29450.00, 29450.00, 0.00, 'closed'),
(25, 1, 1, 1, '2026-04-19 14:58:39', '2026-04-19 16:02:09', 0.00, 35540.00, 35540.00, 35540.00, 0.00, 'closed'),
(26, 1, 1, 1, '2026-04-20 09:58:47', '2026-04-21 00:51:02', 0.00, 16150.00, 16150.00, 16150.00, 0.00, 'closed'),
(27, 1, 1, 1, '2026-04-21 00:51:42', '2026-04-22 11:45:41', 0.00, 12450.00, 12450.00, 12450.00, 0.00, 'closed'),
(28, 1, 1, 1, '2026-04-22 11:46:24', '2026-04-23 10:52:01', 0.00, 63500.00, 63500.00, 63500.00, 0.00, 'closed'),
(29, 1, 1, 1, '2026-04-23 10:53:43', '2026-04-24 15:08:03', 0.00, 11400.00, 11400.00, 11400.00, 0.00, 'closed'),
(30, 1, 1, 1, '2026-04-24 15:08:26', '2026-04-25 14:57:30', 0.00, 19400.00, 19400.00, 19400.00, 0.00, 'closed'),
(31, 1, 1, 1, '2026-04-25 14:58:03', '2026-04-25 17:32:46', 0.00, 44950.00, 44950.00, 44950.00, 0.00, 'closed'),
(32, 1, 1, 1, '2026-04-27 09:26:44', '2026-04-28 09:53:35', 0.00, 47800.00, 47800.00, 47800.00, 0.00, 'closed'),
(33, 1, 1, 1, '2026-04-28 09:54:09', '2026-04-29 16:50:35', 0.00, 22450.00, 22450.00, 22450.00, 0.00, 'closed'),
(34, 1, 1, 1, '2026-04-29 16:51:22', '2026-04-30 17:56:51', 0.00, 0.00, 11150.00, 0.00, -11150.00, 'closed'),
(35, 1, 1, 1, '2026-04-30 17:57:23', '2026-05-02 14:15:47', 0.00, 57000.00, 57000.00, 57000.00, 0.00, 'closed'),
(36, 1, 1, 1, '2026-05-02 16:42:58', '2026-05-02 17:33:06', 0.00, 19200.00, 19200.00, 19200.00, 0.00, 'closed'),
(37, 1, 1, 1, '2026-05-03 12:53:44', '2026-05-04 10:31:26', 0.00, 13500.00, 13500.00, 13500.00, 0.00, 'closed'),
(38, 1, 1, 1, '2026-05-04 10:31:54', '2026-05-04 11:46:30', 0.00, 0.00, 11850.00, 0.00, -11850.00, 'closed'),
(39, 1, 1, 1, '2026-05-05 14:05:55', '2026-05-05 15:36:23', 0.00, 1900.00, 1900.00, 1900.00, 0.00, 'closed'),
(40, 1, 1, 1, '2026-05-06 09:11:35', '2026-05-06 09:59:38', 0.00, 10800.00, 10800.00, 10800.00, 0.00, 'closed'),
(41, 1, 1, 1, '2026-05-06 10:09:54', '2026-05-08 15:06:03', 0.00, 16500.00, 16500.00, 16500.00, 0.00, 'closed'),
(42, 1, 1, 1, '2026-05-08 15:07:03', '2026-05-08 16:27:22', 0.00, 14100.00, 14100.00, 14100.00, 0.00, 'closed'),
(43, 1, 1, 1, '2026-05-09 15:02:57', '2026-05-11 16:06:42', 0.00, 0.00, 3500.00, 0.00, -3500.00, 'closed'),
(44, 1, 1, 2, '2026-05-10 19:35:15', NULL, 0.00, 0.00, 0.00, 0.00, 0.00, 'open'),
(45, 1, 1, 1, '2026-05-11 16:10:35', '2026-05-11 16:17:45', 0.00, 1800.00, 1800.00, 1800.00, 0.00, 'closed'),
(46, 1, 1, 1, '2026-05-12 10:02:04', '2026-05-12 11:46:17', 0.00, 121950.00, 121950.00, 121950.00, 0.00, 'closed'),
(47, 1, 1, 1, '2026-05-13 10:41:31', '2026-05-13 12:34:52', 0.00, 189400.00, 189400.00, 189400.00, 0.00, 'closed'),
(48, 1, 1, 1, '2026-05-14 10:44:50', '2026-05-15 14:35:41', 0.00, 49100.00, 49100.00, 49100.00, 0.00, 'closed'),
(49, 1, 1, 1, '2026-05-15 14:36:59', '2026-05-15 15:12:00', 0.00, 41200.00, 41200.00, 41200.00, 0.00, 'closed'),
(50, 1, 1, 1, '2026-05-16 14:37:22', NULL, 0.00, 0.00, 0.00, 0.00, 0.00, 'open');

-- --------------------------------------------------------

--
-- Table structure for table `shift_logs`
--

CREATE TABLE IF NOT EXISTS `shift_logs` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int DEFAULT NULL,
  `shift_id` int NOT NULL,
  `action_type` enum('cash_in','cash_out','note') NOT NULL,
  `amount` decimal(10,2) DEFAULT '0.00',
  `note` text,
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_shift_logs_store_id` (`store_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- --------------------------------------------------------

--
-- Table structure for table `stock_adjustments`
--

CREATE TABLE IF NOT EXISTS `stock_adjustments` (
  `id` int NOT NULL AUTO_INCREMENT,
  `adjustment_number` varchar(50) NOT NULL,
  `store_id` int NOT NULL,
  `adjustment_date` datetime DEFAULT CURRENT_TIMESTAMP,
  `total_items` int DEFAULT '0',
  `total_adjustment_value` decimal(12,2) DEFAULT '0.00',
  `total_current_stock_value` decimal(12,2) DEFAULT '0.00',
  `total_new_stock_value` decimal(12,2) DEFAULT '0.00',
  `remarks` text,
  `created_by` int NOT NULL,
  `journal_entry_id` int DEFAULT NULL COMMENT 'Reference to journal_entries table for financial tracking',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `adjustment_number` (`adjustment_number`),
  KEY `store_id` (`store_id`),
  KEY `adjustment_date` (`adjustment_date`),
  KEY `created_by` (`created_by`),
  KEY `journal_entry_id` (`journal_entry_id`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `stock_adjustments`
--

INSERT INTO `stock_adjustments` (`id`, `adjustment_number`, `store_id`, `adjustment_date`, `total_items`, `total_adjustment_value`, `total_current_stock_value`, `total_new_stock_value`, `remarks`, `created_by`, `journal_entry_id`, `created_at`) VALUES
(1, 'ADJ-20260317-8386', 1, '2026-03-17 15:47:58', 12, -1245.00, 471070.00, 469825.00, 'STOCK ADJUSTMENT', 1, 1, '2026-03-17 10:47:58'),
(2, 'ADJ-20260419-8754', 1, '2026-04-19 15:07:05', 1, -4800.00, 60000.00, 55200.00, 'received empty box', 1, 411, '2026-04-19 10:07:05'),
(3, 'ADJ-20260502-0250', 1, '2026-05-02 14:38:32', 32, -58100.00, 1130565.00, 1072465.00, '', 1, 529, '2026-05-02 09:38:32'),
(4, 'ADJ-20260502-2133', 1, '2026-05-02 14:46:59', 17, 217875.00, -217875.00, 0.00, '', 1, 530, '2026-05-02 09:46:59'),
(5, 'ADJ-20260502-8619', 1, '2026-05-02 15:01:01', 2, -880.00, 3000.00, 2120.00, '', 1, 531, '2026-05-02 10:01:01'),
(6, 'ADJ-20260502-8033', 1, '2026-05-02 15:20:59', 12, -149180.00, 149180.00, 0.00, '', 1, 532, '2026-05-02 10:20:59'),
(7, 'ADJ-20260502-7808', 1, '2026-05-02 15:31:55', 13, -110950.00, 110950.00, 0.00, '', 1, 533, '2026-05-02 10:31:55'),
(8, 'ADJ-20260502-8683', 1, '2026-05-02 15:41:11', 2, -10180.00, 10180.00, 0.00, '', 1, 534, '2026-05-02 10:41:11'),
(9, 'ADJ-20260502-3908', 1, '2026-05-02 15:49:18', 4, -15192.00, 21808.00, 6616.00, '', 1, 535, '2026-05-02 10:49:18'),
(10, 'ADJ-20260514-3880', 1, '2026-05-14 10:52:52', 2, -5428.00, 35108.00, 29680.00, '', 1, 623, '2026-05-14 05:52:52');

-- --------------------------------------------------------

--
-- Table structure for table `stock_adjustment_items`
--

CREATE TABLE IF NOT EXISTS `stock_adjustment_items` (
  `id` int NOT NULL AUTO_INCREMENT,
  `adjustment_id` int NOT NULL,
  `item_id` int NOT NULL,
  `item_name` varchar(100) NOT NULL,
  `current_quantity` decimal(12,6) NOT NULL,
  `adjustment_quantity` decimal(12,6) NOT NULL,
  `new_quantity` decimal(12,6) NOT NULL,
  `cost_price` decimal(10,2) NOT NULL,
  `current_stock_value` decimal(12,2) NOT NULL,
  `adjustment_value` decimal(12,2) NOT NULL,
  `new_stock_value` decimal(12,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `adjustment_id` (`adjustment_id`),
  KEY `item_id` (`item_id`)
) ENGINE=MyISAM AUTO_INCREMENT=98 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `stock_adjustment_items`
--

INSERT INTO `stock_adjustment_items` (`id`, `adjustment_id`, `item_id`, `item_name`, `current_quantity`, `adjustment_quantity`, `new_quantity`, `cost_price`, `current_stock_value`, `adjustment_value`, `new_stock_value`) VALUES
(1, 1, 60, 'RELX WATERMELON ICE 30 MG', 15.000000, -6.000000, 9.000000, 1500.00, 22500.00, -9000.00, 13500.00),
(2, 1, 57, 'RELX WATERMELON ICE 30 MG', 541.000000, 6.000000, 547.000000, 750.00, 405750.00, 4500.00, 410250.00),
(3, 1, 126, 'TOKYO (CLASSIC) CRAN RASP BERRY 30 MG', 1.000000, -1.000000, 0.000000, 1750.00, 1750.00, -1750.00, 0.00),
(4, 1, 124, 'TOKYO (CLASSIC) STRAWBERY KIWI 30 MG', -1.000000, 1.000000, 0.000000, 1750.00, -1750.00, 1750.00, 0.00),
(5, 1, 105, 'TOKYO (CLASSIC) WATERMELON ICE 30 MG', 8.000000, -5.000000, 3.000000, 1830.00, 14640.00, -9150.00, 5490.00),
(6, 1, 118, 'TOKYO (CLASSIC) WATERMELON ICE 50 MG', 1.000000, 6.000000, 7.000000, 1830.00, 1830.00, 10980.00, 12810.00),
(7, 1, 122, 'TOKYO (CLASSIC) WATERMELON STRAWBERY 30 MG', -1.000000, 1.000000, 0.000000, 1750.00, -1750.00, 1750.00, 0.00),
(8, 1, 67, 'TOKYO (CLASSIC) WATERMELON STRAWBERY 50 MG', 8.000000, -1.000000, 7.000000, 1750.00, 14000.00, -1750.00, 12250.00),
(9, 1, 134, 'TOKYO (CRAZY FRUIT) GUAVA 50 MG', 2.000000, -2.000000, 0.000000, 1700.00, 3400.00, -3400.00, 0.00),
(10, 1, 72, 'TOKYO (SUPER COOL) DRAGON FRUIT 35 MG', 4.000000, 2.000000, 6.000000, 1750.00, 7000.00, 3500.00, 10500.00),
(11, 1, 94, 'TOKYO (SUPER COOL) FREE BAS PINEAPPLE KIWI 0 MG', 4.000000, -1.000000, 3.000000, 1675.00, 6700.00, -1675.00, 5025.00),
(12, 1, 80, 'UK SALT GUAVA ICE 50 MG', -2.000000, 2.000000, 0.000000, 1500.00, -3000.00, 3000.00, 0.00),
(13, 2, 4, 'CALIBURN G5 LITE', 25.000000, -2.000000, 23.000000, 2400.00, 60000.00, -4800.00, 55200.00),
(14, 3, 40, 'ARGUS 0.4 OHM', 38.000000, -8.000000, 30.000000, 1680.00, 63840.00, -13440.00, 50400.00),
(15, 3, 39, 'ARGUS 0.7 OHM', 30.000000, 8.000000, 38.000000, 1580.00, 47400.00, 12640.00, 60040.00),
(16, 3, 146, 'IVG 6000 PUFF Blue Rasp berry ice 20 MG', 1.000000, 5.000000, 6.000000, 2100.00, 2100.00, 10500.00, 12600.00),
(17, 3, 144, 'IVG 6000 PUFF Strawberry watermelon ice 20 MG', 20.000000, -5.000000, 15.000000, 2100.00, 42000.00, -10500.00, 31500.00),
(18, 3, 22, 'NEXLIM GO', 6.000000, -2.000000, 4.000000, 3150.00, 18900.00, -6300.00, 12600.00),
(19, 3, 57, 'RELX WATERMELON ICE 30 MG', 17.000000, 1.000000, 18.000000, 750.00, 12750.00, 750.00, 13500.00),
(20, 3, 250, 'TOKYO (CLASSIC) BLUEBERRY WATERMELON 50 MG', 6.000000, 4.000000, 10.000000, 1750.00, 10500.00, 7000.00, 17500.00),
(21, 3, 159, 'TOKYO (CLASSIC) Iced Mango Lychee 30 mg', 20.000000, -5.000000, 15.000000, 1750.00, 35000.00, -8750.00, 26250.00),
(22, 3, 160, 'TOKYO (CLASSIC) Iced Mango Lychee 50 mg', 3.000000, 12.000000, 15.000000, 1750.00, 5250.00, 21000.00, 26250.00),
(23, 3, 161, 'TOKYO (CLASSIC) iced mango passion 30 mg', 0.000000, 1.000000, 1.000000, 1750.00, 0.00, 1750.00, 1750.00),
(24, 3, 162, 'TOKYO (CLASSIC) iced mango passion 50 mg', 11.000000, 1.000000, 12.000000, 1750.00, 19250.00, 1750.00, 21000.00),
(25, 3, 163, 'TOKYO (CLASSIC) iced strawberry watermelon 30mg', 1.000000, 5.000000, 6.000000, 1750.00, 1750.00, 8750.00, 10500.00),
(26, 3, 164, 'TOKYO (CLASSIC) iced strawberry watermelon 50mg', 26.000000, -16.000000, 10.000000, 1750.00, 45500.00, -28000.00, 17500.00),
(27, 3, 182, 'TOKYO (SUPER COOL) blood orange 35 mg', 13.000000, 1.000000, 14.000000, 1650.00, 21450.00, 1650.00, 23100.00),
(28, 3, 202, 'TOKYO (SUPER COOL) BLOOD ORANGE 50 MG', 12.000000, -1.000000, 11.000000, 1650.00, 19800.00, -1650.00, 18150.00),
(29, 3, 181, 'TOKYO (SUPER COOL) energy drink 35 mg', 1.000000, 1.000000, 2.000000, 1650.00, 1650.00, 1650.00, 3300.00),
(30, 3, 194, 'TOKYO (SUPER COOL) KIWI PASSION GUAVA 35 MG', 11.000000, 2.000000, 13.000000, 1800.00, 19800.00, 3600.00, 23400.00),
(31, 3, 78, 'TOKYO (SUPER COOL) KIWI PASSION GUAVA 50 MG', 1.000000, 14.000000, 15.000000, 1800.00, 1800.00, 25200.00, 27000.00),
(32, 3, 235, 'TOKYO (SUPER COOL) PINEAPPLE MANGO 35 MG', 16.000000, -11.000000, 5.000000, 2125.00, 34000.00, -23375.00, 10625.00),
(33, 3, 90, 'TOKYO (SUPER COOL) PINEAPPLE MANGO 50 MG', 55.000000, -27.000000, 28.000000, 2125.00, 116875.00, -57375.00, 59500.00),
(34, 3, 135, 'TOKYO (SUPER COOL) PINEAPPLE PEACH 35 MG', 1.000000, 3.000000, 4.000000, 1750.00, 1750.00, 5250.00, 7000.00),
(35, 3, 197, 'TOKYO (SUPER COOL) ROSE GRAPE 35 MG', 8.000000, 1.000000, 9.000000, 1750.00, 14000.00, 1750.00, 15750.00),
(36, 3, 167, 'TOKYO (SUPER COOL) watermelon brust 35 mg', 16.000000, 4.000000, 20.000000, 1750.00, 28000.00, 7000.00, 35000.00),
(37, 3, 200, 'TOKYO (SUPER COOL) WATERMELON BRUST 50 MG', 15.000000, -4.000000, 11.000000, 1750.00, 26250.00, -7000.00, 19250.00),
(38, 3, 88, 'UK SALT GUAVA BUBBLE GUM 50 MG', 230.000000, -8.000000, 222.000000, 1550.00, 356500.00, -12400.00, 344100.00),
(39, 3, 95, 'UK SALT PINEAPPLE GRAPES 50 MG', 26.000000, 1.000000, 27.000000, 1550.00, 40300.00, 1550.00, 41850.00),
(40, 3, 108, 'UK SALT PINEAPPLE GUAVA 50 MG', 6.000000, 10.000000, 16.000000, 1550.00, 9300.00, 15500.00, 24800.00),
(41, 3, 226, 'UK SALT PINEAPPLE ICE 50 MG', 12.000000, 3.000000, 15.000000, 1550.00, 18600.00, 4650.00, 23250.00),
(42, 3, 85, 'UK SALT PINEAPPLE MANGO 50 MG', 14.000000, -12.000000, 2.000000, 1550.00, 21700.00, -18600.00, 3100.00),
(43, 3, 38, 'Vmate 0.4 OHM', 46.000000, -3.000000, 43.000000, 1050.00, 48300.00, -3150.00, 45150.00),
(44, 3, 37, 'Vmate 0.7 OHM', 39.000000, 3.000000, 42.000000, 1050.00, 40950.00, 3150.00, 44100.00),
(45, 3, 18, 'XLIM GO 2', 2.000000, -1.000000, 1.000000, 2650.00, 5300.00, -2650.00, 2650.00),
(46, 4, 126, 'TOKYO (CLASSIC) CRAN RASP BERRY 30 MG', -13.000000, 13.000000, 0.000000, 1750.00, -22750.00, 22750.00, 0.00),
(47, 4, 125, 'TOKYO (CLASSIC) GUAVA PEACH 30 MG', -4.000000, 4.000000, 0.000000, 1750.00, -7000.00, 7000.00, 0.00),
(48, 4, 214, 'TOKYO (CLASSIC) HONEY PEACH 35 MG', -2.000000, 2.000000, 0.000000, 1750.00, -3500.00, 3500.00, 0.00),
(49, 4, 228, 'TOKYO (CLASSIC) ICED MINT 30 MG', -3.000000, 3.000000, 0.000000, 1750.00, -5250.00, 5250.00, 0.00),
(50, 4, 129, 'TOKYO (CLASSIC) STRAWBERY LYCHEE 50 MG', -8.000000, 8.000000, 0.000000, 1750.00, -14000.00, 14000.00, 0.00),
(51, 4, 118, 'TOKYO (CLASSIC) WATERMELON ICE 50 MG', -40.000000, 40.000000, 0.000000, 1830.00, -73200.00, 73200.00, 0.00),
(52, 4, 67, 'TOKYO (CLASSIC) WATERMELON STRAWBERY 50 MG', -1.000000, 1.000000, 0.000000, 1750.00, -1750.00, 1750.00, 0.00),
(53, 4, 222, 'TOKYO (CRAZY FRUIT) GRAPE WINE 35 MG', -5.000000, 5.000000, 0.000000, 1650.00, -8250.00, 8250.00, 0.00),
(54, 4, 132, 'TOKYO (SUPER COOL) DRAGON FRUIT 50 MG', -1.000000, 1.000000, 0.000000, 1750.00, -1750.00, 1750.00, 0.00),
(55, 4, 169, 'TOKYO (SUPER COOL) Green Apple 35 mg', -1.000000, 1.000000, 0.000000, 1750.00, -1750.00, 1750.00, 0.00),
(56, 4, 184, 'TOKYO (SUPER COOL) passion fruit 50 mg', -7.000000, 7.000000, 0.000000, 1750.00, -12250.00, 12250.00, 0.00),
(57, 4, 138, 'TOKYO (SUPER COOL) PINEAPPLE GUAVA 50 MG', -14.000000, 14.000000, 0.000000, 1800.00, -25200.00, 25200.00, 0.00),
(58, 4, 176, 'TOKYO (SUPER COOL) Pineapple lychee 50 mg', -9.000000, 9.000000, 0.000000, 1750.00, -15750.00, 15750.00, 0.00),
(59, 4, 91, 'TOKYO (SUPER COOL) PINEAPPLE PINK 50 MG', -1.000000, 1.000000, 0.000000, 2125.00, -2125.00, 2125.00, 0.00),
(60, 4, 100, 'TOKYO (SUPER COOL) WATERMELON BUBBLE GUM 50 MG', -1.000000, 1.000000, 0.000000, 1750.00, -1750.00, 1750.00, 0.00),
(61, 4, 206, 'UK SALT PINEAPPLE BUBBLE GUM 50 MG', -13.000000, 13.000000, 0.000000, 1500.00, -19500.00, 19500.00, 0.00),
(62, 4, 111, 'XLIM GO', -1.000000, 1.000000, 0.000000, 2100.00, -2100.00, 2100.00, 0.00),
(63, 5, 156, 'RELX POD PRO 2-MENTHOL EXTRA 5%', 4.000000, -4.000000, 0.000000, 750.00, 3000.00, -3000.00, 0.00),
(64, 5, 42, 'XROS 0.4 OHM', 0.000000, 1.000000, 1.000000, 2120.00, 0.00, 2120.00, 2120.00),
(65, 6, 109, 'UK SALT PINEAPPLE MINT 50 MG', 7.000000, -7.000000, 0.000000, 1550.00, 10850.00, -10850.00, 0.00),
(66, 6, 131, 'TOKYO (CLASSIC) CRAN RASP BERRY 50 MG', 13.000000, -13.000000, 0.000000, 1750.00, 22750.00, -22750.00, 0.00),
(67, 6, 204, 'TOKYO (CLASSIC) EXTREME BLUEBERY WATERMELON 60 MG', 4.000000, -4.000000, 0.000000, 1700.00, 6800.00, -6800.00, 0.00),
(68, 6, 203, 'TOKYO (CLASSIC) EXTREME CRAN RASP BERRY 60 MG', 1.000000, -1.000000, 0.000000, 1680.00, 1680.00, -1680.00, 0.00),
(69, 6, 213, 'TOKYO (CLASSIC) HONEY PEACH 50 MG', 2.000000, -2.000000, 0.000000, 1750.00, 3500.00, -3500.00, 0.00),
(70, 6, 158, 'TOKYO (CLASSIC) Iced Strawberry lychee 50 mg', 9.000000, -9.000000, 0.000000, 1750.00, 15750.00, -15750.00, 0.00),
(71, 6, 191, 'TOKYO (CLASSIC) ICED WATERMELON 50 MG', 7.000000, -7.000000, 0.000000, 1750.00, 12250.00, -12250.00, 0.00),
(72, 6, 113, 'TOKYO (CLASSIC) MANGO LASSI 50 MG', 10.000000, -10.000000, 0.000000, 2125.00, 21250.00, -21250.00, 0.00),
(73, 6, 106, 'TOKYO (CLASSIC) MANGO LYCHEE 50 MG', 5.000000, -5.000000, 0.000000, 1750.00, 8750.00, -8750.00, 0.00),
(74, 6, 104, 'TOKYO (CLASSIC) PISSION FRUIT 50 MG', 2.000000, -2.000000, 0.000000, 1800.00, 3600.00, -3600.00, 0.00),
(75, 6, 66, 'TOKYO (CLASSIC) STRAWBERY KIWI 50 MG', 1.000000, -1.000000, 0.000000, 1750.00, 1750.00, -1750.00, 0.00),
(76, 6, 105, 'TOKYO (CLASSIC) WATERMELON ICE 30 MG', 23.000000, -23.000000, 0.000000, 1750.00, 40250.00, -40250.00, 0.00),
(77, 7, 166, 'TOKYO (SUPER COOL) Watermelon bubblegum 35 mg', 1.000000, -1.000000, 0.000000, 1750.00, 1750.00, -1750.00, 0.00),
(78, 7, 141, 'TOKYO (SUPER COOL) ROSE GRAPE 50 MG', 1.000000, -1.000000, 0.000000, 1750.00, 1750.00, -1750.00, 0.00),
(79, 7, 97, 'TOKYO (SUPER COOL) PISSION FRUIT KIWI 50 MG', 2.000000, -2.000000, 0.000000, 1750.00, 3500.00, -3500.00, 0.00),
(80, 7, 234, 'TOKYO (SUPER COOL) PINEAPPLE PISSION 35 MG', 3.000000, -3.000000, 0.000000, 2125.00, 6375.00, -6375.00, 0.00),
(81, 7, 110, 'TOKYO (SUPER COOL) PINEAPPLE PISSION  50 MG', 13.000000, -13.000000, 0.000000, 2125.00, 27625.00, -27625.00, 0.00),
(82, 7, 73, 'TOKYO (SUPER COOL) PINEAPPLE LYCHEE 50 MG', 10.000000, -10.000000, 0.000000, 1750.00, 17500.00, -17500.00, 0.00),
(83, 7, 175, 'TOKYO (SUPER COOL) Pineapple lychee 35 mg', 1.000000, -1.000000, 0.000000, 1750.00, 1750.00, -1750.00, 0.00),
(84, 7, 185, 'TOKYO (SUPER COOL) PINEAPPLE GUAVA 35 MG', 8.000000, -8.000000, 0.000000, 1800.00, 14400.00, -14400.00, 0.00),
(85, 7, 183, 'TOKYO (SUPER COOL) passion fruit 30 mg', 10.000000, -10.000000, 0.000000, 1750.00, 17500.00, -17500.00, 0.00),
(86, 7, 172, 'TOKYO (SUPER COOL) mighty mint 50 mg', 1.000000, -1.000000, 0.000000, 1750.00, 1750.00, -1750.00, 0.00),
(87, 7, 217, 'TOKYO (SUPER COOL) EXTREME GUAVA PEACH 60 MG', 5.000000, -5.000000, 0.000000, 1680.00, 8400.00, -8400.00, 0.00),
(88, 7, 71, 'TOKYO (SUPER COOL) ENERGY DRINK 50 MG', 1.000000, -1.000000, 0.000000, 1650.00, 1650.00, -1650.00, 0.00),
(89, 7, 187, 'TOKYO (SUPER COOL) BLUE PINEAPPLE 50 MG', 4.000000, -4.000000, 0.000000, 1750.00, 7000.00, -7000.00, 0.00),
(90, 8, 165, 'TOKYO (SUPER COOL) Pineapple ice 35 mg', 5.000000, -5.000000, 0.000000, 1700.00, 8500.00, -8500.00, 0.00),
(91, 8, 215, 'TOKYO (SUPER COOL) EXTREME PINEAPPLE PEACH 60 MG', 1.000000, -1.000000, 0.000000, 1680.00, 1680.00, -1680.00, 0.00),
(92, 9, 236, 'krush spearmint 50 MG', 2.000000, 2.000000, 4.000000, 1654.00, 3308.00, 3308.00, 6616.00),
(93, 9, 133, 'TOKYO (CRAZY FRUIT) GUAVA 35 MG', 1.000000, -1.000000, 0.000000, 1750.00, 1750.00, -1750.00, 0.00),
(94, 9, 233, 'TOKYO (CRAZY FRUIT) GRAPE WINE 50 MG', 5.000000, -5.000000, 0.000000, 1650.00, 8250.00, -8250.00, 0.00),
(95, 9, 195, 'TOKYO (CRAZY FRUIT) CRAZY GUAVA 50 MG', 5.000000, -5.000000, 0.000000, 1700.00, 8500.00, -8500.00, 0.00),
(96, 10, 42, 'XROS 0.4 OHM', 15.000000, -1.000000, 14.000000, 2120.00, 31800.00, -2120.00, 29680.00),
(97, 10, 236, 'krush spearmint 50 MG', 2.000000, -2.000000, 0.000000, 1654.00, 3308.00, -3308.00, 0.00);

-- --------------------------------------------------------

--
-- Table structure for table `stock_transfers`
--

CREATE TABLE IF NOT EXISTS `stock_transfers` (
  `id` int NOT NULL AUTO_INCREMENT,
  `transfer_number` varchar(50) NOT NULL,
  `from_store_id` int NOT NULL,
  `to_store_id` int NOT NULL,
  `transfer_date` datetime DEFAULT CURRENT_TIMESTAMP,
  `status` enum('pending','approved','in_transit','received','cancelled') DEFAULT 'pending',
  `total_items` int DEFAULT '0',
  `total_quantity` decimal(12,6) DEFAULT '0.000000',
  `notes` text,
  `requested_by` int DEFAULT NULL,
  `approved_by` int DEFAULT NULL,
  `received_by` int DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `transfer_number` (`transfer_number`),
  KEY `from_store_id` (`from_store_id`),
  KEY `to_store_id` (`to_store_id`),
  KEY `status` (`status`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- --------------------------------------------------------

--
-- Table structure for table `stock_transfer_items`
--

CREATE TABLE IF NOT EXISTS `stock_transfer_items` (
  `id` int NOT NULL AUTO_INCREMENT,
  `to_store_id` int DEFAULT NULL,
  `from_store_id` int DEFAULT NULL,
  `transfer_id` int NOT NULL,
  `item_id` int NOT NULL,
  `item_name` varchar(100) NOT NULL,
  `quantity` decimal(12,6) NOT NULL,
  `cost_price` decimal(10,2) DEFAULT NULL,
  `remarks` text,
  PRIMARY KEY (`id`),
  KEY `transfer_id` (`transfer_id`),
  KEY `item_id` (`item_id`),
  KEY `idx_stock_transfer_items_from_store_id` (`from_store_id`),
  KEY `idx_stock_transfer_items_to_store_id` (`to_store_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- --------------------------------------------------------

--
-- Table structure for table `stores`
--

CREATE TABLE IF NOT EXISTS `stores` (
  `id` int NOT NULL AUTO_INCREMENT,
  `branch_id` int NOT NULL DEFAULT '1',
  `store_name` varchar(100) NOT NULL,
  `store_code` varchar(20) NOT NULL,
  `address` text,
  `phone` varchar(20) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `manager_name` varchar(100) DEFAULT NULL,
  `is_active` tinyint(1) DEFAULT '1',
  `is_default` tinyint(1) DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `store_code` (`store_code`),
  KEY `idx_stores_branch_id` (`branch_id`),
  KEY `idx_stores_active` (`is_active`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `stores`
--

INSERT INTO `stores` (`id`, `branch_id`, `store_name`, `store_code`, `address`, `phone`, `email`, `manager_name`, `is_active`, `is_default`, `created_at`) VALUES
(1, 1, 'Main Store', 'MAIN', 'Main Store Address', '', '', 'Store Manager', 1, 1, '2025-11-05 17:16:15');

-- --------------------------------------------------------

--
-- Table structure for table `store_inventory`
--

CREATE TABLE IF NOT EXISTS `store_inventory` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int NOT NULL,
  `item_id` int NOT NULL,
  `quantity` decimal(12,6) DEFAULT '0.000000',
  `last_updated` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `store_item_unique` (`store_id`,`item_id`),
  KEY `store_id` (`store_id`),
  KEY `item_id` (`item_id`)
) ENGINE=MyISAM AUTO_INCREMENT=120 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `store_inventory`
--

INSERT INTO `store_inventory` (`id`, `store_id`, `item_id`, `quantity`, `last_updated`) VALUES
(1, 1, 1, 5.000000, '2026-03-01 10:40:16'),
(2, 1, 2, 7.000000, '2026-03-01 10:40:16'),
(3, 1, 3, 18.000000, '2026-03-01 10:40:16'),
(4, 1, 4, 23.000000, '2026-04-19 10:07:05'),
(5, 1, 9, 13.000000, '2026-03-01 10:40:16'),
(6, 1, 14, 6.000000, '2026-03-01 10:40:16'),
(7, 1, 15, 10.000000, '2026-03-01 10:40:16'),
(8, 1, 19, 13.000000, '2026-03-01 10:40:16'),
(9, 1, 22, 4.000000, '2026-05-02 09:38:32'),
(10, 1, 29, 3.000000, '2026-03-01 10:40:16'),
(11, 1, 33, 2.000000, '2026-03-01 10:40:16'),
(12, 1, 34, 2.000000, '2026-03-01 10:40:16'),
(13, 1, 38, 43.000000, '2026-05-02 09:38:32'),
(14, 1, 40, 30.000000, '2026-05-02 09:38:32'),
(15, 1, 44, 18.000000, '2026-03-01 10:40:16'),
(16, 1, 45, 4.000000, '2026-03-01 10:40:16'),
(17, 1, 46, 10.000000, '2026-03-01 10:40:16'),
(18, 1, 57, 18.000000, '2026-05-02 09:38:32'),
(19, 1, 60, 9.000000, '2026-03-17 10:47:58'),
(20, 1, 61, 5.000000, '2026-03-01 10:40:16'),
(21, 1, 62, 3.000000, '2026-03-01 10:40:16'),
(22, 1, 64, 3.000000, '2026-03-01 10:40:16'),
(23, 1, 70, 1.000000, '2026-03-01 10:40:16'),
(24, 1, 71, 0.000000, '2026-05-02 10:31:55'),
(25, 1, 79, 11.000000, '2026-03-01 10:40:16'),
(26, 1, 80, 0.000000, '2026-03-17 10:47:58'),
(27, 1, 84, 2.000000, '2026-03-01 10:40:16'),
(28, 1, 89, 10.000000, '2026-03-01 10:40:16'),
(29, 1, 92, 9.000000, '2026-03-01 10:40:16'),
(30, 1, 93, 10.000000, '2026-03-01 10:40:16'),
(31, 1, 94, 3.000000, '2026-03-17 10:47:58'),
(32, 1, 95, 27.000000, '2026-05-02 09:38:32'),
(33, 1, 97, 0.000000, '2026-05-02 10:31:55'),
(34, 1, 99, 3.000000, '2026-03-01 10:40:16'),
(35, 1, 101, 5.000000, '2026-03-01 10:40:16'),
(36, 1, 103, 3.000000, '2026-03-01 10:40:16'),
(37, 1, 104, 0.000000, '2026-05-02 10:20:59'),
(38, 1, 105, 0.000000, '2026-05-02 10:20:59'),
(39, 1, 106, 0.000000, '2026-05-02 10:20:59'),
(40, 1, 111, 0.000000, '2026-05-02 09:46:59'),
(41, 1, 112, 4.000000, '2026-03-01 10:40:16'),
(42, 1, 114, 10.000000, '2026-03-01 10:40:16'),
(43, 1, 115, 3.000000, '2026-03-01 10:40:16'),
(44, 1, 116, 43.000000, '2026-03-01 10:40:16'),
(45, 1, 118, 0.000000, '2026-05-02 09:46:59'),
(46, 1, 126, 0.000000, '2026-05-02 09:46:59'),
(47, 1, 124, 0.000000, '2026-03-17 10:47:58'),
(48, 1, 122, 0.000000, '2026-03-17 10:47:58'),
(49, 1, 67, 0.000000, '2026-05-02 09:46:59'),
(50, 1, 134, 0.000000, '2026-03-17 10:47:58'),
(51, 1, 72, 6.000000, '2026-03-17 10:47:58'),
(52, 1, 39, 38.000000, '2026-05-02 09:38:32'),
(53, 1, 146, 6.000000, '2026-05-02 09:38:32'),
(54, 1, 144, 15.000000, '2026-05-02 09:38:32'),
(55, 1, 250, 10.000000, '2026-05-02 09:38:32'),
(56, 1, 159, 15.000000, '2026-05-02 09:38:32'),
(57, 1, 160, 15.000000, '2026-05-02 09:38:32'),
(58, 1, 161, 1.000000, '2026-05-02 09:38:32'),
(59, 1, 162, 12.000000, '2026-05-02 09:38:32'),
(60, 1, 163, 6.000000, '2026-05-02 09:38:32'),
(61, 1, 164, 10.000000, '2026-05-02 09:38:32'),
(62, 1, 182, 14.000000, '2026-05-02 09:38:32'),
(63, 1, 202, 11.000000, '2026-05-02 09:38:32'),
(64, 1, 181, 2.000000, '2026-05-02 09:38:32'),
(65, 1, 194, 13.000000, '2026-05-02 09:38:32'),
(66, 1, 78, 15.000000, '2026-05-02 09:38:32'),
(67, 1, 235, 5.000000, '2026-05-02 09:38:32'),
(68, 1, 90, 28.000000, '2026-05-02 09:38:32'),
(69, 1, 135, 4.000000, '2026-05-02 09:38:32'),
(70, 1, 197, 9.000000, '2026-05-02 09:38:32'),
(71, 1, 167, 20.000000, '2026-05-02 09:38:32'),
(72, 1, 200, 11.000000, '2026-05-02 09:38:32'),
(73, 1, 88, 222.000000, '2026-05-02 09:38:32'),
(74, 1, 108, 16.000000, '2026-05-02 09:38:32'),
(75, 1, 226, 15.000000, '2026-05-02 09:38:32'),
(76, 1, 85, 2.000000, '2026-05-02 09:38:32'),
(77, 1, 37, 42.000000, '2026-05-02 09:38:32'),
(78, 1, 18, 1.000000, '2026-05-02 09:38:32'),
(79, 1, 125, 0.000000, '2026-05-02 09:46:59'),
(80, 1, 214, 0.000000, '2026-05-02 09:46:59'),
(81, 1, 228, 0.000000, '2026-05-02 09:46:59'),
(82, 1, 129, 0.000000, '2026-05-02 09:46:59'),
(83, 1, 222, 0.000000, '2026-05-02 09:46:59'),
(84, 1, 132, 0.000000, '2026-05-02 09:46:59'),
(85, 1, 169, 0.000000, '2026-05-02 09:46:59'),
(86, 1, 184, 0.000000, '2026-05-02 09:46:59'),
(87, 1, 138, 0.000000, '2026-05-02 09:46:59'),
(88, 1, 176, 0.000000, '2026-05-02 09:46:59'),
(89, 1, 91, 0.000000, '2026-05-02 09:46:59'),
(90, 1, 100, 0.000000, '2026-05-02 09:46:59'),
(91, 1, 206, 0.000000, '2026-05-02 09:46:59'),
(92, 1, 156, 0.000000, '2026-05-02 10:01:01'),
(93, 1, 42, 14.000000, '2026-05-14 05:52:52'),
(94, 1, 109, 0.000000, '2026-05-02 10:20:59'),
(95, 1, 131, 0.000000, '2026-05-02 10:20:59'),
(96, 1, 204, 0.000000, '2026-05-02 10:20:59'),
(97, 1, 203, 0.000000, '2026-05-02 10:20:59'),
(98, 1, 213, 0.000000, '2026-05-02 10:20:59'),
(99, 1, 158, 0.000000, '2026-05-02 10:20:59'),
(100, 1, 191, 0.000000, '2026-05-02 10:20:59'),
(101, 1, 113, 0.000000, '2026-05-02 10:20:59'),
(102, 1, 66, 0.000000, '2026-05-02 10:20:59'),
(103, 1, 166, 0.000000, '2026-05-02 10:31:55'),
(104, 1, 141, 0.000000, '2026-05-02 10:31:55'),
(105, 1, 234, 0.000000, '2026-05-02 10:31:55'),
(106, 1, 110, 0.000000, '2026-05-02 10:31:55'),
(107, 1, 73, 0.000000, '2026-05-02 10:31:55'),
(108, 1, 175, 0.000000, '2026-05-02 10:31:55'),
(109, 1, 185, 0.000000, '2026-05-02 10:31:55'),
(110, 1, 183, 0.000000, '2026-05-02 10:31:55'),
(111, 1, 172, 0.000000, '2026-05-02 10:31:55'),
(112, 1, 217, 0.000000, '2026-05-02 10:31:55'),
(113, 1, 187, 0.000000, '2026-05-02 10:31:55'),
(114, 1, 165, 0.000000, '2026-05-02 10:41:11'),
(115, 1, 215, 0.000000, '2026-05-02 10:41:11'),
(116, 1, 236, 0.000000, '2026-05-14 05:52:52'),
(117, 1, 133, 0.000000, '2026-05-02 10:49:18'),
(118, 1, 233, 0.000000, '2026-05-02 10:49:18'),
(119, 1, 195, 0.000000, '2026-05-02 10:49:18');

-- --------------------------------------------------------

--
-- Table structure for table `sub_categories`
--

CREATE TABLE IF NOT EXISTS `sub_categories` (
  `id` int NOT NULL AUTO_INCREMENT,
  `category_id` int NOT NULL,
  `name` varchar(100) NOT NULL,
  `display_color` varchar(50) DEFAULT NULL COMMENT 'Color for POS subcategory display',
  PRIMARY KEY (`id`),
  KEY `category_id` (`category_id`),
  KEY `idx_display_color` (`display_color`)
) ENGINE=MyISAM AUTO_INCREMENT=222 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `sub_categories`
--

INSERT INTO `sub_categories` (`id`, `category_id`, `name`, `display_color`) VALUES
(1, 1, 'POD', NULL),
(2, 2, 'POD PEACH BLUE RASPBERRY 50 MG', NULL),
(3, 2, 'POD WATERMELON CHILL 50 MG', NULL),
(4, 2, 'POD WATERMELON ICE 20 MG', NULL),
(5, 2, 'POD WATERMELON ICE 50 MG', NULL),
(6, 2, 'POD WATERMELON BUBBLE GUM ICE 35 MG', NULL),
(7, 2, 'POD', NULL),
(8, 2, 'POD PINEAPPLE ICE 55 MG', NULL),
(9, 2, 'POD BABY BEAR ICE 55 MG', NULL),
(10, 2, 'POD SPEARMINT ICE 55 MG', NULL),
(11, 2, 'POD PINEAPPLE COCONUT 55 MG', NULL),
(12, 2, 'POD WATERMELON STRAWBERY 55 MG', NULL),
(13, 3, '0.4 OHM', NULL),
(14, 3, '0.7 OHM', NULL),
(15, 3, '0.6 OHM', NULL),
(16, 3, 'STRAWBERY BRUST 30 MG', NULL),
(17, 3, 'MANTHOL EXTRA 50 MG', NULL),
(18, 3, 'RED BUZZ 30 MG', NULL),
(19, 3, 'CRISP APPLE 30 MG', NULL),
(20, 3, 'PINEAPPLE DEILGHT 30 MG', NULL),
(21, 3, 'PASSION FRUIT 30 MG', NULL),
(22, 3, 'MANGO 30 MG', NULL),
(23, 3, 'MINT FREEZE 50 MG', NULL),
(24, 3, 'CRAN BERRY BLAST 30 MG', NULL),
(25, 3, 'HONEY MELON 30 MG', NULL),
(26, 3, 'WATERMELON ICE 30 MG', NULL),
(27, 4, 'PINK GUAVA 30 MG', NULL),
(28, 4, 'PINEAPPLE 30 MG', NULL),
(29, 5, 'WATERMELON ICE 30 MG', NULL),
(30, 5, 'PINEAPPLE 55 MG', NULL),
(31, 5, 'RED BUZZ 55 MG', NULL),
(32, 5, 'PINEAPPLE ICE 55MG', NULL),
(33, 5, 'COLA 55 MG', NULL),
(34, 5, 'TRIPPLE MANGO 55 MG', NULL),
(35, 5, 'STRAWBERY KIWI 50 MG', NULL),
(36, 5, 'WATERMELON STRAWBERY 50 MG', NULL),
(37, 5, 'BLUEBERRY STRAWBERY 30 MG', NULL),
(38, 5, 'HONEY MELON 50 MG', NULL),
(39, 5, 'PEACH WATERMELON 50 MG', NULL),
(40, 5, 'ENERGY DRINK 50 MG', NULL),
(41, 5, 'DRAGON FRUIT 35 MG', NULL),
(42, 5, 'PINEAPPLE LYCHEE 50 MG', NULL),
(43, 5, 'PINEAPPLE PEACH 50 MG', NULL),
(44, 5, 'POMEGRANTE 50 MG', NULL),
(45, 5, 'PASSION MELON 50 MG', NULL),
(46, 5, 'SPEARMINT 50 MG', NULL),
(47, 5, 'KIWI PASSION GUAVA 50 MG', NULL),
(48, 5, 'MIX FLAVOUR', NULL),
(49, 5, 'GUAVA ICE 50 MG', NULL),
(50, 5, 'WATERMELON 30 MG', NULL),
(51, 5, 'PINEAPPLE 50 MG', NULL),
(52, 5, 'LYCHEE PASSION 50 MG', NULL),
(53, 5, 'WATERMELON BUBBLE GUM 50 MG', NULL),
(54, 5, 'PINEAPPLE MANGO 50 MG', NULL),
(55, 5, 'GRAPE ICE 50 MG', NULL),
(56, 5, 'MINT BUBBLE GUM 50 MG', NULL),
(57, 5, 'GUAVA BUBBLE GUM 50 MG', NULL),
(58, 5, 'PASSION FRUIT 50 MG', NULL),
(59, 5, 'PINEAPPLE PINK 50 MG', NULL),
(60, 5, 'LEMON 0 MG', NULL),
(61, 5, 'MANGO STEAM 0 MG', NULL),
(62, 5, 'PINEAPPLE KIWI 0 MG', NULL),
(63, 5, 'PINEAPPLE GRAPES 50 MG', NULL),
(64, 5, 'PINEAPPLE STRAWBERRY 50 MG', NULL),
(65, 5, 'PISSION FRUIT KIWI 50 MG', NULL),
(66, 5, 'PINEAPPLE LIMCA 50 MG', NULL),
(67, 5, 'LYCHEE ICE 50 MG', NULL),
(68, 5, 'MANGO BLUEBERRY 50 MG', NULL),
(69, 5, 'PEACH ICE 50 MG', NULL),
(70, 5, 'BLUEBERRY ICE 50 MG', NULL),
(71, 5, 'PISSION FRUIT 50 MG', NULL),
(72, 5, 'MANGO LYCHEE 50 MG', NULL),
(73, 5, 'TRIPPLE MANGO 35 MG', NULL),
(74, 5, 'PINEAPPLE GUAVA 50 MG', NULL),
(75, 5, 'PINEAPPLE MINT 50 MG', NULL),
(76, 5, 'PINEAPPLE PISSION  50 MG', NULL),
(77, 5, 'MANGO LASSI 50 MG', NULL),
(78, 5, 'PASSION BUBBLE GUM 50 MG', NULL),
(79, 5, 'PINEAPPLE ICE  50 MG', NULL),
(80, 5, 'WATERMELON ICE 50 MG', NULL),
(81, 5, 'MANGO LASSI 35 MG', NULL),
(82, 5, 'PINEAPPLE ICE  30 MG', NULL),
(83, 3, '0.5 OHM', NULL),
(84, 5, 'WATERMELON STRAWBERY 30 MG', NULL),
(85, 6, 'STRAWBERY LYCHEE 30 MG', NULL),
(86, 6, 'STRAWBERY KIWI 30 MG', NULL),
(87, 5, 'GUAVA PEACH 30 MG', NULL),
(88, 6, 'CRAN RASP BERRY 30 MG', NULL),
(89, 5, 'PINEAPPLE BLUEBERRY 35 MG', NULL),
(90, 5, 'WATERMELON BLUEBERRY 50 MG', NULL),
(91, 5, 'STRAWBERY LYCHEE 50 MG', NULL),
(92, 5, 'GUAVA PEACH 50 MG', NULL),
(93, 5, 'CRAN RASP BERRY 50 MG', NULL),
(94, 5, 'DRAGON FRUIT 50 MG', NULL),
(95, 5, 'GUAVA 35 MG', NULL),
(96, 5, 'GUAVA 50 MG', NULL),
(97, 5, 'PINEAPPLE PEACH 35 MG', NULL),
(98, 6, 'TRIPPLE MANGO 50 MG', NULL),
(99, 6, 'SPEARMINT 35 MG', NULL),
(100, 6, 'ROSE GRAPE 50 MG', NULL),
(101, 6, 'COLA 50 MG', NULL),
(102, 6, 'GREAN APPLE 50 MG', NULL),
(103, 5, 'TRIPPLE BERRIES 50 MG', NULL),
(104, 2, 'Strawberry watermelon ice 20 MG', NULL),
(105, 2, 'Watermelon Ice 20 MG', NULL),
(106, 2, 'Blue Rasp berry ice 20 MG', NULL),
(107, 2, 'Tripple Mango 30mg', NULL),
(108, 2, 'Cookie and Cream 30mg', NULL),
(109, 2, 'Lotus Cheese cake 30mg', NULL),
(110, 2, 'Salted Caramel 30mg', NULL),
(111, 6, 'Pineapple mango', NULL),
(112, 6, 'Pineapple passion', NULL),
(113, 6, 'Mint bubblegum', NULL),
(114, 6, 'Pink bubblegum', NULL),
(115, 1, 'RELX ARTISAN 2 PLUS-BLACK WAVE POD', NULL),
(116, 3, 'RELX POD PRO 2-MENTHOL EXTRA 5% POD', NULL),
(117, 6, 'Iced Strawberry lychee 50 mg', NULL),
(118, 6, 'Iced Mango Lychee 30 mg', NULL),
(119, 6, 'Iced Mango Lychee 50 mg', NULL),
(120, 6, 'iced mango passion 30 mg', NULL),
(121, 6, 'iced mango passion 50 mg', NULL),
(122, 6, 'iced strawberry watermelon 30 mg', NULL),
(123, 6, 'iced strawberry watermelon 50mg', NULL),
(124, 6, 'Pineapple ice 35 mg', NULL),
(125, 6, 'Watermelon bubblegum 35 mg', NULL),
(126, 6, 'watermelon brust 35 mg', NULL),
(127, 6, 'passion fruit kivi 35 mg', NULL),
(128, 6, 'Green Apple 35 mg', NULL),
(129, 6, 'Green Apple 50 mg', NULL),
(130, 6, 'mighty mint 35 mg', NULL),
(131, 6, 'mighty mint 50 mg', NULL),
(132, 6, 'pineapple peach 30 mg', NULL),
(133, 6, 'Pineapple lychee 35 mg', NULL),
(134, 6, 'Iced guava peach 30 mg', NULL),
(135, 6, 'Iced guava peach 50mg', NULL),
(136, 6, 'iced Cranberry raspberry 30mg', NULL),
(137, 6, 'iced Cranberry raspberry 50mg', NULL),
(138, 6, 'energy drink 35 mg', NULL),
(139, 6, 'blood orange 35 mg', NULL),
(140, 6, 'passion fruit 30 mg', NULL),
(141, 6, 'Passion Fruit 50mg', NULL),
(142, 6, 'Pineapple guava 35mg', NULL),
(143, 6, 'Blue Pineapple 50 mg', NULL),
(144, 6, 'Blue Pineapple 25 mg', NULL),
(145, 6, 'blueberry watermelon 30mg', NULL),
(146, 6, 'pineapple tripple berries 50 mg', NULL),
(147, 6, 'iced watermelon 50 mg', NULL),
(148, 6, 'iced watermelon 30 mg', NULL),
(149, 6, 'KIWI passion guava 35 mg', NULL),
(150, 6, 'crazy guava 50 mg', NULL),
(151, 5, 'MITHA PAN 50 MG', NULL),
(152, 7, 'Sub General', NULL),
(153, 5, 'ROSE GRAPE 35 MG', NULL),
(154, 5, 'WILD BLUEBERY 35 MG', NULL),
(155, 5, 'WILD BLUEBERY 50 MG', NULL),
(156, 5, 'WATERMELON BRUST 50 MG', NULL),
(157, 5, 'TRIPPLE MANGO 50 MG', NULL),
(158, 5, 'BLOOD ORANGE 50 MG', NULL),
(159, 5, 'EXTREME CRAN RASP BERRY 60 MG', NULL),
(160, 5, 'EXTREME BLUEBERY WATERMELON 60 MG', NULL),
(161, 5, 'EXTREME STRAWBERY LYCHEE 60 MG', NULL),
(162, 5, 'PINEAPPLE BUBBLE GUM 50 MG', NULL),
(163, 5, 'HONEY PEACH 50MG', NULL),
(164, 5, 'HONEY PEACH 35MG', NULL),
(165, 5, 'EXTREME PINEAPPLE PEACH 60 MG', NULL),
(166, 5, 'EXTREME PINEAPPLE PEACH 60 MG', NULL),
(167, 5, 'EXTREME HONEY PEACH 60 MG', NULL),
(168, 5, 'EXTREME PASSION FRUIT 60 MG', NULL),
(169, 5, 'EXTREME APRICOT 60 MG', NULL),
(170, 5, 'EXTREME GUAVA PEACH 60 MG', NULL),
(171, 5, 'EXTREME STRAWBERY KIWI 60 MG', NULL),
(172, 5, 'YELLOW WATERMELON', NULL),
(173, 5, 'YELLOW WATERMELON', NULL),
(174, 5, 'GRAPE WINE 35 MG', NULL),
(175, 3, 'PINK GUAVA', NULL),
(176, 3, 'TANGY GRAPE 30 MG', NULL),
(177, 5, 'BLUE RAZZ 50 MG', NULL),
(178, 5, 'ICED MINT 30 MG', NULL),
(179, 5, 'YELLOW WATERMELON 50 MG', NULL),
(180, 5, 'GLODEN RAINBOW CANDY 30 MG', NULL),
(181, 5, 'GOLDEN CANDY CRUSH 30 MG', NULL),
(182, 5, 'GUAVA PEACH KIWI 35 MG', NULL),
(183, 5, 'GRAPE WINE 50 MG', NULL),
(184, 5, 'PINEAPPLE MANGO 35 MG', NULL),
(185, 5, 'PINEAPPLE PISSION 35 MG', NULL),
(186, 5, 'FOUR BERRIES 50 MG', NULL),
(187, 5, 'PINEAPPLE PINK 35 MG', NULL),
(188, 5, 'WATERMELON PASSION 30 MG', NULL),
(189, 5, 'TRIPPLE BERRIES 30 MG', NULL),
(190, 5, 'FOUR BERRIES 35 MG', NULL),
(191, 5, 'BLUEBERRY STRAWBERY 50 MG', NULL),
(192, 5, 'WATERMELON PASSION 50 MG', NULL),
(193, 5, 'GREEN GRAPE APPLE 30 MG', NULL),
(194, 5, 'MANGO STREAM 30 MG', NULL),
(195, 5, 'GREEN GRAPE 50 MG', NULL),
(196, 5, 'PASSION KIWI 35 MG', NULL),
(197, 5, 'PASSION KIWI 35 MG', NULL),
(198, 5, 'BLUEBERRY WATERMELON 50 MG', NULL),
(199, 5, 'PASSION KIWI 50 MG', NULL),
(200, 5, 'EXTREM MANGO STEAM 60 MG', NULL),
(201, 5, 'EXTREME GUAVA 60 MG', NULL),
(202, 5, 'GREEN GRAPE 35 MG', NULL),
(203, 5, 'POMEGRANTE 35 MG', NULL),
(204, 5, 'BRUST WATERMELON 35 MG', NULL),
(205, 5, 'COLA 50 MG', NULL),
(206, 5, 'PASSION FRUIT 35 MG', NULL),
(207, 5, 'PINEAPPLE PASSIONFRUIT', NULL),
(208, 5, 'PINEAPPLE PINK', NULL),
(209, 5, 'MANGO LASSI', NULL),
(210, 5, 'PINEAPPLE BUBBLEGUM', NULL),
(211, 5, 'PASSIONFRUIT BUBBLEGUM ', NULL),
(212, 5, 'TRIPLE MANGO BLAST', NULL),
(213, 5, 'MINT', NULL),
(214, 5, 'MIXED BERRIES ', NULL),
(215, 5, 'PINEAPPLE LYCHEE 50 MG', NULL),
(216, 5, 'MANGO DRAGON FRUIT', NULL),
(217, 5, 'PINEAPPLE LYCHEE', NULL),
(218, 5, 'PINEAPPLE MANGO', NULL),
(219, 5, 'PEACH PASSION FRUIT', NULL),
(220, 5, 'PINEAPPLE ICE', NULL),
(221, 5, 'PASSION FRUIT', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `supplier_balance_entries`
--

CREATE TABLE IF NOT EXISTS `supplier_balance_entries` (
  `id` int NOT NULL AUTO_INCREMENT,
  `entry_number` varchar(30) NOT NULL,
  `vendor_id` int NOT NULL,
  `store_id` int DEFAULT '1',
  `entry_type` enum('payable','advance') NOT NULL DEFAULT 'payable',
  `amount` decimal(12,2) NOT NULL,
  `remaining_amount` decimal(12,2) NOT NULL,
  `reference_no` varchar(50) DEFAULT NULL,
  `remarks` varchar(255) DEFAULT NULL,
  `map_account_id` int DEFAULT NULL,
  `journal_entry_id` int DEFAULT NULL,
  `status` enum('posted','void') NOT NULL DEFAULT 'posted',
  `created_by` int NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uniq_entry_number` (`entry_number`),
  KEY `idx_supplier_balance_vendor` (`vendor_id`),
  KEY `idx_supplier_balance_status` (`status`),
  KEY `idx_supplier_balance_type` (`entry_type`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- --------------------------------------------------------

--
-- Table structure for table `sup_outstanding`
--

CREATE TABLE IF NOT EXISTS `sup_outstanding` (
  `id` int NOT NULL AUTO_INCREMENT,
  `purchase_id` int DEFAULT NULL,
  `vendor_id` int NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `status` enum('unpaid','partial','paid') DEFAULT 'unpaid',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=91 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `sup_outstanding`
--

INSERT INTO `sup_outstanding` (`id`, `purchase_id`, `vendor_id`, `amount`, `status`, `created_at`) VALUES
(1, 1, 1, 0.00, 'paid', '2026-03-01 11:04:40'),
(2, 2, 1, 0.00, 'paid', '2026-03-03 11:04:54'),
(3, 3, 1, 0.00, 'paid', '2026-03-04 11:15:17'),
(4, 4, 1, 0.00, 'paid', '2026-03-04 11:16:10'),
(5, 5, 1, 0.00, 'paid', '2026-03-04 11:26:11'),
(6, 6, 1, 0.00, 'paid', '2026-03-04 20:12:03'),
(7, 7, 1, 0.00, 'paid', '2026-03-04 20:12:57'),
(8, 8, 2, 0.00, 'paid', '2026-03-05 10:25:07'),
(9, 9, 2, 0.00, 'paid', '2026-03-05 10:37:12'),
(10, 10, 3, 0.00, 'paid', '2026-03-05 10:41:16'),
(11, 11, 3, 0.00, 'paid', '2026-03-05 10:42:33'),
(12, 12, 4, 0.00, 'paid', '2026-03-05 10:44:21'),
(13, 13, 5, 0.00, 'paid', '2026-03-06 09:42:08'),
(14, 14, 6, 0.00, 'paid', '2026-03-06 11:23:26'),
(15, 15, 1, 0.00, 'paid', '2026-03-07 10:32:32'),
(16, 16, 1, 0.00, 'paid', '2026-03-09 08:12:14'),
(17, 17, 1, 0.00, 'paid', '2026-03-09 08:35:04'),
(18, 18, 2, 0.00, 'paid', '2026-03-10 08:48:00'),
(19, 19, 1, 0.00, 'paid', '2026-03-15 09:13:23'),
(20, 20, 1, 0.00, 'paid', '2026-03-16 09:57:45'),
(21, 21, 1, 0.00, 'paid', '2026-03-17 08:36:12'),
(22, 22, 7, 0.00, 'paid', '2026-03-18 09:55:53'),
(23, 23, 4, 0.00, 'paid', '2026-03-18 10:20:01'),
(24, 24, 1, 0.00, 'paid', '2026-03-19 09:57:11'),
(25, 25, 8, 0.00, 'paid', '2026-03-19 10:39:52'),
(26, 26, 9, 0.00, 'paid', '2026-03-19 21:44:11'),
(27, 27, 1, 0.00, 'paid', '2026-03-23 08:48:53'),
(28, 28, 1, 0.00, 'paid', '2026-03-23 08:54:47'),
(29, 29, 2, 0.00, 'paid', '2026-03-23 11:54:46'),
(30, 30, 8, 0.00, 'paid', '2026-03-23 12:52:44'),
(31, 31, 4, 0.00, 'paid', '2026-03-27 08:04:25'),
(32, 32, 1, 0.00, 'paid', '2026-03-28 09:24:06'),
(33, 33, 2, 0.00, 'paid', '2026-03-28 11:03:17'),
(34, 34, 1, 0.00, 'paid', '2026-03-30 05:14:10'),
(35, 35, 1, 0.00, 'paid', '2026-03-30 17:40:58'),
(36, 36, 10, 0.00, 'paid', '2026-04-01 05:04:58'),
(37, 37, 11, 0.00, 'paid', '2026-04-01 05:11:59'),
(38, 38, 12, 0.00, 'paid', '2026-04-01 05:30:55'),
(39, 39, 1, 0.00, 'paid', '2026-04-02 06:17:31'),
(40, 40, 2, 0.00, 'paid', '2026-04-06 07:35:52'),
(41, 41, 2, 0.00, 'paid', '2026-04-06 10:07:52'),
(42, 42, 2, 0.00, 'paid', '2026-04-06 10:09:52'),
(43, 43, 8, 0.00, 'paid', '2026-04-06 10:10:49'),
(44, 44, 2, 0.00, 'paid', '2026-04-06 11:20:16'),
(45, 45, 1, 0.00, 'paid', '2026-04-08 04:59:20'),
(46, 46, 11, 0.00, 'paid', '2026-04-08 06:19:48'),
(47, 47, 11, 0.00, 'paid', '2026-04-08 06:41:48'),
(48, 48, 10, 0.00, 'paid', '2026-04-08 06:43:26'),
(49, 49, 11, 0.00, 'paid', '2026-04-08 06:46:41'),
(50, 50, 8, 0.00, 'paid', '2026-04-09 07:07:52'),
(51, 51, 4, 0.00, 'paid', '2026-04-10 11:38:18'),
(52, 52, 4, 0.00, 'paid', '2026-04-12 07:40:00'),
(53, 53, 1, 0.00, 'paid', '2026-04-12 07:46:04'),
(54, 54, 1, 0.00, 'paid', '2026-04-14 05:10:52'),
(55, 55, 1, 0.00, 'paid', '2026-04-14 05:17:06'),
(56, 56, 11, 0.00, 'paid', '2026-04-15 05:04:59'),
(57, NULL, 1, -152180.00, 'paid', '2026-04-15 06:22:33'),
(58, 57, 11, 0.00, 'paid', '2026-04-16 06:02:32'),
(59, 58, 4, 0.00, 'paid', '2026-04-17 07:47:38'),
(60, 59, 2, 0.00, 'paid', '2026-04-17 08:25:44'),
(61, 60, 2, 0.00, 'paid', '2026-04-20 06:43:49'),
(62, 61, 2, 492100.00, 'unpaid', '2026-04-21 11:29:05'),
(63, 62, 14, 0.00, 'paid', '2026-04-22 07:05:41'),
(64, 63, 11, 16500.00, 'unpaid', '2026-04-24 10:56:20'),
(65, 64, 1, 385500.00, 'unpaid', '2026-04-27 05:18:52'),
(66, 65, 3, 85000.00, 'unpaid', '2026-04-29 10:02:45'),
(67, 66, 15, 248100.00, 'unpaid', '2026-04-29 10:17:40'),
(68, 67, 2, 318750.00, 'unpaid', '2026-04-29 10:23:29'),
(69, 68, 2, 410250.00, 'unpaid', '2026-04-29 10:50:44'),
(70, 69, 2, 568750.00, 'unpaid', '2026-04-29 11:25:11'),
(71, 70, 2, 25500.00, 'unpaid', '2026-04-29 11:38:52'),
(72, 71, 2, 5600.00, 'unpaid', '2026-04-29 11:43:58'),
(73, 72, 4, 75000.00, 'unpaid', '2026-04-30 10:29:21'),
(74, 73, 16, 23000.00, 'unpaid', '2026-04-30 10:54:33'),
(75, 74, 1, 15000.00, 'unpaid', '2026-04-30 12:09:13'),
(76, 75, 2, 286300.00, 'unpaid', '2026-05-02 11:32:06'),
(77, 76, 14, 156300.00, 'unpaid', '2026-05-02 11:42:33'),
(78, 77, 2, 1276750.00, 'unpaid', '2026-05-05 09:32:10'),
(79, 78, 4, 37500.00, 'unpaid', '2026-05-06 05:15:08'),
(80, 79, 1, 199375.00, 'unpaid', '2026-05-07 05:42:28'),
(81, 80, 1, 60500.00, 'unpaid', '2026-05-07 05:43:33'),
(82, 81, 2, 571250.00, 'unpaid', '2026-05-08 11:17:40'),
(83, 82, 1, 225000.00, 'unpaid', '2026-05-11 10:53:27'),
(84, 83, 7, 64000.00, 'unpaid', '2026-05-12 06:21:36'),
(85, 84, 11, 251000.00, 'unpaid', '2026-05-13 06:27:35'),
(86, 85, 11, 54000.00, 'unpaid', '2026-05-13 07:02:00'),
(87, 86, 1, 37500.00, 'unpaid', '2026-05-13 07:44:58'),
(88, 87, 1, 107000.00, 'unpaid', '2026-05-15 08:15:41'),
(89, 88, 2, 1092500.00, 'unpaid', '2026-05-15 08:24:51'),
(90, 89, 4, 52500.00, 'unpaid', '2026-05-16 09:43:38');

-- --------------------------------------------------------

--
-- Table structure for table `sup_payments`
--

CREATE TABLE IF NOT EXISTS `sup_payments` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int DEFAULT NULL,
  `vendor_id` int NOT NULL,
  `purchase_id` int DEFAULT NULL,
  `balance_entry_id` int DEFAULT NULL,
  `amount_paid` decimal(10,2) NOT NULL,
  `discount_amount` decimal(10,2) DEFAULT '0.00',
  `withholding_rate` decimal(5,2) DEFAULT '0.00',
  `withholding_amount` decimal(10,2) DEFAULT '0.00',
  `gross_settlement_amount` decimal(10,2) DEFAULT '0.00',
  `net_cash_paid` decimal(10,2) DEFAULT '0.00',
  `payment_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `remarks` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_sup_payments_store_id` (`store_id`),
  KEY `idx_sup_payments_balance_entry_id` (`balance_entry_id`)
) ENGINE=MyISAM AUTO_INCREMENT=62 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `sup_payments`
--

INSERT INTO `sup_payments` (`id`, `store_id`, `vendor_id`, `purchase_id`, `balance_entry_id`, `amount_paid`, `discount_amount`, `withholding_rate`, `withholding_amount`, `gross_settlement_amount`, `net_cash_paid`, `payment_date`, `remarks`) VALUES
(1, NULL, 2, 18, NULL, 667850.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-10 08:49:06', 'CASH IN HAND'),
(2, NULL, 2, 8, NULL, 43750.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-10 08:50:06', 'CASH IN HAND'),
(3, NULL, 2, 9, NULL, 833500.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-10 08:50:06', 'CASH IN HAND'),
(4, NULL, 7, 22, NULL, 32000.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-18 09:57:47', 'CASH IN HAND'),
(5, NULL, 4, 12, NULL, 75000.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-18 10:21:25', ''),
(6, NULL, 4, 23, NULL, 83000.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-18 10:21:25', ''),
(7, NULL, 3, 10, NULL, 258000.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-18 10:23:04', 'BANK'),
(8, NULL, 3, 11, NULL, 155000.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-18 10:23:19', ''),
(9, NULL, 5, 13, NULL, 1850.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-18 10:24:08', ''),
(10, NULL, 6, 14, NULL, 5300.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-18 10:24:45', ''),
(11, NULL, 1, 1, NULL, 50400.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-18 10:26:33', ''),
(12, NULL, 1, 2, NULL, 52500.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-18 10:26:33', ''),
(13, NULL, 1, 3, NULL, 72400.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-18 10:26:33', ''),
(14, NULL, 1, 6, NULL, 10600.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-18 10:26:33', ''),
(15, NULL, 1, 7, NULL, 10600.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-18 10:26:33', ''),
(16, NULL, 1, 15, NULL, 1675.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-18 10:26:33', ''),
(17, NULL, 1, 16, NULL, 52500.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-18 10:26:33', ''),
(18, NULL, 1, 17, NULL, 34000.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-18 10:26:33', ''),
(19, NULL, 1, 19, NULL, 19500.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-18 10:26:33', ''),
(20, NULL, 1, 20, NULL, 416100.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-18 10:26:33', ''),
(21, NULL, 1, 21, NULL, 199800.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-18 10:26:33', ''),
(22, NULL, 9, 26, NULL, 1800.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-19 21:59:09', ''),
(23, NULL, 8, 25, NULL, 3300.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-19 21:59:30', ''),
(24, NULL, 1, 24, NULL, 492270.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-19 21:59:58', ''),
(25, NULL, 2, 29, NULL, 1340500.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-23 11:55:15', 'BANK'),
(26, NULL, 1, 27, NULL, 356640.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-23 11:55:55', 'CASH IN HAND'),
(27, NULL, 1, 28, NULL, 70500.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-23 11:55:55', 'CASH IN HAND'),
(28, NULL, 8, 30, NULL, 1650.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-24 11:24:47', 'STOCK RECEIVED'),
(29, NULL, 4, 31, NULL, 163500.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-27 08:04:49', ''),
(30, NULL, 2, 33, NULL, 681500.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-28 11:03:48', 'CASH IN HAND'),
(31, NULL, 1, 32, NULL, 195000.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-03-28 11:04:12', 'CASH IN HAND'),
(32, NULL, 1, 34, NULL, 130440.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-04-02 06:19:05', 'CASH IN HAND'),
(33, NULL, 1, 35, NULL, 546500.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-04-02 06:19:05', 'CASH IN HAND'),
(34, NULL, 1, 39, NULL, 14500.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2026-04-02 06:19:05', 'CASH IN HAND'),
(35, NULL, 11, 37, NULL, 155000.00, 0.00, 0.00, 0.00, 155000.00, 155000.00, '2026-04-08 06:22:49', ''),
(36, NULL, 11, 37, NULL, 82900.00, 0.00, 0.00, 0.00, 82900.00, 82900.00, '2026-04-08 06:47:14', ''),
(37, NULL, 11, 46, NULL, 22100.00, 0.00, 0.00, 0.00, 22100.00, 22100.00, '2026-04-08 06:47:14', ''),
(38, NULL, 2, 40, NULL, 897750.00, 0.00, 0.00, 0.00, 897750.00, 897750.00, '2026-04-17 09:38:37', ''),
(39, NULL, 2, 41, NULL, 1377700.00, 0.00, 0.00, 0.00, 1377700.00, 1377700.00, '2026-04-17 09:38:37', ''),
(40, NULL, 2, 42, NULL, 24550.00, 0.00, 0.00, 0.00, 24550.00, 24550.00, '2026-04-17 09:38:37', ''),
(41, NULL, 2, 42, NULL, 26450.00, 0.00, 0.00, 0.00, 26450.00, 26450.00, '2026-04-17 09:38:52', ''),
(42, NULL, 2, 44, NULL, 106500.00, 0.00, 0.00, 0.00, 106500.00, 106500.00, '2026-04-17 09:39:04', ''),
(43, NULL, 4, 51, NULL, 24500.00, 0.00, 0.00, 0.00, 24500.00, 24500.00, '2026-04-17 09:39:28', ''),
(44, NULL, 4, 52, NULL, 60000.00, 0.00, 0.00, 0.00, 60000.00, 60000.00, '2026-04-17 09:39:28', ''),
(45, NULL, 4, 58, NULL, 15000.00, 0.00, 0.00, 0.00, 15000.00, 15000.00, '2026-04-17 09:39:28', ''),
(46, NULL, 10, 36, NULL, 646250.00, 0.00, 0.00, 0.00, 646250.00, 646250.00, '2026-04-21 10:08:21', ''),
(47, NULL, 11, 46, NULL, 132900.00, 0.00, 0.00, 0.00, 132900.00, 132900.00, '2026-04-21 10:08:52', ''),
(48, NULL, 11, 47, NULL, 3000.00, 0.00, 0.00, 0.00, 3000.00, 3000.00, '2026-04-21 10:08:52', ''),
(49, NULL, 11, 49, NULL, 105000.00, 0.00, 0.00, 0.00, 105000.00, 105000.00, '2026-04-21 10:08:52', ''),
(50, NULL, 11, 56, NULL, 16500.00, 0.00, 0.00, 0.00, 16500.00, 16500.00, '2026-04-21 10:08:52', ''),
(51, NULL, 11, 57, NULL, 418850.00, 0.00, 0.00, 0.00, 418850.00, 418850.00, '2026-04-21 10:08:52', ''),
(52, NULL, 12, 38, NULL, 105000.00, 0.00, 0.00, 0.00, 105000.00, 105000.00, '2026-04-21 10:09:31', ''),
(53, NULL, 2, 59, NULL, 416600.00, 0.00, 0.00, 0.00, 416600.00, 416600.00, '2026-04-21 10:10:14', ''),
(54, NULL, 2, 60, NULL, 975375.00, 0.00, 0.00, 0.00, 975375.00, 975375.00, '2026-04-21 10:10:14', ''),
(55, NULL, 8, 43, NULL, 4500.00, 0.00, 0.00, 0.00, 4500.00, 4500.00, '2026-04-21 10:10:53', ''),
(56, NULL, 8, 50, NULL, 3600.00, 0.00, 0.00, 0.00, 3600.00, 3600.00, '2026-04-21 10:10:53', ''),
(57, NULL, 1, 45, NULL, 785000.00, 0.00, 0.00, 0.00, 785000.00, 785000.00, '2026-04-21 10:11:34', ''),
(58, NULL, 1, 53, NULL, 342192.00, 0.00, 0.00, 0.00, 342192.00, 342192.00, '2026-04-21 10:11:34', ''),
(59, NULL, 1, 54, NULL, 435600.00, 0.00, 0.00, 0.00, 435600.00, 435600.00, '2026-04-21 10:11:34', ''),
(60, NULL, 1, 55, NULL, 248180.00, 0.00, 0.00, 0.00, 248180.00, 248180.00, '2026-04-21 10:11:34', ''),
(61, NULL, 14, 62, NULL, 524000.00, 0.00, 0.00, 0.00, 524000.00, 524000.00, '2026-04-22 07:06:10', '');

-- --------------------------------------------------------

--
-- Table structure for table `sync_settings`
--

CREATE TABLE IF NOT EXISTS `sync_settings` (
  `id` int NOT NULL AUTO_INCREMENT,
  `sync_allow` tinyint(1) DEFAULT '0' COMMENT 'Enable/disable synchronization',
  `db_prefix` varchar(50) DEFAULT NULL COMMENT 'Branch database prefix',
  `sync_mode` enum('HO','RM') DEFAULT 'HO' COMMENT 'HO=Head Office, RM=Remote',
  `server_name` varchar(100) DEFAULT NULL COMMENT 'Head office server IP/hostname',
  `database_name` varchar(100) DEFAULT NULL COMMENT 'Head office database name',
  `username` varchar(100) DEFAULT NULL COMMENT 'Database username',
  `password` varchar(255) DEFAULT NULL COMMENT 'Database password (encrypted)',
  `last_sync_date` datetime DEFAULT NULL COMMENT 'Last successful sync',
  `sync_status` enum('success','failed','pending') DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `sync_settings`
--

INSERT INTO `sync_settings` (`id`, `sync_allow`, `db_prefix`, `sync_mode`, `server_name`, `database_name`, `username`, `password`, `last_sync_date`, `sync_status`, `created_at`, `updated_at`) VALUES
(1, 0, NULL, 'HO', NULL, NULL, NULL, NULL, NULL, 'pending', '2026-02-17 15:01:19', '2026-02-17 15:01:19');

-- --------------------------------------------------------

--
-- Table structure for table `table_transfer_logs`
--

CREATE TABLE IF NOT EXISTS `table_transfer_logs` (
  `id` int NOT NULL AUTO_INCREMENT,
  `source_table_id` int DEFAULT NULL,
  `target_table_id` int DEFAULT NULL,
  `hold_order_id` int DEFAULT NULL,
  `transferred_by` int DEFAULT NULL,
  `transfer_type` enum('transfer','merge') NOT NULL DEFAULT 'transfer',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_source_table` (`source_table_id`),
  KEY `idx_target_table` (`target_table_id`),
  KEY `idx_hold_order` (`hold_order_id`),
  KEY `idx_transferred_by` (`transferred_by`),
  KEY `idx_transfer_type` (`transfer_type`),
  KEY `idx_created_at` (`created_at`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- --------------------------------------------------------

--
-- Table structure for table `tax_rates`
--

CREATE TABLE IF NOT EXISTS `tax_rates` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  `rate` decimal(5,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_tax_rates_id` (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `tax_rates`
--

INSERT INTO `tax_rates` (`id`, `name`, `rate`) VALUES
(1, 'GST', 18.00),
(2, 'VAT', 15.00);

-- --------------------------------------------------------

--
-- Table structure for table `terminals`
--

CREATE TABLE IF NOT EXISTS `terminals` (
  `id` int NOT NULL AUTO_INCREMENT,
  `terminal_name` varchar(100) NOT NULL,
  `computer_name` varchar(100) DEFAULT NULL,
  `ip_address` varchar(50) DEFAULT NULL,
  `terminal_type` varchar(50) DEFAULT 'POS',
  `branch_id` int DEFAULT NULL,
  `store_id` int DEFAULT NULL,
  `description` text,
  `is_active` tinyint(1) DEFAULT '1',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_computer_name` (`computer_name`),
  KEY `idx_branch_id` (`branch_id`),
  KEY `idx_store_id` (`store_id`),
  KEY `idx_is_active` (`is_active`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `translations`
--

CREATE TABLE IF NOT EXISTS `translations` (
  `id` int NOT NULL AUTO_INCREMENT,
  `language_code` varchar(5) NOT NULL,
  `key` varchar(255) NOT NULL,
  `value` text NOT NULL,
  `context` varchar(100) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_translation` (`language_code`,`key`),
  KEY `language_code` (`language_code`),
  KEY `key` (`key`)
) ENGINE=InnoDB AUTO_INCREMENT=956 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `translations`
--

INSERT INTO `translations` (`id`, `language_code`, `key`, `value`, `context`, `created_at`, `updated_at`) VALUES
(1, 'en', 'dashboard', 'Dashboard', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(2, 'en', 'sales', 'Sales', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(3, 'en', 'purchases', 'Purchases', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(4, 'en', 'inventory', 'Inventory', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(5, 'en', 'reports', 'Reports', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(6, 'en', 'settings', 'Settings', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(7, 'en', 'users', 'Users', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(8, 'en', 'customers', 'Customers', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(9, 'en', 'suppliers', 'Suppliers', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(10, 'en', 'items', 'Items', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(11, 'en', 'categories', 'Categories', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(12, 'en', 'language_management', 'Language Management', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(13, 'en', 'features', 'Features', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(14, 'en', 'license_info', 'License Info', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(15, 'en', 'new_features', 'New Features', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(16, 'en', 'check_updates', 'Check For Updates', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(17, 'en', 'apply_update', 'Apply Update', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(18, 'en', 'item_modifiers', 'Item Modifiers', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(19, 'en', 'void_reasons', 'Void Reasons', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(20, 'en', 'quotations', 'Quotations', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(21, 'en', 'tables', 'Tables', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(22, 'en', 'floors', 'Floors', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(23, 'en', 'unit_of_measurement', 'Unit Of Measurement', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(24, 'en', 'stock_transfer', 'Stock Transfer', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(25, 'en', 'new_transfer_request', 'New Transfer Request', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(26, 'en', 'transfer_approval', 'Transfer Approval', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(27, 'en', 'stock_adjustment', 'Stock Adjustment', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(28, 'en', 'new_adjustment', 'New Adjustment', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(29, 'en', 'production', 'Production', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(30, 'en', 'users_permissions', 'Users & Permissions', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(31, 'en', 'order_takers', 'Order Takers', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(32, 'en', 'riders', 'Riders', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(33, 'en', 'delivery_orders', 'Delivery Orders', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(34, 'en', 'expense_list', 'Expense List', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(35, 'en', 'general_settings', 'General Settings', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(36, 'en', 'branch_settings', 'Branch Settings', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(37, 'en', 'store_management', 'Store Management', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(38, 'en', 'tax_rate', 'Tax Rate', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(39, 'en', 'add_new', 'Add New', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(40, 'en', 'edit', 'Edit', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(41, 'en', 'delete', 'Delete', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(42, 'en', 'save', 'Save', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(43, 'en', 'cancel', 'Cancel', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(44, 'en', 'search', 'Search', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(45, 'en', 'filter', 'Filter', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(46, 'en', 'export', 'Export', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(47, 'en', 'import', 'Import', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(48, 'en', 'update_translation', 'Update Translation', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(49, 'en', 'add_translation', 'Add Translation', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(50, 'en', 'update', 'Update', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(51, 'en', 'skip', 'Skip', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(52, 'en', 'void_order', 'Void Order', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(53, 'en', 'confirm', 'Confirm', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(54, 'en', 'close', 'Close', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(55, 'en', 'submit', 'Submit', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(56, 'en', 'reset', 'Reset', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(57, 'en', 'back', 'Back', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(58, 'en', 'next', 'Next', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(59, 'en', 'previous', 'Previous', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(60, 'en', 'finish', 'Finish', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(61, 'en', 'current_language', 'Current Language', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(62, 'en', 'available_languages', 'Available Languages', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(63, 'en', 'translation_key', 'Translation Key', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(64, 'en', 'translation_value', 'Translation Value', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(65, 'en', 'rtl_support', 'RTL Support', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(66, 'en', 'language_switcher', 'Language Switcher', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(67, 'en', 'context', 'Context', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(68, 'en', 'name', 'Name', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(69, 'en', 'email', 'Email', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(70, 'en', 'phone', 'Phone', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(71, 'en', 'address', 'Address', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(72, 'en', 'status', 'Status', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(73, 'en', 'actions', 'Actions', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(74, 'en', 'price', 'Price', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(75, 'en', 'quantity', 'Quantity', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(76, 'en', 'total', 'Total', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(77, 'en', 'subtotal', 'Net Total', 'labels', '2025-11-05 17:16:29', '2026-02-17 15:01:22'),
(78, 'en', 'tax', 'Tax', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(79, 'en', 'discount', 'Discount', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(80, 'en', 'grand_total', 'Grand Total', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(81, 'en', 'order_list', 'Order List', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(82, 'en', 'delivery_charges', 'Delivery Charges', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(83, 'en', 'notes', 'Notes', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(84, 'en', 'translation_updated', 'Translation updated successfully', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(85, 'en', 'translation_added', 'Translation added successfully', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(86, 'en', 'invalid_language', 'Invalid language selected', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(87, 'en', 'success', 'Success', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(88, 'en', 'error', 'Error', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(89, 'en', 'warning', 'Warning', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(90, 'en', 'info', 'Information', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(91, 'en', 'confirm_delete', 'Are you sure you want to delete this item?', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(92, 'en', 'confirm_void', 'Are you sure you want to void this order?', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(93, 'en', 'no_data_found', 'No data found', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(94, 'en', 'loading', 'Loading...', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(95, 'en', 'please_wait', 'Please wait...', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(96, 'en', 'search_product', 'Search product...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(97, 'en', 'enter_notes', 'Enter any additional notes...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(98, 'en', 'enter_name', 'Enter name...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(99, 'en', 'enter_email', 'Enter email...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(100, 'en', 'enter_phone', 'Enter phone...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(101, 'en', 'enter_address', 'Enter address...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(102, 'en', 'enter_price', 'Enter price...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(103, 'en', 'enter_quantity', 'Enter quantity...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(104, 'en', 'manage_customers', 'Manage your customers', 'page_titles', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(105, 'en', 'manage_system_languages', 'Manage system languages and translations', 'page_titles', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(106, 'en', 'click_category_settings', 'Click a category to load its settings', 'page_titles', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(107, 'en', 'expenses', 'Expenses', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(108, 'en', 'expense_accounts', 'Expense Accounts', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(109, 'en', 'expense_categories', 'Expense Categories', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(110, 'en', 'accounts', 'Accounts', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(111, 'en', 'bank_accounts', 'Bank Accounts', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(112, 'en', 'payments', 'Payments', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(113, 'en', 'customer_payments', 'Customer Payments', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(114, 'en', 'supplier_payments', 'Supplier Payments', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(115, 'en', 'payment_methods', 'Payment Methods', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(116, 'en', 'financials', 'Financials', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(117, 'en', 'chart_of_accounts', 'Chart of Accounts', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(118, 'en', 'account_mappings', 'Account Mappings', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(119, 'en', 'journal_entries', 'Journal Entries', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(120, 'en', 'financial_periods', 'Financial Periods', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(121, 'en', 'trial_balance', 'Trial Balance', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(122, 'en', 'general_ledger', 'General Ledger', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(123, 'en', 'profit_loss', 'Profit & Loss', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(124, 'en', 'financial_reports', 'Financial Reports', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(125, 'en', 'hardware_devices', 'Hardware & Devices', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(126, 'en', 'print_devices', 'Print Devices', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(127, 'en', 'kds', 'KOT/KDS', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:51'),
(128, 'en', 'tablet_orders', 'Tablet Orders', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(129, 'en', 'database_backup', 'Database Backup', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(130, 'en', 'backup_management', 'Backup Management', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(131, 'en', 'restore_database', 'Restore Database', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(132, 'en', 'all', 'All', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(133, 'en', 'clear', 'Clear', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(134, 'en', 'navigation', 'Navigation', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(135, 'en', 'buttons', 'Buttons', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(136, 'en', 'labels', 'Labels', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(137, 'en', 'messages', 'Messages', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(138, 'en', 'placeholders', 'Placeholders', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(139, 'en', 'page_titles', 'Page Titles', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(140, 'en', 'sales_report', 'Sales Report', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(141, 'en', 'invoice_report', 'Invoice Report', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(142, 'en', 'invoice_wise_profit_report', 'Invoice Wise Profit Report', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(143, 'en', 'sale_return_report', 'Sale Return Report', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(144, 'en', 'day_wise_sale_summary', 'Day Wise Sale Summary', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(145, 'en', 'item_wise_sales_report', 'Item Wise Sales Report', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(146, 'en', 'item_modifier_report', 'Item Modifier Report', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(147, 'en', 'cashier_shift_report', 'Cashier Shift Report', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(148, 'en', 'tax_wise_report', 'Tax Wise Report', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(149, 'en', 'order_taker_report', 'Order Taker Report', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(150, 'en', 'void_orders_report', 'Void Orders Report', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(151, 'en', 'purchase_report', 'Purchase Report', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(152, 'en', 'stock_balance_report', 'Stock Balance Report', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(153, 'en', 'stock_valuation_report', 'Stock Valuation Report', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(154, 'en', 'item_ledger_report', 'Item Ledger Report', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(155, 'en', 'production_report', 'Production Report', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(156, 'en', 'purchase_return_report', 'Purchase Return Report', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(157, 'en', 'customer_ledger', 'Customer Ledger', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(158, 'en', 'customer_statement', 'Customer Statement', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(159, 'en', 'supplier_ledger', 'Supplier Ledger', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(160, 'en', 'supplier_statement', 'Supplier Statement', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(161, 'en', 'profit_loss_report', 'Net Profit Analysis', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:45'),
(162, 'en', 'account_ledger', 'Account Ledger', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(163, 'en', 'accounts_report', 'Accounts Report', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(164, 'fa', 'dashboard', 'داشبورد', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(165, 'fa', 'sales', 'فروش', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(166, 'fa', 'purchases', 'خرید', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(167, 'fa', 'inventory', 'موجودی', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(168, 'fa', 'reports', 'گزارشات', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(169, 'fa', 'settings', 'تنظیمات', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(170, 'fa', 'users', 'کاربران', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(171, 'fa', 'customers', 'مشتریان', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(172, 'fa', 'suppliers', 'تامین کنندگان', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(173, 'fa', 'items', 'اقلام', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(174, 'fa', 'categories', 'دسته بندی ها', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(175, 'fa', 'language_management', 'مدیریت زبان', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(176, 'fa', 'features', 'ویژگی ها', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(177, 'fa', 'license_info', 'اطلاعات مجوز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(178, 'fa', 'new_features', 'ویژگی های جدید', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(179, 'fa', 'check_updates', 'بررسی به روزرسانی', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(180, 'fa', 'apply_update', 'اعمال به روزرسانی', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(181, 'fa', 'item_modifiers', 'تغییرات اقلام', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(182, 'fa', 'void_reasons', 'دلایل لغو', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(183, 'fa', 'quotations', 'پیش فاکتورها', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(184, 'fa', 'tables', 'جداول', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(185, 'fa', 'floors', 'طبقات', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(186, 'fa', 'unit_of_measurement', 'واحد اندازه گیری', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(187, 'fa', 'stock_transfer', 'انتقال موجودی', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(188, 'fa', 'new_transfer_request', 'درخواست انتقال جدید', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(189, 'fa', 'transfer_approval', 'تایید انتقال', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(190, 'fa', 'stock_adjustment', 'تنظیم موجودی', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(191, 'fa', 'new_adjustment', 'تنظیم جدید', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(192, 'fa', 'production', 'تولید', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(193, 'fa', 'users_permissions', 'کاربران و مجوزها', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(194, 'fa', 'order_takers', 'گیرندگان سفارش', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(195, 'fa', 'riders', 'رانندگان', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(196, 'fa', 'delivery_orders', 'سفارشات تحویل', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(197, 'fa', 'expense_list', 'لیست هزینه ها', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(198, 'fa', 'general_settings', 'تنظیمات عمومی', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(199, 'fa', 'branch_settings', 'تنظیمات شعبه', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(200, 'fa', 'store_management', 'مدیریت فروشگاه', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(201, 'fa', 'tax_rate', 'نرخ مالیات', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(202, 'fa', 'add_new', 'افزودن جدید', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(203, 'fa', 'edit', 'ویرایش', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(204, 'fa', 'delete', 'حذف', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(205, 'fa', 'save', 'ذخیره', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(206, 'fa', 'cancel', 'لغو', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(207, 'fa', 'search', 'جستجو', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(208, 'fa', 'filter', 'فیلتر', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(209, 'fa', 'export', 'صادرات', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(210, 'fa', 'import', 'واردات', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(211, 'fa', 'update_translation', 'به روزرسانی ترجمه', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(212, 'fa', 'add_translation', 'افزودن ترجمه', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(213, 'fa', 'update', 'به روزرسانی', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(214, 'fa', 'skip', 'رد کردن', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(215, 'fa', 'void_order', 'لغو سفارش', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(216, 'fa', 'confirm', 'تایید', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(217, 'fa', 'close', 'بستن', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(218, 'fa', 'submit', 'ارسال', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(219, 'fa', 'reset', 'بازنشانی', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(220, 'fa', 'back', 'بازگشت', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(221, 'fa', 'next', 'بعدی', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(222, 'fa', 'previous', 'قبلی', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(223, 'fa', 'finish', 'پایان', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(224, 'fa', 'current_language', 'زبان فعلی', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(225, 'fa', 'available_languages', 'زبان های موجود', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(226, 'fa', 'translation_key', 'کلید ترجمه', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(227, 'fa', 'translation_value', 'مقدار ترجمه', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(228, 'fa', 'rtl_support', 'پشتیبانی راست به چپ', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(229, 'fa', 'language_switcher', 'تعویض زبان', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(230, 'fa', 'context', 'متن', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(231, 'fa', 'name', 'نام', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(232, 'fa', 'email', 'ایمیل', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(233, 'fa', 'phone', 'تلفن', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(234, 'fa', 'address', 'آدرس', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(235, 'fa', 'status', 'وضعیت', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(236, 'fa', 'actions', 'اقدامات', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(237, 'fa', 'price', 'قیمت', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(238, 'fa', 'quantity', 'تعداد', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(239, 'fa', 'total', 'مجموع', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(240, 'fa', 'subtotal', 'مجموع خالص', 'labels', '2025-11-05 17:16:29', '2026-02-17 15:01:22'),
(241, 'fa', 'tax', 'مالیات', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(242, 'fa', 'discount', 'تخفیف', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(243, 'fa', 'grand_total', 'مجموع کل', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(244, 'fa', 'order_list', 'لیست سفارشات', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(245, 'fa', 'delivery_charges', 'هزینه تحویل', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(246, 'fa', 'notes', 'یادداشت ها', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(247, 'fa', 'translation_updated', 'ترجمه با موفقیت به روزرسانی شد', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(248, 'fa', 'translation_added', 'ترجمه با موفقیت افزوده شد', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(249, 'fa', 'invalid_language', 'زبان انتخاب شده نامعتبر است', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(250, 'fa', 'success', 'موفقیت', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(251, 'fa', 'error', 'خطا', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(252, 'fa', 'warning', 'هشدار', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(253, 'fa', 'info', 'اطلاعات', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(254, 'fa', 'confirm_delete', 'آیا مطمئن هستید که می خواهید این مورد را حذف کنید؟', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(255, 'fa', 'confirm_void', 'آیا مطمئن هستید که می خواهید این سفارش را لغو کنید؟', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(256, 'fa', 'no_data_found', 'داده ای یافت نشد', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(257, 'fa', 'loading', 'در حال بارگذاری...', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(258, 'fa', 'please_wait', 'لطفا صبر کنید...', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(259, 'fa', 'search_product', 'جستجوی محصول...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(260, 'fa', 'enter_notes', 'یادداشت های اضافی وارد کنید...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(261, 'fa', 'enter_name', 'نام وارد کنید...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(262, 'fa', 'enter_email', 'ایمیل وارد کنید...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(263, 'fa', 'enter_phone', 'تلفن وارد کنید...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(264, 'fa', 'enter_address', 'آدرس وارد کنید...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(265, 'fa', 'enter_price', 'قیمت وارد کنید...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(266, 'fa', 'enter_quantity', 'تعداد وارد کنید...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(267, 'fa', 'manage_customers', 'مدیریت مشتریان خود', 'page_titles', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(268, 'fa', 'manage_system_languages', 'مدیریت زبان های سیستم و ترجمه ها', 'page_titles', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(269, 'fa', 'click_category_settings', 'برای بارگذاری تنظیمات روی دسته کلیک کنید', 'page_titles', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(270, 'fa', 'expenses', 'هزینه ها', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(271, 'fa', 'expense_accounts', 'حساب های هزینه', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(272, 'fa', 'expense_categories', 'دسته بندی های هزینه', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(273, 'fa', 'accounts', 'حساب ها', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(274, 'fa', 'bank_accounts', 'حساب های بانکی', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(275, 'fa', 'payments', 'پرداخت ها', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(276, 'fa', 'customer_payments', 'پرداخت های مشتری', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(277, 'fa', 'supplier_payments', 'پرداخت های تامین کننده', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(278, 'fa', 'payment_methods', 'روش های پرداخت', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(279, 'fa', 'financials', 'مالی', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(280, 'fa', 'chart_of_accounts', 'نمودار حساب ها', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(281, 'fa', 'account_mappings', 'نگاشت حساب ها', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(282, 'fa', 'journal_entries', 'ورودی های دفتر روزنامه', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(283, 'fa', 'financial_periods', 'دوره های مالی', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(284, 'fa', 'trial_balance', 'تراز آزمایشی', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(285, 'fa', 'general_ledger', 'دفتر کل عمومی', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(286, 'fa', 'profit_loss', 'سود و زیان', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(287, 'fa', 'financial_reports', 'گزارشات مالی', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(288, 'fa', 'hardware_devices', 'سخت‌افزار و دستگاه‌ها', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:45'),
(289, 'fa', 'print_devices', 'دستگاه های چاپ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(290, 'fa', 'kds', 'KOT/KDS', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:51'),
(291, 'fa', 'tablet_orders', 'سفارشات تبلت', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(292, 'fa', 'database_backup', 'پشتیبان گیری پایگاه داده', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(293, 'fa', 'backup_management', 'مدیریت پشتیبان گیری', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(294, 'fa', 'restore_database', 'بازیابی پایگاه داده', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(295, 'fa', 'all', 'همه', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(296, 'fa', 'clear', 'پاک کردن', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(297, 'fa', 'navigation', 'ناوبری', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(298, 'fa', 'buttons', 'دکمه ها', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(299, 'fa', 'labels', 'برچسب ها', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(300, 'fa', 'messages', 'پیام ها', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(301, 'fa', 'placeholders', 'متن های راهنما', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(302, 'fa', 'page_titles', 'عنوان های صفحه', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(303, 'fa', 'sales_report', 'گزارش فروش', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(304, 'fa', 'invoice_report', 'گزارش فاکتور', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(305, 'fa', 'invoice_wise_profit_report', 'گزارش سود بر اساس فاکتور', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(306, 'fa', 'sale_return_report', 'گزارش برگشت فروش', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(307, 'fa', 'day_wise_sale_summary', 'خلاصه فروش روزانه', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(308, 'fa', 'item_wise_sales_report', 'گزارش فروش بر اساس آیتم', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(309, 'fa', 'item_modifier_report', 'گزارش اصلاحات آیتم', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(310, 'fa', 'cashier_shift_report', 'گزارش شیفت صندوق دار', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(311, 'fa', 'tax_wise_report', 'گزارش بر اساس مالیات', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(312, 'fa', 'order_taker_report', 'گزارش دریافت کننده سفارش', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(313, 'fa', 'void_orders_report', 'گزارش سفارشات لغو شده', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(314, 'fa', 'purchase_report', 'گزارش خرید', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(315, 'fa', 'stock_balance_report', 'گزارش موجودی انبار', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(316, 'fa', 'stock_valuation_report', 'گزارش ارزش گذاری موجودی', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(317, 'fa', 'item_ledger_report', 'گزارش دفتر آیتم', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(318, 'fa', 'production_report', 'گزارش تولید', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(319, 'fa', 'purchase_return_report', 'گزارش برگشت خرید', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(320, 'fa', 'customer_ledger', 'دفتر مشتری', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(321, 'fa', 'customer_statement', 'صورت حساب مشتری', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(322, 'fa', 'supplier_ledger', 'دفتر تامین کننده', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(323, 'fa', 'supplier_statement', 'صورت حساب تامین کننده', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(324, 'fa', 'profit_loss_report', 'تحلیل سود خالص', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:45'),
(325, 'fa', 'account_ledger', 'دفتر حساب', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(326, 'fa', 'accounts_report', 'گزارش حساب ها', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(327, 'ur', 'dashboard', 'ڈیش بورڈ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(328, 'ur', 'sales', 'سیلز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(329, 'ur', 'purchases', 'خریداری', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(330, 'ur', 'inventory', 'انوینٹری', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(331, 'ur', 'reports', 'رپورٹس', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(332, 'ur', 'settings', 'سیٹنگز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(333, 'ur', 'users', 'صارفین', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(334, 'ur', 'customers', 'کسٹمرز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(335, 'ur', 'suppliers', 'سپلائرز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(336, 'ur', 'items', 'آئٹمز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(337, 'ur', 'categories', 'کیٹگریز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(338, 'ur', 'language_management', 'زبان کا انتظام', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(339, 'ur', 'features', 'فیچرز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(340, 'ur', 'license_info', 'لائسنس کی معلومات', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(341, 'ur', 'new_features', 'نئے فیچرز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(342, 'ur', 'check_updates', 'اپڈیٹ چیک کریں', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(343, 'ur', 'apply_update', 'اپڈیٹ لاگو کریں', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(344, 'ur', 'item_modifiers', 'آئٹم موڈیفائرز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(345, 'ur', 'void_reasons', 'کینسل کرنے کی وجوہات', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(346, 'ur', 'quotations', 'کوٹیشنز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(347, 'ur', 'tables', 'ٹیبلز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(348, 'ur', 'floors', 'فلورز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(349, 'ur', 'unit_of_measurement', 'پیمائش کی اکائی', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(350, 'ur', 'stock_transfer', 'اسٹاک ٹرانسفر', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(351, 'ur', 'new_transfer_request', 'نیا ٹرانسفر درخواست', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(352, 'ur', 'transfer_approval', 'ٹرانسفر کی منظوری', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(353, 'ur', 'stock_adjustment', 'اسٹاک ایڈجسٹمنٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(354, 'ur', 'new_adjustment', 'نیا ایڈجسٹمنٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(355, 'ur', 'production', 'پروڈکشن', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(356, 'ur', 'users_permissions', 'صارفین اور اجازتیں', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(357, 'ur', 'order_takers', 'آرڈر لینے والے', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(358, 'ur', 'riders', 'رائیڈرز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(359, 'ur', 'delivery_orders', 'ڈیلیوری آرڈرز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(360, 'ur', 'expense_list', 'خرچوں کی فہرست', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(361, 'ur', 'general_settings', 'جنرل سیٹنگز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(362, 'ur', 'branch_settings', 'برانچ سیٹنگز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(363, 'ur', 'store_management', 'اسٹور مینجمنٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(364, 'ur', 'tax_rate', 'ٹیکس کی شرح', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(365, 'ur', 'add_new', 'نیا شامل کریں', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(366, 'ur', 'edit', 'ایڈٹ', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(367, 'ur', 'delete', 'ڈیلیٹ', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(368, 'ur', 'save', 'سیو', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(369, 'ur', 'cancel', 'کینسل', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(370, 'ur', 'search', 'سرچ', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(371, 'ur', 'filter', 'فلٹر', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(372, 'ur', 'export', 'ایکسپورٹ', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(373, 'ur', 'import', 'امپورٹ', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(374, 'ur', 'update_translation', 'ترجمہ اپڈیٹ کریں', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(375, 'ur', 'add_translation', 'ترجمہ شامل کریں', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(376, 'ur', 'update', 'اپڈیٹ', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(377, 'ur', 'skip', 'سکیپ', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(378, 'ur', 'void_order', 'آرڈر کینسل کریں', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(379, 'ur', 'confirm', 'کنفرم', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(380, 'ur', 'close', 'بند کریں', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(381, 'ur', 'submit', 'سبمٹ', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(382, 'ur', 'reset', 'ری سیٹ', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(383, 'ur', 'back', 'واپس', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(384, 'ur', 'next', 'اگلا', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(385, 'ur', 'previous', 'پچھلا', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(386, 'ur', 'finish', 'ختم', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(387, 'ur', 'current_language', 'موجودہ زبان', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(388, 'ur', 'available_languages', 'دستیاب زبانیں', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(389, 'ur', 'translation_key', 'ترجمہ کی کلید', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(390, 'ur', 'translation_value', 'ترجمہ کی قیمت', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(391, 'ur', 'rtl_support', 'RTL سپورٹ', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(392, 'ur', 'language_switcher', 'زبان سوئچر', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(393, 'ur', 'context', 'سیاق و سباق', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(394, 'ur', 'name', 'نام', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(395, 'ur', 'email', 'ای میل', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(396, 'ur', 'phone', 'فون', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(397, 'ur', 'address', 'پتہ', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(398, 'ur', 'status', 'حالت', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(399, 'ur', 'actions', 'اعمال', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(400, 'ur', 'price', 'قیمت', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(401, 'ur', 'quantity', 'مقدار', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(402, 'ur', 'total', 'کل', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(403, 'ur', 'subtotal', 'خالص کل', 'labels', '2025-11-05 17:16:29', '2026-02-17 15:01:22'),
(404, 'ur', 'tax', 'ٹیکس', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(405, 'ur', 'discount', 'ڈسکاؤنٹ', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(406, 'ur', 'grand_total', 'گرینڈ ٹوٹل', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(407, 'ur', 'order_list', 'آرڈر کی فہرست', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(408, 'ur', 'delivery_charges', 'ڈیلیوری چارجز', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(409, 'ur', 'notes', 'نوٹس', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(410, 'ur', 'translation_updated', 'ترجمہ کامیابی سے اپڈیٹ ہو گیا', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(411, 'ur', 'translation_added', 'ترجمہ کامیابی سے شامل ہو گیا', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(412, 'ur', 'invalid_language', 'غلط زبان منتخب کی گئی', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(413, 'ur', 'success', 'کامیابی', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(414, 'ur', 'error', 'خرابی', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(415, 'ur', 'warning', 'انتباہ', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(416, 'ur', 'info', 'معلومات', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(417, 'ur', 'confirm_delete', 'کیا آپ واقعی اس آئٹم کو ڈیلیٹ کرنا چاہتے ہیں؟', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(418, 'ur', 'confirm_void', 'کیا آپ واقعی اس آرڈر کو کینسل کرنا چاہتے ہیں؟', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(419, 'ur', 'no_data_found', 'کوئی ڈیٹا نہیں ملا', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(420, 'ur', 'loading', 'لوڈ ہو رہا ہے...', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(421, 'ur', 'please_wait', 'براہ کرم انتظار کریں...', 'messages', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(422, 'ur', 'search_product', 'پروڈکٹ تلاش کریں...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(423, 'ur', 'enter_notes', 'اضافی نوٹس درج کریں...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(424, 'ur', 'enter_name', 'نام درج کریں...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(425, 'ur', 'enter_email', 'ای میل درج کریں...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(426, 'ur', 'enter_phone', 'فون درج کریں...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(427, 'ur', 'enter_address', 'پتہ درج کریں...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(428, 'ur', 'enter_price', 'قیمت درج کریں...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(429, 'ur', 'enter_quantity', 'مقدار درج کریں...', 'placeholders', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(430, 'ur', 'manage_customers', 'اپنے کسٹمرز کا انتظام کریں', 'page_titles', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(431, 'ur', 'manage_system_languages', 'سسٹم کی زبانیں اور تراجم کا انتظام کریں', 'page_titles', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(432, 'ur', 'click_category_settings', 'سیٹنگز لوڈ کرنے کے لیے کیٹگری پر کلک کریں', 'page_titles', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(433, 'ur', 'expenses', 'خرچے', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(434, 'ur', 'expense_accounts', 'خرچے کے اکاؤنٹس', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(435, 'ur', 'expense_categories', 'خرچے کی کیٹگریز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(436, 'ur', 'accounts', 'اکاؤنٹس', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(437, 'ur', 'bank_accounts', 'بینک اکاؤنٹس', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(438, 'ur', 'payments', 'پیمنٹس', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(439, 'ur', 'customer_payments', 'کسٹمر پیمنٹس', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(440, 'ur', 'supplier_payments', 'سپلائر پیمنٹس', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(441, 'ur', 'payment_methods', 'پیمنٹ کے طریقے', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(442, 'ur', 'financials', 'مالیات', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:45'),
(443, 'ur', 'chart_of_accounts', 'اکاؤنٹس کا چارٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(444, 'ur', 'account_mappings', 'اکاؤنٹ میپنگ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(445, 'ur', 'journal_entries', 'جرنل انٹریز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(446, 'ur', 'financial_periods', 'مالی ادوار', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(447, 'ur', 'trial_balance', 'ٹرائل بیلنس', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(448, 'ur', 'general_ledger', 'جنرل لیجر', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(449, 'ur', 'profit_loss', 'منافع اور نقصان', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(450, 'ur', 'financial_reports', 'مالی رپورٹس', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(451, 'ur', 'hardware_devices', 'ہارڈویئر اور ڈیوائسز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(452, 'ur', 'print_devices', 'پرنٹ ڈیوائسز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(453, 'ur', 'kds', 'کچن آرڈر ٹکٹ/کچن ڈسپلے', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:51'),
(454, 'ur', 'tablet_orders', 'ٹیبلٹ آرڈرز', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(455, 'ur', 'database_backup', 'ڈیٹابیس بیک اپ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(456, 'ur', 'backup_management', 'بیک اپ مینجمنٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(457, 'ur', 'restore_database', 'ڈیٹابیس ریسٹور', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(458, 'ur', 'all', 'سب', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(459, 'ur', 'clear', 'صاف کریں', 'buttons', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(460, 'ur', 'navigation', 'نیویگیشن', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(461, 'ur', 'buttons', 'بٹنز', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(462, 'ur', 'labels', 'لیبلز', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(463, 'ur', 'messages', 'پیغامات', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(464, 'ur', 'placeholders', 'پلیس ہولڈرز', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(465, 'ur', 'page_titles', 'صفحہ کے عنوانات', 'labels', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(466, 'ur', 'sales_report', 'سیلز رپورٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(467, 'ur', 'invoice_report', 'انوائس رپورٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(468, 'ur', 'invoice_wise_profit_report', 'انوائس وائز پرافٹ رپورٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(469, 'ur', 'sale_return_report', 'سیل ریٹرن رپورٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(470, 'ur', 'day_wise_sale_summary', 'ڈے وائز سیل سمیری', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(471, 'ur', 'item_wise_sales_report', 'آئٹم وائز سیلز رپورٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(472, 'ur', 'item_modifier_report', 'آئٹم موڈیفائر رپورٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(473, 'ur', 'cashier_shift_report', 'کیشئیر شفٹ رپورٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(474, 'ur', 'tax_wise_report', 'ٹیکس وائز رپورٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(475, 'ur', 'order_taker_report', 'آرڈر ٹیکر رپورٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(476, 'ur', 'void_orders_report', 'وائڈ آرڈرز رپورٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(477, 'ur', 'purchase_report', 'پچیز رپورٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(478, 'ur', 'stock_balance_report', 'اسٹاک بیلنس رپورٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(479, 'ur', 'stock_valuation_report', 'اسٹاک ویلیوایشن رپورٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(480, 'ur', 'item_ledger_report', 'آئٹم لیجر رپورٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(481, 'ur', 'production_report', 'پروڈکشن رپورٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(482, 'ur', 'purchase_return_report', 'پچیز ریٹرن رپورٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(483, 'ur', 'customer_ledger', 'کسٹمر لیجر', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(484, 'ur', 'customer_statement', 'کسٹمر سٹیٹمنٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(485, 'ur', 'supplier_ledger', 'سپلائر لیجر', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(486, 'ur', 'supplier_statement', 'سپلائر سٹیٹمنٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(487, 'ur', 'profit_loss_report', 'نیٹ پرافٹ تجزیہ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:45'),
(488, 'ur', 'account_ledger', 'اکاؤنٹ لیجر', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29'),
(489, 'ur', 'accounts_report', 'اکاؤنٹس رپورٹ', 'navigation', '2025-11-05 17:16:29', '2025-11-05 17:16:29');
INSERT INTO `translations` (`id`, `language_code`, `key`, `value`, `context`, `created_at`, `updated_at`) VALUES
(490, 'ar', 'dashboard', 'لوحة التحكم', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(491, 'ar', 'sales', 'المبيعات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(492, 'ar', 'purchases', 'المشتريات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(493, 'ar', 'inventory', 'المخزون', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(494, 'ar', 'reports', 'التقارير', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(495, 'ar', 'settings', 'الإعدادات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(496, 'ar', 'users', 'المستخدمون', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(497, 'ar', 'customers', 'العملاء', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(498, 'ar', 'suppliers', 'الموردون', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(499, 'ar', 'items', 'الأصناف', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(500, 'ar', 'categories', 'الفئات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(501, 'ar', 'language_management', 'إدارة اللغات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(502, 'ar', 'features', 'الميزات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(503, 'ar', 'license_info', 'معلومات الترخيص', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(504, 'ar', 'new_features', 'الميزات الجديدة', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(505, 'ar', 'check_updates', 'فحص التحديثات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(506, 'ar', 'apply_update', 'تطبيق التحديث', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(507, 'ar', 'item_modifiers', 'معدلات الأصناف', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(508, 'ar', 'void_reasons', 'أسباب الإلغاء', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(509, 'ar', 'quotations', 'عروض الأسعار', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(510, 'ar', 'tables', 'الطاولات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(511, 'ar', 'floors', 'الطوابق', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(512, 'ar', 'unit_of_measurement', 'وحدة القياس', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(513, 'ar', 'stock_transfer', 'نقل المخزون', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(514, 'ar', 'new_transfer_request', 'طلب نقل جديد', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(515, 'ar', 'transfer_approval', 'موافقة النقل', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(516, 'ar', 'stock_adjustment', 'تعديل المخزون', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(517, 'ar', 'new_adjustment', 'تعديل جديد', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(518, 'ar', 'production', 'الإنتاج', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(519, 'ar', 'users_permissions', 'المستخدمون والصلاحيات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(520, 'ar', 'order_takers', 'أخذ الطلبات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(521, 'ar', 'riders', 'الراكبون', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(522, 'ar', 'delivery_orders', 'طلبات التوصيل', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(523, 'ar', 'expense_list', 'قائمة المصروفات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(524, 'ar', 'general_settings', 'الإعدادات العامة', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(525, 'ar', 'branch_settings', 'إعدادات الفرع', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(526, 'ar', 'store_management', 'إدارة المتجر', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(527, 'ar', 'tax_rate', 'معدل الضريبة', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(528, 'ar', 'add_new', 'إضافة جديد', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(529, 'ar', 'edit', 'تعديل', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(530, 'ar', 'delete', 'حذف', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(531, 'ar', 'save', 'حفظ', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(532, 'ar', 'cancel', 'إلغاء', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(533, 'ar', 'search', 'بحث', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(534, 'ar', 'filter', 'تصفية', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(535, 'ar', 'export', 'تصدير', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(536, 'ar', 'import', 'استيراد', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(537, 'ar', 'update_translation', 'تحديث الترجمة', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(538, 'ar', 'add_translation', 'إضافة ترجمة', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(539, 'ar', 'update', 'تحديث', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(540, 'ar', 'skip', 'تخطي', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(541, 'ar', 'void_order', 'إلغاء الطلب', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(542, 'ar', 'confirm', 'تأكيد', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(543, 'ar', 'close', 'إغلاق', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(544, 'ar', 'submit', 'إرسال', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(545, 'ar', 'reset', 'إعادة تعيين', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(546, 'ar', 'back', 'رجوع', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(547, 'ar', 'next', 'التالي', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(548, 'ar', 'previous', 'السابق', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(549, 'ar', 'finish', 'إنهاء', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(550, 'ar', 'clear', 'مسح', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(551, 'ar', 'current_language', 'اللغة الحالية', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(552, 'ar', 'available_languages', 'اللغات المتاحة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(553, 'ar', 'translation_key', 'مفتاح الترجمة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(554, 'ar', 'translation_value', 'قيمة الترجمة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(555, 'ar', 'rtl_support', 'دعم الكتابة من اليمين إلى اليسار', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(556, 'ar', 'language_switcher', 'مبدل اللغة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(557, 'ar', 'context', 'السياق', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(558, 'ar', 'name', 'الاسم', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(559, 'ar', 'email', 'البريد الإلكتروني', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(560, 'ar', 'phone', 'الهاتف', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(561, 'ar', 'address', 'العنوان', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(562, 'ar', 'status', 'الحالة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(563, 'ar', 'actions', 'الإجراءات', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(564, 'ar', 'price', 'السعر', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(565, 'ar', 'quantity', 'الكمية', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(566, 'ar', 'total', 'المجموع', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(567, 'ar', 'subtotal', 'المجموع الصافي', 'labels', '2025-11-05 17:16:38', '2026-02-17 15:01:22'),
(568, 'ar', 'tax', 'الضريبة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(569, 'ar', 'discount', 'الخصم', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(570, 'ar', 'grand_total', 'المجموع الكلي', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(571, 'ar', 'order_list', 'قائمة الطلبات', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(572, 'ar', 'delivery_charges', 'رسوم التوصيل', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(573, 'ar', 'notes', 'ملاحظات', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(574, 'ar', 'all', 'الكل', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(575, 'ar', 'navigation', 'التنقل', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(576, 'ar', 'buttons', 'الأزرار', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(577, 'ar', 'labels', 'التسميات', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(578, 'ar', 'messages', 'الرسائل', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(579, 'ar', 'placeholders', 'النصوص التوضيحية', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(580, 'ar', 'page_titles', 'عناوين الصفحات', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(581, 'ar', 'translation_updated', 'تم تحديث الترجمة بنجاح', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(582, 'ar', 'translation_added', 'تم إضافة الترجمة بنجاح', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(583, 'ar', 'invalid_language', 'اللغة المحددة غير صحيحة', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(584, 'ar', 'success', 'نجح', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(585, 'ar', 'error', 'خطأ', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(586, 'ar', 'warning', 'تحذير', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(587, 'ar', 'info', 'معلومات', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(588, 'ar', 'confirm_delete', 'هل أنت متأكد من أنك تريد حذف هذا العنصر؟', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(589, 'ar', 'confirm_void', 'هل أنت متأكد من أنك تريد إلغاء هذا الطلب؟', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(590, 'ar', 'no_data_found', 'لم يتم العثور على بيانات', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(591, 'ar', 'loading', 'جاري التحميل...', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(592, 'ar', 'please_wait', 'يرجى الانتظار...', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(593, 'ar', 'search_product', 'البحث عن المنتج...', 'placeholders', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(594, 'ar', 'enter_notes', 'أدخل أي ملاحظات إضافية...', 'placeholders', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(595, 'ar', 'enter_name', 'أدخل الاسم...', 'placeholders', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(596, 'ar', 'enter_email', 'أدخل البريد الإلكتروني...', 'placeholders', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(597, 'ar', 'enter_phone', 'أدخل رقم الهاتف...', 'placeholders', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(598, 'ar', 'enter_address', 'أدخل العنوان...', 'placeholders', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(599, 'ar', 'enter_price', 'أدخل السعر...', 'placeholders', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(600, 'ar', 'enter_quantity', 'أدخل الكمية...', 'placeholders', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(601, 'ar', 'manage_customers', 'إدارة عملائك', 'page_titles', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(602, 'ar', 'manage_system_languages', 'إدارة لغات النظام والترجمات', 'page_titles', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(603, 'ar', 'click_category_settings', 'انقر على فئة لتحميل إعداداتها', 'page_titles', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(604, 'ar', 'expenses', 'المصروفات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(605, 'ar', 'expense_accounts', 'حسابات المصروفات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(606, 'ar', 'expense_categories', 'فئات المصروفات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(607, 'ar', 'accounts', 'الحسابات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(608, 'ar', 'bank_accounts', 'الحسابات البنكية', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(609, 'ar', 'payments', 'المدفوعات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(610, 'ar', 'customer_payments', 'مدفوعات العملاء', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(611, 'ar', 'supplier_payments', 'مدفوعات الموردين', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(612, 'ar', 'payment_methods', 'طرق الدفع', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(613, 'ar', 'financials', 'المالية', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(614, 'ar', 'chart_of_accounts', 'دليل الحسابات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(615, 'ar', 'account_mappings', 'ربط الحسابات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(616, 'ar', 'journal_entries', 'قيود اليومية', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(617, 'ar', 'financial_periods', 'الفترات المالية', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(618, 'ar', 'trial_balance', 'ميزان المراجعة', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(619, 'ar', 'general_ledger', 'دفتر الأستاذ العام', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(620, 'ar', 'profit_loss', 'الأرباح والخسائر', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(621, 'ar', 'financial_reports', 'التقارير المالية', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(622, 'ar', 'hardware_devices', 'الأجهزة والمعدات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(623, 'ar', 'print_devices', 'أجهزة الطباعة', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(624, 'ar', 'kds', 'طلب المطبخ/شاشة المطبخ', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:51'),
(625, 'ar', 'tablet_orders', 'طلبات الأجهزة اللوحية', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(626, 'ar', 'database_backup', 'نسخ احتياطي لقاعدة البيانات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(627, 'ar', 'backup_management', 'إدارة النسخ الاحتياطية', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(628, 'ar', 'restore_database', 'استعادة قاعدة البيانات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(629, 'ar', 'sales_report', 'تقرير المبيعات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(630, 'ar', 'invoice_report', 'تقرير الفواتير', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(631, 'ar', 'invoice_wise_profit_report', 'تقرير الأرباح حسب الفاتورة', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(632, 'ar', 'sale_return_report', 'تقرير مرتجع المبيعات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(633, 'ar', 'day_wise_sale_summary', 'ملخص المبيعات اليومية', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(634, 'ar', 'item_wise_sales_report', 'تقرير المبيعات حسب الصنف', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(635, 'ar', 'item_modifier_report', 'تقرير معدلات الأصناف', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(636, 'ar', 'cashier_shift_report', 'تقرير نوبة الصندوق', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(637, 'ar', 'tax_wise_report', 'تقرير الضرائب', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(638, 'ar', 'order_taker_report', 'تقرير أخذ الطلبات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(639, 'ar', 'void_orders_report', 'تقرير الطلبات الملغاة', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(640, 'ar', 'purchase_report', 'تقرير المشتريات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(641, 'ar', 'stock_balance_report', 'تقرير رصيد المخزون', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(642, 'ar', 'stock_valuation_report', 'تقرير تقييم المخزون', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(643, 'ar', 'item_ledger_report', 'تقرير دفتر الأصناف', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(644, 'ar', 'production_report', 'تقرير الإنتاج', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(645, 'ar', 'purchase_return_report', 'تقرير مرتجع المشتريات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(646, 'ar', 'customer_ledger', 'دفتر العملاء', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(647, 'ar', 'customer_statement', 'كشف حساب العميل', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(648, 'ar', 'supplier_ledger', 'دفتر الموردين', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(649, 'ar', 'supplier_statement', 'كشف حساب المورد', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(650, 'ar', 'profit_loss_report', 'تحليل صافي الربح', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:45'),
(651, 'ar', 'account_ledger', 'دفتر الحسابات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(652, 'ar', 'accounts_report', 'تقرير الحسابات', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(653, 'ar', 'item_cost_report', 'تقرير تكلفة الأصناف', 'navigation', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(654, 'ar', 'cost_method', 'طريقة التكلفة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(655, 'ar', 'average_cost', 'متوسط التكلفة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(656, 'ar', 'fifo_cost', 'تكلفة FIFO', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(657, 'ar', 'current_cost', 'التكلفة الحالية', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(658, 'ar', 'retail_price', 'سعر البيع', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(659, 'ar', 'cost_price', 'سعر التكلفة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(660, 'ar', 'margin', 'الهامش', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(661, 'ar', 'stock_value', 'قيمة المخزون', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(662, 'ar', 'profit_amount', 'مبلغ الربح', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(663, 'ar', 'profit_percentage', 'نسبة الربح', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(664, 'ar', 'margin_percentage', 'نسبة الهامش', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(665, 'ar', 'current_stock', 'المخزون الحالي', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(666, 'ar', 'last_movement', 'آخر حركة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(667, 'ar', 'show_zero_cost', 'إظهار التكلفة الصفرية', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(668, 'ar', 'from_date', 'من تاريخ', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(669, 'ar', 'to_date', 'إلى تاريخ', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(670, 'ar', 'pos', 'نقطة البيع', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(671, 'ar', 'cart', 'السلة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(672, 'ar', 'checkout', 'الدفع', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(673, 'ar', 'receipt', 'الإيصال', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(674, 'ar', 'invoice', 'الفاتورة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(675, 'ar', 'customer', 'العميل', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(676, 'ar', 'supplier', 'المورد', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(677, 'ar', 'item', 'الصنف', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(678, 'ar', 'category', 'الفئة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(679, 'ar', 'sub_category', 'الفئة الفرعية', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(680, 'ar', 'barcode', 'الباركود', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(681, 'ar', 'sku', 'رمز المنتج', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(682, 'ar', 'stock', 'المخزون', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(683, 'ar', 'material', 'المواد', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(684, 'ar', 'non_stock', 'غير مخزني', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(685, 'ar', 'bulk', 'الكميات الكبيرة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(686, 'ar', 'loose', 'مفكوك', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(687, 'ar', 'reorder_level', 'مستوى إعادة الطلب', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(688, 'ar', 'reorder_quantity', 'كمية إعادة الطلب', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(689, 'ar', 'tax_type', 'نوع الضريبة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(690, 'ar', 'included', 'مشمول', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(691, 'ar', 'excluded', 'غير مشمول', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(692, 'ar', 'nil', 'صفر', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(693, 'ar', 'add_item', 'إضافة صنف', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(694, 'ar', 'edit_item', 'تعديل الصنف', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(695, 'ar', 'delete_item', 'حذف الصنف', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(696, 'ar', 'view_item', 'عرض الصنف', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(697, 'ar', 'print_barcode', 'طباعة الباركود', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(698, 'ar', 'import_items', 'استيراد الأصناف', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(699, 'ar', 'export_items', 'تصدير الأصناف', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(700, 'ar', 'bulk_edit', 'تعديل جماعي', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(701, 'ar', 'bulk_delete', 'حذف جماعي', 'buttons', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(702, 'ar', 'required_field', 'هذا الحقل مطلوب', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(703, 'ar', 'invalid_email', 'البريد الإلكتروني غير صحيح', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(704, 'ar', 'invalid_phone', 'رقم الهاتف غير صحيح', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(705, 'ar', 'invalid_price', 'السعر غير صحيح', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(706, 'ar', 'invalid_quantity', 'الكمية غير صحيحة', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(707, 'ar', 'duplicate_code', 'الكود موجود بالفعل', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(708, 'ar', 'item_not_found', 'الصنف غير موجود', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(709, 'ar', 'insufficient_stock', 'المخزون غير كافي', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(710, 'ar', 'item_added_successfully', 'تم إضافة الصنف بنجاح', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(711, 'ar', 'item_updated_successfully', 'تم تحديث الصنف بنجاح', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(712, 'ar', 'item_deleted_successfully', 'تم حذف الصنف بنجاح', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(713, 'ar', 'items_imported_successfully', 'تم استيراد الأصناف بنجاح', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(714, 'ar', 'items_exported_successfully', 'تم تصدير الأصناف بنجاح', 'messages', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(715, 'ar', 'item_code', 'كود الصنف', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(716, 'ar', 'sku_number', 'رقم SKU', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(717, 'ar', 'item_name', 'اسم الصنف', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(718, 'ar', 'item_role', 'دور الصنف', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(719, 'ar', 'stock_item', 'صنف مخزني', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(720, 'ar', 'material_item', 'صنف مواد', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(721, 'ar', 'non_stock_item', 'صنف غير مخزني', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(722, 'ar', 'item_type', 'نوع الصنف', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(723, 'ar', 'bulk_qty', 'كمية الكمية الكبيرة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(724, 'ar', 'bulk_price', 'سعر الكمية الكبيرة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(725, 'ar', 'pkg_qty', 'كمية العبوة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(726, 'ar', 'product_image', 'صورة المنتج', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(727, 'ar', 'uom', 'وحدة القياس', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(728, 'ar', 'id', 'المعرف', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(729, 'ar', 'code', 'الكود', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(730, 'ar', 'image', 'الصورة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(731, 'ar', 'type', 'النوع', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(732, 'ar', 'role', 'الدور', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(733, 'ar', 'cost', 'التكلفة', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(734, 'ar', 'retail', 'البيع', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(735, 'ar', 'profit', 'الربح', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(736, 'ar', 'stock_qty', 'كمية المخزون', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(737, 'ar', 'created_date', 'تاريخ الإنشاء', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(738, 'ar', 'updated_date', 'تاريخ التحديث', 'labels', '2025-11-05 17:16:38', '2025-11-05 17:16:38'),
(739, 'en', 'updates', 'Updates', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(740, 'en', 'users_access', 'Users & Access', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(741, 'en', 'help', 'Help', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(742, 'en', 'card_types', 'Card Types', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(743, 'en', 'discount_management', 'Discount Management', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(744, 'en', 'database_operation', 'Database Operation', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(745, 'en', 'sync_settings', 'Sync Settings', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(746, 'en', 'contact_support', 'Contact Support', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(747, 'ur', 'updates', 'اپڈیٹس', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(748, 'ur', 'users_access', 'صارفین اور رسائی', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(749, 'ur', 'help', 'مدد', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(750, 'ur', 'card_types', 'کارڈ اقسام', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(751, 'ur', 'discount_management', 'ڈسکاؤنٹ مینجمنٹ', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(752, 'ur', 'database_operation', 'ڈیٹا بیس آپریشن', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(753, 'ur', 'sync_settings', 'سنگ سیٹنگز', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(754, 'ur', 'contact_support', 'سپورٹ سے رابطہ کریں', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(755, 'fa', 'updates', 'به‌روزرسانی‌ها', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(756, 'fa', 'users_access', 'کاربران و دسترسی', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(757, 'fa', 'help', 'راهنما', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(758, 'fa', 'card_types', 'انواع کارت', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(759, 'fa', 'discount_management', 'مدیریت تخفیف', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(760, 'fa', 'database_operation', 'عملیات پایگاه داده', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(761, 'fa', 'sync_settings', 'تنظیمات همگام‌سازی', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(762, 'fa', 'contact_support', 'تماس با پشتیبانی', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(772, 'en', 'welcome_to', 'Welcome to', 'page_titles', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(773, 'en', 'itr_pos_by_it_resources', 'ITR POS by IT Resources', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(774, 'en', 'todays_gross_sales', 'Today\'s Gross Sales', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(775, 'en', 'todays_purchase', 'Today\'s Purchase', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(776, 'en', 'total_gross_sales', 'Total Gross Sales', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(777, 'en', 'total_expense_amount', 'Total Expense Amount', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(778, 'en', 'customer_outstanding', 'Customer Outstanding', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(779, 'en', 'supplier_outstanding', 'Supplier Outstanding', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(780, 'en', 'purchase_invoice', 'Purchase Invoice', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(781, 'en', 'sales_invoice', 'Sales Invoice', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(782, 'en', 'todays_deliveries', 'Today\'s Deliveries', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(783, 'en', 'pending_deliveries', 'Pending Deliveries', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(784, 'en', 'out_for_delivery', 'Out for Delivery', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(785, 'en', 'completed_deliveries', 'Completed Deliveries', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(786, 'en', 'top_selling_products', 'Top Selling Products', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(787, 'en', 'purchase_and_sales', 'Purchase & Sales', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(788, 'en', 'no_sales_data', 'No sales data available.', 'messages', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(789, 'en', 'cash_balance', 'Cash Balance', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(790, 'ur', 'welcome_to', 'خوش آمدید', 'page_titles', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(791, 'ur', 'itr_pos_by_it_resources', 'آئی ٹی ریسورسز کا آئی ٹی آر پی او ایس', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(792, 'ur', 'todays_gross_sales', 'آج کی مجموعی سیلز', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(793, 'ur', 'todays_purchase', 'آج کی خریداری', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(794, 'ur', 'total_gross_sales', 'مجموعی سیلز', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(795, 'ur', 'total_expense_amount', 'کل اخراجات', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(796, 'ur', 'customer_outstanding', 'کسٹمر واجبات', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(797, 'ur', 'supplier_outstanding', 'سپلائر واجبات', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(798, 'ur', 'purchase_invoice', 'خریداری کی رسید', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(799, 'ur', 'sales_invoice', 'فروخت کی رسید', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(800, 'ur', 'todays_deliveries', 'آج کی ڈلیوریز', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(801, 'ur', 'pending_deliveries', 'زیر التواء ڈلیوریز', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(802, 'ur', 'out_for_delivery', 'ڈلیوری کے لیے روانہ', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(803, 'ur', 'completed_deliveries', 'مکمل شدہ ڈلیوریز', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(804, 'ur', 'top_selling_products', 'سب سے زیادہ فروخت ہونے والی اشیاء', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(805, 'ur', 'purchase_and_sales', 'خرید و فروخت', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(806, 'ur', 'no_sales_data', 'کوئی سیلز ڈیٹا دستیاب نہیں۔', 'messages', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(807, 'ur', 'cash_balance', 'نقد بیلنس', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(808, 'fa', 'welcome_to', 'خوش آمدید به', 'page_titles', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(809, 'fa', 'itr_pos_by_it_resources', 'آی‌تی‌آر پی‌او‌اس توسط آی‌تی ریسورسز', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(810, 'fa', 'todays_gross_sales', 'فروش ناخالص امروز', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(811, 'fa', 'todays_purchase', 'خرید امروز', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(812, 'fa', 'total_gross_sales', 'کل فروش ناخالص', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(813, 'fa', 'total_expense_amount', 'مجموع هزینه‌ها', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(814, 'fa', 'customer_outstanding', 'مطالبات مشتری', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(815, 'fa', 'supplier_outstanding', 'بدهی به تامین‌کننده', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(816, 'fa', 'purchase_invoice', 'فاکتور خرید', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(817, 'fa', 'sales_invoice', 'فاکتور فروش', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(818, 'fa', 'todays_deliveries', 'تحویل‌های امروز', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(819, 'fa', 'pending_deliveries', 'تحویل‌های در انتظار', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(820, 'fa', 'out_for_delivery', 'ارسال برای تحویل', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(821, 'fa', 'completed_deliveries', 'تحویل‌های تکمیل‌شده', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(822, 'fa', 'top_selling_products', 'پرفروش‌ترین محصولات', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(823, 'fa', 'purchase_and_sales', 'خرید و فروش', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(824, 'fa', 'no_sales_data', 'داده‌ای برای فروش موجود نیست.', 'messages', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(825, 'fa', 'cash_balance', 'موجودی نقد', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(826, 'ar', 'updates', 'التحديثات', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(827, 'ar', 'users_access', 'المستخدمون والصلاحيات', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(828, 'ar', 'help', 'مساعدة', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(829, 'ar', 'card_types', 'أنواع البطاقات', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(830, 'ar', 'discount_management', 'إدارة الخصومات', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(831, 'ar', 'database_operation', 'عمليات قاعدة البيانات', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(832, 'ar', 'sync_settings', 'إعدادات المزامنة', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(833, 'ar', 'contact_support', 'اتصل بالدعم', 'navigation', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(837, 'ar', 'welcome_to', 'مرحبًا بك في', 'page_titles', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(838, 'ar', 'itr_pos_by_it_resources', 'نظام نقاط البيع ITR بواسطة IT Resources', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(839, 'ar', 'todays_gross_sales', 'إجمالي مبيعات اليوم', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(840, 'ar', 'todays_purchase', 'مشتريات اليوم', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(841, 'ar', 'total_gross_sales', 'إجمالي المبيعات', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(842, 'ar', 'total_expense_amount', 'إجمالي المصروفات', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(843, 'ar', 'customer_outstanding', 'مستحقات العملاء', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(844, 'ar', 'supplier_outstanding', 'مستحقات الموردين', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(845, 'ar', 'purchase_invoice', 'فواتير الشراء', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(846, 'ar', 'sales_invoice', 'فواتير البيع', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(847, 'ar', 'todays_deliveries', 'طلبات اليوم المُسلمة', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(848, 'ar', 'pending_deliveries', 'طلبات قيد التسليم', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(849, 'ar', 'out_for_delivery', 'خارج للتسليم', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(850, 'ar', 'completed_deliveries', 'طلبات مكتملة التسليم', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(851, 'ar', 'top_selling_products', 'المنتجات الأكثر مبيعًا', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(852, 'ar', 'purchase_and_sales', 'المشتريات والمبيعات', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(853, 'ar', 'no_sales_data', 'لا توجد بيانات مبيعات.', 'messages', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(854, 'ar', 'cash_balance', 'رصيد النقد', 'labels', '2025-11-05 17:16:45', '2025-11-05 17:16:45'),
(855, 'en', 'opening_balances', 'Opening Balances', 'navigation', '2025-11-05 17:16:46', '2025-11-05 17:16:46'),
(856, 'ar', 'opening_balances', 'الأرصدة الافتتاحية', 'navigation', '2025-11-05 17:16:46', '2025-11-05 17:16:46'),
(857, 'ur', 'opening_balances', 'ابتدائی بیلنس', 'navigation', '2025-11-05 17:16:46', '2025-11-05 17:16:46'),
(858, 'fa', 'opening_balances', 'موجودی اولیه', 'navigation', '2025-11-05 17:16:46', '2025-11-05 17:16:46'),
(859, 'en', 'total_customer_outstanding', 'Total Customer Outstanding', 'labels', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(860, 'ur', 'total_customer_outstanding', 'مجموعی کسٹمر واجبات', 'labels', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(861, 'fa', 'total_customer_outstanding', 'کل مطالبات مشتری', 'labels', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(862, 'ar', 'total_customer_outstanding', 'إجمالي مستحقات العملاء', 'labels', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(863, 'en', 'total_supplier_outstanding', 'Total Supplier Outstanding', 'labels', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(864, 'ur', 'total_supplier_outstanding', 'مجموعی سپلائر واجبات', 'labels', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(865, 'fa', 'total_supplier_outstanding', 'کل بدهی تأمین‌کننده', 'labels', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(866, 'ar', 'total_supplier_outstanding', 'إجمالي مستحقات الموردين', 'labels', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(867, 'en', 'top_customers_sales', 'Top Customers Sales', 'labels', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(868, 'ur', 'top_customers_sales', 'سرِفہرست کسٹمر سیلز', 'labels', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(869, 'fa', 'top_customers_sales', 'پرفروش‌ترین مشتریان', 'labels', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(870, 'ar', 'top_customers_sales', 'أعلى مبيعات العملاء', 'labels', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(871, 'en', 'top_expense_categories', 'Top Expense Categories', 'labels', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(872, 'ur', 'top_expense_categories', 'سرِفہرست خرچ کی کیٹگریز', 'labels', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(873, 'fa', 'top_expense_categories', 'پراستفاده‌ترین دسته‌های هزینه', 'labels', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(874, 'ar', 'top_expense_categories', 'أعلى فئات المصروفات', 'labels', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(875, 'en', 'no_customer_sales_data', 'No customer sales data available.', 'messages', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(876, 'ur', 'no_customer_sales_data', 'کسٹمر سیلز کا کوئی ڈیٹا دستیاب نہیں۔', 'messages', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(877, 'fa', 'no_customer_sales_data', 'داده‌ای برای فروش مشتری در دسترس نیست.', 'messages', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(878, 'ar', 'no_customer_sales_data', 'لا تتوفر بيانات مبيعات العملاء.', 'messages', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(879, 'en', 'no_expense_category_data', 'No expense category data available.', 'messages', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(880, 'ur', 'no_expense_category_data', 'خرچ کی کیٹگریز کا کوئی ڈیٹا دستیاب نہیں۔', 'messages', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(881, 'fa', 'no_expense_category_data', 'هیچ داده‌ای برای دسته‌های هزینه در دسترس نیست.', 'messages', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(882, 'ar', 'no_expense_category_data', 'لا تتوفر بيانات فئات المصروفات.', 'messages', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(890, 'en', 'delivery_challan', 'Delivery Challan', 'navigation', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(891, 'en', 'delivery_challan_subtitle', 'Generate challans for delivered invoices', 'navigation', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(892, 'en', 'print_selected', 'Print Selected', 'general', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(893, 'en', 'search_invoice_placeholder', 'Search invoice #', 'general', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(894, 'en', 'available_invoices', 'Available Invoices', 'general', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(895, 'en', 'records', 'records', 'general', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(896, 'en', 'delivery_address', 'Delivery Address', 'general', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(897, 'en', 'delivery_status', 'Delivery Status', 'general', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(898, 'en', 'no_invoices_found', 'No invoices found for the selected filters.', 'general', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(899, 'en', 'print_challan', 'Print Challan', 'general', '2026-02-17 15:01:10', '2026-02-17 15:01:10'),
(900, 'en', 'hold_orders', 'Hold Orders', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(901, 'en', 'hold', 'Hold', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(902, 'en', 'transaction', 'Transaction', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(903, 'en', 'transaction_id', 'Transaction ID', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(904, 'en', 'products', 'Products', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(905, 'en', 'subcategories', 'Subcategories', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(906, 'en', 'order_tax', 'Order Tax', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(907, 'en', 'service_charges', 'Service Charges', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(908, 'en', 'withholding', 'Withholding', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(909, 'en', 'walk_in_customer', 'Walk-in Customer', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(910, 'en', 'select_customer', 'Select Customer', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(911, 'en', 'select_category_view_subcategories', 'Select a category to view subcategories', 'messages', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(912, 'en', 'payment', 'Payment', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(913, 'en', 'void', 'Void', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(914, 'fa', 'hold_orders', 'سفارشات نگه‌داشته', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(915, 'fa', 'hold', 'نگه‌داری', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(916, 'fa', 'transaction', 'تراکنش', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(917, 'fa', 'transaction_id', 'شناسه تراکنش', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(918, 'fa', 'products', 'محصولات', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(919, 'fa', 'subcategories', 'زیر دسته‌ها', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(920, 'fa', 'order_tax', 'مالیات سفارش', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(921, 'fa', 'service_charges', 'هزینه خدمات', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(922, 'fa', 'withholding', 'کسر مالیات', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(923, 'fa', 'walk_in_customer', 'مشتری بدون ثبت نام', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(924, 'fa', 'select_customer', 'انتخاب مشتری', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(925, 'fa', 'select_category_view_subcategories', 'برای مشاهده زیر دسته‌ها، یک دسته انتخاب کنید', 'messages', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(926, 'fa', 'payment', 'پرداخت', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(927, 'fa', 'void', 'لغو', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(928, 'ur', 'hold_orders', 'ہولڈ آرڈرز', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(929, 'ur', 'hold', 'ہولڈ', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(930, 'ur', 'transaction', 'ٹرانزیکشن', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(931, 'ur', 'transaction_id', 'ٹرانزیکشن آئی ڈی', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(932, 'ur', 'products', 'پروڈکٹس', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(933, 'ur', 'subcategories', 'ذیلی کیٹگریز', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(934, 'ur', 'order_tax', 'آرڈر ٹیکس', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(935, 'ur', 'service_charges', 'سروس چارجز', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(936, 'ur', 'withholding', 'وائٹ ہولڈنگ', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(937, 'ur', 'walk_in_customer', 'واک ان کسٹمر', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(938, 'ur', 'select_customer', 'کسٹمر منتخب کریں', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(939, 'ur', 'select_category_view_subcategories', 'ذیلی کیٹگریز دیکھنے کے لیے ایک کیٹگری منتخب کریں', 'messages', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(940, 'ur', 'payment', 'پیمنٹ', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(941, 'ur', 'void', 'وائڈ', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(942, 'ar', 'hold_orders', 'الطلبات المحفوظة', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(943, 'ar', 'hold', 'حفظ', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(944, 'ar', 'transaction', 'المعاملة', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(945, 'ar', 'transaction_id', 'رقم المعاملة', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(946, 'ar', 'products', 'المنتجات', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(947, 'ar', 'subcategories', 'الفئات الفرعية', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(948, 'ar', 'order_tax', 'ضريبة الطلب', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(949, 'ar', 'service_charges', 'رسوم الخدمة', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(950, 'ar', 'withholding', 'الاستقطاع', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(951, 'ar', 'walk_in_customer', 'عميل بدون تسجيل', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(952, 'ar', 'select_customer', 'اختر العميل', 'labels', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(953, 'ar', 'select_category_view_subcategories', 'اختر فئة لعرض الفئات الفرعية', 'messages', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(954, 'ar', 'payment', 'الدفع', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22'),
(955, 'ar', 'void', 'إلغاء', 'buttons', '2026-02-17 15:01:22', '2026-02-17 15:01:22');

-- --------------------------------------------------------

--
-- Table structure for table `uoms`
--

CREATE TABLE IF NOT EXISTS `uoms` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL,
  `symbol` varchar(10) NOT NULL,
  `group_id` int NOT NULL,
  `base_quantity` decimal(10,4) DEFAULT '1.0000',
  `is_base` tinyint(1) DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `group_id` (`group_id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `uoms`
--

INSERT INTO `uoms` (`id`, `name`, `symbol`, `group_id`, `base_quantity`, `is_base`) VALUES
(1, 'Piece', 'pc', 1, 1.0000, 1),
(2, 'Dozen', 'dz', 1, 12.0000, 0),
(3, 'Gram', 'g', 2, 1.0000, 1),
(4, 'Kilogram', 'kg', 2, 1000.0000, 0),
(5, 'Milligram', 'mg', 2, 0.0010, 0),
(6, 'Liter', 'l', 3, 1.0000, 1),
(7, 'Milliliter', 'ml', 3, 0.0010, 0),
(8, 'Centimeter', 'cm', 4, 1.0000, 1),
(9, 'Meter', 'm', 4, 100.0000, 0);

-- --------------------------------------------------------

--
-- Table structure for table `uom_groups`
--

CREATE TABLE IF NOT EXISTS `uom_groups` (
  `id` int NOT NULL AUTO_INCREMENT,
  `code` varchar(10) NOT NULL,
  `name` varchar(50) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `code` (`code`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `uom_groups`
--

INSERT INTO `uom_groups` (`id`, `code`, `name`) VALUES
(1, 'CNT', 'Count'),
(2, 'WGT', 'Weight'),
(3, 'VLM', 'Volume'),
(4, 'LGT', 'Length');

-- --------------------------------------------------------

--
-- Table structure for table `users`
--

CREATE TABLE IF NOT EXISTS `users` (
  `id` int NOT NULL AUTO_INCREMENT,
  `assigned_store_id` int DEFAULT NULL,
  `default_branch_id` int NOT NULL DEFAULT '1',
  `username` varchar(100) NOT NULL,
  `email` varchar(100) DEFAULT NULL,
  `password` varchar(255) DEFAULT NULL,
  `role_id` int DEFAULT NULL,
  `is_active` tinyint(1) DEFAULT '1',
  `last_login` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `pin` varchar(10) DEFAULT NULL,
  `profile_picture` varchar(255) DEFAULT NULL,
  `pin_required_for_void` tinyint(1) DEFAULT '1',
  `pin_login_enabled` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `role_id` (`role_id`),
  KEY `idx_username` (`username`),
  KEY `idx_email` (`email`),
  KEY `idx_is_active` (`is_active`),
  KEY `idx_users_store_id` (`assigned_store_id`),
  KEY `idx_profile_picture` (`profile_picture`(250)),
  KEY `idx_users_default_branch_id` (`default_branch_id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`id`, `assigned_store_id`, `default_branch_id`, `username`, `email`, `password`, `role_id`, `is_active`, `last_login`, `created_at`, `updated_at`, `pin`, `profile_picture`, `pin_required_for_void`, `pin_login_enabled`) VALUES
(1, 1, 1, 'admin', 'admin@gmail.com', '$2y$10$6braNjyEZUBKyo/YnVKICOAOblsOyd6kTPDP8twXdxVi3l8DiUhgC', 1, 1, '2026-05-16 14:38:12', '2025-08-17 14:35:17', '2026-05-16 09:38:12', '7072', NULL, 1, 0),
(2, 1, 1, 'cashier', 'test@gmail.com', '$2y$10$f69Cdnnry75QlkKk.x2AjOdIIxBFPpWttQjVtec9uqhSbpMx7E7Gy', 2, 1, NULL, '2025-08-17 14:35:17', '2025-11-05 17:16:17', NULL, NULL, 1, 0);

-- --------------------------------------------------------

--
-- Table structure for table `user_language_preferences`
--

CREATE TABLE IF NOT EXISTS `user_language_preferences` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `language_code` varchar(5) NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_id` (`user_id`),
  KEY `language_code` (`language_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- --------------------------------------------------------

--
-- Table structure for table `vendors`
--

CREATE TABLE IF NOT EXISTS `vendors` (
  `id` int NOT NULL AUTO_INCREMENT,
  `primary_store_id` int DEFAULT NULL,
  `name` varchar(100) NOT NULL,
  `contact_number` varchar(20) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `address` text,
  `is_active` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1=Active, 0=Inactive',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_vendors_store_id` (`primary_store_id`),
  KEY `idx_vendors_active` (`is_active`)
) ENGINE=MyISAM AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `vendors`
--

INSERT INTO `vendors` (`id`, `primary_store_id`, `name`, `contact_number`, `email`, `address`, `is_active`, `created_at`) VALUES
(1, NULL, 'WAREHOUSE MUAZ SB', '', '', '', 1, '2026-03-01 10:57:44'),
(2, NULL, 'FK CORPORATION', '0300', '', '', 1, '2026-03-04 20:15:21'),
(3, NULL, 'PARASON TRADERS', '0300', '', '', 1, '2026-03-05 10:38:59'),
(4, NULL, 'INTEGRA SOLUTIONS', '0300', '', '', 1, '2026-03-05 10:40:01'),
(5, NULL, 'VAPE AND VAPE', '0300', '', '', 1, '2026-03-06 09:40:26'),
(6, NULL, 'VAPE SPACE', '0300', '', '', 1, '2026-03-06 11:22:33'),
(7, NULL, 'OXBAR TRADERS', '03000', '', '', 1, '2026-03-18 09:52:48'),
(8, NULL, 'VAPE X', '0300', '', '', 1, '2026-03-19 10:37:04'),
(9, NULL, 'VAPE IN VAPE', '0300', '', '', 1, '2026-03-19 21:37:40'),
(10, NULL, 'AMIR TRADERS (UK SALT)', '0300', '', '', 1, '2026-04-01 04:54:20'),
(11, NULL, 'ASAD TRADERS', '0300', '', '', 1, '2026-04-01 05:05:40'),
(12, NULL, 'E-LITE APPLIANCES', '0300', '', '', 1, '2026-04-01 05:14:20'),
(13, NULL, 'VAPE CLUB', '0300', '', '', 1, '2026-04-01 05:31:53'),
(14, NULL, 'HASHIM MOTI', '0300', '', '', 1, '2026-04-22 06:59:29'),
(15, NULL, 'USMAN TRADERS', '0300', '', '', 1, '2026-04-29 10:04:19'),
(16, NULL, 'QADIR KHOLIA', '', '', '', 1, '2026-04-30 10:52:19');

-- --------------------------------------------------------

--
-- Table structure for table `video_help`
--

CREATE TABLE IF NOT EXISTS `video_help` (
  `id` int NOT NULL AUTO_INCREMENT,
  `page_name` varchar(100) NOT NULL,
  `page_title` varchar(255) NOT NULL,
  `video_url` text NOT NULL,
  `video_title` varchar(255) NOT NULL,
  `description` text,
  `is_active` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `page_name` (`page_name`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `video_help`
--

INSERT INTO `video_help` (`id`, `page_name`, `page_title`, `video_url`, `video_title`, `description`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 'item_list', 'Item List', 'https://www.youtube.com/watch?v=9RousDb6aLE', 'How to Add/Manage Products', 'Learn how to add new products, edit existing ones, and manage your product inventory.', 1, '2025-08-17 14:35:17', '2025-08-17 14:35:17'),
(2, 'pos', 'POS System', 'https://www.youtube.com/watch?v=example2', 'How to Use POS System', 'Complete guide on using the Point of Sale system for sales transactions.', 1, '2025-08-17 14:35:17', '2025-08-17 14:35:17'),
(3, 'customer_list', 'Customer List', 'https://www.youtube.com/watch?v=example3', 'Customer Management', 'How to add, edit, and manage customer information.', 1, '2025-08-17 14:35:17', '2025-08-17 14:35:17'),
(4, 'supplier_list', 'Supplier List', 'https://www.youtube.com/watch?v=example4', 'Supplier Management', 'Learn how to manage your suppliers and their information.', 1, '2025-08-17 14:35:17', '2025-08-17 14:35:17'),
(5, 'sales_report', 'Sales Report', 'https://www.youtube.com/watch?v=example5', 'Understanding Sales Reports', 'How to read and analyze your sales reports.', 1, '2025-08-17 14:35:17', '2025-08-17 14:35:17'),
(6, 'purchase_list', 'Purchase List', 'https://youtu.be/z1tYF4LGdmI?si=4ai4ZhASvA_WeCc_', 'Purchase List Tutorial', 'Learn how to view, manage, and filter your purchase list, view purchase details, and print purchase receipts.', 1, '2025-08-17 14:35:17', '2026-03-09 10:11:59'),
(7, 'inventory_report', 'Inventory Report', 'https://www.youtube.com/watch?v=example7', 'Inventory Management', 'Understanding your inventory levels and stock reports.', 1, '2025-08-17 14:35:17', '2025-08-17 14:35:17'),
(8, 'settings', 'System Settings', 'https://www.youtube.com/watch?v=example8', 'System Configuration', 'How to configure your system settings and preferences.', 1, '2025-08-17 14:35:17', '2025-08-17 14:35:17'),
(9, 'expense_list', 'Expense List', 'https://youtu.be/HWp9z6GPpZs?si=spRqItxMw67hMZ7X', 'Expense Module ', 'How to Add & Manage Expenses Easily', 1, '2025-07-26 17:59:57', '2025-07-26 17:59:57'),
(10, 'stock_balance_report', 'Stock Balance Report', 'https://www.youtube.com/watch?v=QsARFJimbjc', 'ITR POS Stock Balance Report', 'Track Stock In, Out & Quantity Easily', 1, '2025-07-26 17:59:57', '2025-07-26 17:59:57'),
(11, 'backup_tool', 'Backup Tool', 'https://youtu.be/j-TWDFgPMME?si=WmrijzPYtVOr4fg3', 'ITR POS Backup Tool Tutorial', 'Learn how to download, install, configure, and use the ITR POS Backup Tool for automated database backups.', 1, '2026-02-17 15:01:30', '2026-02-17 15:01:30'),
(12, 'fbr_integration', 'FBR Integration', 'https://youtu.be/pEUirdhePdA?si=kmk7xb1t0F_KloUS', 'FBR Integration Tutorial', 'Learn how to configure and use FBR integration, read item list, and manage FBR settings.', 1, '2026-02-17 15:01:31', '2026-02-17 15:01:31'),
(13, 'opening_balance', 'Opening Balance Entry', 'https://youtu.be/1aHUrWLW6QY?si=ITMxUjnbILqDUQPa', 'Opening Balance Tutorial', 'Learn how to enter opening balances for items, import from Excel, and manage your opening inventory.', 1, '2026-03-09 10:11:59', '2026-03-09 10:11:59'),
(15, 'kpra_integration', 'KPRA Integration', 'https://youtu.be/vyQz6fpAU9I?si=jY9RubtBOnMCTmDs', 'KPRA Integration Tutorial', 'Learn how to configure KPRA integration settings, set up POS ID and private key, and manage KPRA invoice submissions.', 1, '2026-03-09 10:11:59', '2026-03-09 10:11:59'),
(16, 'profit_loss', 'Profit & Loss', 'https://youtu.be/E3-A0z5hu6I', 'Profit & Loss Report Training', 'Learn how to use the Profit & Loss report, filter by period or date range, and compare with previous period.', 1, '2026-03-09 10:11:59', '2026-03-09 10:11:59'),
(17, 'suggestions', 'Suggestions', 'https://youtu.be/lZvlnZ6Ekhg', 'Suggestions Feature Training', 'Learn how to submit, track, and vote on suggestions in the Suggestions feature.', 1, '2026-04-07 09:06:38', '2026-04-07 09:06:38');

-- --------------------------------------------------------

--
-- Table structure for table `void_items`
--

CREATE TABLE IF NOT EXISTS `void_items` (
  `id` int NOT NULL AUTO_INCREMENT,
  `source_type` enum('hold','sale') NOT NULL,
  `source_id` int NOT NULL,
  `hold_item_id` int DEFAULT NULL,
  `sale_item_id` int DEFAULT NULL,
  `item_id` int NOT NULL,
  `item_name` varchar(255) NOT NULL,
  `quantity` decimal(12,3) NOT NULL,
  `unit_price` decimal(10,2) NOT NULL,
  `tax_rate` decimal(6,2) DEFAULT NULL,
  `modifiers` json DEFAULT NULL,
  `remarks` varchar(500) DEFAULT NULL,
  `void_reason_id` int NOT NULL,
  `voided_by` int NOT NULL,
  `voided_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_source` (`source_type`,`source_id`),
  KEY `idx_item_id` (`item_id`),
  KEY `idx_voided_at` (`voided_at`),
  KEY `idx_voided_by` (`voided_by`),
  KEY `idx_void_reason` (`void_reason_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- --------------------------------------------------------

--
-- Table structure for table `void_orders`
--

CREATE TABLE IF NOT EXISTS `void_orders` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int DEFAULT NULL,
  `sale_id` int NOT NULL,
  `void_reason_id` int NOT NULL,
  `voided_by` int NOT NULL,
  `voided_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `notes` text,
  `original_amount` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `sale_id` (`sale_id`),
  KEY `void_reason_id` (`void_reason_id`),
  KEY `voided_by` (`voided_by`),
  KEY `idx_void_orders_store_id` (`store_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- --------------------------------------------------------

--
-- Table structure for table `void_reasons`
--

CREATE TABLE IF NOT EXISTS `void_reasons` (
  `id` int NOT NULL AUTO_INCREMENT,
  `reason_name` varchar(100) NOT NULL,
  `description` text,
  `is_active` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- --------------------------------------------------------

--
-- Table structure for table `warranties`
--

CREATE TABLE IF NOT EXISTS `warranties` (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `months` int UNSIGNED NOT NULL DEFAULT '0',
  `days` int UNSIGNED NOT NULL DEFAULT '0',
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_warranty_name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `warranties`
--

INSERT INTO `warranties` (`id`, `name`, `months`, `days`, `is_active`, `created_at`) VALUES
(1, 'No Warranty', 0, 0, 1, '2025-11-05 22:16:45'),
(2, '3 Months', 3, 0, 1, '2025-11-05 22:16:45'),
(3, '6 Months', 6, 0, 1, '2025-11-05 22:16:45'),
(4, '1 Year', 12, 0, 1, '2025-11-05 22:16:45'),
(5, '2 Years', 24, 0, 1, '2025-11-05 22:16:45');

-- --------------------------------------------------------

--
-- Table structure for table `wastage`
--

CREATE TABLE IF NOT EXISTS `wastage` (
  `id` int NOT NULL AUTO_INCREMENT,
  `wastage_number` varchar(50) NOT NULL,
  `store_id` int NOT NULL,
  `branch_id` int NOT NULL DEFAULT '1',
  `wastage_date` datetime DEFAULT CURRENT_TIMESTAMP,
  `total_items` int DEFAULT '0',
  `total_wastage_value` decimal(12,2) DEFAULT '0.00',
  `remarks` text,
  `created_by` int NOT NULL,
  `journal_entry_id` int DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `wastage_number` (`wastage_number`),
  KEY `store_id` (`store_id`),
  KEY `branch_id` (`branch_id`),
  KEY `wastage_date` (`wastage_date`),
  KEY `created_by` (`created_by`),
  KEY `journal_entry_id` (`journal_entry_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- --------------------------------------------------------

--
-- Table structure for table `wastage_items`
--

CREATE TABLE IF NOT EXISTS `wastage_items` (
  `id` int NOT NULL AUTO_INCREMENT,
  `wastage_id` int NOT NULL,
  `item_id` int NOT NULL,
  `item_name` varchar(255) NOT NULL,
  `quantity` decimal(12,6) NOT NULL,
  `cost_price` decimal(12,4) NOT NULL DEFAULT '0.0000',
  `line_value` decimal(12,2) NOT NULL,
  `loss_reason` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `wastage_id` (`wastage_id`),
  KEY `item_id` (`item_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- --------------------------------------------------------

--
-- Table structure for table `zatca_config`
--

CREATE TABLE IF NOT EXISTS `zatca_config` (
  `id` int NOT NULL AUTO_INCREMENT,
  `is_enabled` tinyint(1) DEFAULT '0',
  `invoice_format` enum('xml','pdf') DEFAULT 'pdf',
  `qr_code_size` int DEFAULT '150',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `zatca_config`
--

INSERT INTO `zatca_config` (`id`, `is_enabled`, `invoice_format`, `qr_code_size`, `created_at`, `updated_at`) VALUES
(1, 0, 'pdf', 150, '2026-02-17 15:01:26', '2026-02-17 15:01:26');

-- --------------------------------------------------------

--
-- Table structure for table `zatca_invoices`
--

CREATE TABLE IF NOT EXISTS `zatca_invoices` (
  `id` int NOT NULL AUTO_INCREMENT,
  `sale_id` int NOT NULL,
  `invoice_number` varchar(100) NOT NULL,
  `invoice_type` enum('standard','simplified') DEFAULT 'simplified',
  `invoice_date` datetime NOT NULL,
  `seller_vat` varchar(50) DEFAULT NULL,
  `buyer_vat` varchar(50) DEFAULT NULL,
  `buyer_name` varchar(255) DEFAULT NULL,
  `total_amount` decimal(10,2) NOT NULL,
  `tax_amount` decimal(10,2) NOT NULL,
  `amount_excluding_tax` decimal(10,2) NOT NULL,
  `qr_code_data` text,
  `qr_code_image_url` text,
  `invoice_data` text COMMENT 'Stores XML or JSON invoice data for compliance',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `sale_id` (`sale_id`),
  KEY `invoice_number` (`invoice_number`),
  KEY `invoice_date` (`invoice_date`),
  KEY `invoice_type` (`invoice_type`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- --------------------------------------------------------

--
-- Table structure for table `zatca_phase2_api_logs`
--

CREATE TABLE IF NOT EXISTS `zatca_phase2_api_logs` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `zatca_phase2_invoice_id` bigint UNSIGNED DEFAULT NULL,
  `endpoint` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `http_method` varchar(10) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'POST',
  `request_headers` longtext COLLATE utf8mb4_general_ci,
  `request_body` longtext COLLATE utf8mb4_general_ci,
  `response_status` int DEFAULT NULL,
  `response_headers` longtext COLLATE utf8mb4_general_ci,
  `response_body` longtext COLLATE utf8mb4_general_ci,
  `duration_ms` int DEFAULT NULL,
  `correlation_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_zatca_p2_api_invoice` (`zatca_phase2_invoice_id`),
  KEY `idx_zatca_p2_api_status` (`response_status`),
  KEY `idx_zatca_p2_api_created` (`created_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Table structure for table `zatca_phase2_certificates`
--

CREATE TABLE IF NOT EXISTS `zatca_phase2_certificates` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `store_id` int DEFAULT NULL,
  `environment` enum('sandbox','production') COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'sandbox',
  `device_identifier` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `certificate_type` enum('compliance_csid','production_csid') COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'compliance_csid',
  `certificate_serial` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `issuer_dn` text COLLATE utf8mb4_general_ci,
  `subject_dn` text COLLATE utf8mb4_general_ci,
  `valid_from` datetime DEFAULT NULL,
  `valid_to` datetime DEFAULT NULL,
  `csr_pem` longtext COLLATE utf8mb4_general_ci,
  `certificate_pem` longtext COLLATE utf8mb4_general_ci,
  `private_key_ref` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `fingerprint_sha256` varchar(128) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_zatca_p2_cert_store` (`store_id`),
  KEY `idx_zatca_p2_cert_env` (`environment`),
  KEY `idx_zatca_p2_cert_active` (`is_active`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Table structure for table `zatca_phase2_device_state`
--

CREATE TABLE IF NOT EXISTS `zatca_phase2_device_state` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `store_id` int NOT NULL,
  `terminal_id` int DEFAULT NULL,
  `device_identifier` varchar(150) COLLATE utf8mb4_general_ci NOT NULL,
  `last_icv` bigint UNSIGNED NOT NULL DEFAULT '0',
  `last_invoice_uuid` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `last_invoice_hash` varchar(512) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `last_submission_at` datetime DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_zatca_p2_device` (`store_id`,`terminal_id`,`device_identifier`),
  KEY `idx_zatca_p2_device_store` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Table structure for table `zatca_phase2_invoices`
--

CREATE TABLE IF NOT EXISTS `zatca_phase2_invoices` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `sale_id` int NOT NULL,
  `invoice_number` varchar(100) COLLATE utf8mb4_general_ci NOT NULL,
  `invoice_type` enum('standard','simplified','credit_note','debit_note') COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'simplified',
  `uuid` char(36) COLLATE utf8mb4_general_ci NOT NULL,
  `icv` bigint UNSIGNED DEFAULT NULL,
  `previous_invoice_hash` varchar(512) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `invoice_hash` varchar(512) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `unsigned_xml` longtext COLLATE utf8mb4_general_ci,
  `signed_xml` longtext COLLATE utf8mb4_general_ci,
  `canonical_xml_hash` varchar(512) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `qr_tlv_base64` longtext COLLATE utf8mb4_general_ci,
  `authority_submission_type` enum('clearance','reporting') COLLATE utf8mb4_general_ci DEFAULT NULL,
  `authority_invoice_ref` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `authority_status` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `authority_response_code` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `authority_response_message` text COLLATE utf8mb4_general_ci,
  `status` enum('draft','signed','queued','submitted','cleared','reported','rejected','retry_pending','failed') COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'draft',
  `retry_count` int NOT NULL DEFAULT '0',
  `next_retry_at` datetime DEFAULT NULL,
  `last_error_at` datetime DEFAULT NULL,
  `last_error_message` text COLLATE utf8mb4_general_ci,
  `submitted_at` datetime DEFAULT NULL,
  `cleared_at` datetime DEFAULT NULL,
  `reported_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_zatca_p2_uuid` (`uuid`),
  UNIQUE KEY `uq_zatca_p2_sale_id` (`sale_id`),
  KEY `idx_zatca_p2_sale_id` (`sale_id`),
  KEY `idx_zatca_p2_invoice_number` (`invoice_number`),
  KEY `idx_zatca_p2_status` (`status`),
  KEY `idx_zatca_p2_next_retry_at` (`next_retry_at`),
  KEY `idx_zatca_p2_created_at` (`created_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Table structure for table `zatca_phase2_jobs`
--

CREATE TABLE IF NOT EXISTS `zatca_phase2_jobs` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `zatca_phase2_invoice_id` bigint UNSIGNED NOT NULL,
  `job_type` enum('submit_clearance','submit_reporting','retry_submission','sync_status') COLLATE utf8mb4_general_ci NOT NULL,
  `status` enum('pending','processing','done','failed','cancelled') COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'pending',
  `attempt_count` int NOT NULL DEFAULT '0',
  `max_attempts` int NOT NULL DEFAULT '8',
  `run_after` datetime DEFAULT NULL,
  `locked_at` datetime DEFAULT NULL,
  `locked_by` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `last_error` text COLLATE utf8mb4_general_ci,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_zatca_p2_jobs_invoice` (`zatca_phase2_invoice_id`),
  KEY `idx_zatca_p2_jobs_status_run` (`status`,`run_after`),
  KEY `idx_zatca_p2_jobs_locked` (`locked_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Table structure for table `zatca_phase2_status_history`
--

CREATE TABLE IF NOT EXISTS `zatca_phase2_status_history` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `zatca_phase2_invoice_id` bigint UNSIGNED NOT NULL,
  `from_status` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `to_status` varchar(50) COLLATE utf8mb4_general_ci NOT NULL,
  `event_source` enum('system','user','worker','api') COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'system',
  `reason_code` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `reason_message` text COLLATE utf8mb4_general_ci,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_zatca_p2_hist_invoice` (`zatca_phase2_invoice_id`),
  KEY `idx_zatca_p2_hist_created` (`created_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Structure for view `order_taker_summary`
--

DROP VIEW IF EXISTS `order_taker_summary`;
CREATE ALGORITHM=UNDEFINED DEFINER=`itresources`@`localhost` SQL SECURITY DEFINER VIEW `order_taker_summary`  AS SELECT `ot`.`id` AS `id`, `ot`.`name` AS `name`, `ot`.`employee_id` AS `employee_id`, `ot`.`commission_rate` AS `commission_rate`, count(distinct `ho`.`id`) AS `total_hold_orders`, count(distinct `s`.`id`) AS `total_completed_orders`, sum(coalesce(`ho`.`total_amount`,0)) AS `total_hold_amount`, sum(coalesce(`s`.`total_amount`,0)) AS `total_completed_amount`, avg(coalesce(`ho`.`total_amount`,0)) AS `avg_hold_order`, avg(coalesce(`s`.`total_amount`,0)) AS `avg_completed_order`, sum(((coalesce(`s`.`total_amount`,0) * `ot`.`commission_rate`) / 100)) AS `total_commission` FROM ((`order_takers` `ot` left join `hold_orders` `ho` on((`ot`.`id` = `ho`.`order_taker_id`))) left join `sales` `s` on((`ot`.`id` = `s`.`order_taker_id`))) WHERE (`ot`.`is_active` = 1) GROUP BY `ot`.`id`, `ot`.`name`, `ot`.`employee_id`, `ot`.`commission_rate` ;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `item_barcodes`
--
ALTER TABLE `item_barcodes`
  ADD CONSTRAINT `fk_item_barcodes_item` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `item_line_discounts`
--
ALTER TABLE `item_line_discounts`
  ADD CONSTRAINT `fk_item_line_discounts_item` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Constraints for table `item_serial_transactions`
--
ALTER TABLE `item_serial_transactions`
  ADD CONSTRAINT `fk_serial_trans_serial` FOREIGN KEY (`serial_id`) REFERENCES `item_serials` (`id`) ON DELETE CASCADE;
COMMIT;

