-- Table structure for table `kds_activity_log`
--

CREATE TABLE IF NOT EXISTS `kds_activity_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int DEFAULT NULL,
  `kds_order_id` int DEFAULT NULL,
  `kds_order_item_id` int DEFAULT NULL,
  `action` varchar(50) NOT NULL,
  `details` text,
  `description` text,
  `user_id` int DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `kds_order_id` (`kds_order_id`),
  KEY `kds_order_item_id` (`kds_order_item_id`),
  KEY `user_id` (`user_id`),
  KEY `created_at` (`created_at`),
  KEY `idx_kds_activity_log_store_id` (`store_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `kds_cleanup_log`
--

CREATE TABLE IF NOT EXISTS `kds_cleanup_log` (
  `id` int NOT NULL AUTO_INCREMENT,
  `cleanup_date` datetime DEFAULT CURRENT_TIMESTAMP,
  `retention_days` int DEFAULT '7',
  `orders_deleted` int DEFAULT '0',
  `order_items_deleted` int DEFAULT '0',
  `activity_logs_deleted` int DEFAULT '0',
  `total_records_deleted` int DEFAULT '0',
  `execution_time_ms` int DEFAULT '0',
  `status` enum('success','failed','partial') DEFAULT 'success',
  `message` text,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_cleanup_date` (`cleanup_date`),
  KEY `idx_status` (`status`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `kds_cleanup_log`
--

INSERT INTO `kds_cleanup_log` (`id`, `cleanup_date`, `retention_days`, `orders_deleted`, `order_items_deleted`, `activity_logs_deleted`, `total_records_deleted`, `execution_time_ms`, `status`, `message`, `created_at`) VALUES
(1, '2025-09-13 17:11:04', 7, 0, 0, 0, 0, 0, 'success', 'KDS retention system initialized', '2025-09-13 12:11:04');

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

--
-- Table structure for table `kds_orders`
--

CREATE TABLE IF NOT EXISTS `kds_orders` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int DEFAULT NULL,
  `sale_id` int NOT NULL,
  `hold_id` int DEFAULT NULL,
  `invoice_number` varchar(50) NOT NULL,
  `order_number` varchar(50) NOT NULL,
  `table_number` varchar(20) DEFAULT NULL,
  `customer_name` varchar(100) DEFAULT NULL,
  `order_type` enum('dine_in','take_away','delivery') NOT NULL DEFAULT 'dine_in',
  `order_status` enum('pending','preparing','ready','served','cancelled') NOT NULL DEFAULT 'pending',
  `priority` enum('normal','urgent','rush') NOT NULL DEFAULT 'normal',
  `estimated_time` int DEFAULT NULL COMMENT 'Estimated preparation time in minutes',
  `notes` text,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `prepared_at` timestamp NULL DEFAULT NULL,
  `served_at` timestamp NULL DEFAULT NULL,
  `created_by` int DEFAULT NULL,
  `prepared_by` int DEFAULT NULL,
  `served_by` int DEFAULT NULL,
  `order_taker_id` int DEFAULT NULL,
  `order_sequence` int DEFAULT '1',
  `parent_order_id` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `order_number` (`order_number`),
  KEY `sale_id` (`sale_id`),
  KEY `order_status` (`order_status`),
  KEY `priority` (`priority`),
  KEY `created_at` (`created_at`),
  KEY `hold_id` (`hold_id`),
  KEY `idx_order_taker_id` (`order_taker_id`),
  KEY `idx_kds_orders_store_id` (`store_id`),
  KEY `idx_parent_order` (`parent_order_id`),
  KEY `idx_sequence` (`order_sequence`)
) ENGINE=MyISAM AUTO_INCREMENT=226 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `kds_orders`
--

INSERT INTO `kds_orders` (`id`, `store_id`, `sale_id`, `hold_id`, `invoice_number`, `order_number`, `table_number`, `customer_name`, `order_type`, `order_status`, `priority`, `estimated_time`, `notes`, `created_at`, `updated_at`, `prepared_at`, `served_at`, `created_by`, `prepared_by`, `served_by`, `order_taker_id`, `order_sequence`, `parent_order_id`) VALUES
(1, NULL, 1, NULL, 'INV17594843747887', 'SALE-000001', NULL, 'Mr. Samiiullah', '', 'pending', 'normal', NULL, NULL, '2025-10-03 09:39:34', '2025-10-03 09:39:34', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL),
(2, NULL, 2, NULL, 'INV17594871405593', 'SALE-000002', NULL, 'Mr. Kashif', '', 'pending', 'normal', NULL, NULL, '2025-10-03 10:25:40', '2025-10-03 10:25:40', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL),
(3, NULL, 3, NULL, 'INV17595013768394', 'SALE-000003', NULL, 'Tayto Cafe', '', 'pending', 'normal', NULL, NULL, '2025-10-03 14:22:56', '2025-10-03 14:22:56', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL),
(4, NULL, 4, NULL, 'INV17595666087407', 'SALE-000004', NULL, 'Pakland mobile center', '', 'pending', 'normal', NULL, NULL, '2025-10-04 08:30:08', '2025-10-04 08:30:08', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL),
(5, NULL, 5, NULL, 'INV17595666719415', 'SALE-000005', NULL, 'Sahil Fibre and CCTV camera Electronics', '', 'pending', 'normal', NULL, NULL, '2025-10-04 08:31:11', '2025-10-04 08:31:11', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL),
(6, NULL, 6, NULL, 'INV17596845882472', 'SALE-000006', NULL, 'Peshawar Airport', '', 'pending', 'normal', NULL, NULL, '2025-10-05 17:16:28', '2025-10-05 17:16:28', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL),
(7, NULL, 7, NULL, 'INV17598361423029', 'SALE-000007', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-10-07 11:22:22', '2025-10-07 11:22:22', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL),
(8, NULL, 8, NULL, 'INV17599270812840', 'SALE-000008', NULL, '32', '', 'pending', 'normal', NULL, NULL, '2025-10-08 12:38:01', '2025-10-08 12:38:01', NULL, NULL, NULL, NULL, NULL, NULL, 8, NULL),
(9, NULL, 9, NULL, 'INV17599271358553', 'SALE-000009', NULL, '44', '', 'pending', 'normal', NULL, NULL, '2025-10-08 12:38:55', '2025-10-08 12:38:55', NULL, NULL, NULL, NULL, NULL, NULL, 9, NULL),
(10, NULL, 10, NULL, 'INV17599275077496', 'SALE-000010', NULL, '36', '', 'pending', 'normal', NULL, NULL, '2025-10-08 12:45:07', '2025-10-08 12:45:07', NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL),
(11, NULL, 11, NULL, 'INV17599277203636', 'SALE-000011', NULL, '28', '', 'pending', 'normal', NULL, NULL, '2025-10-08 12:48:40', '2025-10-08 12:48:40', NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL),
(12, NULL, 12, NULL, 'INV17599299625964', 'SALE-000012', NULL, '43', '', 'pending', 'normal', NULL, NULL, '2025-10-08 13:26:02', '2025-10-08 13:26:02', NULL, NULL, NULL, NULL, NULL, NULL, 12, NULL),
(13, NULL, 13, NULL, 'INV17600153645340', 'SALE-000013', NULL, '45', '', 'pending', 'normal', NULL, NULL, '2025-10-09 13:09:24', '2025-10-09 13:09:24', NULL, NULL, NULL, NULL, NULL, NULL, 13, NULL),
(14, NULL, 14, NULL, 'INV17601918076197', 'SALE-000014', NULL, '15', '', 'pending', 'normal', NULL, NULL, '2025-10-11 14:10:07', '2025-10-11 14:10:07', NULL, NULL, NULL, NULL, NULL, NULL, 14, NULL),
(15, NULL, 15, NULL, 'INV17601918745732', 'SALE-000015', NULL, '20', '', 'pending', 'normal', NULL, NULL, '2025-10-11 14:11:14', '2025-10-11 14:11:14', NULL, NULL, NULL, NULL, NULL, NULL, 15, NULL),
(16, NULL, 16, NULL, 'INV17603716021402', 'SALE-000016', NULL, '14', '', 'pending', 'normal', NULL, NULL, '2025-10-13 16:06:42', '2025-10-13 16:06:42', NULL, NULL, NULL, NULL, NULL, NULL, 16, NULL),
(17, NULL, 17, NULL, 'INV17603716687976', 'SALE-000017', NULL, '38', '', 'pending', 'normal', NULL, NULL, '2025-10-13 16:07:48', '2025-10-13 16:07:48', NULL, NULL, NULL, NULL, NULL, NULL, 17, NULL),
(18, NULL, 18, NULL, 'INV17605266887685', 'SALE-000018', NULL, '29', '', 'pending', 'normal', NULL, NULL, '2025-10-15 11:11:28', '2025-10-15 11:11:28', NULL, NULL, NULL, NULL, NULL, NULL, 18, NULL),
(19, NULL, 19, NULL, 'INV17605355463152', 'SALE-000019', NULL, '34', '', 'pending', 'normal', NULL, NULL, '2025-10-15 13:39:06', '2025-10-15 13:39:06', NULL, NULL, NULL, NULL, NULL, NULL, 19, NULL),
(20, NULL, 20, NULL, 'INV17606094624887', 'SALE-000020', NULL, '46', '', 'pending', 'normal', NULL, NULL, '2025-10-16 10:11:02', '2025-10-16 10:11:02', NULL, NULL, NULL, NULL, NULL, NULL, 20, NULL),
(21, NULL, 21, NULL, 'INV17607533083142', 'SALE-000021', NULL, '39', '', 'pending', 'normal', NULL, NULL, '2025-10-18 02:08:28', '2025-10-18 02:08:28', NULL, NULL, NULL, NULL, NULL, NULL, 21, NULL),
(22, NULL, 22, NULL, 'INV17608087251665', 'SALE-000022', NULL, '39', '', 'pending', 'normal', NULL, NULL, '2025-10-18 17:32:05', '2025-10-18 17:32:05', NULL, NULL, NULL, NULL, NULL, NULL, 22, NULL),
(23, NULL, 23, NULL, 'INV17609491322285', 'SALE-000023', NULL, '47', '', 'pending', 'normal', NULL, NULL, '2025-10-20 08:32:13', '2025-10-20 08:32:13', NULL, NULL, NULL, NULL, NULL, NULL, 23, NULL),
(24, NULL, 24, NULL, 'INV17610579122086', 'SALE-000024', NULL, '23', '', 'pending', 'normal', NULL, NULL, '2025-10-21 14:45:12', '2025-10-21 14:45:12', NULL, NULL, NULL, NULL, NULL, NULL, 24, NULL),
(25, NULL, 25, NULL, 'INV17610580316878', 'SALE-000025', NULL, '33', '', 'pending', 'normal', NULL, NULL, '2025-10-21 14:47:11', '2025-10-21 14:47:11', NULL, NULL, NULL, NULL, NULL, NULL, 25, NULL),
(26, NULL, 26, NULL, 'INV17615582109109', 'SALE-000026', NULL, '48', '', 'pending', 'normal', NULL, NULL, '2025-10-27 09:43:30', '2025-10-27 09:43:30', NULL, NULL, NULL, NULL, NULL, NULL, 26, NULL),
(27, NULL, 27, NULL, 'INV17615587251166', 'SALE-000027', NULL, '39', '', 'pending', 'normal', NULL, NULL, '2025-10-27 09:52:05', '2025-10-27 09:52:05', NULL, NULL, NULL, NULL, NULL, NULL, 27, NULL),
(28, NULL, 28, NULL, 'INV17616396581660', 'SALE-000028', NULL, '49', '', 'pending', 'normal', NULL, NULL, '2025-10-28 08:20:58', '2025-10-28 08:20:58', NULL, NULL, NULL, NULL, NULL, NULL, 28, NULL),
(29, NULL, 29, NULL, 'INV17616397245684', 'SALE-000029', NULL, '50', '', 'pending', 'normal', NULL, NULL, '2025-10-28 08:22:04', '2025-10-28 08:22:04', NULL, NULL, NULL, NULL, NULL, NULL, 29, NULL),
(30, NULL, 30, NULL, 'INV17621827285329', 'SALE-000030', NULL, '24', '', 'pending', 'normal', NULL, NULL, '2025-11-03 15:12:08', '2025-11-03 15:12:08', NULL, NULL, NULL, NULL, NULL, NULL, 30, NULL),
(31, NULL, 31, NULL, 'INV17621828646788', 'SALE-000031', NULL, '51', '', 'pending', 'normal', NULL, NULL, '2025-11-03 15:14:24', '2025-11-03 15:14:24', NULL, NULL, NULL, NULL, NULL, NULL, 31, NULL),
(32, NULL, 32, NULL, 'INV17621829525300', 'SALE-000032', NULL, '32', '', 'pending', 'normal', NULL, NULL, '2025-11-03 15:15:52', '2025-11-03 15:15:52', NULL, NULL, NULL, NULL, NULL, NULL, 32, NULL),
(33, NULL, 33, NULL, 'INV17621831399673', 'SALE-000033', NULL, '52', '', 'pending', 'normal', NULL, NULL, '2025-11-03 15:18:59', '2025-11-03 15:18:59', NULL, NULL, NULL, NULL, NULL, NULL, 33, NULL),
(34, NULL, 34, NULL, 'INV17621834012024', 'SALE-000034', NULL, '39', '', 'pending', 'normal', NULL, NULL, '2025-11-03 15:23:21', '2025-11-03 15:23:21', NULL, NULL, NULL, NULL, NULL, NULL, 34, NULL),
(35, NULL, 35, NULL, 'INV17625293088520', 'SALE-000035', NULL, '19', '', 'pending', 'normal', NULL, NULL, '2025-11-07 15:28:28', '2025-11-07 15:28:28', NULL, NULL, NULL, NULL, NULL, NULL, 35, NULL),
(36, NULL, 36, NULL, 'INV17625296455514', 'SALE-000036', NULL, '37', '', 'pending', 'normal', NULL, NULL, '2025-11-07 15:34:05', '2025-11-07 15:34:05', NULL, NULL, NULL, NULL, NULL, NULL, 36, NULL),
(37, NULL, 37, NULL, 'INV17625304766372', 'SALE-000037', NULL, '53', '', 'pending', 'normal', NULL, NULL, '2025-11-07 15:47:56', '2025-11-07 15:47:56', NULL, NULL, NULL, NULL, NULL, NULL, 37, NULL),
(38, NULL, 38, NULL, 'INV17626172403054', 'SALE-000038', NULL, '34', '', 'pending', 'normal', NULL, NULL, '2025-11-08 15:54:00', '2025-11-08 15:54:00', NULL, NULL, NULL, NULL, NULL, NULL, 38, NULL),
(39, NULL, 39, NULL, 'INV17626174566009', 'SALE-000039', NULL, '56', '', 'pending', 'normal', NULL, NULL, '2025-11-08 15:57:36', '2025-11-08 15:57:36', NULL, NULL, NULL, NULL, NULL, NULL, 39, NULL),
(40, NULL, 40, NULL, 'INV17626175214915', 'SALE-000040', NULL, '54', '', 'pending', 'normal', NULL, NULL, '2025-11-08 15:58:41', '2025-11-08 15:58:41', NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL),
(41, NULL, 41, NULL, 'INV17628414123022', 'SALE-000041', NULL, '38', '', 'pending', 'normal', NULL, NULL, '2025-11-11 06:10:12', '2025-11-11 06:10:12', NULL, NULL, NULL, NULL, NULL, NULL, 41, NULL),
(42, NULL, 42, NULL, 'INV17628414859911', 'SALE-000042', NULL, '26', '', 'pending', 'normal', NULL, NULL, '2025-11-11 06:11:25', '2025-11-11 06:11:25', NULL, NULL, NULL, NULL, NULL, NULL, 42, NULL),
(43, NULL, 43, NULL, 'INV17628678486306', 'SALE-000043', NULL, '57', '', 'pending', 'normal', NULL, NULL, '2025-11-11 13:30:48', '2025-11-11 13:30:48', NULL, NULL, NULL, NULL, NULL, NULL, 43, NULL),
(44, NULL, 44, NULL, 'INV17628679023276', 'SALE-000044', NULL, '28', '', 'pending', 'normal', NULL, NULL, '2025-11-11 13:31:42', '2025-11-11 13:31:42', NULL, NULL, NULL, NULL, NULL, NULL, 44, NULL),
(45, NULL, 45, NULL, 'INV17629620692794', 'SALE-000045', NULL, '39', '', 'pending', 'normal', NULL, NULL, '2025-11-12 15:41:09', '2025-11-12 15:41:09', NULL, NULL, NULL, NULL, NULL, NULL, 45, NULL),
(46, NULL, 46, NULL, 'INV17629624475701', 'SALE-000046', NULL, '39', '', 'pending', 'normal', NULL, NULL, '2025-11-12 15:47:27', '2025-11-12 15:47:27', NULL, NULL, NULL, NULL, NULL, NULL, 46, NULL),
(47, NULL, 47, NULL, 'INV17631051056390', 'SALE-000047', NULL, '14', '', 'pending', 'normal', NULL, NULL, '2025-11-14 07:25:05', '2025-11-14 07:25:05', NULL, NULL, NULL, NULL, NULL, NULL, 47, NULL),
(48, NULL, 48, NULL, 'INV17631051575652', 'SALE-000048', NULL, '14', '', 'pending', 'normal', NULL, NULL, '2025-11-14 07:25:57', '2025-11-14 07:25:57', NULL, NULL, NULL, NULL, NULL, NULL, 48, NULL),
(49, NULL, 49, NULL, 'INV17631933195038', 'SALE-000049', NULL, '20', '', 'pending', 'normal', NULL, NULL, '2025-11-15 07:55:19', '2025-11-15 07:55:19', NULL, NULL, NULL, NULL, NULL, NULL, 49, NULL),
(50, NULL, 50, NULL, 'INV17632252261282', 'SALE-000050', NULL, '58', '', 'pending', 'normal', NULL, NULL, '2025-11-15 16:47:07', '2025-11-15 16:47:07', NULL, NULL, NULL, NULL, NULL, NULL, 50, NULL),
(51, NULL, 51, NULL, 'INV17632755961501', 'SALE-000051', NULL, 'walk-in', '', 'pending', 'normal', NULL, NULL, '2025-11-16 06:46:36', '2025-11-16 06:46:36', NULL, NULL, NULL, NULL, NULL, NULL, 51, NULL),
(52, NULL, 52, NULL, 'INV17633892232033', 'SALE-000052', NULL, '60', '', 'pending', 'normal', NULL, NULL, '2025-11-17 14:20:23', '2025-11-17 14:20:23', NULL, NULL, NULL, NULL, NULL, NULL, 52, NULL),
(53, NULL, 53, NULL, 'INV17634595809644', 'SALE-000053', NULL, '62', '', 'pending', 'normal', NULL, NULL, '2025-11-18 09:53:00', '2025-11-18 09:53:00', NULL, NULL, NULL, NULL, NULL, NULL, 53, NULL),
(54, NULL, 54, NULL, 'INV17634596836736', 'SALE-000054', NULL, '15', '', 'pending', 'normal', NULL, NULL, '2025-11-18 09:54:43', '2025-11-18 09:54:43', NULL, NULL, NULL, NULL, NULL, NULL, 54, NULL),
(55, NULL, 55, NULL, 'INV17634603886371', 'SALE-000055', NULL, '61', '', 'pending', 'normal', NULL, NULL, '2025-11-18 10:06:28', '2025-11-18 10:06:28', NULL, NULL, NULL, NULL, NULL, NULL, 55, NULL),
(56, NULL, 56, NULL, 'INV17635610052335', 'SALE-000056', NULL, '64', '', 'pending', 'normal', NULL, NULL, '2025-11-19 14:03:25', '2025-11-19 14:03:25', NULL, NULL, NULL, NULL, NULL, NULL, 56, NULL),
(57, NULL, 57, NULL, 'INV17636494761372', 'SALE-000057', NULL, '65', '', 'pending', 'normal', NULL, NULL, '2025-11-20 14:37:56', '2025-11-20 14:37:56', NULL, NULL, NULL, NULL, NULL, NULL, 57, NULL),
(58, NULL, 58, NULL, 'INV17637976603771', 'SALE-000058', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-11-22 07:47:40', '2025-11-22 07:47:40', NULL, NULL, NULL, NULL, NULL, NULL, 58, NULL),
(59, NULL, 59, NULL, 'INV17638794893314', 'SALE-000059', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-11-23 06:31:29', '2025-11-23 06:31:29', NULL, NULL, NULL, NULL, NULL, NULL, 59, NULL),
(60, NULL, 60, NULL, 'INV17638795979943', 'SALE-000060', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-11-23 06:33:17', '2025-11-23 06:33:17', NULL, NULL, NULL, NULL, NULL, NULL, 60, NULL),
(61, NULL, 61, NULL, 'INV17644754461533', 'SALE-000061', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-11-30 04:04:06', '2025-11-30 04:04:06', NULL, NULL, NULL, NULL, NULL, NULL, 61, NULL),
(62, NULL, 62, NULL, 'INV17647371852115', 'SALE-000062', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-03 04:46:26', '2025-12-03 04:46:26', NULL, NULL, NULL, NULL, NULL, NULL, 62, NULL),
(63, NULL, 63, NULL, 'INV17647376371002', 'SALE-000063', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-03 04:53:57', '2025-12-03 04:53:57', NULL, NULL, NULL, NULL, NULL, NULL, 63, NULL),
(64, NULL, 64, NULL, 'INV17647377031377', 'SALE-000064', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-03 04:55:03', '2025-12-03 04:55:03', NULL, NULL, NULL, NULL, NULL, NULL, 64, NULL),
(65, NULL, 65, NULL, 'INV17647815271413', 'SALE-000065', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-03 17:05:28', '2025-12-03 17:05:28', NULL, NULL, NULL, NULL, NULL, NULL, 65, NULL),
(66, NULL, 66, NULL, 'INV17649378649806', 'SALE-000066', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-05 12:31:04', '2025-12-05 12:31:04', NULL, NULL, NULL, NULL, NULL, NULL, 66, NULL),
(67, NULL, 67, NULL, 'INV17649485539805', 'SALE-000067', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-05 15:29:14', '2025-12-05 15:29:14', NULL, NULL, NULL, NULL, NULL, NULL, 67, NULL),
(68, NULL, 68, NULL, 'INV17651778671476', 'SALE-000068', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-08 07:11:08', '2025-12-08 07:11:08', NULL, NULL, NULL, NULL, NULL, NULL, 68, NULL),
(69, NULL, 69, NULL, 'INV17651790734643', 'SALE-000069', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-08 07:31:13', '2025-12-08 07:31:13', NULL, NULL, NULL, NULL, NULL, NULL, 69, NULL),
(70, NULL, 70, NULL, 'INV17652725685188', 'SALE-000070', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-09 09:29:28', '2025-12-09 09:29:28', NULL, NULL, NULL, NULL, NULL, NULL, 70, NULL),
(71, NULL, 71, NULL, 'INV17652727888018', 'SALE-000071', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-09 09:33:08', '2025-12-09 09:33:08', NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL),
(72, NULL, 72, NULL, 'INV17652900229091', 'SALE-000072', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-09 14:20:22', '2025-12-09 14:20:22', NULL, NULL, NULL, NULL, NULL, NULL, 72, NULL),
(73, NULL, 73, NULL, 'INV17652941589656', 'SALE-000073', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-09 15:29:18', '2025-12-09 15:29:18', NULL, NULL, NULL, NULL, NULL, NULL, 73, NULL),
(74, NULL, 74, NULL, 'INV17652954081331', 'SALE-000074', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-09 15:50:09', '2025-12-09 15:50:09', NULL, NULL, NULL, NULL, NULL, NULL, 74, NULL),
(75, NULL, 75, NULL, 'INV17653760261834', 'SALE-000075', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-10 14:13:46', '2025-12-10 14:13:46', NULL, NULL, NULL, NULL, NULL, NULL, 75, NULL),
(76, NULL, 76, NULL, 'INV17653761018901', 'SALE-000076', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-10 14:15:01', '2025-12-10 14:15:01', NULL, NULL, NULL, NULL, NULL, NULL, 76, NULL),
(77, NULL, 77, NULL, 'INV17653761754938', 'SALE-000077', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-10 14:16:15', '2025-12-10 14:16:15', NULL, NULL, NULL, NULL, NULL, NULL, 77, NULL),
(78, NULL, 78, NULL, 'INV17654740178953', 'SALE-000078', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-11 17:26:57', '2025-12-11 17:26:57', NULL, NULL, NULL, NULL, NULL, NULL, 78, NULL),
(79, NULL, 79, NULL, 'INV17656087631432', 'SALE-000079', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-13 06:52:43', '2025-12-13 06:52:43', NULL, NULL, NULL, NULL, NULL, NULL, 79, NULL),
(80, NULL, 80, NULL, 'INV17656343416273', 'SALE-000080', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-13 13:59:02', '2025-12-13 13:59:02', NULL, NULL, NULL, NULL, NULL, NULL, 80, NULL),
(81, NULL, 83, NULL, '', 'HOLD-000001', NULL, 'Dhaba Restaurant', '', 'pending', 'normal', NULL, NULL, '2025-12-17 13:18:33', '2025-12-17 13:22:22', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL),
(82, NULL, 81, NULL, 'INV17659776104401', 'SALE-000081', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-17 13:20:10', '2025-12-17 13:20:10', NULL, NULL, NULL, NULL, NULL, NULL, 81, NULL),
(83, NULL, 82, NULL, 'INV17659777165626', 'SALE-000082', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-17 13:21:56', '2025-12-17 13:21:56', NULL, NULL, NULL, NULL, NULL, NULL, 82, NULL),
(84, NULL, 84, NULL, 'INV17659909701573', 'SALE-000084', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-17 17:02:50', '2025-12-17 17:02:50', NULL, NULL, NULL, NULL, NULL, NULL, 84, NULL),
(85, NULL, 85, NULL, 'INV17660564509194', 'SALE-000085', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-18 11:14:10', '2025-12-18 11:14:10', NULL, NULL, NULL, NULL, NULL, NULL, 85, NULL),
(86, NULL, 86, NULL, 'INV17660567559183', 'SALE-000086', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-18 11:19:15', '2025-12-18 11:19:15', NULL, NULL, NULL, NULL, NULL, NULL, 86, NULL),
(87, NULL, 87, NULL, 'INV17660717513273', 'SALE-000087', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-18 15:29:11', '2025-12-18 15:29:11', NULL, NULL, NULL, NULL, NULL, NULL, 87, NULL),
(88, NULL, 88, NULL, 'INV17661542804236', 'SALE-000088', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-19 14:24:40', '2025-12-19 14:24:40', NULL, NULL, NULL, NULL, NULL, NULL, 88, NULL),
(89, NULL, 89, NULL, 'INV17662454457747', 'SALE-000089', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-20 15:44:05', '2025-12-20 15:44:05', NULL, NULL, NULL, NULL, NULL, NULL, 89, NULL),
(90, NULL, 90, NULL, 'INV17662455428575', 'SALE-000090', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-20 15:45:42', '2025-12-20 15:45:42', NULL, NULL, NULL, NULL, NULL, NULL, 90, NULL),
(91, NULL, 91, NULL, 'INV17664057669390', 'SALE-000091', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-22 12:16:06', '2025-12-22 12:16:06', NULL, NULL, NULL, NULL, NULL, NULL, 91, NULL),
(92, NULL, 92, NULL, 'INV17664938566392', 'SALE-000092', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-23 12:44:16', '2025-12-23 12:44:16', NULL, NULL, NULL, NULL, NULL, NULL, 92, NULL),
(93, NULL, 93, NULL, 'INV17664939551505', 'SALE-000093', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-23 12:45:55', '2025-12-23 12:45:55', NULL, NULL, NULL, NULL, NULL, NULL, 93, NULL),
(94, NULL, 94, NULL, 'INV17666513379729', 'SALE-000094', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-25 08:28:57', '2025-12-25 08:28:57', NULL, NULL, NULL, NULL, NULL, NULL, 94, NULL),
(95, NULL, 95, NULL, 'INV17667476133333', 'SALE-000095', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-26 11:13:34', '2025-12-26 11:13:34', NULL, NULL, NULL, NULL, NULL, NULL, 95, NULL),
(96, NULL, 96, NULL, 'INV17671585201440', 'SALE-000096', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-31 05:22:00', '2025-12-31 05:22:00', NULL, NULL, NULL, NULL, NULL, NULL, 96, NULL),
(97, NULL, 97, NULL, 'INV17671924828393', 'SALE-000097', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2025-12-31 14:48:02', '2025-12-31 14:48:02', NULL, NULL, NULL, NULL, NULL, NULL, 97, NULL),
(98, NULL, 98, NULL, 'INV17673376003394', 'SALE-000098', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-02 07:06:41', '2026-01-02 07:06:41', NULL, NULL, NULL, NULL, NULL, NULL, 98, NULL),
(99, NULL, 99, NULL, 'INV17673718346713', 'SALE-000099', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-02 16:37:15', '2026-01-02 16:37:15', NULL, NULL, NULL, NULL, NULL, NULL, 99, NULL),
(100, NULL, 100, NULL, 'INV17674444126359', 'SALE-000100', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-03 12:46:53', '2026-01-03 12:46:53', NULL, NULL, NULL, NULL, NULL, NULL, 100, NULL),
(101, NULL, 101, NULL, 'INV17675982286880', 'SALE-000101', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-05 07:30:29', '2026-01-05 07:30:29', NULL, NULL, NULL, NULL, NULL, NULL, 101, NULL),
(102, NULL, 102, NULL, 'INV17676119654589', 'SALE-000102', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-05 11:19:25', '2026-01-05 11:19:25', NULL, NULL, NULL, NULL, NULL, NULL, 102, NULL),
(103, NULL, 103, NULL, 'INV17676120619434', 'SALE-000103', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-05 11:21:01', '2026-01-05 11:21:01', NULL, NULL, NULL, NULL, NULL, NULL, 103, NULL),
(104, NULL, 104, NULL, 'INV17676270894019', 'SALE-000104', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-05 15:31:29', '2026-01-05 15:31:29', NULL, NULL, NULL, NULL, NULL, NULL, 104, NULL),
(105, NULL, 105, NULL, 'INV17676271606199', 'SALE-000105', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-05 15:32:40', '2026-01-05 15:32:40', NULL, NULL, NULL, NULL, NULL, NULL, 105, NULL),
(106, NULL, 106, NULL, 'INV17677704902884', 'SALE-000106', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-07 07:21:30', '2026-01-07 07:21:30', NULL, NULL, NULL, NULL, NULL, NULL, 106, NULL),
(107, NULL, 107, NULL, 'INV17678578601259', 'SALE-000107', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-08 07:37:40', '2026-01-08 07:37:40', NULL, NULL, NULL, NULL, NULL, NULL, 107, NULL),
(108, NULL, 108, NULL, 'INV17678579735347', 'SALE-000108', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-08 07:39:33', '2026-01-08 07:39:33', NULL, NULL, NULL, NULL, NULL, NULL, 108, NULL),
(109, NULL, 109, NULL, 'INV17678697962616', 'SALE-000109', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-08 10:56:36', '2026-01-08 10:56:36', NULL, NULL, NULL, NULL, NULL, NULL, 109, NULL),
(110, NULL, 110, NULL, 'INV17679709129029', 'SALE-000110', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-09 15:01:53', '2026-01-09 15:01:53', NULL, NULL, NULL, NULL, NULL, NULL, 110, NULL),
(111, NULL, 111, NULL, 'INV17679709981604', 'SALE-000111', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-09 15:03:18', '2026-01-09 15:03:18', NULL, NULL, NULL, NULL, NULL, NULL, 111, NULL),
(112, NULL, 112, NULL, 'INV17680360422758', 'SALE-000112', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-10 09:07:22', '2026-01-10 09:07:22', NULL, NULL, NULL, NULL, NULL, NULL, 112, NULL),
(113, NULL, 113, NULL, 'INV17680361779400', 'SALE-000113', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-10 09:09:37', '2026-01-10 09:09:37', NULL, NULL, NULL, NULL, NULL, NULL, 113, NULL),
(114, NULL, 114, NULL, 'INV17682075454853', 'SALE-000114', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-12 08:45:45', '2026-01-12 08:45:45', NULL, NULL, NULL, NULL, NULL, NULL, 114, NULL),
(115, NULL, 115, NULL, 'INV17682197004193', 'SALE-000115', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-12 12:08:20', '2026-01-12 12:08:20', NULL, NULL, NULL, NULL, NULL, NULL, 115, NULL),
(116, NULL, 116, NULL, 'INV17682198125394', 'SALE-000116', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-12 12:10:12', '2026-01-12 12:10:12', NULL, NULL, NULL, NULL, NULL, NULL, 116, NULL),
(117, NULL, 117, NULL, 'INV17682198989270', 'SALE-000117', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-12 12:11:38', '2026-01-12 12:11:38', NULL, NULL, NULL, NULL, NULL, NULL, 117, NULL),
(118, NULL, 118, NULL, 'INV17682200195932', 'SALE-000118', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-12 12:13:39', '2026-01-12 12:13:39', NULL, NULL, NULL, NULL, NULL, NULL, 118, NULL),
(119, NULL, 119, NULL, 'INV17682271112561', 'SALE-000119', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-12 14:11:51', '2026-01-12 14:11:51', NULL, NULL, NULL, NULL, NULL, NULL, 119, NULL),
(120, NULL, 120, NULL, 'INV17682272291210', 'SALE-000120', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-12 14:13:49', '2026-01-12 14:13:49', NULL, NULL, NULL, NULL, NULL, NULL, 120, NULL),
(121, NULL, 121, NULL, 'INV17682274048255', 'SALE-000121', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-12 14:16:44', '2026-01-12 14:16:44', NULL, NULL, NULL, NULL, NULL, NULL, 121, NULL),
(122, NULL, 122, NULL, 'INV17684807539436', 'SALE-000122', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-15 12:39:14', '2026-01-15 12:39:14', NULL, NULL, NULL, NULL, NULL, NULL, 122, NULL),
(123, NULL, 123, NULL, 'INV17684810886846', 'SALE-000123', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-15 12:44:49', '2026-01-15 12:44:49', NULL, NULL, NULL, NULL, NULL, NULL, 123, NULL),
(124, NULL, 124, NULL, 'INV17685612759936', 'SALE-000124', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-16 11:01:16', '2026-01-16 11:01:16', NULL, NULL, NULL, NULL, NULL, NULL, 124, NULL),
(125, NULL, 125, NULL, 'INV17688097764658', 'SALE-000125', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-19 08:02:56', '2026-01-19 08:02:56', NULL, NULL, NULL, NULL, NULL, NULL, 125, NULL),
(126, NULL, 126, NULL, 'INV17689295458572', 'SALE-000126', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-20 17:19:06', '2026-01-20 17:19:06', NULL, NULL, NULL, NULL, NULL, NULL, 126, NULL),
(127, NULL, 127, NULL, 'INV17689306161558', 'SALE-000127', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-20 17:36:56', '2026-01-20 17:36:56', NULL, NULL, NULL, NULL, NULL, NULL, 127, NULL),
(128, NULL, 128, NULL, 'INV17689312515478', 'SALE-000128', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-20 17:47:31', '2026-01-20 17:47:31', NULL, NULL, NULL, NULL, NULL, NULL, 128, NULL),
(129, NULL, 129, NULL, 'INV17689313993613', 'SALE-000129', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-20 17:49:59', '2026-01-20 17:49:59', NULL, NULL, NULL, NULL, NULL, NULL, 129, NULL),
(130, NULL, 130, NULL, 'INV17689315406835', 'SALE-000130', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-20 17:52:20', '2026-01-20 17:52:20', NULL, NULL, NULL, NULL, NULL, NULL, 130, NULL),
(131, NULL, 131, NULL, 'INV17690021559731', 'SALE-000131', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-21 13:29:15', '2026-01-21 13:29:15', NULL, NULL, NULL, NULL, NULL, NULL, 131, NULL),
(132, NULL, 132, NULL, 'INV17690049565341', 'SALE-000132', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-21 14:15:56', '2026-01-21 14:15:56', NULL, NULL, NULL, NULL, NULL, NULL, 132, NULL),
(133, NULL, 133, NULL, 'INV17695214301834', 'SALE-000133', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-27 13:43:51', '2026-01-27 13:43:51', NULL, NULL, NULL, NULL, NULL, NULL, 133, NULL),
(134, NULL, 134, NULL, 'INV17697075945698', 'SALE-000134', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-01-29 17:26:35', '2026-01-29 17:26:35', NULL, NULL, NULL, NULL, NULL, NULL, 134, NULL),
(135, NULL, 135, NULL, 'INV17700181953665', 'SALE-000135', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-02 07:43:16', '2026-02-02 07:43:16', NULL, NULL, NULL, NULL, NULL, NULL, 135, NULL),
(136, NULL, 136, NULL, 'INV17700183404274', 'SALE-000136', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-02 07:45:40', '2026-02-02 07:45:40', NULL, NULL, NULL, NULL, NULL, NULL, 136, NULL),
(137, NULL, 137, NULL, 'INV17702044438316', 'SALE-000137', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-04 11:27:23', '2026-02-04 11:27:23', NULL, NULL, NULL, NULL, NULL, NULL, 137, NULL),
(138, NULL, 138, NULL, 'INV17702049835971', 'SALE-000138', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-04 11:36:23', '2026-02-04 11:36:23', NULL, NULL, NULL, NULL, NULL, NULL, 138, NULL),
(139, NULL, 139, NULL, 'INV17703581772597', 'SALE-000139', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-06 06:09:38', '2026-02-06 06:09:38', NULL, NULL, NULL, NULL, NULL, NULL, 139, NULL),
(140, NULL, 140, NULL, 'INV17703582827355', 'SALE-000140', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-06 06:11:22', '2026-02-06 06:11:22', NULL, NULL, NULL, NULL, NULL, NULL, 140, NULL),
(141, NULL, 141, NULL, 'INV17703585425660', 'SALE-000141', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-06 06:15:42', '2026-02-06 06:15:42', NULL, NULL, NULL, NULL, NULL, NULL, 141, NULL),
(142, NULL, 142, NULL, 'INV17703972747197', 'SALE-000142', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-06 17:01:14', '2026-02-06 17:01:14', NULL, NULL, NULL, NULL, NULL, NULL, 142, NULL),
(143, NULL, 143, NULL, 'INV17704709459167', 'SALE-000143', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-07 13:29:06', '2026-02-07 13:29:06', NULL, NULL, NULL, NULL, NULL, NULL, 143, NULL),
(144, NULL, 144, NULL, 'INV17705648277370', 'SALE-000144', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-08 15:33:47', '2026-02-08 15:33:47', NULL, NULL, NULL, NULL, NULL, NULL, 144, NULL),
(145, NULL, 145, NULL, 'INV17705651036131', 'SALE-000145', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-08 15:38:24', '2026-02-08 15:38:24', NULL, NULL, NULL, NULL, NULL, NULL, 145, NULL),
(146, NULL, 146, NULL, 'INV17706421163270', 'SALE-000146', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-09 13:01:57', '2026-02-09 13:01:57', NULL, NULL, NULL, NULL, NULL, NULL, 146, NULL),
(147, NULL, 147, NULL, 'INV17706421929090', 'SALE-000147', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-09 13:03:12', '2026-02-09 13:03:12', NULL, NULL, NULL, NULL, NULL, NULL, 147, NULL),
(148, NULL, 148, NULL, 'INV17706422716279', 'SALE-000148', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-09 13:04:31', '2026-02-09 13:04:31', NULL, NULL, NULL, NULL, NULL, NULL, 148, NULL),
(149, NULL, 149, NULL, 'INV17706423416428', 'SALE-000149', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-09 13:05:41', '2026-02-09 13:05:41', NULL, NULL, NULL, NULL, NULL, NULL, 149, NULL),
(150, NULL, 150, NULL, 'INV17707284905091', 'SALE-000150', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-10 13:01:30', '2026-02-10 13:01:30', NULL, NULL, NULL, NULL, NULL, NULL, 150, NULL),
(151, NULL, 151, NULL, 'INV17707286094076', 'SALE-000151', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-10 13:03:29', '2026-02-10 13:03:29', NULL, NULL, NULL, NULL, NULL, NULL, 151, NULL),
(152, NULL, 152, NULL, 'INV17707952243031', 'SALE-000152', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-11 07:33:45', '2026-02-11 07:33:45', NULL, NULL, NULL, NULL, NULL, NULL, 152, NULL),
(153, NULL, 153, NULL, 'INV17708249516901', 'SALE-000153', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-11 15:49:12', '2026-02-11 15:49:12', NULL, NULL, NULL, NULL, NULL, NULL, 153, NULL),
(154, NULL, 154, NULL, 'INV17712317876407', 'SALE-000154', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-16 08:49:47', '2026-02-16 08:49:47', NULL, NULL, NULL, NULL, NULL, NULL, 154, NULL),
(155, NULL, 155, NULL, 'INV17712319698008', 'SALE-000155', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-16 08:52:50', '2026-02-16 08:52:50', NULL, NULL, NULL, NULL, NULL, NULL, 155, NULL),
(156, NULL, 156, NULL, 'INV17712320768555', 'SALE-000156', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-16 08:54:36', '2026-02-16 08:54:36', NULL, NULL, NULL, NULL, NULL, NULL, 156, NULL),
(157, NULL, 157, NULL, 'INV17713279941059', 'SALE-000157', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-17 11:33:14', '2026-02-17 11:33:14', NULL, NULL, NULL, NULL, NULL, NULL, 157, NULL),
(158, NULL, 158, NULL, 'INV17713281602056', 'SALE-000158', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-17 11:36:00', '2026-02-17 11:36:00', NULL, NULL, NULL, NULL, NULL, NULL, 158, NULL),
(159, NULL, 159, NULL, 'INV17713284425454', 'SALE-000159', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-17 11:40:42', '2026-02-17 11:40:42', NULL, NULL, NULL, NULL, NULL, NULL, 159, NULL),
(160, NULL, 160, NULL, 'INV17716792727234', 'SALE-000160', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-21 13:07:52', '2026-02-21 13:07:52', NULL, NULL, NULL, NULL, NULL, NULL, 160, NULL),
(161, NULL, 161, NULL, 'INV17719152884245', 'SALE-000161', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-24 06:41:29', '2026-02-24 06:41:29', NULL, NULL, NULL, NULL, NULL, NULL, 161, NULL),
(162, NULL, 162, NULL, 'INV17719981321616', 'SALE-000162', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-25 05:42:13', '2026-02-25 05:42:13', NULL, NULL, NULL, NULL, NULL, NULL, 162, NULL),
(163, NULL, 163, NULL, 'INV17719982204941', 'SALE-000163', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-02-25 05:43:40', '2026-02-25 05:43:40', NULL, NULL, NULL, NULL, NULL, NULL, 163, NULL),
(164, NULL, 164, NULL, 'INV17726174372336', 'SALE-000164', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-03-04 09:43:57', '2026-03-04 09:43:57', NULL, NULL, NULL, NULL, NULL, NULL, 164, NULL),
(165, NULL, 165, NULL, 'INV17726975732520', 'SALE-000165', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-03-05 07:59:33', '2026-03-05 07:59:33', NULL, NULL, NULL, NULL, NULL, NULL, 165, NULL),
(166, NULL, 166, NULL, 'INV17727781753372', 'SALE-000166', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-03-06 06:22:56', '2026-03-06 06:22:56', NULL, NULL, NULL, NULL, NULL, NULL, 166, NULL),
(167, NULL, 167, NULL, 'INV17727782592160', 'SALE-000167', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-03-06 06:24:19', '2026-03-06 06:24:19', NULL, NULL, NULL, NULL, NULL, NULL, 167, NULL),
(168, NULL, 168, NULL, 'INV17727783237213', 'SALE-000168', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-03-06 06:25:23', '2026-03-06 06:25:23', NULL, NULL, NULL, NULL, NULL, NULL, 168, NULL),
(169, NULL, 169, NULL, 'INV-000174', 'SALE-000169', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-03-09 15:20:52', '2026-03-09 15:20:52', NULL, NULL, NULL, NULL, NULL, NULL, 169, NULL),
(170, NULL, 170, NULL, 'INV-000175', 'SALE-000170', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-03-09 15:22:22', '2026-03-09 15:22:22', NULL, NULL, NULL, NULL, NULL, NULL, 170, NULL),
(171, NULL, 171, NULL, 'INV-000176', 'SALE-000171', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-03-09 15:23:31', '2026-03-09 15:23:31', NULL, NULL, NULL, NULL, NULL, NULL, 171, NULL),
(172, NULL, 172, NULL, 'INV-000178', 'SALE-000172', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-03-10 14:52:43', '2026-03-10 14:52:43', NULL, NULL, NULL, NULL, NULL, NULL, 172, NULL),
(173, NULL, 173, NULL, 'INV-000180', 'SALE-000173', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-03-10 15:33:59', '2026-03-10 15:33:59', NULL, NULL, NULL, NULL, NULL, NULL, 173, NULL),
(174, NULL, 174, NULL, 'INV-000185', 'SALE-000174', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-03-12 11:27:03', '2026-03-12 11:27:03', NULL, NULL, NULL, NULL, NULL, NULL, 174, NULL),
(175, NULL, 175, NULL, 'INV-000187', 'SALE-000175', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-03-13 14:40:43', '2026-03-13 14:40:43', NULL, NULL, NULL, NULL, NULL, NULL, 175, NULL),
(176, NULL, 176, NULL, 'INV-000189', 'SALE-000176', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-03-13 17:21:26', '2026-03-13 17:21:26', NULL, NULL, NULL, NULL, NULL, NULL, 176, NULL),
(177, NULL, 177, NULL, 'INV-000193', 'SALE-000177', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-03-14 17:41:12', '2026-03-14 17:41:12', NULL, NULL, NULL, NULL, NULL, NULL, 177, NULL),
(178, NULL, 178, NULL, 'INV-000194', 'SALE-000178', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-03-14 17:46:16', '2026-03-14 17:46:16', NULL, NULL, NULL, NULL, NULL, NULL, 178, NULL),
(179, NULL, 179, NULL, 'INV-000197', 'SALE-000179', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-03-16 11:15:13', '2026-03-16 11:15:13', NULL, NULL, NULL, NULL, NULL, NULL, 179, NULL),
(180, NULL, 180, NULL, 'INV-000199', 'SALE-000180', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-03-18 15:57:53', '2026-03-18 15:57:53', NULL, NULL, NULL, NULL, NULL, NULL, 180, NULL),
(181, NULL, 181, NULL, 'INV-000201', 'SALE-000181', NULL, 'Walk-in Customer', '', 'pending', 'normal', NULL, NULL, '2026-03-22 14:26:28', '2026-03-22 14:26:28', NULL, NULL, NULL, NULL, NULL, NULL, 181, NULL),
(182, NULL, 182, NULL, 'INV-000206', 'SALE-000182', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-03-26 12:35:40', '2026-03-26 12:35:40', NULL, NULL, NULL, NULL, NULL, NULL, 182, NULL),
(183, NULL, 183, NULL, 'INV-000208', 'SALE-000183', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-03-27 15:48:33', '2026-03-27 15:48:33', NULL, NULL, NULL, NULL, NULL, NULL, 183, NULL),
(184, NULL, 184, NULL, 'INV-000215', 'SALE-000184', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-03 06:50:23', '2026-04-03 06:50:23', NULL, NULL, NULL, NULL, NULL, NULL, 184, NULL),
(185, NULL, 185, NULL, 'INV-000216', 'SALE-000185', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-03 06:53:21', '2026-04-03 06:53:21', NULL, NULL, NULL, NULL, NULL, NULL, 185, NULL),
(186, NULL, 186, NULL, 'INV-000218', 'SALE-000186', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-03 10:51:18', '2026-04-03 10:51:18', NULL, NULL, NULL, NULL, NULL, NULL, 186, NULL),
(187, NULL, 187, NULL, 'INV-000220', 'SALE-000187', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-04 14:20:50', '2026-04-04 14:20:50', NULL, NULL, NULL, NULL, NULL, NULL, 187, NULL),
(188, NULL, 188, NULL, 'INV-000222', 'SALE-000188', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-06 12:50:00', '2026-04-06 12:50:00', NULL, NULL, NULL, NULL, NULL, NULL, 188, NULL),
(189, NULL, 189, NULL, 'INV-000224', 'SALE-000189', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-06 15:54:33', '2026-04-06 15:54:33', NULL, NULL, NULL, NULL, NULL, NULL, 189, NULL),
(190, NULL, 190, NULL, 'INV-000225', 'SALE-000190', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-06 15:58:18', '2026-04-06 15:58:18', NULL, NULL, NULL, NULL, NULL, NULL, 190, NULL),
(191, NULL, 191, NULL, 'INV-000230', 'SALE-000191', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-07 11:41:44', '2026-04-07 11:41:44', NULL, NULL, NULL, NULL, NULL, NULL, 191, NULL),
(192, NULL, 192, NULL, 'INV-000232', 'SALE-000192', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-07 14:14:39', '2026-04-07 14:14:39', NULL, NULL, NULL, NULL, NULL, NULL, 192, NULL),
(193, NULL, 193, NULL, 'INV-000234', 'SALE-000193', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-07 16:01:33', '2026-04-07 16:01:33', NULL, NULL, NULL, NULL, NULL, NULL, 193, NULL),
(194, NULL, 194, NULL, 'INV-000236', 'SALE-000194', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-09 12:40:29', '2026-04-09 12:40:29', NULL, NULL, NULL, NULL, NULL, NULL, 194, NULL),
(195, NULL, 195, NULL, 'INV-000237', 'SALE-000195', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-09 12:42:29', '2026-04-09 12:42:29', NULL, NULL, NULL, NULL, NULL, NULL, 195, NULL),
(196, NULL, 196, NULL, 'INV-000239', 'SALE-000196', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-09 12:48:25', '2026-04-09 12:48:25', NULL, NULL, NULL, NULL, NULL, NULL, 196, NULL),
(197, NULL, 197, NULL, 'INV-000241', 'SALE-000197', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-11 06:19:42', '2026-04-11 06:19:42', NULL, NULL, NULL, NULL, NULL, NULL, 197, NULL),
(198, NULL, 198, NULL, 'INV-000243', 'SALE-000198', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-13 14:09:41', '2026-04-13 14:09:41', NULL, NULL, NULL, NULL, NULL, NULL, 198, NULL),
(199, NULL, 199, NULL, 'INV-000244', 'SALE-000199', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-13 14:11:47', '2026-04-13 14:11:47', NULL, NULL, NULL, NULL, NULL, NULL, 199, NULL),
(200, NULL, 200, NULL, 'INV-000245', 'SALE-000200', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-13 14:14:37', '2026-04-13 14:14:37', NULL, NULL, NULL, NULL, NULL, NULL, 200, NULL),
(201, NULL, 201, NULL, 'INV-000247', 'SALE-000201', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-14 11:51:30', '2026-04-14 11:51:30', NULL, NULL, NULL, NULL, NULL, NULL, 201, NULL),
(202, NULL, 202, NULL, 'INV-000248', 'SALE-000202', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-14 11:53:08', '2026-04-14 11:53:08', NULL, NULL, NULL, NULL, NULL, NULL, 202, NULL),
(203, NULL, 203, NULL, 'INV-000250', 'SALE-000203', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-14 14:05:31', '2026-04-14 14:05:31', NULL, NULL, NULL, NULL, NULL, NULL, 203, NULL),
(204, NULL, 204, NULL, 'INV-000252', 'SALE-000204', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-15 16:42:07', '2026-04-15 16:42:07', NULL, NULL, NULL, NULL, NULL, NULL, 204, NULL),
(205, NULL, 205, NULL, 'INV-000253', 'SALE-000205', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-15 16:44:29', '2026-04-15 16:44:29', NULL, NULL, NULL, NULL, NULL, NULL, 205, NULL),
(206, NULL, 206, NULL, 'INV-000258', 'SALE-000206', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-17 14:50:54', '2026-04-17 14:50:54', NULL, NULL, NULL, NULL, NULL, NULL, 206, NULL),
(207, NULL, 207, NULL, 'INV-000259', 'SALE-000207', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-17 14:52:26', '2026-04-17 14:52:26', NULL, NULL, NULL, NULL, NULL, NULL, 207, NULL),
(208, NULL, 208, NULL, 'INV-000262', 'SALE-000208', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-18 10:24:05', '2026-04-18 10:24:05', NULL, NULL, NULL, NULL, NULL, NULL, 208, NULL),
(209, NULL, 209, NULL, 'INV-000264', 'SALE-000209', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-18 10:35:34', '2026-04-18 10:35:34', NULL, NULL, NULL, NULL, NULL, NULL, 209, NULL),
(210, NULL, 210, NULL, 'INV-000269', 'SALE-000210', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-20 09:57:22', '2026-04-20 09:57:22', NULL, NULL, NULL, NULL, NULL, NULL, 210, NULL),
(211, NULL, 211, NULL, 'INV-000271', 'SALE-000211', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-22 07:00:39', '2026-04-22 07:00:39', NULL, NULL, NULL, NULL, NULL, NULL, 211, NULL),
(212, NULL, 212, NULL, 'INV-000273', 'SALE-000212', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-22 14:20:33', '2026-04-22 14:20:33', NULL, NULL, NULL, NULL, NULL, NULL, 212, NULL),
(213, NULL, 213, NULL, 'INV-000277', 'SALE-000213', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-23 08:47:29', '2026-04-23 08:47:29', NULL, NULL, NULL, NULL, NULL, NULL, 213, NULL),
(214, NULL, 214, NULL, 'INV-000282', 'SALE-000214', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-27 13:55:32', '2026-04-27 13:55:32', NULL, NULL, NULL, NULL, NULL, NULL, 214, NULL),
(215, NULL, 215, NULL, 'INV-000283', 'SALE-000215', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-27 13:56:37', '2026-04-27 13:56:37', NULL, NULL, NULL, NULL, NULL, NULL, 215, NULL),
(216, NULL, 216, NULL, 'INV-000288', 'SALE-000216', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-04-27 14:17:23', '2026-04-27 14:17:23', NULL, NULL, NULL, NULL, NULL, NULL, 216, NULL),
(217, NULL, 217, NULL, 'INV-000299', 'SALE-000217', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-05-01 12:17:55', '2026-05-01 12:17:55', NULL, NULL, NULL, NULL, NULL, NULL, 217, NULL),
(218, NULL, 218, NULL, 'INV-000301', 'SALE-000218', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-05-03 09:22:28', '2026-05-03 09:22:28', NULL, NULL, NULL, NULL, NULL, NULL, 218, NULL),
(219, NULL, 219, NULL, 'INV-000302', 'SALE-000219', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-05-03 09:29:48', '2026-05-03 09:29:48', NULL, NULL, NULL, NULL, NULL, NULL, 219, NULL),
(220, NULL, 220, NULL, 'INV-000304', 'SALE-000220', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-05-03 14:41:17', '2026-05-03 14:41:17', NULL, NULL, NULL, NULL, NULL, NULL, 220, NULL),
(221, NULL, 221, NULL, 'INV-000307', 'SALE-000221', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-05-04 14:37:15', '2026-05-04 14:37:15', NULL, NULL, NULL, NULL, NULL, NULL, 221, NULL),
(222, NULL, 222, NULL, 'INV-000308', 'SALE-000222', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-05-04 14:39:02', '2026-05-04 14:39:02', NULL, NULL, NULL, NULL, NULL, NULL, 222, NULL),
(223, NULL, 223, NULL, 'INV-000313', 'SALE-000223', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-05-05 11:30:45', '2026-05-05 11:30:45', NULL, NULL, NULL, NULL, NULL, NULL, 223, NULL),
(224, NULL, 224, NULL, 'INV-000314', 'SALE-000224', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-05-05 11:32:58', '2026-05-05 11:32:58', NULL, NULL, NULL, NULL, NULL, NULL, 224, NULL),
(225, NULL, 225, NULL, 'INV-000315', 'SALE-000225', NULL, 'Walk-in Customer', 'dine_in', 'pending', 'normal', NULL, NULL, '2026-05-05 11:38:21', '2026-05-05 11:38:21', NULL, NULL, NULL, NULL, NULL, NULL, 225, NULL);

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

--
-- Table structure for table `kds_order_items`
--

CREATE TABLE IF NOT EXISTS `kds_order_items` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int DEFAULT NULL,
  `kds_order_id` int NOT NULL,
  `sale_item_id` int NOT NULL,
  `hold_item_id` int DEFAULT NULL,
  `item_id` int NOT NULL,
  `item_name` varchar(100) NOT NULL,
  `quantity` decimal(12,3) NOT NULL,
  `unit_price` decimal(10,2) NOT NULL,
  `total_price` decimal(10,2) NOT NULL,
  `item_status` enum('pending','preparing','ready','served') NOT NULL DEFAULT 'pending',
  `special_instructions` text,
  `preparation_notes` text,
  `prepared_at` timestamp NULL DEFAULT NULL,
  `served_at` timestamp NULL DEFAULT NULL,
  `prepared_by` int DEFAULT NULL,
  `served_by` int DEFAULT NULL,
  `sort_order` int DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `item_status_type` enum('original','new','quantity_changed') DEFAULT 'original',
  `served_quantity` decimal(12,3) DEFAULT '0.000',
  `total_quantity` decimal(12,3) DEFAULT '0.000',
  PRIMARY KEY (`id`),
  KEY `kds_order_id` (`kds_order_id`),
  KEY `sale_item_id` (`sale_item_id`),
  KEY `item_id` (`item_id`),
  KEY `item_status` (`item_status`),
  KEY `hold_item_id` (`hold_item_id`),
  KEY `idx_kds_order_items_store_id` (`store_id`)
) ENGINE=MyISAM AUTO_INCREMENT=248 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `kds_order_items`
--

INSERT INTO `kds_order_items` (`id`, `store_id`, `kds_order_id`, `sale_item_id`, `hold_item_id`, `item_id`, `item_name`, `quantity`, `unit_price`, `total_price`, `item_status`, `special_instructions`, `preparation_notes`, `prepared_at`, `served_at`, `prepared_by`, `served_by`, `sort_order`, `created_at`, `item_status_type`, `served_quantity`, `total_quantity`) VALUES
(1, NULL, 1, 1, NULL, 3, 'Annual Return with Challa...', 1.000, 20000.00, 20000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-03 09:39:34', 'original', 0.000, 0.000),
(2, NULL, 2, 2, NULL, 3, 'Annual Return with Challa...', 1.000, 3000.00, 3000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-03 10:25:40', 'original', 0.000, 0.000),
(3, NULL, 3, 3, NULL, 2, 'POS Services', 8.000, 10000.00, 80000.00, 'pending', 'REMARKS: for the month of OCT\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-03 14:22:56', 'original', 0.000, 0.000),
(4, NULL, 4, 4, NULL, 2, 'POS Services', 1.000, 4500.00, 4500.00, 'pending', 'REMARKS: yearly package\nconcession of 6 months for the first year', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-04 08:30:08', 'original', 0.000, 0.000),
(5, NULL, 5, 5, NULL, 2, 'POS Services', 1.000, 500.00, 500.00, 'pending', 'REMARKS: Cloud charges for the month of OCT\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-04 08:31:11', 'original', 0.000, 0.000),
(6, NULL, 6, 6, NULL, 2, 'POS Services', 1.000, 5000.00, 5000.00, 'pending', 'REMARKS: for the month of Oct\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-05 17:16:28', 'original', 0.000, 0.000),
(7, NULL, 7, 7, NULL, 34, 'LCD 22 Dell', 1.000, 11500.00, 11500.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-07 11:22:22', 'original', 0.000, 0.000),
(8, NULL, 7, 8, NULL, 8, 'Keyboard', 1.000, 800.00, 800.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-07 11:22:22', 'original', 0.000, 0.000),
(9, NULL, 7, 9, NULL, 7, 'Mouse', 1.000, 600.00, 600.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-07 11:22:22', 'original', 0.000, 0.000),
(10, NULL, 7, 10, NULL, 10, 'Power Cable', 2.000, 350.00, 700.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-07 11:22:22', 'original', 0.000, 0.000),
(11, NULL, 7, 11, NULL, 9, 'VGA', 1.000, 400.00, 400.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-07 11:22:22', 'original', 0.000, 0.000),
(12, NULL, 8, 12, NULL, 2, 'POS Services', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: for the month of Oct\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-08 12:38:01', 'original', 0.000, 1.000),
(13, NULL, 9, 13, NULL, 3, 'Annual Return with Challa...', 1.000, 4000.00, 4000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-08 12:38:55', 'original', 0.000, 1.000),
(14, NULL, 10, 14, NULL, 2, 'POS Services', 2.000, 3000.00, 6000.00, 'pending', 'REMARKS: for the month of Sept and Oct\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-08 12:45:07', 'original', 0.000, 2.000),
(15, NULL, 11, 15, NULL, 2, 'POS Services', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: For the month of 0ct\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-08 12:48:40', 'original', 0.000, 1.000),
(16, NULL, 12, 16, NULL, 42, 'Smart Retailo', 1.000, 25000.00, 25000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-08 13:26:02', 'original', 0.000, 1.000),
(17, NULL, 13, 17, NULL, 1, 'ITR POS', 1.000, 16000.00, 16000.00, 'pending', 'REMARKS: Yearly package', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-09 13:09:24', 'original', 0.000, 1.000),
(18, NULL, 14, 18, NULL, 2, 'POS Services', 1.000, 3000.00, 3000.00, 'pending', 'REMARKS: For the month of OCct\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-11 14:10:07', 'original', 0.000, 1.000),
(19, NULL, 15, 19, NULL, 2, 'POS Services', 1.000, 10000.00, 10000.00, 'pending', 'REMARKS: For the month of sept\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-11 14:11:14', 'original', 0.000, 1.000),
(20, NULL, 16, 20, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: for the month of Oct\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-13 16:06:42', 'original', 0.000, 1.000),
(21, NULL, 17, 21, NULL, 2, 'POS Services', 1.000, 2500.00, 2500.00, 'pending', 'REMARKS: For the month of Oct\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-13 16:07:48', 'original', 0.000, 1.000),
(22, NULL, 18, 22, NULL, 2, 'POS Services', 1.000, 25000.00, 25000.00, 'pending', 'REMARKS: Yearly \nOct\'25- Sept\'26', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-15 11:11:28', 'original', 0.000, 1.000),
(23, NULL, 19, 23, NULL, 2, 'POS Services', 1.000, 35000.00, 35000.00, 'pending', 'REMARKS: For the month of Oct\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-15 13:39:06', 'original', 0.000, 1.000),
(24, NULL, 20, 24, NULL, 1, 'ITR POS', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: Monthly Package - Oct\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-16 10:11:02', 'original', 0.000, 1.000),
(25, NULL, 21, 25, NULL, 2, 'POS Services', 1.000, 15000.00, 15000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-18 02:08:28', 'original', 0.000, 1.000),
(26, NULL, 22, 26, NULL, 38, 'Complete PC Cori5 3gen', 9.000, 28500.00, 256500.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-18 17:32:06', 'original', 0.000, 9.000),
(27, NULL, 22, 27, NULL, 17, 'A4 Printer Pantum', 1.000, 60000.00, 60000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-18 17:32:06', 'original', 0.000, 1.000),
(28, NULL, 22, 28, NULL, 21, 'Barcode Label Printer', 1.000, 33500.00, 33500.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-18 17:32:06', 'original', 0.000, 1.000),
(29, NULL, 22, 29, NULL, 37, '2D Omni Directional Barco...', 7.000, 15000.00, 105000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-18 17:32:06', 'original', 0.000, 7.000),
(30, NULL, 22, 30, NULL, 13, 'Cash Drawer', 5.000, 10000.00, 50000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-18 17:32:06', 'original', 0.000, 5.000),
(31, NULL, 22, 31, NULL, 12, 'Thermal Printer USB BC96A...', 5.000, 13500.00, 67500.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-18 17:32:06', 'original', 0.000, 5.000),
(32, NULL, 22, 32, NULL, 40, 'Weight Scale', 2.000, 95000.00, 190000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-18 17:32:06', 'original', 0.000, 2.000),
(33, NULL, 22, 33, NULL, 41, 'LCD 21', 5.000, 14500.00, 72500.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-18 17:32:06', 'original', 0.000, 5.000),
(34, NULL, 22, 34, NULL, 11, 'ITR World POS', 1.000, 111000.00, 111000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-18 17:32:06', 'original', 0.000, 1.000),
(35, NULL, 22, 35, NULL, 43, 'Additional Terminal', 9.000, 30000.00, 270000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-18 17:32:06', 'original', 0.000, 9.000),
(36, NULL, 23, 36, NULL, 3, 'Annual Return with Challa...', 1.000, 5000.00, 5000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-20 08:32:13', 'original', 0.000, 1.000),
(37, NULL, 24, 37, NULL, 2, 'POS Services', 1.000, 20000.00, 20000.00, 'pending', 'REMARKS: For the month of Oct\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-21 14:45:12', 'original', 0.000, 1.000),
(38, NULL, 25, 38, NULL, 2, 'POS Services', 1.000, 20000.00, 20000.00, 'pending', 'REMARKS: For the month of Oct\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-21 14:47:11', 'original', 0.000, 1.000),
(39, NULL, 26, 39, NULL, 36, 'Thermal Printer BC-86AC U...', 1.000, 12000.00, 12000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-27 09:43:30', 'original', 0.000, 1.000),
(40, NULL, 27, 40, NULL, 41, 'LCD 21', 9.000, 7000.00, 63000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-27 09:52:05', 'original', 0.000, 9.000),
(41, NULL, 28, 41, NULL, 3, 'Annual Return with Challan', 1.000, 25000.00, 25000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-28 08:20:58', 'original', 0.000, 1.000),
(42, NULL, 29, 42, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: Monthly package- Nov', NULL, NULL, NULL, NULL, NULL, 0, '2025-10-28 08:22:04', 'original', 0.000, 1.000),
(43, NULL, 30, 43, NULL, 2, 'POS Services', 1.000, 500.00, 500.00, 'pending', 'REMARKS: Nov cloud charges', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-03 15:12:08', 'original', 0.000, 1.000),
(44, NULL, 31, 44, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: SLA NOV', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-03 15:14:24', 'original', 0.000, 1.000),
(45, NULL, 32, 45, NULL, 2, 'POS Services', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: SLA NOV', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-03 15:15:52', 'original', 0.000, 1.000),
(46, NULL, 33, 46, NULL, 1, 'ITR POS', 1.000, 30000.00, 30000.00, 'pending', 'REMARKS: Yearly package', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-03 15:18:59', 'original', 0.000, 1.000),
(47, NULL, 34, 47, NULL, 44, 'Ram 4gb', 1.000, 1500.00, 1500.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-03 15:23:21', 'original', 0.000, 1.000),
(48, NULL, 35, 48, NULL, 2, 'POS Services', 1.000, 5000.00, 5000.00, 'pending', 'REMARKS: SLA Nov', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-07 15:28:28', 'original', 0.000, 1.000),
(49, NULL, 36, 49, NULL, 2, 'POS Services', 8.000, 10000.00, 80000.00, 'pending', 'REMARKS: SLA NOV', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-07 15:34:05', 'original', 0.000, 8.000),
(50, NULL, 37, 50, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: SLA NOV', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-07 15:47:56', 'original', 0.000, 1.000),
(51, NULL, 38, 51, NULL, 2, 'POS Services', 1.000, 35000.00, 35000.00, 'pending', 'REMARKS: SLA NOV', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-08 15:54:00', 'original', 0.000, 1.000),
(52, NULL, 39, 52, NULL, 1, 'ITR POS', 1.000, 15000.00, 15000.00, 'pending', 'REMARKS: Yearly package', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-08 15:57:36', 'original', 0.000, 1.000),
(53, NULL, 40, 53, NULL, 1, 'ITR POS', 1.000, 30000.00, 30000.00, 'pending', 'REMARKS: Yearly package', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-08 15:58:41', 'original', 0.000, 1.000),
(54, NULL, 41, 54, NULL, 2, 'POS Services', 1.000, 2500.00, 2500.00, 'pending', 'REMARKS: For the month of NOV', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-11 06:10:12', 'original', 0.000, 1.000),
(55, NULL, 42, 55, NULL, 2, 'POS Services', 5.000, 1000.00, 5000.00, 'pending', 'REMARKS: NOV- MARCH', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-11 06:11:25', 'original', 0.000, 5.000),
(56, NULL, 43, 56, NULL, 35, 'License Replacement', 1.000, 1500.00, 1500.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-11 13:30:48', 'original', 0.000, 1.000),
(57, NULL, 44, 57, NULL, 2, 'POS Services', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: For the month of Nov\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-11 13:31:42', 'original', 0.000, 1.000),
(58, NULL, 45, 58, NULL, 38, 'Complete PC Cori5 3gen', 3.000, 28500.00, 85500.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-12 15:41:09', 'original', 0.000, 3.000),
(59, NULL, 45, 59, NULL, 34, 'LCD 22 Dell', 4.000, 14500.00, 58000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-12 15:41:09', 'original', 0.000, 4.000),
(60, NULL, 45, 60, NULL, 7, 'Mouse', 4.000, 700.00, 2800.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-12 15:41:09', 'original', 0.000, 4.000),
(61, NULL, 45, 61, NULL, 8, 'Keyboard', 3.000, 1000.00, 3000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-12 15:41:09', 'original', 0.000, 3.000),
(62, NULL, 45, 62, NULL, 37, '2D Omni Directional Barcode Scanner BC-690', 3.000, 15000.00, 45000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-12 15:41:09', 'original', 0.000, 3.000),
(63, NULL, 45, 63, NULL, 13, 'Cash Drawer', 1.000, 10000.00, 10000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-12 15:41:09', 'original', 0.000, 1.000),
(64, NULL, 45, 64, NULL, 12, 'Thermal Printer USB BC96AC', 1.000, 13500.00, 13500.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-12 15:41:09', 'original', 0.000, 1.000),
(65, NULL, 46, 65, NULL, 2, 'POS Services', 1.000, 15000.00, 15000.00, 'pending', 'REMARKS: For the month of Nov', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-12 15:47:27', 'original', 0.000, 1.000),
(66, NULL, 47, 66, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: For the month of Nov\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-14 07:25:05', 'original', 0.000, 1.000),
(67, NULL, 48, 67, NULL, 35, 'License Replacement', 1.000, 2000.00, 2000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-14 07:25:57', 'original', 0.000, 1.000),
(68, NULL, 49, 68, NULL, 2, 'POS Services', 1.000, 10000.00, 10000.00, 'pending', 'REMARKS: For the month of Oct\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-15 07:55:19', 'original', 0.000, 1.000),
(69, NULL, 50, 69, NULL, 2, 'POS Services', 3.000, 2000.00, 6000.00, 'pending', 'REMARKS: For the month of Sept, oct and Nov', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-15 16:47:07', 'original', 0.000, 3.000),
(70, NULL, 51, 70, NULL, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-16 06:46:36', 'original', 0.000, 1.000),
(71, NULL, 51, 71, NULL, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, 10000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-16 06:46:36', 'original', 0.000, 1.000),
(72, NULL, 52, 72, NULL, 29, 'Thermal Printer BC 87AC USB', 1.000, 9500.00, 9500.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-17 14:20:23', 'original', 0.000, 1.000),
(73, NULL, 53, 73, NULL, 42, 'Smart Retailo', 1.000, 7000.00, 7000.00, 'pending', 'REMARKS: Harry Cosmetics', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-18 09:53:00', 'original', 0.000, 1.000),
(74, NULL, 54, 74, NULL, 2, 'POS Services', 1.000, 3000.00, 3000.00, 'pending', 'REMARKS: For the month of Nov\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-18 09:54:43', 'original', 0.000, 1.000),
(75, NULL, 55, 75, NULL, 45, 'Trade Mark Registration', 1.000, 15000.00, 15000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-18 10:06:28', 'original', 0.000, 1.000),
(76, NULL, 56, 76, NULL, 1, 'ITR POS', 1.000, 30000.00, 30000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-19 14:03:25', 'original', 0.000, 1.000),
(77, NULL, 57, 77, NULL, 1, 'ITR POS', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: Monthly Package', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-20 14:37:56', 'original', 0.000, 1.000),
(78, NULL, 58, 78, NULL, 1, 'ITR POS', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: Monthly package', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-22 07:47:40', 'original', 0.000, 1.000),
(79, NULL, 59, 79, NULL, 2, 'POS Services', 1.000, 20000.00, 20000.00, 'pending', 'REMARKS: For the month of Nov\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-23 06:31:29', 'original', 0.000, 1.000),
(80, NULL, 60, 80, NULL, 1, 'ITR POS', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: Monthly package', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-23 06:33:17', 'original', 0.000, 1.000),
(81, NULL, 61, 81, NULL, 3, 'Annual Return with Challan', 1.000, 5000.00, 5000.00, 'pending', 'REMARKS: FBR registration', NULL, NULL, NULL, NULL, NULL, 0, '2025-11-30 04:04:06', 'original', 0.000, 1.000),
(82, NULL, 62, 82, NULL, 2, 'POS Services', 1.000, 20000.00, 20000.00, 'pending', 'REMARKS: for the month of Nov\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-03 04:46:26', 'original', 0.000, 1.000),
(83, NULL, 63, 83, NULL, 2, 'POS Services', 2.000, 7000.00, 14000.00, 'pending', 'REMARKS: For the month of Oct and Nov\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-03 04:53:57', 'original', 0.000, 2.000),
(84, NULL, 64, 84, NULL, 2, 'POS Services', 1.000, 500.00, 500.00, 'pending', 'REMARKS: Cloud Charges for Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-03 04:55:03', 'original', 0.000, 1.000),
(85, NULL, 65, 85, NULL, 2, 'POS Services', 1.000, 5000.00, 5000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-03 17:05:28', 'original', 0.000, 1.000),
(86, NULL, 66, 86, NULL, 2, 'POS Services', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: For the month of Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-05 12:31:04', 'original', 0.000, 1.000),
(87, NULL, 67, 87, NULL, 2, 'POS Services', 8.000, 10000.00, 80000.00, 'pending', 'REMARKS: For the month of Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-05 15:29:14', 'original', 0.000, 8.000),
(88, NULL, 68, 88, NULL, 1, 'ITR POS', 1.000, 25000.00, 25000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-08 07:11:08', 'original', 0.000, 1.000),
(89, NULL, 69, 89, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-08 07:31:13', 'original', 0.000, 1.000),
(90, NULL, 70, 90, NULL, 2, 'POS Services', 1.000, 7000.00, 7000.00, 'pending', 'REMARKS: For the month of Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-09 09:29:28', 'original', 0.000, 1.000),
(91, NULL, 71, 91, NULL, 2, 'POS Services', 1.000, 8000.00, 8000.00, 'pending', 'REMARKS: For the month of Dec\'25 (12 customers)', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-09 09:33:08', 'original', 0.000, 1.000),
(92, NULL, 72, 92, NULL, 1, 'ITR POS', 1.000, 15000.00, 15000.00, 'pending', 'REMARKS: Candle Light Restaurant and Cafe', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-09 14:20:22', 'original', 0.000, 1.000),
(93, NULL, 73, 93, NULL, 47, 'Power Adapter', 1.000, 3000.00, 3000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-09 15:29:18', 'original', 0.000, 1.000),
(94, NULL, 74, 94, NULL, 2, 'POS Services', 1.000, 2500.00, 2500.00, 'pending', 'REMARKS: For the month of Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-09 15:50:09', 'original', 0.000, 1.000),
(95, NULL, 75, 95, NULL, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 'pending', 'REMARKS: Dough with flow', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-10 14:13:46', 'original', 0.000, 1.000),
(96, NULL, 76, 96, NULL, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 'pending', 'REMARKS: Nadeem Traders', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-10 14:15:01', 'original', 0.000, 1.000),
(97, NULL, 77, 97, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: For the month of Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-10 14:16:15', 'original', 0.000, 1.000),
(98, NULL, 78, 98, NULL, 2, 'POS Services', 1.000, 35000.00, 35000.00, 'pending', 'REMARKS: For the month of Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-11 17:26:57', 'original', 0.000, 1.000),
(99, NULL, 79, 99, NULL, 2, 'POS Services', 1.000, 10000.00, 10000.00, 'pending', 'REMARKS: For the month of Nov\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-13 06:52:43', 'original', 0.000, 1.000),
(100, NULL, 80, 100, NULL, 48, 'Hosting Charges', 1.000, 3000.00, 3000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-13 13:59:02', 'original', 0.000, 1.000),
(101, NULL, 81, 0, 1, 2, 'POS Services', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: For the month of Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-17 13:18:33', 'original', 0.000, 1.000),
(102, NULL, 82, 101, NULL, 2, 'POS Services', 1.000, 20000.00, 20000.00, 'pending', 'REMARKS: For the month of Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-17 13:20:10', 'original', 0.000, 1.000),
(103, NULL, 83, 102, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: for the month of  Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-17 13:21:56', 'original', 0.000, 1.000),
(104, NULL, 84, 104, NULL, 2, 'POS Services', 1.000, 1250.00, 1250.00, 'pending', 'REMARKS: For the month of Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-17 17:02:50', 'original', 0.000, 1.000),
(105, NULL, 85, 105, NULL, 1, 'ITR POS', 1.000, 15000.00, 15000.00, 'pending', 'REMARKS: Munch Corner', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-18 11:14:10', 'original', 0.000, 1.000),
(106, NULL, 86, 106, NULL, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, 10000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-18 11:19:15', 'original', 0.000, 1.000),
(107, NULL, 87, 107, NULL, 2, 'POS Services', 1.000, 15000.00, 15000.00, 'pending', 'REMARKS: For the month of Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-18 15:29:11', 'original', 0.000, 1.000),
(108, NULL, 88, 108, NULL, 15, 'POS Machine Jassway', 1.000, 120000.00, 120000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-19 14:24:40', 'original', 0.000, 1.000),
(109, NULL, 89, 109, NULL, 2, 'POS Services', 1.000, 2000.00, 2000.00, 'pending', 'REMARKS: For the month of Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-20 15:44:05', 'original', 0.000, 1.000),
(110, NULL, 90, 110, NULL, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 'pending', 'REMARKS: Cafe De miam branch 2', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-20 15:45:42', 'original', 0.000, 1.000),
(111, NULL, 91, 111, NULL, 2, 'POS Services', 1.000, 3000.00, 3000.00, 'pending', 'REMARKS: For the month of Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-22 12:16:06', 'original', 0.000, 1.000),
(112, NULL, 92, 112, NULL, 1, 'ITR POS', 1.000, 2000.00, 2000.00, 'pending', 'REMARKS: Qadri Food Mountain', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-23 12:44:16', 'original', 0.000, 1.000),
(113, NULL, 93, 113, NULL, 2, 'POS Services', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: For the month of Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-23 12:45:55', 'original', 0.000, 1.000),
(114, NULL, 94, 114, NULL, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 'pending', 'REMARKS: Emaan Electronics', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-25 08:28:57', 'original', 0.000, 1.000),
(115, NULL, 95, 115, NULL, 2, 'POS Services', 2.000, 3000.00, 6000.00, 'pending', 'REMARKS: For the month of Nov and Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-26 11:13:34', 'original', 0.000, 2.000),
(116, NULL, 96, 116, NULL, 2, 'POS Services', 1.000, 20000.00, 20000.00, 'pending', 'REMARKS: Foe the month of Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-31 05:22:00', 'original', 0.000, 1.000),
(117, NULL, 97, 117, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: For the month of Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2025-12-31 14:48:02', 'original', 0.000, 1.000),
(118, NULL, 98, 118, NULL, 1, 'ITR POS', 1.000, 3000.00, 3000.00, 'pending', 'REMARKS: Tokyo Pan Asian', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-02 07:06:41', 'original', 0.000, 1.000),
(119, NULL, 99, 119, NULL, 2, 'POS Services', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: For the month of Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-02 16:37:15', 'original', 0.000, 1.000),
(120, NULL, 100, 120, NULL, 2, 'POS Services', 1.000, 20000.00, 20000.00, 'pending', 'REMARKS: For the month of Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-03 12:46:53', 'original', 0.000, 1.000),
(121, NULL, 101, 121, NULL, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, 10000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-05 07:30:29', 'original', 0.000, 1.000),
(122, NULL, 102, 122, NULL, 2, 'POS Services', 1.000, 8000.00, 8000.00, 'pending', 'REMARKS: For the month of Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-05 11:19:25', 'original', 0.000, 1.000),
(123, NULL, 103, 123, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: For the month of Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-05 11:21:01', 'original', 0.000, 1.000),
(124, NULL, 104, 124, NULL, 2, 'POS Services', 1.000, 20000.00, 20000.00, 'pending', 'REMARKS: For the year 2026', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-05 15:31:29', 'original', 0.000, 1.000),
(125, NULL, 105, 125, NULL, 2, 'POS Services', 1.000, 5000.00, 5000.00, 'pending', 'REMARKS: For the month of Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-05 15:32:40', 'original', 0.000, 1.000),
(126, NULL, 106, 126, NULL, 2, 'POS Services', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: For the month of Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-07 07:21:30', 'original', 0.000, 1.000),
(127, NULL, 107, 127, NULL, 2, 'POS Services', 1.000, 7000.00, 7000.00, 'pending', 'REMARKS: For the month Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-08 07:37:40', 'original', 0.000, 1.000),
(128, NULL, 108, 128, NULL, 2, 'POS Services', 1.000, 2500.00, 2500.00, 'pending', 'REMARKS: For the month of Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-08 07:39:33', 'original', 0.000, 1.000),
(129, NULL, 109, 129, NULL, 1, 'ITR POS', 1.000, 18000.00, 18000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-08 10:56:36', 'original', 0.000, 1.000),
(130, NULL, 110, 130, NULL, 2, 'POS Services', 8.000, 10000.00, 80000.00, 'pending', 'REMARKS: For the month of Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-09 15:01:53', 'original', 0.000, 8.000),
(131, NULL, 111, 131, NULL, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, 10000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-09 15:03:18', 'original', 0.000, 1.000),
(132, NULL, 112, 132, NULL, 49, 'Additional Development', 1.000, 15000.00, 15000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-10 09:07:22', 'original', 0.000, 1.000),
(133, NULL, 113, 133, NULL, 48, 'Hosting Charges', 1.000, 1000.00, 1000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-10 09:09:37', 'original', 0.000, 1.000),
(134, NULL, 114, 134, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: For the month of Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-12 08:45:45', 'original', 0.000, 1.000),
(135, NULL, 115, 135, NULL, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, 10000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-12 12:08:20', 'original', 0.000, 1.000),
(136, NULL, 116, 136, NULL, 2, 'POS Services', 1.000, 3000.00, 3000.00, 'pending', 'REMARKS: For the month of Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-12 12:10:12', 'original', 0.000, 1.000),
(137, NULL, 117, 137, NULL, 1, 'ITR POS', 1.000, 25000.00, 25000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-12 12:11:38', 'original', 0.000, 1.000),
(138, NULL, 118, 138, NULL, 2, 'POS Services', 1.000, 10000.00, 10000.00, 'pending', 'REMARKS: For the month of jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-12 12:13:39', 'original', 0.000, 1.000),
(139, NULL, 119, 139, NULL, 2, 'POS Services', 1.000, 35000.00, 35000.00, 'pending', 'REMARKS: For the month of Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-12 14:11:51', 'original', 0.000, 1.000),
(140, NULL, 120, 140, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: For the month of Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-12 14:13:49', 'original', 0.000, 1.000),
(141, NULL, 121, 141, NULL, 46, 'Visit Charges', 1.000, 2000.00, 2000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-12 14:16:44', 'original', 0.000, 1.000),
(142, NULL, 121, 142, NULL, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, 10000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-12 14:16:44', 'original', 0.000, 1.000),
(143, NULL, 122, 143, NULL, 2, 'POS Services', 1.000, 1250.00, 1250.00, 'pending', 'REMARKS: For the month of Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-15 12:39:14', 'original', 0.000, 1.000),
(144, NULL, 123, 144, NULL, 2, 'POS Services', 1.000, 10000.00, 10000.00, 'pending', 'REMARKS: For the month of Dec\'25', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-15 12:44:49', 'original', 0.000, 1.000),
(145, NULL, 124, 145, NULL, 35, 'License Replacement', 1.000, 1500.00, 1500.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-16 11:01:16', 'original', 0.000, 1.000),
(146, NULL, 124, 146, NULL, 1, 'ITR POS', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: Monthly Package', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-16 11:01:16', 'original', 0.000, 1.000),
(147, NULL, 125, 147, NULL, 1, 'ITR POS', 1.000, 30000.00, 30000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-19 08:02:56', 'original', 0.000, 1.000),
(148, NULL, 126, 148, NULL, 1, 'ITR POS', 1.000, 30000.00, 30000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-20 17:19:06', 'original', 0.000, 1.000),
(149, NULL, 127, 149, NULL, 2, 'POS Services', 1.000, 2000.00, 2000.00, 'pending', 'REMARKS: For the month of Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-20 17:36:56', 'original', 0.000, 1.000),
(150, NULL, 128, 150, NULL, 29, 'Thermal Printer BC 87AC USB', 1.000, 9000.00, 9000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-20 17:47:31', 'original', 0.000, 1.000),
(151, NULL, 129, 151, NULL, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 'pending', 'REMARKS: De Miam WHO', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-20 17:49:59', 'original', 0.000, 1.000),
(152, NULL, 130, 152, NULL, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 'pending', 'REMARKS: Krums', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-20 17:52:20', 'original', 0.000, 1.000),
(153, NULL, 131, 153, NULL, 2, 'POS Services', 1.000, 15000.00, 15000.00, 'pending', 'REMARKS: For the month of Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-21 13:29:15', 'original', 0.000, 1.000),
(154, NULL, 132, 154, NULL, 23, 'Sales Tax Registration With Challans', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: FBR registration', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-21 14:15:56', 'original', 0.000, 1.000),
(155, NULL, 133, 155, NULL, 1, 'ITR POS', 1.000, 20000.00, 20000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-27 13:43:51', 'original', 0.000, 1.000),
(156, NULL, 134, 156, NULL, 2, 'POS Services', 1.000, 20000.00, 20000.00, 'pending', 'REMARKS: For the month of Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-01-29 17:26:35', 'original', 0.000, 1.000),
(157, NULL, 135, 157, NULL, 2, 'POS Services', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: For the month of Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-02 07:43:16', 'original', 0.000, 1.000),
(158, NULL, 136, 158, NULL, 48, 'Hosting Charges', 2.000, 500.00, 1000.00, 'pending', 'REMARKS: For the month of Jan and Feb\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-02 07:45:40', 'original', 0.000, 2.000),
(159, NULL, 137, 159, NULL, 2, 'POS Services', 1.000, 7250.00, 7250.00, 'pending', 'REMARKS: For the month of Feb\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-04 11:27:23', 'original', 0.000, 1.000),
(160, NULL, 138, 160, NULL, 2, 'POS Services', 1.000, 750.00, 750.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-04 11:36:23', 'original', 0.000, 1.000),
(161, NULL, 139, 161, NULL, 2, 'POS Services', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: For the month of Feb\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-06 06:09:38', 'original', 0.000, 1.000),
(162, NULL, 140, 162, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: For the month of Feb\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-06 06:11:22', 'original', 0.000, 1.000),
(163, NULL, 141, 163, NULL, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 'pending', 'REMARKS: National Variety Center', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-06 06:15:42', 'original', 0.000, 1.000),
(164, NULL, 142, 164, NULL, 50, 'Facebook Marketing', 2.000, 5000.00, 10000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-06 17:01:14', 'original', 0.000, 2.000),
(165, NULL, 143, 165, NULL, 2, 'POS Services', 1.000, 5000.00, 5000.00, 'pending', 'REMARKS: For the month of Feb\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-07 13:29:06', 'original', 0.000, 1.000),
(166, NULL, 144, 166, NULL, 2, 'POS Services', 1.000, 7000.00, 7000.00, 'pending', 'REMARKS: For the month of Feb\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-08 15:33:47', 'original', 0.000, 1.000),
(167, NULL, 145, 167, NULL, 48, 'Hosting Charges', 1.000, 4000.00, 4000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-08 15:38:24', 'original', 0.000, 1.000),
(168, NULL, 146, 168, NULL, 2, 'POS Services', 8.000, 10000.00, 80000.00, 'pending', 'REMARKS: For the month of Feb\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-09 13:01:57', 'original', 0.000, 8.000),
(169, NULL, 147, 169, NULL, 2, 'POS Services', 1.000, 35000.00, 35000.00, 'pending', 'REMARKS: For the month of Feb\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-09 13:03:12', 'original', 0.000, 1.000),
(170, NULL, 148, 170, NULL, 2, 'POS Services', 1.000, 10000.00, 10000.00, 'pending', 'REMARKS: For the month of feb\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-09 13:04:31', 'original', 0.000, 1.000),
(171, NULL, 149, 171, NULL, 2, 'POS Services', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: For the month of Feb\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-09 13:05:41', 'original', 0.000, 1.000),
(172, NULL, 150, 172, NULL, 2, 'POS Services', 1.000, 2500.00, 2500.00, 'pending', 'REMARKS: For the month of Feb\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-10 13:01:30', 'original', 0.000, 1.000),
(173, NULL, 151, 173, NULL, 1, 'ITR POS', 1.000, 30000.00, 30000.00, 'pending', 'REMARKS: Jameel Reseller', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-10 13:03:29', 'original', 0.000, 1.000),
(174, NULL, 152, 174, NULL, 1, 'ITR POS', 1.000, 20000.00, 20000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-11 07:33:45', 'original', 0.000, 1.000),
(175, NULL, 153, 175, NULL, 2, 'POS Services', 1.000, 10000.00, 10000.00, 'pending', 'REMARKS: for the month of Jan\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-11 15:49:12', 'original', 0.000, 1.000),
(176, NULL, 154, 176, NULL, 2, 'POS Services', 1.000, 20000.00, 20000.00, 'pending', 'REMARKS: For the month of Feb\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-16 08:49:47', 'original', 0.000, 1.000),
(177, NULL, 155, 177, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: For the month of Feb\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-16 08:52:50', 'original', 0.000, 1.000),
(178, NULL, 156, 178, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: For the month of Feb\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-16 08:54:36', 'original', 0.000, 1.000),
(179, NULL, 157, 179, NULL, 2, 'POS Services', 1.000, 1250.00, 1250.00, 'pending', 'REMARKS: For the month of Feb\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-17 11:33:14', 'original', 0.000, 1.000),
(180, NULL, 158, 180, NULL, 1, 'ITR POS', 1.000, 15000.00, 15000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-17 11:36:00', 'original', 0.000, 1.000),
(181, NULL, 159, 181, NULL, 1, 'ITR POS', 1.000, 15000.00, 15000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-17 11:40:42', 'original', 0.000, 1.000),
(182, NULL, 160, 182, NULL, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-21 13:07:52', 'original', 0.000, 1.000),
(183, NULL, 161, 183, NULL, 1, 'ITR POS', 1.000, 18000.00, 18000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-24 06:41:29', 'original', 0.000, 1.000),
(184, NULL, 162, 184, NULL, 2, 'POS Services', 1.000, 2000.00, 2000.00, 'pending', 'REMARKS: For the month of Feb\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-25 05:42:13', 'original', 0.000, 1.000),
(185, NULL, 163, 185, NULL, 51, 'Web Development', 1.000, 56000.00, 56000.00, 'pending', 'REMARKS: Alron Ice Cream', NULL, NULL, NULL, NULL, NULL, 0, '2026-02-25 05:43:40', 'original', 0.000, 1.000),
(186, NULL, 164, 186, NULL, 1, 'ITR POS', 1.000, 30000.00, 30000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-04 09:43:57', 'original', 0.000, 1.000),
(187, NULL, 165, 187, NULL, 2, 'POS Services', 1.000, 8000.00, 8000.00, 'pending', 'REMARKS: For the month of Mar\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-05 07:59:33', 'original', 0.000, 1.000),
(188, NULL, 166, 188, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: For the month of Mar\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-06 06:22:56', 'original', 0.000, 1.000),
(189, NULL, 167, 189, NULL, 2, 'POS Services', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: For the month of Mar\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-06 06:24:19', 'original', 0.000, 1.000),
(190, NULL, 168, 190, NULL, 2, 'POS Services', 1.000, 5000.00, 5000.00, 'pending', 'REMARKS: For the month of Mar\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-06 06:25:23', 'original', 0.000, 1.000),
(191, NULL, 169, 191, NULL, 2, 'POS Services', 8.000, 10000.00, 80000.00, 'pending', 'REMARKS: For the month of Mar\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-09 15:20:52', 'original', 0.000, 8.000),
(192, NULL, 170, 192, NULL, 2, 'POS Services', 1.000, 2500.00, 2500.00, 'pending', 'REMARKS: For the month of Mar\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-09 15:22:22', 'original', 0.000, 1.000),
(193, NULL, 171, 193, NULL, 39, 'Domain Charges', 1.000, 6000.00, 6000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-09 15:23:31', 'original', 0.000, 1.000),
(194, NULL, 172, 194, NULL, 48, 'Hosting Charges', 1.000, 4000.00, 4000.00, 'pending', 'REMARKS: For the month of Mar\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-10 14:52:43', 'original', 0.000, 1.000),
(195, NULL, 173, 195, NULL, 2, 'POS Services', 1.000, 7000.00, 7000.00, 'pending', 'REMARKS: For the month of Mar\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-10 15:33:59', 'original', 0.000, 1.000),
(196, NULL, 174, 196, NULL, 52, 'ITR FeedBack', 1.000, 7000.00, 7000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-12 11:27:03', 'original', 0.000, 1.000),
(197, NULL, 175, 197, NULL, 2, 'POS Services', 2.000, 3000.00, 6000.00, 'pending', 'REMARKS: For the month of Feb and Mar\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-13 14:40:43', 'original', 0.000, 2.000),
(198, NULL, 176, 198, NULL, 2, 'POS Services', 1.000, 35000.00, 35000.00, 'pending', 'REMARKS: For the month of Mar\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-13 17:21:26', 'original', 0.000, 1.000),
(199, NULL, 177, 199, NULL, 2, 'POS Services', 1.000, 20000.00, 20000.00, 'pending', 'REMARKS: For the month of Mar\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-14 17:41:12', 'original', 0.000, 1.000),
(200, NULL, 178, 200, NULL, 2, 'POS Services', 1.000, 1250.00, 1250.00, 'pending', 'REMARKS: For the month of Mar\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-14 17:46:16', 'original', 0.000, 1.000),
(201, NULL, 179, 201, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: For the month of Mar\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-16 11:15:13', 'original', 0.000, 1.000),
(202, NULL, 180, 202, NULL, 2, 'POS Services', 4.000, 3000.00, 12000.00, 'pending', 'REMARKS: For the month of Jan-April\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-18 15:57:53', 'original', 0.000, 4.000),
(203, NULL, 181, 203, NULL, 2, 'POS Services', 1.000, 15000.00, 15000.00, 'pending', 'REMARKS: For the year of Mar\'26  - Mar\'27', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-22 14:26:28', 'original', 0.000, 1.000),
(204, NULL, 182, 204, NULL, 2, 'POS Services', 1.000, 10000.00, 10000.00, 'pending', 'REMARKS: For the month of Feb\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-26 12:35:40', 'original', 0.000, 1.000),
(205, NULL, 183, 205, NULL, 2, 'POS Services', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: For the month of Mar\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-03-27 15:48:33', 'original', 0.000, 1.000),
(206, NULL, 184, 206, NULL, 2, 'POS Services', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: For the month of April\'25', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-03 06:50:23', 'original', 0.000, 1.000),
(207, NULL, 185, 207, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: For the month of April\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-03 06:53:21', 'original', 0.000, 1.000),
(208, NULL, 186, 208, NULL, 1, 'ITR POS', 1.000, 15000.00, 15000.00, 'pending', 'REMARKS: Mast Khan Mohmand Chai', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-03 10:51:18', 'original', 0.000, 1.000),
(209, NULL, 187, 209, NULL, 2, 'POS Services', 1.000, 5000.00, 5000.00, 'pending', 'REMARKS: For the month of Aprip\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-04 14:20:50', 'original', 0.000, 1.000),
(210, NULL, 188, 210, NULL, 2, 'POS Services', 8.000, 10000.00, 80000.00, 'pending', 'REMARKS: For the month of April\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-06 12:50:00', 'original', 0.000, 8.000),
(211, NULL, 189, 211, NULL, 2, 'POS Services', 1.000, 4000.00, 4000.00, 'pending', 'REMARKS: For the month of April\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-06 15:54:33', 'original', 0.000, 1.000),
(212, NULL, 190, 212, NULL, 2, 'POS Services', 1.000, 8000.00, 8000.00, 'pending', 'REMARKS: For the month of April\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-06 15:58:18', 'original', 0.000, 1.000),
(213, NULL, 191, 213, NULL, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-07 11:41:44', 'original', 0.000, 1.000),
(214, NULL, 192, 214, NULL, 48, 'Hosting Charges', 1.000, 4000.00, 4000.00, 'pending', 'REMARKS: For the month of April\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-07 14:14:39', 'original', 0.000, 1.000),
(215, NULL, 193, 215, NULL, 2, 'POS Services', 1.000, 20000.00, 20000.00, 'pending', 'REMARKS: For the month of April\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-07 16:01:33', 'original', 0.000, 1.000),
(216, NULL, 194, 216, NULL, 2, 'POS Services', 1.000, 7000.00, 7000.00, 'pending', 'REMARKS: For the month of April\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-09 12:40:29', 'original', 0.000, 1.000),
(217, NULL, 195, 217, NULL, 2, 'POS Services', 2.000, 2000.00, 4000.00, 'pending', 'REMARKS: For the month of Mar and April\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-09 12:42:29', 'original', 0.000, 2.000),
(218, NULL, 196, 218, NULL, 1, 'ITR POS', 1.000, 30000.00, 30000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-09 12:48:25', 'original', 0.000, 1.000),
(219, NULL, 197, 219, NULL, 2, 'POS Services', 1.000, 2500.00, 2500.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-11 06:19:42', 'original', 0.000, 1.000),
(220, NULL, 198, 220, NULL, 2, 'POS Services', 1.000, 3000.00, 3000.00, 'pending', 'REMARKS: For the month of April\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-13 14:09:41', 'original', 0.000, 1.000),
(221, NULL, 199, 221, NULL, 2, 'POS Services', 1.000, 1250.00, 1250.00, 'pending', 'REMARKS: For the month of April\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-13 14:11:47', 'original', 0.000, 1.000),
(222, NULL, 200, 222, NULL, 2, 'POS Services', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: For the month of April\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-13 14:14:37', 'original', 0.000, 1.000),
(223, NULL, 201, 223, NULL, 1, 'ITR POS', 1.000, 7000.00, 7000.00, 'pending', 'REMARKS: Nawab Mobiles', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-14 11:51:30', 'original', 0.000, 1.000),
(224, NULL, 202, 224, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: For the month of April\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-14 11:53:08', 'original', 0.000, 1.000),
(225, NULL, 203, 225, NULL, 51, 'Web Development', 1.000, 15000.00, 15000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-14 14:05:31', 'original', 0.000, 1.000),
(226, NULL, 204, 226, NULL, 2, 'POS Services', 1.000, 35000.00, 35000.00, 'pending', 'REMARKS: For the month of April\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-15 16:42:07', 'original', 0.000, 1.000),
(227, NULL, 205, 227, NULL, 2, 'POS Services', 1.000, 1000.00, 1000.00, 'pending', 'REMARKS: For the month of April\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-15 16:44:29', 'original', 0.000, 1.000),
(228, NULL, 206, 228, NULL, 48, 'Hosting Charges', 1.000, 3000.00, 3000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-17 14:50:54', 'original', 0.000, 1.000),
(229, NULL, 207, 229, NULL, 2, 'POS Services', 1.000, 10000.00, 10000.00, 'pending', 'REMARKS: For the month of Mar\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-17 14:52:26', 'original', 0.000, 1.000),
(230, NULL, 208, 230, NULL, 1, 'ITR POS', 1.000, 80000.00, 80000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-18 10:24:05', 'original', 0.000, 1.000),
(231, NULL, 209, 231, NULL, 2, 'POS Services', 1.000, 500.00, 500.00, 'pending', 'REMARKS: For the month of Apil\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-18 10:35:34', 'original', 0.000, 1.000),
(232, NULL, 210, 232, NULL, 2, 'POS Services', 5.000, 1000.00, 5000.00, 'pending', 'REMARKS: For the month of April- Aug\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-20 09:57:22', 'original', 0.000, 5.000),
(233, NULL, 211, 233, NULL, 2, 'POS Services', 1.000, 5000.00, 5000.00, 'pending', 'REMARKS: April\'26 to April\'27', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-22 07:00:39', 'original', 0.000, 1.000),
(234, NULL, 212, 234, NULL, 2, 'POS Services', 1.000, 12000.00, 12000.00, 'pending', 'REMARKS: April\'26 to April\'27', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-22 14:20:33', 'original', 0.000, 1.000),
(235, NULL, 213, 235, NULL, 1, 'ITR POS', 1.000, 15000.00, 15000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-23 08:47:29', 'original', 0.000, 1.000),
(236, NULL, 214, 236, NULL, 2, 'POS Services', 1.000, 20000.00, 20000.00, 'pending', 'REMARKS: For the month of Feb\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-27 13:55:32', 'original', 0.000, 1.000),
(237, NULL, 215, 237, NULL, 2, 'POS Services', 1.000, 20000.00, 20000.00, 'pending', 'REMARKS: For the month of April\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-27 13:56:37', 'original', 0.000, 1.000),
(238, NULL, 216, 238, NULL, 1, 'ITR POS', 1.000, 1500.00, 1500.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-04-27 14:17:23', 'original', 0.000, 1.000),
(239, NULL, 217, 239, NULL, 48, 'Hosting Charges', 1.000, 4000.00, 4000.00, 'pending', '', NULL, NULL, NULL, NULL, NULL, 0, '2026-05-01 12:17:55', 'original', 0.000, 1.000),
(240, NULL, 218, 240, NULL, 2, 'POS Services', 1.000, 4000.00, 4000.00, 'pending', 'REMARKS: For the month of May\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-05-03 09:22:28', 'original', 0.000, 1.000),
(241, NULL, 219, 241, NULL, 2, 'POS Services', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: For the month of May\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-05-03 09:29:48', 'original', 0.000, 1.000),
(242, NULL, 220, 242, NULL, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 'pending', 'REMARKS: BiteSa', NULL, NULL, NULL, NULL, NULL, 0, '2026-05-03 14:41:17', 'original', 0.000, 1.000),
(243, NULL, 221, 243, NULL, 2, 'POS Services', 1.000, 5000.00, 5000.00, 'pending', 'REMARKS: For the month of May\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-05-04 14:37:15', 'original', 0.000, 1.000),
(244, NULL, 222, 244, NULL, 2, 'POS Services', 1.000, 8000.00, 8000.00, 'pending', 'REMARKS: For the month of May\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-05-04 14:39:02', 'original', 0.000, 1.000),
(245, NULL, 223, 245, NULL, 2, 'POS Services', 1.000, 20000.00, 20000.00, 'pending', 'REMARKS: For the month of May:26', NULL, NULL, NULL, NULL, NULL, 0, '2026-05-05 11:30:45', 'original', 0.000, 1.000),
(246, NULL, 224, 246, NULL, 48, 'Hosting Charges', 1.000, 4000.00, 4000.00, 'pending', 'REMARKS: For the month of May\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-05-05 11:32:58', 'original', 0.000, 1.000),
(247, NULL, 225, 247, NULL, 2, 'POS Services', 1.000, 1500.00, 1500.00, 'pending', 'REMARKS: For the month of May\'26', NULL, NULL, NULL, NULL, NULL, 0, '2026-05-05 11:38:21', 'original', 0.000, 1.000);

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

--
-- Table structure for table `kds_settings`
--

CREATE TABLE IF NOT EXISTS `kds_settings` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int DEFAULT NULL,
  `setting_key` varchar(100) NOT NULL,
  `setting_value` text,
  `description` text,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `setting_key` (`setting_key`),
  KEY `idx_kds_settings_store_id` (`store_id`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `kds_settings`
--

INSERT INTO `kds_settings` (`id`, `store_id`, `setting_key`, `setting_value`, `description`, `created_at`, `updated_at`) VALUES
(1, 1, 'auto_refresh_interval', '30', 'Auto refresh interval in seconds', '2025-08-17 14:35:24', '2025-09-13 12:11:06'),
(2, 1, 'sound_enabled', '1', 'Enable sound notifications', '2025-08-17 14:35:24', '2025-09-13 12:11:06'),
(3, 1, 'alert_duration', '10', 'Alert display duration in seconds', '2025-08-17 14:35:24', '2025-09-13 12:11:06'),
(4, 1, 'max_orders_display', '20', 'Maximum orders to display per station', '2025-08-17 14:35:24', '2025-09-13 12:11:06'),
(5, 1, 'order_timeout_minutes', '45', 'Order timeout in minutes', '2025-08-17 14:35:24', '2025-09-13 12:11:06'),
(6, 1, 'enable_priority_orders', '1', 'Enable priority order handling', '2025-08-17 14:35:24', '2025-09-13 12:11:06'),
(7, 1, 'enable_special_instructions', '1', 'Enable special instructions display', '2025-08-17 14:35:24', '2025-09-13 12:11:06'),
(8, 1, 'enable_preparation_notes', '1', 'Enable preparation notes', '2025-08-17 14:35:24', '2025-09-13 12:11:06'),
(9, 1, 'enable_estimated_time', '1', 'Enable estimated preparation time', '2025-08-17 14:35:24', '2025-09-13 12:11:06'),
(10, 1, 'enable_station_filtering', '1', 'Enable station-based filtering', '2025-08-17 14:35:24', '2025-09-13 12:11:06'),
(11, 1, 'enable_kds', '1', 'Enable KDS system', '2025-08-17 14:35:24', '2025-09-13 12:11:06');

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

--
-- Table structure for table `kds_stations`
--

CREATE TABLE IF NOT EXISTS `kds_stations` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int DEFAULT NULL,
  `name` varchar(100) NOT NULL,
  `description` text,
  `printer_id` int DEFAULT NULL,
  `enable_kot_print` tinyint(1) DEFAULT '1',
  `color` varchar(7) DEFAULT '#007bff',
  `is_active` tinyint(1) DEFAULT '1',
  `sort_order` int DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `preparation_time` int DEFAULT '10',
  PRIMARY KEY (`id`),
  KEY `idx_kds_stations_store_id` (`store_id`),
  KEY `idx_printer_id` (`printer_id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `kds_stations`
--

INSERT INTO `kds_stations` (`id`, `store_id`, `name`, `description`, `printer_id`, `enable_kot_print`, `color`, `is_active`, `sort_order`, `created_at`, `preparation_time`) VALUES
(1, 1, 'Hot Kitchen', 'Main hot food preparation area', NULL, 1, '#dc3545', 1, 1, '2025-08-17 14:35:24', 10),
(2, 1, 'Cold Kitchen', 'Salads, cold dishes, and garnishes', NULL, 1, '#17a2b8', 1, 2, '2025-08-17 14:35:24', 10),
(3, 1, 'Grill Station', 'Grilled items and BBQ', NULL, 1, '#fd7e14', 1, 3, '2025-08-17 14:35:24', 10),
(4, 1, 'Fry Station', 'Deep fried items', NULL, 1, '#ffc107', 1, 4, '2025-08-17 14:35:24', 10),
(5, 1, 'Dessert Station', 'Desserts and sweets', NULL, 1, '#e83e8c', 1, 5, '2025-08-17 14:35:24', 10),
(6, 1, 'Beverage Station', 'Drinks and beverages', NULL, 1, '#6f42c1', 1, 6, '2025-08-17 14:35:24', 10);

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

--
-- Table structure for table `kds_station_items`
--

CREATE TABLE IF NOT EXISTS `kds_station_items` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int DEFAULT NULL,
  `station_id` int NOT NULL,
  `item_id` int NOT NULL,
  `preparation_time` int DEFAULT NULL COMMENT 'Estimated preparation time in minutes',
  `is_active` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `station_item_unique` (`station_id`,`item_id`),
  KEY `station_id` (`station_id`),
  KEY `item_id` (`item_id`),
  KEY `idx_kds_station_items_store_id` (`store_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `kpra_config`
--

CREATE TABLE IF NOT EXISTS `kpra_config` (
  `id` int NOT NULL AUTO_INCREMENT,
  `is_enabled` tinyint(1) DEFAULT '0',
  `key` varchar(255) DEFAULT NULL,
  `pos_id` varchar(100) DEFAULT NULL,
  `business_id` varchar(50) DEFAULT NULL,
  `api_url` varchar(255) DEFAULT 'http://kpra.gov.pk/rims/integration/',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `kpra_invoices`
--

CREATE TABLE IF NOT EXISTS `kpra_invoices` (
  `id` int NOT NULL AUTO_INCREMENT,
  `sale_id` int NOT NULL,
  `kpra_invoice_number` varchar(100) NOT NULL,
  `qr_code_url` text,
  `qr_code_image` text,
  `response_status` varchar(10) DEFAULT NULL,
  `response_message` text,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `sale_id` (`sale_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `kpra_logs`
--

CREATE TABLE IF NOT EXISTS `kpra_logs` (
  `id` int NOT NULL AUTO_INCREMENT,
  `sale_id` int DEFAULT NULL,
  `request_data` text,
  `response_data` text,
  `status_code` varchar(10) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `sale_id` (`sale_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `languages`
--

CREATE TABLE IF NOT EXISTS `languages` (
  `id` int NOT NULL AUTO_INCREMENT,
  `code` varchar(5) NOT NULL,
  `name` varchar(50) NOT NULL,
  `native_name` varchar(50) NOT NULL,
  `flag` varchar(100) DEFAULT NULL,
  `rtl` tinyint(1) DEFAULT '0',
  `active` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `code` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `languages`
--

INSERT INTO `languages` (`id`, `code`, `name`, `native_name`, `flag`, `rtl`, `active`, `created_at`) VALUES
(1, 'en', 'English', 'English', 'us.png', 0, 1, '2025-09-13 12:11:17'),
(2, 'fa', 'Persian', 'فارسی', 'ir.png', 1, 1, '2025-09-13 12:11:17'),
(3, 'ur', 'Urdu', 'اردو', 'pk.png', 1, 1, '2025-09-13 12:11:17'),
(4, 'ar', 'Arabic', 'العربية', 'sa.png', 1, 1, '2025-10-07 21:38:37');

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

--
-- Table structure for table `modifier_group_assignments`
--

CREATE TABLE IF NOT EXISTS `modifier_group_assignments` (
  `id` int NOT NULL AUTO_INCREMENT,
  `modifier_id` int NOT NULL,
  `modifier_group_id` int NOT NULL,
  `is_required` tinyint(1) DEFAULT '0' COMMENT 'Override group default for this modifier',
  `sort_order` int DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `modifier_group_unique` (`modifier_id`,`modifier_group_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 `modifier_templates`
--

CREATE TABLE IF NOT EXISTS `modifier_templates` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  `icon` varchar(50) DEFAULT 'layers',
  `is_active` tinyint(1) DEFAULT '1',
  `sort_order` int DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `modifier_template_options`
--

CREATE TABLE IF NOT EXISTS `modifier_template_options` (
  `id` int NOT NULL AUTO_INCREMENT,
  `template_id` int NOT NULL,
  `name` varchar(100) NOT NULL,
  `price_adjustment` decimal(10,2) DEFAULT '0.00',
  `is_active` tinyint(1) DEFAULT '1',
  `sort_order` int DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `order_takers`
--

CREATE TABLE IF NOT EXISTS `order_takers` (
  `id` int NOT NULL AUTO_INCREMENT,
  `assigned_store_id` int DEFAULT NULL,
  `name` varchar(100) NOT NULL,
  `employee_id` varchar(50) DEFAULT NULL,
  `phone` varchar(20) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `commission_rate` decimal(5,2) DEFAULT '0.00',
  `password` varchar(255) NOT NULL,
  `user_id` int DEFAULT NULL,
  `is_active` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `employee_id` (`employee_id`),
  KEY `idx_user_id` (`user_id`),
  KEY `idx_employee_id` (`employee_id`),
  KEY `idx_order_takers_store_id` (`assigned_store_id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `order_takers`
--

INSERT INTO `order_takers` (`id`, `assigned_store_id`, `name`, `employee_id`, `phone`, `email`, `commission_rate`, `password`, `user_id`, `is_active`, `created_at`) VALUES
(1, 1, 'Default Order Taker', 'EMP001', '', '', 0.00, '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', NULL, 1, '2025-08-17 14:35:25'),
(2, 1, 'John Smith', 'EMP002', '+1234567890', 'john@example.com', 5.00, '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', NULL, 1, '2025-08-17 14:35:25'),
(3, 1, 'Qadir', 'EMP003', '+1234567891', 'qadir@itresources.com.pk', 50.00, '$2y$10$94KzcDyWBcGETSYwUAZgEeaTdX2yIafznWgiqaerpBjJF6nWewaEy', NULL, 1, '2025-08-17 14:35:25'),
(4, 1, 'Javeria Shakeel', 'EMP004', '03193417523', 'javeria@itresources.com.pk', 20.00, '$2y$10$nxDR9xP.H3e3vzhC0/Q1xeaS2c/lzhaBJ25zVaU/WZqKu7ygPZzQq', NULL, 1, '2025-08-17 14:35:25');

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

--
-- Stand-in structure for view `order_taker_summary`
-- (See below for the actual view)
--
DROP VIEW IF EXISTS `order_taker_summary`;
CREATE TABLE IF NOT EXISTS `order_taker_summary` (
`avg_completed_order` decimal(14,6)
,`avg_hold_order` decimal(14,6)
,`commission_rate` decimal(5,2)
,`employee_id` varchar(50)
,`id` int
,`name` varchar(100)
,`total_commission` decimal(41,8)
,`total_completed_amount` decimal(32,2)
,`total_completed_orders` bigint
,`total_hold_amount` decimal(32,2)
,`total_hold_orders` bigint
);

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

--
-- Table structure for table `payment_methods`
--

CREATE TABLE IF NOT EXISTS `payment_methods` (
  `id` int NOT NULL AUTO_INCREMENT,
  `method_name` varchar(50) NOT NULL,
  `display_name` varchar(100) DEFAULT NULL,
  `icon_class` varchar(50) DEFAULT NULL,
  `color_class` varchar(50) DEFAULT NULL,
  `is_active` tinyint(1) DEFAULT '1',
  `requires_bank_account` tinyint(1) DEFAULT '0',
  `sort_order` int DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `method_name` (`method_name`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `payment_methods`
--

INSERT INTO `payment_methods` (`id`, `method_name`, `display_name`, `icon_class`, `color_class`, `is_active`, `requires_bank_account`, `sort_order`, `created_at`) VALUES
(1, 'cash', 'Cash Payment', 'fas fa-money-bill-wave', 'btn-outline-success', 1, 0, 1, '2025-08-17 14:35:24'),
(2, 'card', 'Card Payment', 'fas fa-credit-card', 'btn-outline-primary', 1, 0, 2, '2025-08-17 14:35:24'),
(3, 'upi', 'UPI Payment', 'fas fa-mobile-alt', 'btn-outline-info', 1, 0, 3, '2025-08-17 14:35:24'),
(4, 'bank', 'Bank Transfer', 'fas fa-university', 'btn-outline-warning', 1, 1, 4, '2025-08-17 14:35:24'),
(5, 'credit', 'Credit Sale', 'fas fa-clock', 'btn-outline-secondary', 1, 0, 5, '2025-08-17 14:35:24'),
(6, 'cheque', 'Cheque', 'fas fa-money-check-alt', 'btn-outline-secondary', 1, 1, 6, '2026-04-06 17:58:41');

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

--
-- Table structure for table `payment_method_tax_rates`
--

CREATE TABLE IF NOT EXISTS `payment_method_tax_rates` (
  `id` int NOT NULL AUTO_INCREMENT,
  `payment_method` varchar(50) NOT NULL,
  `tax_rate` decimal(5,2) NOT NULL DEFAULT '0.00',
  `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 `payment_method` (`payment_method`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `payment_method_tax_rates`
--

INSERT INTO `payment_method_tax_rates` (`id`, `payment_method`, `tax_rate`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 'cash', 10.00, 1, '2025-09-13 12:11:04', '2025-09-13 12:11:04'),
(2, 'card', 6.00, 1, '2025-09-13 12:11:04', '2025-09-13 12:11:04'),
(3, 'upi', 6.00, 1, '2025-09-13 12:11:04', '2025-09-13 12:11:04'),
(4, 'bank', 6.00, 1, '2025-09-13 12:11:04', '2025-09-13 12:11:04'),
(5, 'credit', 0.00, 1, '2025-09-13 12:11:04', '2025-09-13 12:11:04'),
(6, 'cheque', 6.00, 1, '2026-04-06 17:58:41', '2026-04-06 17:58:41');

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

--
-- Table structure for table `price_history`
--

CREATE TABLE IF NOT EXISTS `price_history` (
  `id` int NOT NULL AUTO_INCREMENT,
  `item_id` int NOT NULL,
  `item_name` varchar(100) NOT NULL,
  `vendor_id` int DEFAULT NULL,
  `old_cost_price` decimal(10,2) DEFAULT NULL,
  `new_cost_price` decimal(10,2) DEFAULT NULL,
  `old_retail_price` decimal(10,2) DEFAULT NULL,
  `new_retail_price` decimal(10,2) DEFAULT NULL,
  `changed_by` varchar(100) DEFAULT NULL,
  `changed_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `price_history`
--

INSERT INTO `price_history` (`id`, `item_id`, `item_name`, `vendor_id`, `old_cost_price`, `new_cost_price`, `old_retail_price`, `new_retail_price`, `changed_by`, `changed_at`) VALUES
(1, 17, 'A4 Printer Pantum', 2, 42000.00, 43000.00, 60000.00, 60000.00, 'admin', '2025-10-26 11:41:11'),
(2, 40, 'Weight Scale', 2, 85000.00, 80000.00, 95000.00, 95000.00, 'admin', '2025-10-26 11:49:44'),
(3, 32, 'CPU Corei5 3rd Gen', 1, 13000.00, 14000.00, 18000.00, 18000.00, 'admin', '2025-10-26 11:59:21'),
(4, 34, 'LCD 22 Dell', 1, 8500.00, 9500.00, 12500.00, 12500.00, 'admin', '2025-10-26 11:59:21'),
(5, 27, 'D Port To D Port Cable Branded', 1, 350.00, 500.00, 850.00, 850.00, 'admin', '2025-10-26 11:59:21'),
(6, 34, 'LCD 22 Dell', 1, 9500.00, 10500.00, 12500.00, 12500.00, 'admin', '2025-10-26 12:00:05'),
(7, 34, 'LCD 22 Dell', 1, 10000.00, 8500.00, 14500.00, 14500.00, 'admin', '2025-11-13 18:01:29'),
(8, 8, 'Keyboard', 1, 700.00, 1000.00, 800.00, 800.00, 'admin', '2025-11-13 18:01:29');

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

--
-- Table structure for table `print_devices`
--

CREATE TABLE IF NOT EXISTS `print_devices` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  `connection_type` enum('usb','lan') NOT NULL,
  `print_type` enum('receipt','kot','barcode','quotation','shift_summary','all') DEFAULT 'all',
  `terminal_id` int DEFAULT NULL,
  `printer_name` varchar(100) DEFAULT NULL,
  `printer_type` enum('thermal','dot_matrix','laser','inkjet') DEFAULT 'thermal',
  `print_mode` enum('ask','auto','no') DEFAULT 'auto',
  `copies` int NOT NULL DEFAULT '1',
  `ip_address` varchar(100) DEFAULT NULL,
  `is_active` tinyint(1) DEFAULT '1',
  `is_default` tinyint(1) DEFAULT '0',
  `auto_detect` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_print_devices_type` (`print_type`),
  KEY `idx_print_devices_active` (`is_active`),
  KEY `idx_print_devices_default` (`is_default`),
  KEY `idx_terminal_id` (`terminal_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `print_devices`
--

INSERT INTO `print_devices` (`id`, `name`, `connection_type`, `print_type`, `terminal_id`, `printer_name`, `printer_type`, `print_mode`, `copies`, `ip_address`, `is_active`, `is_default`, `auto_detect`, `created_at`) VALUES
(1, 'Counter Receipt Printer', 'usb', 'receipt', NULL, 'Microsoft Print to PDF', 'thermal', 'ask', 1, NULL, 1, 1, 1, '2025-09-13 12:11:17'),
(2, 'Kitchen KOT Printer', 'lan', 'kot', NULL, 'Kitchen Printer', 'thermal', 'auto', 1, NULL, 1, 1, 1, '2025-09-13 12:11:17'),
(3, 'Barcode Label Printer', 'usb', 'barcode', NULL, 'Microsoft Print to PDF', 'thermal', 'auto', 1, NULL, 1, 0, 1, '2025-09-13 12:11:17');

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

--
-- Table structure for table `production_items`
--

CREATE TABLE IF NOT EXISTS `production_items` (
  `id` int NOT NULL AUTO_INCREMENT,
  `production_order_id` int NOT NULL,
  `material_store_id` int DEFAULT NULL COMMENT 'Store to deduct materials from',
  `finish_store_id` int DEFAULT NULL COMMENT 'Store to add finished goods to',
  `item_id` int NOT NULL,
  `quantity` decimal(10,2) NOT NULL,
  `unit_cost` decimal(10,2) DEFAULT '0.00',
  `total_cost` decimal(10,2) DEFAULT '0.00',
  `status` enum('pending','completed') NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `production_order_id` (`production_order_id`),
  KEY `item_id` (`item_id`),
  KEY `status` (`status`),
  KEY `material_store_id` (`material_store_id`),
  KEY `finish_store_id` (`finish_store_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `production_materials`
--

CREATE TABLE IF NOT EXISTS `production_materials` (
  `id` int NOT NULL AUTO_INCREMENT,
  `production_item_id` int NOT NULL,
  `material_item_id` int NOT NULL,
  `quantity_consumed` decimal(10,2) NOT NULL,
  `unit_cost` decimal(10,2) DEFAULT '0.00',
  `total_cost` decimal(10,2) DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `production_item_id` (`production_item_id`),
  KEY `material_item_id` (`material_item_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `production_orders`
--

CREATE TABLE IF NOT EXISTS `production_orders` (
  `id` int NOT NULL AUTO_INCREMENT,
  `order_number` varchar(50) NOT NULL,
  `production_date` date NOT NULL,
  `status` enum('pending','in_progress','completed','cancelled') NOT NULL DEFAULT 'pending',
  `remarks` text,
  `total_cost` decimal(10,2) DEFAULT '0.00',
  `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 `order_number` (`order_number`),
  KEY `production_date` (`production_date`),
  KEY `status` (`status`),
  KEY `created_by` (`created_by`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `purchases`
--

CREATE TABLE IF NOT EXISTS `purchases` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int DEFAULT NULL,
  `branch_id` int NOT NULL DEFAULT '1',
  `purchase_number` varchar(50) NOT NULL,
  `vendor_id` int NOT NULL,
  `purchase_date` datetime DEFAULT CURRENT_TIMESTAMP,
  `total_amount` decimal(10,2) NOT NULL,
  `tax_amount` decimal(10,2) DEFAULT '0.00',
  `discount_amount` decimal(10,2) DEFAULT '0.00',
  `net_amount` decimal(10,2) NOT NULL,
  `payment_method` enum('cash','card','upi','credit') DEFAULT 'cash',
  `status` varchar(20) DEFAULT 'pending',
  `source_po_id` int DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `purchase_number` (`purchase_number`),
  KEY `vendor_id` (`vendor_id`),
  KEY `idx_purchases_store_id` (`store_id`),
  KEY `idx_purchases_branch_id` (`branch_id`),
  KEY `idx_purchases_branch_store` (`branch_id`,`store_id`),
  KEY `idx_purchases_source_po_id` (`source_po_id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `purchases`
--

INSERT INTO `purchases` (`id`, `store_id`, `branch_id`, `purchase_number`, `vendor_id`, `purchase_date`, `total_amount`, `tax_amount`, `discount_amount`, `net_amount`, `payment_method`, `status`, `source_po_id`, `created_at`) VALUES
(1, 1, 1, '36582', 2, '2025-10-26 16:41:11', 43000.00, 0.00, 0.00, 43000.00, 'cash', 'received', NULL, '2025-10-26 11:41:11'),
(2, 1, 1, '62061', 2, '2025-10-26 16:49:44', 160000.00, 0.00, 0.00, 160000.00, 'cash', 'received', NULL, '2025-10-26 11:49:44'),
(3, 1, 1, '513', 1, '2025-10-26 16:59:21', 233000.00, 0.00, 0.00, 233000.00, 'cash', 'received', NULL, '2025-10-26 11:59:21'),
(4, 1, 1, '513-2', 1, '2025-10-26 17:00:05', 31500.00, 0.00, 0.00, 31500.00, 'cash', 'received', NULL, '2025-10-26 12:00:05'),
(5, 1, 1, '669', 1, '2025-11-13 23:01:29', 80800.00, 0.00, 0.00, 80800.00, 'cash', 'received', NULL, '2025-11-13 18:01:29'),
(6, 1, 1, '132123', 1, '2025-12-09 20:28:13', 2000.00, 0.00, 0.00, 2000.00, 'cash', 'received', NULL, '2025-12-09 15:28:13');

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

--
-- Table structure for table `purchase_items`
--

CREATE TABLE IF NOT EXISTS `purchase_items` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int DEFAULT NULL,
  `purchase_id` int NOT NULL,
  `item_id` int NOT NULL,
  `item_name` varchar(100) NOT NULL,
  `quantity` decimal(12,3) NOT NULL,
  `unit_cost` decimal(10,2) NOT NULL,
  `total_cost` decimal(10,2) NOT NULL,
  `tax_rate` decimal(5,2) DEFAULT '0.00',
  PRIMARY KEY (`id`),
  KEY `purchase_id` (`purchase_id`),
  KEY `item_id` (`item_id`),
  KEY `idx_purchase_items_store_id` (`store_id`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `purchase_items`
--

INSERT INTO `purchase_items` (`id`, `store_id`, `purchase_id`, `item_id`, `item_name`, `quantity`, `unit_cost`, `total_cost`, `tax_rate`) VALUES
(1, 1, 1, 17, 'A4 Printer Pantum', 1.000, 43000.00, 43000.00, 0.00),
(2, 1, 2, 40, 'Weight Scale', 2.000, 80000.00, 160000.00, 0.00),
(3, 1, 3, 32, 'D Port To D Port Cable Branded', 9.000, 14000.00, 126000.00, 0.00),
(4, 1, 3, 34, 'D Port To D Port Cable Branded', 11.000, 9500.00, 104500.00, 0.00),
(5, 1, 3, 27, 'D Port To D Port Cable Branded', 5.000, 500.00, 2500.00, 0.00),
(6, 1, 4, 34, 'LCD 22 Dell', 3.000, 10500.00, 31500.00, 0.00),
(7, 1, 5, 32, 'CPU Corei5 3rd Gen', 3.000, 14000.00, 42000.00, 0.00),
(8, 1, 5, 34, 'LCD 22 Dell', 4.000, 8500.00, 34000.00, 0.00),
(9, 1, 5, 8, 'Keyboard', 4.000, 1000.00, 4000.00, 0.00),
(10, 1, 5, 7, 'Mouse', 1.000, 300.00, 300.00, 0.00),
(11, 1, 5, 27, 'D Port To D Port Cable Branded', 1.000, 500.00, 500.00, 0.00),
(12, 1, 6, 47, 'Power Adapter', 1.000, 2000.00, 2000.00, 0.00);

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

--
-- Table structure for table `purchase_orders`
--

CREATE TABLE IF NOT EXISTS `purchase_orders` (
  `id` int NOT NULL AUTO_INCREMENT,
  `po_number` varchar(50) NOT NULL,
  `vendor_id` int NOT NULL,
  `store_id` int DEFAULT NULL,
  `branch_id` int NOT NULL DEFAULT '1',
  `po_date` datetime DEFAULT CURRENT_TIMESTAMP,
  `total_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `discount_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `net_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `notes` text,
  `status` varchar(20) NOT NULL DEFAULT 'pending',
  `converted_purchase_id` int DEFAULT NULL,
  `converted_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_po_number` (`po_number`),
  KEY `idx_po_status` (`status`),
  KEY `idx_po_vendor` (`vendor_id`),
  KEY `idx_po_branch_store` (`branch_id`,`store_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `purchase_order_items`
--

CREATE TABLE IF NOT EXISTS `purchase_order_items` (
  `id` int NOT NULL AUTO_INCREMENT,
  `purchase_order_id` int NOT NULL,
  `item_id` int NOT NULL,
  `item_name` varchar(100) NOT NULL,
  `quantity` decimal(12,3) NOT NULL,
  `quantity_loose` decimal(12,3) NOT NULL DEFAULT '0.000',
  `unit_cost` decimal(10,2) NOT NULL,
  `retail_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  `total_cost` decimal(10,2) NOT NULL,
  `tax_rate` decimal(5,2) DEFAULT '0.00',
  `purchase_mode` varchar(10) NOT NULL DEFAULT 'loose',
  `bulk_base_qty` decimal(12,3) NOT NULL DEFAULT '0.000',
  PRIMARY KEY (`id`),
  KEY `idx_poi_po` (`purchase_order_id`),
  KEY `idx_poi_item` (`item_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `purchase_returns`
--

CREATE TABLE IF NOT EXISTS `purchase_returns` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int DEFAULT NULL,
  `purchase_id` int DEFAULT NULL,
  `vendor_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,
  `created_by` int DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `purchase_id` (`purchase_id`),
  KEY `vendor_id` (`vendor_id`),
  KEY `idx_purchase_returns_store_id` (`store_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `purchase_return_items`
--

CREATE TABLE IF NOT EXISTS `purchase_return_items` (
  `id` int NOT NULL AUTO_INCREMENT,
  `purchase_return_id` int NOT NULL,
  `item_id` int NOT NULL,
  `quantity` decimal(12,3) NOT NULL,
  `unit_cost` decimal(10,2) NOT NULL,
  `total_cost` decimal(10,2) NOT NULL,
  `tax_rate` decimal(5,2) DEFAULT '0.00',
  PRIMARY KEY (`id`),
  KEY `purchase_return_id` (`purchase_return_id`),
  KEY `item_id` (`item_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- Table structure for table `quotations`
--

CREATE TABLE IF NOT EXISTS `quotations` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int DEFAULT NULL,
  `quotation_number` varchar(50) NOT NULL,
  `customer_id` int DEFAULT NULL,
  `customer_name` varchar(100) DEFAULT NULL,
  `quotation_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `subtotal` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_amount` decimal(10,2) DEFAULT '0.00',
  `discount_amount` decimal(10,2) DEFAULT '0.00',
  `net_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `status` enum('draft','sent','accepted','rejected','expired','converted') DEFAULT 'draft',
  `remarks` text,
  `created_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 `quotation_number` (`quotation_number`),
  KEY `idx_quotations_store_id` (`store_id`),
  KEY `idx_quotations_customer_id` (`customer_id`),
  KEY `idx_quotations_status` (`status`)
) ENGINE=MyISAM AUTO_INCREMENT=66 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `quotations`
--

INSERT INTO `quotations` (`id`, `store_id`, `quotation_number`, `customer_id`, `customer_name`, `quotation_date`, `subtotal`, `tax_amount`, `discount_amount`, `net_amount`, `status`, `remarks`, `created_by`, `created_at`, `updated_at`) VALUES
(1, 1, 'QT2025110001', 0, 'AL HARAM Cash n Carry', '2025-11-09 21:28:01', 217800.00, 0.00, 0.00, 217800.00, 'accepted', '', 4, '2025-11-09 16:28:01', '2025-11-22 07:59:12'),
(2, 1, 'QT2025110002', 33, 'Comsats University', '2025-11-22 13:01:29', 20000.00, 0.00, 0.00, 20000.00, 'converted', '', 4, '2025-11-22 08:01:29', '2025-12-03 04:46:25'),
(3, 1, 'QT2025110003', 50, 'Cheeza Pizza', '2025-11-22 13:02:38', 1000.00, 0.00, 0.00, 1000.00, 'converted', '0', 4, '2025-11-22 08:02:38', '2025-12-17 13:21:56'),
(4, 1, 'QT2025120001', 39, 'Al Haram Cash and Carry', '2025-12-02 11:40:33', 15000.00, 0.00, 0.00, 15000.00, 'converted', 'For the month of Dec\'25', 4, '2025-12-02 06:40:33', '2025-12-18 15:29:11'),
(5, 1, 'QT2025120002', 51, 'Bin Daim SuperMart', '2025-12-02 11:41:42', 1000.00, 0.00, 0.00, 1000.00, 'expired', 'For the month of Dec\'25', 4, '2025-12-02 06:41:42', '2026-01-22 07:42:34'),
(6, 1, 'QT2025120003', 38, 'Coffee Planet Giga Mall', '2025-12-02 11:43:14', 2500.00, 0.00, 0.00, 2500.00, 'converted', 'For the month of Dec\'25', 4, '2025-12-02 06:43:14', '2025-12-09 15:50:08'),
(7, 1, 'QT2025120004', 28, 'Dhaba Restaurant', '2025-12-02 11:43:55', 1500.00, 0.00, 0.00, 1500.00, 'accepted', 'For the month of Dec\'25', 4, '2025-12-02 06:43:55', '2026-01-05 07:36:42'),
(8, 1, 'QT2025120005', 15, 'Gloria Jeans', '2025-12-02 11:44:28', 3000.00, 0.00, 0.00, 3000.00, 'converted', 'For the month of Dec\'25', 4, '2025-12-02 06:44:28', '2025-12-22 12:16:06'),
(9, 1, 'QT2025120006', 34, 'Jans Bakers', '2025-12-02 11:45:17', 35000.00, 0.00, 0.00, 35000.00, 'converted', 'For the month of Dec\'25', 4, '2025-12-02 06:45:17', '2025-12-11 17:26:57'),
(10, 1, 'QT2025120007', 14, 'Kajan computer & CCTV World', '2025-12-02 11:46:46', 1000.00, 0.00, 0.00, 1000.00, 'converted', 'For the month of Dec\'25', 4, '2025-12-02 06:46:46', '2025-12-10 14:16:15'),
(11, 1, 'QT2025120008', 23, 'Master Management', '2025-12-02 11:47:38', 20000.00, 0.00, 0.00, 20000.00, 'converted', 'For the month of Dec\'25', 4, '2025-12-02 06:47:38', '2025-12-17 13:20:10'),
(12, 1, 'QT2025120009', 19, 'Peshawar Airport', '2025-12-02 11:48:47', 5000.00, 0.00, 0.00, 5000.00, 'converted', 'For the month of Dec\'25', 4, '2025-12-02 06:48:47', '2025-12-03 17:05:27'),
(13, 1, 'QT2025120010', 53, 'Sheraz Mobile', '2025-12-02 11:49:21', 1000.00, 0.00, 0.00, 1000.00, 'accepted', 'For the month of Dec\'25', 4, '2025-12-02 06:49:21', '2025-12-09 15:51:44'),
(14, 1, 'QT2025120011', 32, 'Smoke Shack', '2025-12-02 11:50:08', 1500.00, 0.00, 0.00, 1500.00, 'converted', 'For the month of Dec\'25', 4, '2025-12-02 06:50:08', '2025-12-05 12:31:04'),
(15, 1, 'QT2025120012', 20, 'Stallion Pizza Time', '2025-12-02 11:50:58', 10000.00, 0.00, 0.00, 10000.00, 'converted', 'For the month of Nov\'25', 4, '2025-12-02 06:50:58', '2025-12-13 06:52:43'),
(16, 1, 'QT2025120013', 37, 'Tayto Cafe', '2025-12-02 11:53:03', 80000.00, 0.00, 0.00, 80000.00, 'converted', '0', 4, '2025-12-02 06:53:03', '2025-12-05 15:29:14'),
(17, 1, 'QT2025120014', 58, 'Vilux Lighting', '2025-12-02 11:53:46', 2000.00, 0.00, 0.00, 2000.00, 'converted', 'For the month of Dec\'25', 4, '2025-12-02 06:53:46', '2025-12-20 15:44:05'),
(18, 1, 'QT2025120015', 68, 'Tariq Shinwari', '2025-12-03 15:03:38', 71200.00, 0.00, 0.00, 71200.00, 'draft', '0', 1, '2025-12-03 10:03:38', '2025-12-03 10:07:49'),
(19, 1, 'QT2025120016', 38, 'Coffee Planet Giga Mall', '2025-12-10 16:30:27', 10000.00, 0.00, 0.00, 10000.00, 'converted', '', 4, '2025-12-10 11:30:27', '2026-01-09 15:03:18'),
(20, 1, 'QT2025120017', 1, 'Walk-in Customer', '2025-12-10 20:46:28', 71300.00, 0.00, 0.00, 71300.00, 'expired', '+92 305 5318873\nAl Munawarah Mart', 4, '2025-12-10 15:46:28', '2026-01-05 07:36:08'),
(21, 1, 'QT2025120018', 33, 'Comsats University', '2025-12-27 14:10:52', 20000.00, 0.00, 0.00, 20000.00, 'converted', 'For the month of Dec\'25', 4, '2025-12-27 09:10:52', '2025-12-31 05:22:00'),
(22, 1, 'QT2025120019', 74, 'Tokyo Pan Asian', '2025-12-31 19:40:34', 10000.00, 0.00, 0.00, 10000.00, 'expired', '', 4, '2025-12-31 14:40:34', '2026-01-05 07:35:50'),
(23, 1, 'QT2026010001', 23, 'Master Management', '2026-01-02 11:41:37', 20000.00, 0.00, 0.00, 20000.00, 'converted', '', 4, '2026-01-02 06:41:37', '2026-01-03 12:46:52'),
(24, 1, 'QT2026010002', 37, 'Tayto Cafe', '2026-01-02 11:42:34', 80000.00, 0.00, 0.00, 80000.00, 'converted', '', 4, '2026-01-02 06:42:34', '2026-01-09 15:01:53'),
(25, 1, 'QT2026010003', 39, 'Al Haram Cash and Carry', '2026-01-02 11:44:57', 15000.00, 0.00, 0.00, 15000.00, 'converted', '', 4, '2026-01-02 06:44:57', '2026-01-21 13:29:15'),
(26, 1, 'QT2026010004', 41, 'Irfan Enterprise', '2026-01-02 11:45:54', 20000.00, 0.00, 0.00, 20000.00, 'converted', '', 4, '2026-01-02 06:45:54', '2026-01-05 15:31:29'),
(27, 1, 'QT2026010005', 34, 'Jans Bakers', '2026-01-05 12:40:57', 35000.00, 0.00, 0.00, 35000.00, 'converted', '0', 4, '2026-01-05 07:40:57', '2026-01-12 14:11:51'),
(28, 1, 'QT2026010006', 21, 'Hadeed Traders', '2026-01-05 12:52:19', 36000.00, 0.00, 0.00, 36000.00, 'draft', '', 4, '2026-01-05 07:52:19', '2026-04-22 07:02:35'),
(29, 1, 'QT2026010007', 19, 'Peshawar Airport', '2026-01-05 12:53:41', 5000.00, 0.00, 0.00, 5000.00, 'converted', '', 4, '2026-01-05 07:53:41', '2026-01-05 15:32:40'),
(30, 1, 'QT2026010008', 76, 'Coffee Planet Scheme 3', '2026-01-08 12:50:08', 10000.00, 0.00, 0.00, 10000.00, 'converted', '0', 4, '2026-01-08 07:50:08', '2026-01-12 12:08:20'),
(31, 1, 'QT2026010009', 20, 'Stallion Pizza Time', '2026-01-08 12:51:05', 10000.00, 0.00, 0.00, 10000.00, 'converted', '', 4, '2026-01-08 07:51:05', '2026-01-15 12:44:48'),
(32, 1, 'QT2026010010', 79, 'New York Marts', '2026-01-13 15:02:43', 83800.00, 0.00, 0.00, 83800.00, 'rejected', '0', 4, '2026-01-13 10:02:43', '2026-01-22 07:40:47'),
(33, 1, 'QT2026010011', 33, 'Comsats University', '2026-01-22 12:43:47', 20000.00, 0.00, 0.00, 20000.00, 'converted', '', 4, '2026-01-22 07:43:47', '2026-01-29 17:26:35'),
(34, 1, 'QT2026010012', 83, 'Saeed', '2026-01-27 18:13:20', 60000.00, 0.00, 0.00, 60000.00, 'draft', '', 1, '2026-01-27 13:13:20', '2026-01-27 13:13:20'),
(35, 1, 'QT2026020001', 37, 'Tayto Cafe', '2026-02-06 09:39:07', 80000.00, 0.00, 0.00, 80000.00, 'converted', '', 4, '2026-02-06 04:39:07', '2026-02-09 13:01:56'),
(36, 1, 'QT2026020002', 19, 'Peshawar Airport', '2026-02-06 09:46:10', 5000.00, 0.00, 0.00, 5000.00, 'converted', '', 4, '2026-02-06 04:46:10', '2026-02-07 13:29:05'),
(37, 1, 'QT2026020003', 20, 'Stallion Pizza Time', '2026-02-07 18:34:06', 10000.00, 0.00, 0.00, 10000.00, 'converted', '0', 4, '2026-02-07 13:34:06', '2026-02-11 15:49:11'),
(38, 1, 'QT2026020004', 34, 'Jans Bakers', '2026-02-07 18:34:58', 35000.00, 0.00, 0.00, 35000.00, 'converted', '', 4, '2026-02-07 13:34:58', '2026-02-09 13:03:12'),
(39, 1, 'QT2026020005', 23, 'Master Management', '2026-02-07 18:41:07', 20000.00, 0.00, 0.00, 20000.00, 'converted', '', 4, '2026-02-07 13:41:07', '2026-02-16 08:49:47'),
(40, 1, 'QT2026020006', 33, 'Comsats University', '2026-02-23 07:42:33', 20000.00, 0.00, 0.00, 20000.00, 'converted', '', 4, '2026-02-23 02:42:33', '2026-04-27 13:55:32'),
(41, 1, 'QT2026030001', 37, 'Tayto Cafe', '2026-03-04 13:26:46', 80000.00, 0.00, 0.00, 80000.00, 'converted', '', 4, '2026-03-04 08:26:46', '2026-03-09 15:20:52'),
(42, 1, 'QT2026030002', 19, 'Peshawar Airport', '2026-03-04 15:42:05', 5000.00, 0.00, 0.00, 5000.00, 'converted', '', 4, '2026-03-04 10:42:05', '2026-03-06 06:25:23'),
(43, 1, 'QT2026030003', 17, 'Jans Deli', '2026-03-04 15:43:04', 10000.00, 0.00, 0.00, 10000.00, 'draft', '', 4, '2026-03-04 10:43:04', '2026-03-04 10:43:04'),
(44, 1, 'QT2026030004', 20, 'Stallion Pizza Time', '2026-03-08 11:12:25', 10000.00, 0.00, 0.00, 10000.00, 'converted', '0', 4, '2026-03-08 06:12:25', '2026-03-26 12:35:40'),
(45, 1, 'QT2026030005', 34, 'Jans Bakers', '2026-03-08 11:13:10', 35000.00, 0.00, 0.00, 35000.00, 'converted', '', 4, '2026-03-08 06:13:10', '2026-03-13 17:21:26'),
(46, 1, 'QT2026030006', 23, 'Master Management', '2026-03-08 11:14:17', 20000.00, 0.00, 0.00, 20000.00, 'converted', '', 4, '2026-03-08 06:14:17', '2026-03-14 17:41:12'),
(47, 1, 'QT2026030007', 15, 'Gloria Jeans', '2026-03-10 20:41:47', 6000.00, 0.00, 0.00, 6000.00, 'converted', '', 4, '2026-03-10 15:41:47', '2026-03-13 14:40:43'),
(48, 1, 'QT2026030008', 33, 'Comsats University', '2026-03-24 14:50:49', 20000.00, 0.00, 0.00, 20000.00, 'rejected', '', 4, '2026-03-24 09:50:49', '2026-04-16 12:25:24'),
(49, 1, 'QT2026040001', 37, 'Tayto Cafe', '2026-04-03 11:55:15', 80000.00, 0.00, 0.00, 80000.00, 'converted', '', 4, '2026-04-03 06:55:15', '2026-04-06 12:50:00'),
(50, 1, 'QT2026040002', 19, 'Peshawar Airport', '2026-04-04 15:39:44', 5000.00, 0.00, 0.00, 5000.00, 'converted', '', 4, '2026-04-04 10:39:44', '2026-04-04 14:20:50'),
(51, 1, 'QT2026040003', 10, 'Multan Airport', '2026-04-04 15:40:23', 4000.00, 0.00, 0.00, 4000.00, 'converted', '', 4, '2026-04-04 10:40:23', '2026-04-06 15:54:33'),
(52, 1, 'QT2026040004', 23, 'Master Management', '2026-04-06 13:24:15', 20000.00, 0.00, 0.00, 20000.00, 'converted', '', 4, '2026-04-06 08:24:15', '2026-04-07 16:01:33'),
(53, 1, 'QT2026040005', 20, 'Stallion Pizza Time', '2026-04-06 13:25:05', 10000.00, 0.00, 0.00, 10000.00, 'converted', '', 4, '2026-04-06 08:25:05', '2026-04-17 14:52:26'),
(54, 1, 'QT2026040006', 97, 'Esa jee', '2026-04-07 20:04:34', 120000.00, 0.00, 20000.00, 100000.00, 'draft', 'We have quoted a discounted price for the ITR POS license, along with the applicable monthly service charges.\nPlease note that the service charges will commence after the first month of installation and will be billed on a monthly basis thereafter.', 1, '2026-04-07 15:04:34', '2026-04-07 15:04:34'),
(55, 1, 'QT2026040007', 20, 'Stallion Pizza Time', '2026-04-08 15:28:08', 3000.00, 0.00, 0.00, 3000.00, 'converted', '0', 4, '2026-04-08 10:28:08', '2026-04-17 14:50:54'),
(56, 1, 'QT2026040008', 15, 'Gloria Jeans', '2026-04-09 19:18:38', 3000.00, 0.00, 0.00, 3000.00, 'converted', '', 4, '2026-04-09 14:18:38', '2026-04-13 14:09:41'),
(57, 1, 'QT2026040009', 34, 'Jans Bakers', '2026-04-13 19:16:09', 35000.00, 0.00, 0.00, 35000.00, 'converted', '', 4, '2026-04-13 14:16:09', '2026-04-15 16:42:07'),
(58, 1, 'QT2026040010', 33, 'Comsats University', '2026-04-16 17:24:55', 20000.00, 0.00, 0.00, 20000.00, 'converted', '', 4, '2026-04-16 12:24:55', '2026-04-27 13:56:37'),
(59, 1, 'QT2026040011', 21, 'Hadeed Traders', '2026-04-18 15:19:03', 45000.00, 0.00, 5000.00, 40000.00, 'rejected', '0', 4, '2026-04-18 10:19:03', '2026-04-22 07:01:39'),
(60, 1, 'QT2026040012', 21, 'Hadeed Traders', '2026-04-19 14:16:13', 30000.00, 0.00, 0.00, 30000.00, 'draft', '', 4, '2026-04-19 09:16:13', '2026-04-19 09:16:13'),
(61, 1, 'QT2026040013', 37, 'Tayto Cafe', '2026-04-20 17:10:30', 20000.00, 0.00, 0.00, 20000.00, 'draft', '', 4, '2026-04-20 12:10:30', '2026-04-20 12:10:30'),
(62, 1, 'QT2026040014', 105, 'BenchCafe.com', '2026-04-30 18:46:27', 4000.00, 0.00, 0.00, 4000.00, 'converted', '0', 4, '2026-04-30 13:46:27', '2026-05-01 12:17:55'),
(63, 1, 'QT2026050001', 37, 'Tayto Cafe', '2026-05-03 10:33:16', 80000.00, 0.00, 0.00, 80000.00, 'draft', '', 4, '2026-05-03 05:33:16', '2026-05-03 05:33:16'),
(64, 1, 'QT2026050002', 19, 'Peshawar Airport', '2026-05-03 10:34:09', 5000.00, 0.00, 0.00, 5000.00, 'converted', '', 4, '2026-05-03 05:34:09', '2026-05-04 14:37:15'),
(65, 1, 'QT2026050003', 23, 'Master Management', '2026-05-03 10:35:51', 20000.00, 0.00, 0.00, 20000.00, 'converted', '', 4, '2026-05-03 05:35:51', '2026-05-05 11:30:45');

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

--
-- Table structure for table `quotation_drafts`
--

CREATE TABLE IF NOT EXISTS `quotation_drafts` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `store_id` int NOT NULL,
  `payload` longtext NOT NULL,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_quotation_draft_user_store` (`user_id`,`store_id`)
) ENGINE=MyISAM AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `quotation_drafts`
--

INSERT INTO `quotation_drafts` (`id`, `user_id`, `store_id`, `payload`, `updated_at`) VALUES
(18, 4, 1, '{\"version\":1,\"customer\":{\"id\":23,\"name\":\"Master Management\",\"email\":\"\",\"phone\":\"923331668016\",\"address\":\"Islamabad Airport\",\"discount_applied\":\"N\",\"discount_rate\":\"0.00\",\"category_id\":1,\"category_name\":\"Software\",\"customer_type\":\"retail\"},\"customer_input\":\"Master Management\",\"customer_id\":\"23\",\"discount\":0,\"remarks\":\"\",\"lines\":[{\"item_id\":\"2\",\"item_name\":\"POS Services\",\"quantity\":1,\"quantity_loose\":1,\"purchase_mode\":\"loose\",\"bulk_base_qty\":0,\"unit_price\":20000,\"tax_rate\":0,\"line_discount_percent\":0,\"total_price\":20000,\"remarks\":\"For the month of May:26\",\"dataset\":{\"bulkQty\":\"0\",\"bulkPrice\":\"0\",\"loosePrice\":\"20000\",\"bulkCost\":\"0\"}}]}', '2026-05-03 05:35:53');

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

--
-- Table structure for table `quotation_items`
--

CREATE TABLE IF NOT EXISTS `quotation_items` (
  `id` int NOT NULL AUTO_INCREMENT,
  `quotation_id` int NOT NULL,
  `item_id` int NOT NULL,
  `item_name` varchar(100) 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',
  `line_discount_percent` decimal(5,2) NOT NULL DEFAULT '0.00',
  `remarks` text,
  PRIMARY KEY (`id`),
  KEY `quotation_id` (`quotation_id`),
  KEY `item_id` (`item_id`)
) ENGINE=MyISAM AUTO_INCREMENT=114 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `quotation_items`
--

INSERT INTO `quotation_items` (`id`, `quotation_id`, `item_id`, `item_name`, `quantity`, `unit_price`, `total_price`, `tax_rate`, `line_discount_percent`, `remarks`) VALUES
(1, 1, 38, 'Complete PC Cori5 3gen', 3.000, 28500.00, 85500.00, 0.00, 0.00, ''),
(2, 1, 41, 'LCD 21', 4.000, 14500.00, 58000.00, 0.00, 0.00, ''),
(3, 1, 7, 'Mouse', 4.000, 700.00, 2800.00, 0.00, 0.00, ''),
(4, 1, 8, 'Keyboard', 3.000, 1000.00, 3000.00, 0.00, 0.00, ''),
(5, 1, 37, '2D Omni Directional Barcode Scanner BC-690', 3.000, 15000.00, 45000.00, 0.00, 0.00, ''),
(6, 1, 13, 'Cash Drawer', 1.000, 10000.00, 10000.00, 0.00, 0.00, ''),
(7, 1, 12, 'Thermal Printer USB BC96AC', 1.000, 13500.00, 13500.00, 0.00, 0.00, ''),
(8, 2, 2, 'POS Services', 1.000, 20000.00, 20000.00, 0.00, 0.00, 'for the month of Nov\'25'),
(47, 3, 2, 'POS Services', 1.000, 1000.00, 1000.00, 0.00, 0.00, 'for the month of Nov\'25'),
(10, 4, 2, 'POS Services', 1.000, 15000.00, 15000.00, 0.00, 0.00, ''),
(11, 5, 2, 'POS Services', 1.000, 1000.00, 1000.00, 0.00, 0.00, ''),
(12, 6, 2, 'POS Services', 1.000, 2500.00, 2500.00, 0.00, 0.00, ''),
(13, 7, 2, 'POS Services', 1.000, 1500.00, 1500.00, 0.00, 0.00, ''),
(14, 8, 2, 'POS Services', 1.000, 3000.00, 3000.00, 0.00, 0.00, ''),
(15, 9, 2, 'POS Services', 1.000, 35000.00, 35000.00, 0.00, 0.00, ''),
(16, 10, 2, 'POS Services', 1.000, 1000.00, 1000.00, 0.00, 0.00, ''),
(17, 11, 2, 'POS Services', 1.000, 20000.00, 20000.00, 0.00, 0.00, ''),
(18, 12, 2, 'POS Services', 1.000, 5000.00, 5000.00, 0.00, 0.00, ''),
(19, 13, 2, 'POS Services', 1.000, 1000.00, 1000.00, 0.00, 0.00, ''),
(20, 14, 2, 'POS Services', 1.000, 1500.00, 1500.00, 0.00, 0.00, ''),
(21, 15, 2, 'POS Services', 1.000, 10000.00, 10000.00, 0.00, 0.00, ''),
(24, 16, 2, 'POS Services', 8.000, 10000.00, 80000.00, 0.00, 0.00, ''),
(23, 17, 2, 'POS Services', 1.000, 2000.00, 2000.00, 0.00, 0.00, ''),
(39, 18, 10, 'Power Cable', 2.000, 300.00, 600.00, 0.00, 0.00, ''),
(38, 18, 8, 'Keyboard', 1.000, 1000.00, 1000.00, 0.00, 0.00, ''),
(37, 18, 7, 'Mouse', 1.000, 700.00, 700.00, 0.00, 0.00, ''),
(36, 18, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, 10000.00, 0.00, 0.00, ''),
(35, 18, 1, 'ITR POS', 1.000, 25000.00, 25000.00, 0.00, 0.00, ''),
(34, 18, 34, 'LCD 22 Dell', 1.000, 14500.00, 14500.00, 0.00, 0.00, ''),
(33, 18, 32, 'CPU Corei5 3rd Gen', 1.000, 16000.00, 16000.00, 0.00, 0.00, ''),
(40, 18, 9, 'VGA', 1.000, 400.00, 400.00, 0.00, 0.00, ''),
(41, 18, 46, 'Visit Charges', 1.000, 3000.00, 3000.00, 0.00, 0.00, ''),
(42, 19, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, 10000.00, 0.00, 0.00, ''),
(43, 20, 1, 'ITR POS', 1.000, 30000.00, 30000.00, 0.00, 0.00, 'First year, with complete installation, license and training'),
(44, 20, 20, 'Barcode Scanner Handy BC8805', 1.000, 5800.00, 5800.00, 0.00, 0.00, ''),
(45, 20, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, 10000.00, 0.00, 0.00, ''),
(46, 20, 4, 'Complete PC Cori3 4gen', 1.000, 25500.00, 25500.00, 0.00, 0.00, ''),
(48, 21, 2, 'POS Services', 1.000, 20000.00, 20000.00, 0.00, 0.00, ''),
(49, 22, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, 10000.00, 0.00, 0.00, ''),
(50, 23, 2, 'POS Services', 1.000, 20000.00, 20000.00, 0.00, 0.00, 'For the month of Jan\'26'),
(51, 24, 2, 'POS Services', 8.000, 10000.00, 80000.00, 0.00, 0.00, 'For the month of Jan\'26'),
(52, 25, 2, 'POS Services', 1.000, 15000.00, 15000.00, 0.00, 0.00, 'For the month of Jan\'26'),
(53, 26, 2, 'POS Services', 1.000, 20000.00, 20000.00, 0.00, 0.00, 'For the year 2026'),
(55, 27, 2, 'POS Services', 1.000, 35000.00, 35000.00, 0.00, 0.00, 'For the month of Jan\'26'),
(56, 28, 2, 'POS Services', 1.000, 36000.00, 36000.00, 0.00, 0.00, 'For the year of 2026'),
(57, 29, 2, 'POS Services', 1.000, 5000.00, 5000.00, 0.00, 0.00, 'For the month of Jan\'26'),
(60, 30, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, 10000.00, 0.00, 0.00, ''),
(59, 31, 2, 'POS Services', 1.000, 10000.00, 10000.00, 0.00, 0.00, 'For the month of Dec\'25'),
(68, 32, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, 10000.00, 0.00, 0.00, ''),
(67, 32, 4, 'Complete PC Cori3 4gen', 1.000, 28000.00, 28000.00, 0.00, 0.00, ''),
(66, 32, 1, 'ITR POS', 1.000, 30000.00, 30000.00, 0.00, 0.00, ''),
(69, 32, 13, 'Cash Drawer', 1.000, 10000.00, 10000.00, 0.00, 0.00, ''),
(70, 32, 20, 'Barcode Scanner Handy BC8805', 1.000, 5800.00, 5800.00, 0.00, 0.00, ''),
(71, 33, 2, 'POS Services', 1.000, 20000.00, 20000.00, 0.00, 0.00, 'For the month of Jan\'26'),
(72, 34, 4, 'Complete PC Cori3 4gen', 1.000, 30000.00, 30000.00, 0.00, 0.00, ''),
(73, 34, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, 10000.00, 0.00, 0.00, ''),
(74, 34, 1, 'ITR POS', 1.000, 20000.00, 20000.00, 0.00, 0.00, ''),
(75, 35, 2, 'POS Services', 8.000, 10000.00, 80000.00, 0.00, 0.00, 'For the month of Feb\'26'),
(76, 36, 2, 'POS Services', 1.000, 5000.00, 5000.00, 0.00, 0.00, 'For the month of Feb\'26'),
(79, 37, 2, 'POS Services', 1.000, 10000.00, 10000.00, 0.00, 0.00, 'for the month of Jan\'26'),
(78, 38, 2, 'POS Services', 1.000, 35000.00, 35000.00, 0.00, 0.00, 'For the month of Feb\'26'),
(80, 39, 2, 'POS Services', 1.000, 20000.00, 20000.00, 0.00, 0.00, 'For the month of Feb\'26'),
(81, 40, 2, 'POS Services', 1.000, 20000.00, 20000.00, 0.00, 0.00, 'For the month of Feb\'26'),
(82, 41, 2, 'POS Services', 8.000, 10000.00, 80000.00, 0.00, 0.00, 'For the month of Mar\'26'),
(83, 42, 2, 'POS Services', 1.000, 5000.00, 5000.00, 0.00, 0.00, 'For the month of Mar\'26'),
(84, 43, 2, 'POS Services', 1.000, 10000.00, 10000.00, 0.00, 0.00, 'For the month of Mar\'26'),
(87, 44, 2, 'POS Services', 1.000, 10000.00, 10000.00, 0.00, 0.00, 'For the month of Feb\'26'),
(86, 45, 2, 'POS Services', 1.000, 35000.00, 35000.00, 0.00, 0.00, 'For the month of Mar\'26'),
(88, 46, 2, 'POS Services', 1.000, 20000.00, 20000.00, 0.00, 0.00, 'For the month of Mar\'26'),
(89, 47, 2, 'POS Services', 2.000, 3000.00, 6000.00, 0.00, 0.00, 'For the month of Feb and Mar\'26'),
(90, 48, 2, 'POS Services', 1.000, 20000.00, 20000.00, 0.00, 0.00, 'For the month of Mar\'26'),
(91, 49, 2, 'POS Services', 8.000, 10000.00, 80000.00, 0.00, 0.00, 'For the month of April\'26'),
(92, 50, 2, 'POS Services', 1.000, 5000.00, 5000.00, 0.00, 0.00, 'For the month of Aprip\'26'),
(93, 51, 2, 'POS Services', 1.000, 4000.00, 4000.00, 0.00, 0.00, 'For the month of April\'26'),
(94, 52, 2, 'POS Services', 1.000, 20000.00, 20000.00, 0.00, 0.00, 'For the month of April\'26'),
(95, 53, 2, 'POS Services', 1.000, 10000.00, 10000.00, 0.00, 0.00, 'For the month of Mar\'26'),
(96, 54, 1, 'ITR POS', 4.000, 25000.00, 100000.00, 0.00, 0.00, 'License'),
(97, 54, 2, 'POS Services', 4.000, 5000.00, 20000.00, 0.00, 0.00, 'Monthly POS Charges'),
(100, 55, 48, 'Hosting Charges', 1.000, 3000.00, 3000.00, 0.00, 0.00, ''),
(101, 56, 2, 'POS Services', 1.000, 3000.00, 3000.00, 0.00, 0.00, 'For the month of April\'26'),
(102, 57, 2, 'POS Services', 1.000, 35000.00, 35000.00, 0.00, 0.00, 'For the month of April\'26'),
(103, 58, 2, 'POS Services', 1.000, 20000.00, 20000.00, 0.00, 0.00, 'For the month of April\'26'),
(106, 59, 2, 'POS Services', 3.000, 15000.00, 45000.00, 0.00, 0.00, 'SLA for year june\'26 to may\'27'),
(107, 60, 53, 'FBR Digital Integration', 3.000, 10000.00, 30000.00, 0.00, 0.00, ''),
(108, 61, 29, 'Thermal Printer BC 87AC USB', 2.000, 10000.00, 20000.00, 0.00, 0.00, ''),
(110, 62, 48, 'Hosting Charges', 1.000, 4000.00, 4000.00, 0.00, 0.00, ''),
(111, 63, 2, 'POS Services', 8.000, 10000.00, 80000.00, 0.00, 0.00, 'For the month of May\'26'),
(112, 64, 2, 'POS Services', 1.000, 5000.00, 5000.00, 0.00, 0.00, 'For the month of May\'26'),
(113, 65, 2, 'POS Services', 1.000, 20000.00, 20000.00, 0.00, 0.00, 'For the month of May:26');

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

--
-- Table structure for table `rights`
--

CREATE TABLE IF NOT EXISTS `rights` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  `description` text,
  `category` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=117 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `rights`
--

INSERT INTO `rights` (`id`, `name`, `description`, `category`) VALUES
(1, 'Create User', '', 'User Management'),
(2, 'Item List', '', 'Products'),
(3, 'Users List', '', 'User Management'),
(4, 'Add Item', '', 'Products'),
(5, 'View Taxes', '', 'Tax'),
(6, 'View Taxes', '', 'Tax'),
(7, 'Manage Categories', '', 'Products'),
(8, 'Create Customer', '', 'Customers'),
(9, 'Manage SubCategories', '', 'Products'),
(10, 'Create Taxes', '', 'Tax'),
(11, 'View Categories', '', 'Products'),
(12, 'Delete Items', '', 'Products'),
(13, 'Edit Items', '', 'Products'),
(14, 'Edit Taxes', '', 'Tax'),
(15, 'Add Expense', '', 'Expenses'),
(16, 'Add Purchase', '', 'Purchases'),
(17, 'Add Supplier', '', 'Vendors'),
(18, 'Assign Rights', '', 'User Rights'),
(19, 'Create Role', '', 'User Rights'),
(20, 'View Expense Accounts', '', 'Expenses'),
(21, 'Expense Categories', '', 'Expenses'),
(22, 'Expense List', '', 'Expenses'),
(23, 'Access POS', '', 'POS'),
(24, 'Sales Report', '', 'Reports'),
(25, 'Purchase Report', '', 'Reports'),
(26, 'Edit Sale Price in POS', 'Allows editing item prices during sale in POS', 'POS'),
(27, 'Daily Sales Report', 'View daily sales summary report', 'Reports'),
(28, 'Shift Report', 'View cashier shift reports', 'Reports'),
(29, 'Invoice Report', 'View detailed invoice reports', 'Reports'),
(30, 'Invoice Profit Report', 'View invoice profit analysis', 'Reports'),
(31, 'Itemwise Sales Report', 'View sales report by items', 'Reports'),
(32, 'Tax Wise Report', 'View tax summary reports', 'Reports'),
(33, 'Discount Report', 'View discount usage reports', 'Reports'),
(34, 'Void Orders Report', 'View voided orders report', 'Reports'),
(35, 'Sale Return Report', 'View sale returns report', 'Reports'),
(36, 'Purchase Return Report', 'View purchase returns report', 'Reports'),
(37, 'Order Taker Report', 'View order taker performance report', 'Reports'),
(38, 'Stock Balance Report', 'View current stock balance', 'Reports'),
(39, 'Stock Valuation Report', 'View stock valuation report', 'Reports'),
(40, 'Reorder Report', 'View items that need reordering', 'Reports'),
(41, 'Item Cost Report', 'View item cost analysis', 'Reports'),
(42, 'Item Ledger Report', 'View item transaction ledger', 'Reports'),
(43, 'Item Modifier Report', 'View item modifiers usage report', 'Reports'),
(44, 'KDS Order Report', 'View kitchen display orders report', 'Reports'),
(45, 'KPRA Sales Report', 'View KPRA integrated sales report', 'Reports'),
(46, 'Production Reports', 'View production and manufacturing reports', 'Reports'),
(47, 'Account Report', 'View account summary reports', 'Reports'),
(48, 'Financial Reports', 'View financial statements and reports', 'Reports'),
(49, 'Serial Tracking Report', 'View serial number tracking report', 'Reports'),
(50, 'FBR Sales Report', 'View FBR integrated sales report', 'Reports'),
(51, 'Profit & Loss', 'View profit and loss statement report', 'Reports'),
(52, 'ZATCA Sales Report', 'View ZATCA integrated sales report', 'Reports'),
(55, 'Customer Category', 'View and manage customer categories', 'Sales'),
(56, 'Item Modifier Management', 'View and manage item modifiers', 'Sales'),
(57, 'Void Reasons', 'View and manage void reasons', 'Sales'),
(58, 'Quotations', 'View and manage quotations', 'Sales'),
(59, 'Delivery Challan', 'View and manage delivery challans', 'Sales'),
(60, 'Discount Management', 'View and manage discounts', 'Sales'),
(61, 'Deal Management', 'View and manage deals', 'Sales'),
(62, 'Order Takers', 'View and manage order takers', 'Sales'),
(63, 'Tables', 'View and manage tables for dine-in', 'Sales'),
(64, 'Floors', 'View and manage floors for dine-in', 'Sales'),
(65, 'Riders', 'View and manage delivery riders', 'Sales'),
(66, 'Delivery Orders', 'View and manage delivery orders', 'Sales'),
(53, 'Customer List', 'View and manage customer list', 'Sales'),
(54, 'Customer Balance', 'View customer balances and account statements', 'Sales'),
(67, 'Items', 'View and manage items', 'Inventory'),
(68, 'Item Categories', 'View and manage item categories', 'Inventory'),
(69, 'UOM Management', 'View and manage unit of measurement', 'Inventory'),
(70, 'Purchases', 'View and manage purchases', 'Inventory'),
(71, 'Suppliers', 'View and manage suppliers', 'Inventory'),
(72, 'Supplier Balance', 'View supplier balances and account statements', 'Inventory'),
(73, 'Stock Transfer Request', 'Create and manage stock transfer requests', 'Inventory'),
(74, 'Stock Transfer Approval', 'Approve stock transfer requests', 'Inventory'),
(75, 'Stock Adjustment List', 'View stock adjustment list', 'Inventory'),
(76, 'Stock Adjustment', 'Create new stock adjustments', 'Inventory'),
(77, 'Production Orders', 'View and manage production orders', 'Inventory'),
(78, 'Opening Balance', 'Manage opening balances', 'Inventory'),
(79, 'Expenses', 'View and manage expenses', 'Accounts'),
(80, 'Expense Accounts', 'View and manage expense accounts', 'Accounts'),
(81, 'Expense Categories', 'View and manage expense categories', 'Accounts'),
(82, 'Bank Accounts', 'View and manage bank accounts', 'Accounts'),
(83, 'Payment Methods', 'View and manage payment methods', 'Accounts'),
(84, 'Card Types', 'View and manage card types', 'Accounts'),
(85, 'Customer Payments', 'View and manage customer payments', 'Accounts'),
(86, 'Supplier Payments', 'View and manage supplier payments', 'Accounts'),
(87, 'Bank Ledger', 'View bank account ledger with all transactions', 'Accounts'),
(88, 'Cash Ledger', 'View cash account ledger with all transactions', 'Accounts'),
(89, 'Chart of Accounts', 'View and manage chart of accounts', 'Financials'),
(90, 'Account Mappings', 'View and manage account mappings', 'Financials'),
(91, 'Period Management', 'View and manage accounting periods', 'Financials'),
(92, 'Terminals', 'View and manage terminals', 'Hardware'),
(93, 'Print Devices', 'View and manage print devices', 'Hardware'),
(94, 'KOT/KDS', 'View and manage KOT/KDS management', 'Hardware'),
(95, 'Tablet Orders', 'View and manage tablet orders', 'Hardware'),
(96, 'Backup Tool', 'Access backup tool for database operations', 'Hardware'),
(97, 'General Settings', 'Access general system settings', 'Settings'),
(98, 'Branches', 'View and manage branches', 'Settings'),
(99, 'Stores', 'View and manage stores', 'Settings'),
(100, 'Sync Settings', 'Manage sync settings', 'Settings'),
(101, 'Languages', 'Manage language settings', 'Settings'),
(102, 'Tax Rates', 'View and manage tax rates', 'Settings'),
(103, 'DB Operations', 'Access database operations panel', 'Settings'),
(104, 'Users & Permissions', 'Manage users and permissions', 'Settings'),
(105, 'Customer List', 'Manage customer', 'Sales'),
(106, 'General Ledger', 'View detailed transaction history for accounts', 'Financials'),
(107, 'Trial Balance', 'View trial balance report showing account balances', 'Financials'),
(108, 'Account Ledger', 'View all cash and bank transactions with running balance', 'Financials'),
(109, 'Profit Chart', 'View monthly profit analysis chart', 'Financials'),
(110, 'Quick Transaction', 'Create quick financial transactions', 'Financials'),
(111, 'Journal Entries', 'View and manage journal entries', 'Financials'),
(112, 'Rider Sales Report', 'View rider-wise delivery sales report', 'Reports'),
(113, 'Wastage', 'Record stock wastage and damage', 'Inventory'),
(114, 'Cheques', 'View and manage cheque books and cheque status', 'Accounts'),
(115, 'ITR Assistant', 'Access and use ITR Assistant chat/call features', 'Settings'),
(116, 'Card Reconciliation', 'View and reconcile card transactions', 'Accounts');

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

--
-- Table structure for table `roles`
--

CREATE TABLE IF NOT EXISTS `roles` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `roles`
--

INSERT INTO `roles` (`id`, `name`) VALUES
(1, 'Admin'),
(2, 'Cashier'),
(3, 'Assistant Director');

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

--
-- Table structure for table `role_rights`
--

CREATE TABLE IF NOT EXISTS `role_rights` (
  `role_id` int NOT NULL,
  `right_id` int NOT NULL,
  PRIMARY KEY (`role_id`,`right_id`),
  KEY `right_id` (`right_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `role_rights`
--

INSERT INTO `role_rights` (`role_id`, `right_id`) VALUES
(1, 1),
(1, 2),
(1, 3),
(1, 4),
(1, 5),
(1, 6),
(1, 7),
(1, 8),
(1, 9),
(1, 10),
(1, 11),
(1, 12),
(1, 13),
(1, 14),
(1, 15),
(1, 16),
(1, 17),
(1, 18),
(1, 19),
(1, 20),
(1, 21),
(1, 22),
(1, 23),
(1, 24),
(1, 25),
(1, 26),
(1, 27),
(1, 28),
(1, 29),
(1, 30),
(1, 31),
(1, 32),
(1, 33),
(1, 34),
(1, 35),
(1, 36),
(1, 37),
(1, 38),
(1, 39),
(1, 40),
(1, 41),
(1, 42),
(1, 43),
(1, 44),
(1, 45),
(1, 46),
(1, 47),
(1, 48),
(1, 49),
(1, 50),
(1, 51),
(1, 52),
(1, 53),
(1, 54),
(1, 55),
(1, 56),
(1, 57),
(1, 58),
(1, 59),
(1, 60),
(1, 61),
(1, 62),
(1, 63),
(1, 64),
(1, 65),
(1, 66),
(1, 67),
(1, 68),
(1, 69),
(1, 70),
(1, 71),
(1, 72),
(1, 73),
(1, 74),
(1, 75),
(1, 76),
(1, 77),
(1, 78),
(1, 79),
(1, 80),
(1, 81),
(1, 82),
(1, 83),
(1, 84),
(1, 85),
(1, 86),
(1, 87),
(1, 88),
(1, 89),
(1, 90),
(1, 91),
(1, 92),
(1, 93),
(1, 94),
(1, 95),
(1, 96),
(1, 97),
(1, 98),
(1, 99),
(1, 100),
(1, 101),
(1, 102),
(1, 103),
(1, 104),
(1, 106),
(1, 107),
(1, 108),
(1, 109),
(1, 110),
(1, 111),
(1, 112),
(1, 113),
(1, 114),
(1, 115),
(2, 23),
(3, 2),
(3, 4),
(3, 7),
(3, 8),
(3, 9),
(3, 11),
(3, 12),
(3, 13),
(3, 15),
(3, 20),
(3, 21),
(3, 22),
(3, 23),
(3, 26),
(3, 28),
(3, 29),
(3, 35),
(3, 37),
(3, 53),
(3, 54),
(3, 55),
(3, 58),
(3, 62),
(3, 67),
(3, 79),
(3, 85),
(3, 91),
(3, 105);

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

--
-- Table structure for table `sales`
--

CREATE TABLE IF NOT EXISTS `sales` (
  `id` int NOT NULL AUTO_INCREMENT,
  `terminal_id` int DEFAULT NULL,
  `store_id` int DEFAULT NULL,
  `branch_id` int NOT NULL DEFAULT '1',
  `invoice_number` varchar(50) NOT NULL,
  `sale_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `customer_name` varchar(100) DEFAULT NULL,
  `customer_id` int DEFAULT NULL,
  `total_amount` decimal(10,2) NOT NULL,
  `tax_amount` decimal(10,2) DEFAULT '0.00',
  `discount_amount` decimal(10,2) DEFAULT '0.00',
  `withholding_amount` decimal(10,2) DEFAULT '0.00',
  `discount_id` int DEFAULT NULL,
  `net_amount` decimal(10,2) NOT NULL,
  `payment_method` varchar(50) DEFAULT 'cash',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `shift_id` int DEFAULT NULL,
  `is_fbr_enabled` tinyint(1) DEFAULT '0',
  `is_kpra_enabled` tinyint(1) DEFAULT '0',
  `zatca_phase2_invoice_id` bigint UNSIGNED DEFAULT NULL,
  `table_id` int DEFAULT NULL,
  `order_mode` varchar(50) DEFAULT NULL,
  `discount_type` enum('percent','fixed') DEFAULT NULL,
  `discount_value` decimal(10,2) DEFAULT '0.00',
  `service_charges` decimal(10,2) DEFAULT '0.00',
  `tip_amount` decimal(10,2) DEFAULT '0.00',
  `order_taker_id` int DEFAULT NULL,
  `number_of_guests` int DEFAULT NULL,
  `void_id` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `invoice_number` (`invoice_number`),
  KEY `idx_payment_method` (`payment_method`),
  KEY `idx_order_taker_id` (`order_taker_id`),
  KEY `idx_kpra_enabled` (`is_kpra_enabled`),
  KEY `idx_sales_store_id` (`store_id`),
  KEY `idx_customer_id` (`customer_id`),
  KEY `idx_sales_branch_id` (`branch_id`),
  KEY `idx_sales_branch_store` (`branch_id`,`store_id`),
  KEY `idx_discount_id` (`discount_id`),
  KEY `idx_tip_amount` (`tip_amount`),
  KEY `idx_sales_terminal_id` (`terminal_id`),
  KEY `idx_number_of_guests` (`number_of_guests`),
  KEY `idx_sales_sale_date` (`sale_date`),
  KEY `idx_sales_invoice_number` (`invoice_number`),
  KEY `idx_sales_date` (`sale_date`),
  KEY `idx_sales_customer_id` (`customer_id`),
  KEY `idx_sales_order_mode` (`order_mode`),
  KEY `idx_sales_zatca_phase2_invoice_id` (`zatca_phase2_invoice_id`)
) ENGINE=MyISAM AUTO_INCREMENT=226 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `sales`
--

INSERT INTO `sales` (`id`, `terminal_id`, `store_id`, `branch_id`, `invoice_number`, `sale_date`, `customer_name`, `customer_id`, `total_amount`, `tax_amount`, `discount_amount`, `withholding_amount`, `discount_id`, `net_amount`, `payment_method`, `created_at`, `shift_id`, `is_fbr_enabled`, `is_kpra_enabled`, `zatca_phase2_invoice_id`, `table_id`, `order_mode`, `discount_type`, `discount_value`, `service_charges`, `tip_amount`, `order_taker_id`, `number_of_guests`, `void_id`) VALUES
(1, NULL, NULL, 1, 'INV17594843747887', '2025-10-03 14:39:34', 'Mr. Samiiullah', 40, 20000.00, 0.00, 0.00, 0.00, NULL, 20000.00, 'bank', '2025-10-03 09:39:34', 4, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(2, NULL, NULL, 1, 'INV17594871405593', '2025-10-03 15:25:40', 'Mr. Kashif', 42, 3000.00, 0.00, 0.00, 0.00, NULL, 3000.00, 'bank', '2025-10-03 10:25:40', 4, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(3, NULL, NULL, 1, 'INV17595013768394', '2025-10-03 19:22:56', 'Tayto Cafe', 37, 80000.00, 0.00, 0.00, 0.00, NULL, 80000.00, 'cash', '2025-10-03 14:22:56', 4, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(4, NULL, NULL, 1, 'INV17595666087407', '2025-10-04 13:30:08', 'Pakland mobile center', 12, 4500.00, 0.00, 0.00, 0.00, NULL, 4500.00, 'bank', '2025-10-04 08:30:08', 5, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(5, NULL, NULL, 1, 'INV17595666719415', '2025-10-04 13:31:11', 'Sahil Fibre and CCTV camera Electronics', 24, 500.00, 0.00, 0.00, 0.00, NULL, 500.00, 'bank', '2025-10-04 08:31:11', 5, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(6, NULL, NULL, 1, 'INV17596845882472', '2025-10-05 22:16:28', 'Peshawar Airport', 19, 5000.00, 0.00, 0.00, 0.00, NULL, 5000.00, 'bank', '2025-10-05 17:16:28', 6, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(7, NULL, NULL, 1, 'INV17598361423029', '2025-10-07 16:22:22', 'Walk-in Customer', 1, 14000.00, 0.00, 0.00, 0.00, NULL, 14000.00, 'bank', '2025-10-07 11:22:22', 8, 0, 0, NULL, NULL, '', 'fixed', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(8, NULL, NULL, 1, 'INV17599270812840', '2025-10-08 17:38:01', '32', 32, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2025-10-08 12:38:01', 9, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(9, NULL, NULL, 1, 'INV17599271358553', '2025-10-08 17:38:55', '44', 44, 4000.00, 0.00, 0.00, 0.00, 0, 4000.00, 'bank', '2025-10-08 12:38:55', 9, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(10, NULL, NULL, 1, 'INV17599275077496', '2025-10-08 17:45:07', '36', 36, 6000.00, 0.00, 0.00, 0.00, 0, 6000.00, 'bank', '2025-10-08 12:45:07', 9, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(11, NULL, NULL, 1, 'INV17599277203636', '2025-10-08 17:48:40', '28', 28, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2025-10-08 12:48:40', 9, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(12, NULL, NULL, 1, 'INV17599299625964', '2025-10-08 18:26:02', '43', 43, 20000.00, 0.00, 5000.00, 0.00, 0, 20000.00, 'bank', '2025-10-08 13:26:02', 9, 0, 0, NULL, NULL, '', 'fixed', 5000.00, 0.00, 0.00, NULL, NULL, NULL),
(13, NULL, NULL, 1, 'INV17600153645340', '2025-10-09 18:09:24', '45', 45, 16000.00, 0.00, 0.00, 0.00, 0, 16000.00, 'bank', '2025-10-09 13:09:24', 10, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(14, NULL, NULL, 1, 'INV17601918076197', '2025-10-11 19:10:07', '15', 15, 3000.00, 0.00, 0.00, 0.00, 0, 3000.00, 'bank', '2025-10-11 14:10:07', 12, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(15, NULL, NULL, 1, 'INV17601918745732', '2025-10-11 19:11:14', '20', 20, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2025-10-11 14:11:14', 12, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(16, NULL, NULL, 1, 'INV17603716021402', '2025-10-13 21:06:42', '14', 14, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2025-10-13 16:06:42', 13, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(17, NULL, NULL, 1, 'INV17603716687976', '2025-10-13 21:07:48', '38', 38, 2500.00, 0.00, 0.00, 0.00, 0, 2500.00, 'bank', '2025-10-13 16:07:48', 13, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(18, NULL, NULL, 1, 'INV17605266887685', '2025-10-15 16:11:28', '29', 29, 25000.00, 0.00, 0.00, 0.00, 0, 25000.00, 'bank', '2025-10-15 11:11:28', 15, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(19, NULL, NULL, 1, 'INV17605355463152', '2025-10-15 18:39:06', '34', 34, 35000.00, 0.00, 0.00, 0.00, 0, 35000.00, 'bank', '2025-10-15 13:39:06', 15, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(20, NULL, NULL, 1, 'INV17606094624887', '2025-10-16 15:11:02', '46', 46, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2025-10-16 10:11:02', 16, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(21, NULL, NULL, 1, 'INV17607533083142', '2025-10-18 07:08:28', '39', 39, 15000.00, 0.00, 0.00, 0.00, 0, 15000.00, 'bank', '2025-10-18 02:08:28', 17, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(22, NULL, NULL, 1, 'INV17608087251665', '2025-10-18 22:32:05', '39', 39, 1097750.00, 0.00, 118250.00, 0.00, 0, 1097750.00, 'credit', '2025-10-18 17:32:05', 17, 0, 0, NULL, NULL, '', 'fixed', 118250.00, 0.00, 0.00, NULL, NULL, NULL),
(23, NULL, NULL, 1, 'INV17609491322285', '2025-10-20 13:32:12', '47', 47, 5000.00, 0.00, 0.00, 0.00, 0, 5000.00, 'bank', '2025-10-20 08:32:12', 18, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(24, NULL, NULL, 1, 'INV17610579122086', '2025-10-21 19:45:12', '23', 23, 20000.00, 0.00, 0.00, 0.00, 0, 20000.00, 'bank', '2025-10-21 14:45:12', 18, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(25, NULL, NULL, 1, 'INV17610580316878', '2025-10-21 19:47:11', '33', 33, 20000.00, 0.00, 0.00, 0.00, 0, 20000.00, 'bank', '2025-10-21 14:47:11', 18, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(26, NULL, NULL, 1, 'INV17615582109109', '2025-10-27 14:43:30', '48', 48, 9500.00, 0.00, 2500.00, 0.00, 0, 9500.00, 'bank', '2025-10-27 09:43:30', 20, 0, 0, NULL, NULL, '', 'fixed', 2500.00, 0.00, 0.00, NULL, NULL, NULL),
(27, NULL, NULL, 1, 'INV17615587251166', '2025-10-27 14:52:05', '39', 39, 63000.00, 0.00, 0.00, 0.00, 0, 63000.00, 'credit', '2025-10-27 09:52:05', 20, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(28, NULL, NULL, 1, 'INV17616396581660', '2025-10-28 13:20:58', '49', 49, 25000.00, 0.00, 0.00, 0.00, 0, 25000.00, 'bank', '2025-10-28 08:20:58', 21, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(29, NULL, NULL, 1, 'INV17616397245684', '2025-10-28 13:22:04', '50', 50, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2025-10-28 08:22:04', 21, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(30, NULL, NULL, 1, 'INV17621827285329', '2025-11-03 20:12:08', '24', 24, 500.00, 0.00, 0.00, 0.00, 0, 500.00, 'bank', '2025-11-03 15:12:08', 22, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(31, NULL, NULL, 1, 'INV17621828646788', '2025-11-03 20:14:24', '51', 51, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2025-11-03 15:14:24', 22, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(32, NULL, NULL, 1, 'INV17621829525300', '2025-11-03 20:15:52', '32', 32, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2025-11-03 15:15:52', 22, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(33, NULL, NULL, 1, 'INV17621831399673', '2025-11-03 20:18:59', '52', 52, 30000.00, 0.00, 0.00, 0.00, 0, 30000.00, 'bank', '2025-11-03 15:18:59', 22, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(34, NULL, NULL, 1, 'INV17621834012024', '2025-11-03 20:23:21', '39', 39, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'cash', '2025-11-03 15:23:21', 22, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(35, NULL, NULL, 1, 'INV17625293088520', '2025-11-07 20:28:28', '19', 19, 5000.00, 0.00, 0.00, 0.00, 0, 5000.00, 'bank', '2025-11-07 15:28:28', 23, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(36, NULL, NULL, 1, 'INV17625296455514', '2025-11-07 20:34:05', '37', 37, 80000.00, 0.00, 0.00, 0.00, 0, 80000.00, 'bank', '2025-11-07 15:34:05', 23, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(37, NULL, NULL, 1, 'INV17625304766372', '2025-11-07 20:47:56', '53', 53, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2025-11-07 15:47:56', 23, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(38, NULL, NULL, 1, 'INV17626172403054', '2025-11-08 20:54:00', '34', 34, 35000.00, 0.00, 0.00, 0.00, 0, 35000.00, 'bank', '2025-11-08 15:54:00', 23, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(39, NULL, NULL, 1, 'INV17626174566009', '2025-11-08 20:57:36', '56', 56, 15000.00, 0.00, 0.00, 0.00, 0, 15000.00, 'credit', '2025-11-08 15:57:36', 23, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(40, NULL, NULL, 1, 'INV17626175214915', '2025-11-08 20:58:41', '54', 54, 30000.00, 0.00, 0.00, 0.00, 0, 30000.00, 'bank', '2025-11-08 15:58:41', 23, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(41, NULL, NULL, 1, 'INV17628414123022', '2025-11-11 11:10:12', '38', 38, 2500.00, 0.00, 0.00, 0.00, 0, 2500.00, 'bank', '2025-11-11 06:10:12', 24, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(42, NULL, NULL, 1, 'INV17628414859911', '2025-11-11 11:11:25', '26', 26, 5000.00, 0.00, 0.00, 0.00, 0, 5000.00, 'bank', '2025-11-11 06:11:25', 24, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(43, NULL, NULL, 1, 'INV17628678486306', '2025-11-11 18:30:48', '57', 57, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2025-11-11 13:30:48', 24, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(44, NULL, NULL, 1, 'INV17628679023276', '2025-11-11 18:31:42', '28', 28, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2025-11-11 13:31:42', 24, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(45, NULL, NULL, 1, 'INV17629620692794', '2025-11-12 20:41:09', '39', 39, 217800.00, 0.00, 0.00, 0.00, 0, 217800.00, 'credit', '2025-11-12 15:41:09', 24, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(46, NULL, NULL, 1, 'INV17629624475701', '2025-11-12 20:47:27', '39', 39, 15000.00, 0.00, 0.00, 0.00, 0, 15000.00, 'bank', '2025-11-12 15:47:27', 24, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(47, NULL, NULL, 1, 'INV17631051056390', '2025-11-14 12:25:05', '14', 14, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2025-11-14 07:25:05', 24, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(48, NULL, NULL, 1, 'INV17631051575652', '2025-11-14 12:25:57', '14', 14, 2000.00, 0.00, 0.00, 0.00, 0, 2000.00, 'bank', '2025-11-14 07:25:57', 24, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(49, NULL, NULL, 1, 'INV17631933195038', '2025-11-15 12:55:19', '20', 20, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2025-11-15 07:55:19', 24, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(50, NULL, NULL, 1, 'INV17632252261282', '2025-11-15 21:47:06', '58', 58, 6000.00, 0.00, 0.00, 0.00, 0, 6000.00, 'bank', '2025-11-15 16:47:06', 24, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(51, NULL, NULL, 1, 'INV17632755961501', '2025-11-16 11:46:36', 'MFC', 59, 20000.00, 0.00, 0.00, 0.00, 0, 20000.00, 'bank', '2025-11-16 06:46:36', 24, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(52, NULL, NULL, 1, 'INV17633892232033', '2025-11-17 19:20:23', '60', 60, 9500.00, 0.00, 0.00, 0.00, 0, 9500.00, 'bank', '2025-11-17 14:20:23', 25, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(53, NULL, NULL, 1, 'INV17634595809644', '2025-11-18 14:53:00', '62', 62, 7000.00, 0.00, 0.00, 0.00, 0, 7000.00, 'bank', '2025-11-18 09:53:00', 25, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(54, NULL, NULL, 1, 'INV17634596836736', '2025-11-18 14:54:43', '15', 15, 3000.00, 0.00, 0.00, 0.00, 0, 3000.00, 'bank', '2025-11-18 09:54:43', 25, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(55, NULL, NULL, 1, 'INV17634603886371', '2025-11-18 15:06:28', '61', 61, 15000.00, 0.00, 0.00, 0.00, 0, 15000.00, 'bank', '2025-11-18 10:06:28', 25, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(56, NULL, NULL, 1, 'INV17635610052335', '2025-11-19 19:03:25', '64', 64, 30000.00, 0.00, 0.00, 0.00, 0, 30000.00, 'bank', '2025-11-19 14:03:25', 25, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(57, NULL, NULL, 1, 'INV17636494761372', '2025-11-20 19:37:56', '65', 65, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2025-11-20 14:37:56', 25, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(58, NULL, NULL, 1, 'INV17637976603771', '2025-11-22 12:47:40', NULL, 66, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2025-11-22 07:47:40', 25, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(59, NULL, NULL, 1, 'INV17638794893314', '2025-11-23 11:31:29', NULL, 23, 20000.00, 0.00, 0.00, 0.00, 0, 20000.00, 'bank', '2025-11-23 06:31:29', 25, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(60, NULL, NULL, 1, 'INV17638795979943', '2025-11-23 11:33:17', NULL, 63, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2025-11-23 06:33:17', 25, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(61, NULL, NULL, 1, 'INV17644754461533', '2025-11-30 09:04:06', NULL, 67, 5000.00, 0.00, 0.00, 0.00, 0, 5000.00, 'bank', '2025-11-30 04:04:06', 25, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(62, NULL, NULL, 1, 'INV17647371852115', '2025-12-03 09:46:25', NULL, 33, 20000.00, 0.00, 0.00, 0.00, 0, 20000.00, 'bank', '2025-12-03 04:46:25', 26, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(63, NULL, NULL, 1, 'INV17647376371002', '2025-12-03 09:53:57', NULL, 31, 14000.00, 0.00, 0.00, 0.00, 0, 14000.00, 'bank', '2025-12-03 04:53:57', 26, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(64, NULL, NULL, 1, 'INV17647377031377', '2025-12-03 09:55:03', NULL, 24, 500.00, 0.00, 0.00, 0.00, 0, 500.00, 'bank', '2025-12-03 04:55:03', 26, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(65, NULL, NULL, 1, 'INV17647815271413', '2025-12-03 22:05:27', NULL, 19, 5000.00, 0.00, 0.00, 0.00, 0, 5000.00, 'bank', '2025-12-03 17:05:27', 26, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(66, NULL, NULL, 1, 'INV17649378649806', '2025-12-05 17:31:04', NULL, 32, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2025-12-05 12:31:04', 27, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(67, NULL, NULL, 1, 'INV17649485539805', '2025-12-05 20:29:13', NULL, 37, 80000.00, 0.00, 0.00, 0.00, 0, 80000.00, 'cash', '2025-12-05 15:29:13', 27, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(68, NULL, NULL, 1, 'INV17651778671476', '2025-12-08 12:11:07', NULL, 69, 25000.00, 0.00, 0.00, 0.00, 0, 25000.00, 'credit', '2025-12-08 07:11:07', 28, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(69, NULL, NULL, 1, 'INV17651790734643', '2025-12-08 12:31:13', NULL, 53, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2025-12-08 07:31:13', 28, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(70, NULL, NULL, 1, 'INV17652725685188', '2025-12-09 14:29:28', NULL, 31, 7000.00, 0.00, 0.00, 0.00, 0, 7000.00, 'bank', '2025-12-09 09:29:28', 29, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(71, NULL, NULL, 1, 'INV17652727888018', '2025-12-09 14:33:08', NULL, 70, 8000.00, 0.00, 0.00, 0.00, 0, 8000.00, 'bank', '2025-12-09 09:33:08', 29, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(72, NULL, NULL, 1, 'INV17652900229091', '2025-12-09 19:20:22', NULL, 71, 15000.00, 0.00, 0.00, 0.00, 0, 15000.00, 'bank', '2025-12-09 14:20:22', 29, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(73, NULL, NULL, 1, 'INV17652941589656', '2025-12-09 20:29:18', NULL, 39, 3000.00, 0.00, 0.00, 0.00, 0, 3000.00, 'bank', '2025-12-09 15:29:18', 22, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(74, NULL, NULL, 1, 'INV17652954081331', '2025-12-09 20:50:08', NULL, 38, 2500.00, 0.00, 0.00, 0.00, 0, 2500.00, 'bank', '2025-12-09 15:50:08', 29, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(75, NULL, NULL, 1, 'INV17653760261834', '2025-12-10 19:13:46', NULL, 60, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2025-12-10 14:13:46', 29, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(76, NULL, NULL, 1, 'INV17653761018901', '2025-12-10 19:15:01', NULL, 62, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2025-12-10 14:15:01', 29, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(77, NULL, NULL, 1, 'INV17653761754938', '2025-12-10 19:16:15', NULL, 14, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2025-12-10 14:16:15', 29, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(78, NULL, NULL, 1, 'INV17654740178953', '2025-12-11 22:26:57', NULL, 34, 35000.00, 0.00, 0.00, 0.00, 0, 35000.00, 'bank', '2025-12-11 17:26:57', 29, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(79, NULL, NULL, 1, 'INV17656087631432', '2025-12-13 11:52:43', NULL, 20, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2025-12-13 06:52:43', 30, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(80, NULL, NULL, 1, 'INV17656343416273', '2025-12-13 18:59:01', NULL, 20, 3000.00, 0.00, 0.00, 0.00, 0, 3000.00, 'bank', '2025-12-13 13:59:01', 30, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(81, NULL, NULL, 1, 'INV17659776104401', '2025-12-17 18:20:10', NULL, 23, 20000.00, 0.00, 0.00, 0.00, 0, 20000.00, 'bank', '2025-12-17 13:20:10', 30, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(82, NULL, NULL, 1, 'INV17659777165626', '2025-12-17 18:21:56', NULL, 50, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2025-12-17 13:21:56', 30, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(83, NULL, NULL, 1, 'INV17659777427925', '2025-12-17 18:22:22', NULL, NULL, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2025-12-17 13:22:22', 30, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(84, NULL, 1, 1, 'INV17659909701573', '2025-12-17 22:02:50', NULL, 59, 1250.00, 0.00, 0.00, 0.00, 0, 1250.00, 'bank', '2025-12-17 17:02:50', 30, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(85, NULL, 1, 1, 'INV17660564509194', '2025-12-18 16:14:10', NULL, 71, 15000.00, 0.00, 0.00, 0.00, 0, 15000.00, 'bank', '2025-12-18 11:14:10', 31, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(86, NULL, 1, 1, 'INV17660567559183', '2025-12-18 16:19:15', NULL, 72, 9000.00, 0.00, 1000.00, 0.00, 0, 9000.00, 'bank', '2025-12-18 11:19:15', 31, 0, 0, NULL, NULL, '', 'fixed', 1000.00, 0.00, 0.00, NULL, NULL, NULL),
(87, NULL, 1, 1, 'INV17660717513273', '2025-12-18 20:29:11', NULL, 39, 15000.00, 0.00, 0.00, 0.00, 0, 15000.00, 'bank', '2025-12-18 15:29:11', 31, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(88, NULL, 1, 1, 'INV17661542804236', '2025-12-19 19:24:40', NULL, 34, 92000.00, 0.00, 28000.00, 0.00, 0, 92000.00, 'bank', '2025-12-19 14:24:40', 32, 0, 0, NULL, NULL, '', 'fixed', 28000.00, 0.00, 0.00, NULL, NULL, NULL),
(89, NULL, 1, 1, 'INV17662454457747', '2025-12-20 20:44:05', NULL, 58, 2000.00, 0.00, 0.00, 0.00, 0, 2000.00, 'bank', '2025-12-20 15:44:05', 32, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(90, NULL, 1, 1, 'INV17662455428575', '2025-12-20 20:45:42', NULL, 60, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2025-12-20 15:45:42', 32, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(91, NULL, 1, 1, 'INV17664057669390', '2025-12-22 17:16:06', NULL, 15, 3000.00, 0.00, 0.00, 0.00, 0, 3000.00, 'bank', '2025-12-22 12:16:06', 33, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(92, NULL, 1, 1, 'INV17664938566392', '2025-12-23 17:44:16', NULL, 73, 2000.00, 0.00, 0.00, 0.00, 0, 2000.00, 'bank', '2025-12-23 12:44:16', 33, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(93, NULL, 1, 1, 'INV17664939551505', '2025-12-23 17:45:55', NULL, 66, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2025-12-23 12:45:55', 33, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(94, NULL, 1, 1, 'INV17666513379729', '2025-12-25 13:28:57', NULL, 70, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2025-12-25 08:28:57', 33, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(95, NULL, 1, 1, 'INV17667476133333', '2025-12-26 16:13:33', NULL, 36, 6000.00, 0.00, 0.00, 0.00, 0, 6000.00, 'bank', '2025-12-26 11:13:33', 33, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(96, NULL, 1, 1, 'INV17671585201440', '2025-12-31 10:22:00', NULL, 33, 20000.00, 0.00, 0.00, 0.00, 0, 20000.00, 'bank', '2025-12-31 05:22:00', 34, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(97, NULL, 1, 1, 'INV17671924828393', '2025-12-31 19:48:02', NULL, 75, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2025-12-31 14:48:02', 34, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(98, NULL, 1, 1, 'INV17673376003394', '2026-01-02 12:06:40', NULL, 73, 3000.00, 0.00, 0.00, 0.00, 0, 3000.00, 'bank', '2026-01-02 07:06:40', 35, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(99, NULL, 1, 1, 'INV17673718346713', '2026-01-02 21:37:14', NULL, 32, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2026-01-02 16:37:14', 35, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(100, NULL, 1, 1, 'INV17674444126359', '2026-01-03 17:46:52', NULL, 23, 20000.00, 0.00, 0.00, 0.00, 0, 20000.00, 'bank', '2026-01-03 12:46:52', 35, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(101, NULL, 1, 1, 'INV17675982286880', '2026-01-05 12:30:28', NULL, 73, 9300.00, 0.00, 700.00, 0.00, 0, 9300.00, 'bank', '2026-01-05 07:30:28', 35, 0, 0, NULL, NULL, '', 'fixed', 700.00, 0.00, 0.00, NULL, NULL, NULL),
(102, NULL, 1, 1, 'INV17676119654589', '2026-01-05 16:19:25', NULL, 70, 8000.00, 0.00, 0.00, 0.00, 0, 8000.00, 'bank', '2026-01-05 11:19:25', 35, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(103, NULL, 1, 1, 'INV17676120619434', '2026-01-05 16:21:01', NULL, 14, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2026-01-05 11:21:01', 35, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(104, NULL, 1, 1, 'INV17676270894019', '2026-01-05 20:31:29', NULL, 41, 20000.00, 0.00, 0.00, 0.00, 0, 20000.00, 'bank', '2026-01-05 15:31:29', 35, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(105, NULL, 1, 1, 'INV17676271606199', '2026-01-05 20:32:40', NULL, 19, 5000.00, 0.00, 0.00, 0.00, 0, 5000.00, 'bank', '2026-01-05 15:32:40', 35, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(106, NULL, 1, 1, 'INV17677704902884', '2026-01-07 12:21:30', NULL, 28, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2026-01-07 07:21:30', 35, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(107, NULL, 1, 1, 'INV17678578601259', '2026-01-08 12:37:40', NULL, 31, 7000.00, 0.00, 0.00, 0.00, 0, 7000.00, 'bank', '2026-01-08 07:37:40', 35, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(108, NULL, 1, 1, 'INV17678579735347', '2026-01-08 12:39:33', NULL, 38, 2500.00, 0.00, 0.00, 0.00, 0, 2500.00, 'bank', '2026-01-08 07:39:33', 35, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(109, NULL, 1, 1, 'INV17678697962616', '2026-01-08 15:56:36', NULL, 77, 18000.00, 0.00, 0.00, 0.00, 0, 18000.00, 'bank', '2026-01-08 10:56:36', 35, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(110, NULL, 1, 1, 'INV17679709129029', '2026-01-09 20:01:52', NULL, 37, 80000.00, 0.00, 0.00, 0.00, 0, 80000.00, 'cash', '2026-01-09 15:01:52', 36, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(111, NULL, 1, 1, 'INV17679709981604', '2026-01-09 20:03:18', NULL, 38, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2026-01-09 15:03:18', 36, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(112, NULL, 1, 1, 'INV17680360422758', '2026-01-10 14:07:22', NULL, 52, 15000.00, 0.00, 0.00, 0.00, 0, 15000.00, 'bank', '2026-01-10 09:07:22', 37, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(113, NULL, 1, 1, 'INV17680361779400', '2026-01-10 14:09:37', NULL, 52, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2026-01-10 09:09:37', 37, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(114, NULL, 1, 1, 'INV17682075454853', '2026-01-12 13:45:45', NULL, 50, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2026-01-12 08:45:45', 37, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(115, NULL, 1, 1, 'INV17682197004193', '2026-01-12 17:08:20', NULL, 76, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2026-01-12 12:08:20', 37, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(116, NULL, 1, 1, 'INV17682198125394', '2026-01-12 17:10:12', NULL, 15, 3000.00, 0.00, 0.00, 0.00, 0, 3000.00, 'bank', '2026-01-12 12:10:12', 37, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(117, NULL, 1, 1, 'INV17682198989270', '2026-01-12 17:11:38', NULL, 78, 25000.00, 0.00, 0.00, 0.00, 0, 25000.00, 'bank', '2026-01-12 12:11:38', 37, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(118, NULL, 1, 1, 'INV17682200195932', '2026-01-12 17:13:39', NULL, 17, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2026-01-12 12:13:39', 37, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(119, NULL, 1, 1, 'INV17682271112561', '2026-01-12 19:11:51', NULL, 34, 35000.00, 0.00, 0.00, 0.00, 0, 35000.00, 'bank', '2026-01-12 14:11:51', 37, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(120, NULL, 1, 1, 'INV17682272291210', '2026-01-12 19:13:49', NULL, 53, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2026-01-12 14:13:49', 37, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(121, NULL, 1, 1, 'INV17682274048255', '2026-01-12 19:16:44', NULL, 8, 12000.00, 0.00, 0.00, 0.00, 0, 12000.00, 'bank', '2026-01-12 14:16:44', 37, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(122, NULL, 1, 1, 'INV17684807539436', '2026-01-15 17:39:13', NULL, 59, 1250.00, 0.00, 0.00, 0.00, 0, 1250.00, 'bank', '2026-01-15 12:39:13', 38, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(123, NULL, 1, 1, 'INV17684810886846', '2026-01-15 17:44:48', NULL, 20, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2026-01-15 12:44:48', 38, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(124, NULL, 1, 1, 'INV17685612759936', '2026-01-16 16:01:15', NULL, 80, 3000.00, 0.00, 0.00, 0.00, 0, 3000.00, 'bank', '2026-01-16 11:01:15', 38, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(125, NULL, 1, 1, 'INV17688097764658', '2026-01-19 13:02:56', NULL, 79, 30000.00, 0.00, 0.00, 0.00, 0, 30000.00, 'bank', '2026-01-19 08:02:56', 38, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(126, NULL, 1, 1, 'INV17689295458572', '2026-01-20 22:19:05', NULL, 81, 30000.00, 0.00, 0.00, 0.00, 0, 30000.00, 'credit', '2026-01-20 17:19:05', 38, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(127, NULL, 1, 1, 'INV17689306161558', '2026-01-20 22:36:56', NULL, 58, 2000.00, 0.00, 0.00, 0.00, 0, 2000.00, 'bank', '2026-01-20 17:36:56', 38, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(128, NULL, 1, 1, 'INV17689312515478', '2026-01-20 22:47:31', NULL, 81, 9000.00, 0.00, 0.00, 0.00, 0, 9000.00, 'bank', '2026-01-20 17:47:31', 38, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(129, NULL, 1, 1, 'INV17689313993613', '2026-01-20 22:49:59', NULL, 60, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2026-01-20 17:49:59', 38, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(130, NULL, 1, 1, 'INV17689315406835', '2026-01-20 22:52:20', NULL, 60, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2026-01-20 17:52:20', 38, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(131, NULL, 1, 1, 'INV17690021559731', '2026-01-21 18:29:15', NULL, 39, 15000.00, 0.00, 0.00, 0.00, 0, 15000.00, 'bank', '2026-01-21 13:29:15', 39, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(132, NULL, 1, 1, 'INV17690049565341', '2026-01-21 19:15:56', NULL, 82, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2026-01-21 14:15:56', 39, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(133, NULL, 1, 1, 'INV17695214301834', '2026-01-27 18:43:50', NULL, 84, 20000.00, 0.00, 0.00, 0.00, 0, 20000.00, 'bank', '2026-01-27 13:43:50', 39, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(134, NULL, 1, 1, 'INV17697075945698', '2026-01-29 22:26:34', NULL, 33, 20000.00, 0.00, 0.00, 0.00, 0, 20000.00, 'bank', '2026-01-29 17:26:34', 40, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(135, NULL, 1, 1, 'INV17700181953665', '2026-02-02 12:43:15', NULL, 66, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2026-02-02 07:43:15', 41, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(136, NULL, 1, 1, 'INV17700183404274', '2026-02-02 12:45:40', NULL, 24, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2026-02-02 07:45:40', 41, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(137, NULL, 1, 1, 'INV17702044438316', '2026-02-04 16:27:23', NULL, 70, 7250.00, 0.00, 0.00, 0.00, 0, 7250.00, 'bank', '2026-02-04 11:27:23', 41, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(138, NULL, 1, 1, 'INV17702049835971', '2026-02-04 16:36:23', NULL, 85, 750.00, 0.00, 0.00, 0.00, 0, 750.00, 'bank', '2026-02-04 11:36:23', 41, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(139, NULL, 1, 1, 'INV17703581772597', '2026-02-06 11:09:37', NULL, 32, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2026-02-06 06:09:37', 41, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(140, NULL, 1, 1, 'INV17703582827355', '2026-02-06 11:11:22', NULL, 14, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2026-02-06 06:11:22', 41, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(141, NULL, 1, 1, 'INV17703585425660', '2026-02-06 11:15:42', NULL, 70, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2026-02-06 06:15:42', 41, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(142, NULL, 1, 1, 'INV17703972747197', '2026-02-06 22:01:14', NULL, 86, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2026-02-06 17:01:14', 22, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(143, NULL, 1, 1, 'INV17704709459167', '2026-02-07 18:29:05', NULL, 19, 5000.00, 0.00, 0.00, 0.00, 0, 5000.00, 'bank', '2026-02-07 13:29:05', 41, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(144, NULL, 1, 1, 'INV17705648277370', '2026-02-08 20:33:47', NULL, 31, 7000.00, 0.00, 0.00, 0.00, 0, 7000.00, 'bank', '2026-02-08 15:33:47', 41, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(145, NULL, 1, 1, 'INV17705651036131', '2026-02-08 20:38:23', NULL, 81, 4000.00, 0.00, 0.00, 0.00, 0, 4000.00, 'bank', '2026-02-08 15:38:23', 41, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(146, NULL, 1, 1, 'INV17706421163270', '2026-02-09 18:01:56', NULL, 37, 80000.00, 0.00, 0.00, 0.00, 0, 80000.00, 'cash', '2026-02-09 13:01:56', 42, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(147, NULL, 1, 1, 'INV17706421929090', '2026-02-09 18:03:12', NULL, 34, 35000.00, 0.00, 0.00, 0.00, 0, 35000.00, 'bank', '2026-02-09 13:03:12', 42, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(148, NULL, 1, 1, 'INV17706422716279', '2026-02-09 18:04:31', NULL, 17, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2026-02-09 13:04:31', 42, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(149, NULL, 1, 1, 'INV17706423416428', '2026-02-09 18:05:41', NULL, 28, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2026-02-09 13:05:41', 42, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(150, NULL, 1, 1, 'INV17707284905091', '2026-02-10 18:01:30', NULL, 38, 2500.00, 0.00, 0.00, 0.00, 0, 2500.00, 'bank', '2026-02-10 13:01:30', 42, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(151, NULL, 1, 1, 'INV17707286094076', '2026-02-10 18:03:29', NULL, 87, 30000.00, 0.00, 0.00, 0.00, 0, 30000.00, 'bank', '2026-02-10 13:03:29', 42, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(152, NULL, 1, 1, 'INV17707952243031', '2026-02-11 12:33:44', NULL, 83, 20000.00, 0.00, 0.00, 0.00, 0, 20000.00, 'bank', '2026-02-11 07:33:44', 42, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(153, NULL, 1, 1, 'INV17708249516901', '2026-02-11 20:49:11', NULL, 20, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2026-02-11 15:49:11', 42, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(154, NULL, 1, 1, 'INV17712317876407', '2026-02-16 13:49:47', NULL, 23, 20000.00, 0.00, 0.00, 0.00, 0, 20000.00, 'bank', '2026-02-16 08:49:47', 43, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(155, NULL, 1, 1, 'INV17712319698008', '2026-02-16 13:52:49', NULL, 88, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2026-02-16 08:52:49', 43, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(156, NULL, 1, 1, 'INV17712320768555', '2026-02-16 13:54:36', NULL, 63, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2026-02-16 08:54:36', 43, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(157, NULL, 1, 1, 'INV17713279941059', '2026-02-17 16:33:14', NULL, 59, 1250.00, 0.00, 0.00, 0.00, 0, 1250.00, 'bank', '2026-02-17 11:33:14', 43, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(158, NULL, 1, 1, 'INV17713281602056', '2026-02-17 16:36:00', NULL, 89, 15000.00, 0.00, 0.00, 0.00, 0, 15000.00, 'bank', '2026-02-17 11:36:00', 43, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(159, NULL, 1, 1, 'INV17713284425454', '2026-02-17 16:40:42', NULL, 90, 15000.00, 0.00, 0.00, 0.00, 0, 15000.00, 'credit', '2026-02-17 11:40:42', 43, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(160, NULL, 1, 1, 'INV17716792727234', '2026-02-21 18:07:52', NULL, 61, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2026-02-21 13:07:52', 44, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(161, NULL, 1, 1, 'INV17719152884245', '2026-02-24 11:41:28', NULL, 91, 18000.00, 0.00, 0.00, 0.00, 0, 18000.00, 'bank', '2026-02-24 06:41:28', 44, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(162, NULL, 1, 1, 'INV17719981321616', '2026-02-25 10:42:12', NULL, 58, 2000.00, 0.00, 0.00, 0.00, 0, 2000.00, 'bank', '2026-02-25 05:42:12', 44, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(163, NULL, 1, 1, 'INV17719982204941', '2026-02-25 10:43:40', NULL, 62, 56000.00, 0.00, 0.00, 0.00, 0, 56000.00, 'credit', '2026-02-25 05:43:40', 44, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(164, NULL, 1, 1, 'INV17726174372336', '2026-03-04 14:43:57', NULL, 92, 30000.00, 0.00, 0.00, 0.00, 0, 30000.00, 'credit', '2026-03-04 09:43:57', 46, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(165, NULL, 1, 1, 'INV17726975732520', '2026-03-05 12:59:33', NULL, 70, 8000.00, 0.00, 0.00, 0.00, 0, 8000.00, 'bank', '2026-03-05 07:59:33', 46, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(166, NULL, 1, 1, 'INV17727781753372', '2026-03-06 11:22:55', NULL, 14, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2026-03-06 06:22:55', 46, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(167, NULL, 1, 1, 'INV17727782592160', '2026-03-06 11:24:19', NULL, 32, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2026-03-06 06:24:19', 46, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(168, NULL, 1, 1, 'INV17727783237213', '2026-03-06 11:25:23', NULL, 19, 5000.00, 0.00, 0.00, 0.00, 0, 5000.00, 'bank', '2026-03-06 06:25:23', 46, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(169, NULL, 1, 1, 'INV-000174', '2026-03-09 20:20:52', NULL, 37, 80000.00, 0.00, 0.00, 0.00, 0, 80000.00, 'cash', '2026-03-09 15:20:52', 47, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(170, NULL, 1, 1, 'INV-000175', '2026-03-09 20:22:22', NULL, 38, 2500.00, 0.00, 0.00, 0.00, 0, 2500.00, 'bank', '2026-03-09 15:22:22', 47, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(171, NULL, 1, 1, 'INV-000176', '2026-03-09 20:23:31', NULL, 61, 6000.00, 0.00, 0.00, 0.00, 0, 6000.00, 'bank', '2026-03-09 15:23:31', 47, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(172, NULL, 1, 1, 'INV-000178', '2026-03-10 19:52:43', NULL, 81, 4000.00, 0.00, 0.00, 0.00, 0, 4000.00, 'bank', '2026-03-10 14:52:43', 47, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(173, NULL, 1, 1, 'INV-000180', '2026-03-10 20:33:59', NULL, 31, 7000.00, 0.00, 0.00, 0.00, 0, 7000.00, 'bank', '2026-03-10 15:33:59', 47, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(174, NULL, 1, 1, 'INV-000185', '2026-03-12 16:27:02', NULL, 93, 7000.00, 0.00, 0.00, 0.00, 0, 7000.00, 'bank', '2026-03-12 11:27:02', 48, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(175, NULL, 1, 1, 'INV-000187', '2026-03-13 19:40:43', NULL, 15, 6000.00, 0.00, 0.00, 0.00, 0, 6000.00, 'bank', '2026-03-13 14:40:43', 48, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(176, NULL, 1, 1, 'INV-000189', '2026-03-13 22:21:26', NULL, 34, 35000.00, 0.00, 0.00, 0.00, 0, 35000.00, 'bank', '2026-03-13 17:21:26', 48, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(177, NULL, 1, 1, 'INV-000193', '2026-03-14 22:41:12', NULL, 23, 20000.00, 0.00, 0.00, 0.00, 0, 20000.00, 'bank', '2026-03-14 17:41:12', 49, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(178, NULL, 1, 1, 'INV-000194', '2026-03-14 22:46:16', NULL, 59, 1250.00, 0.00, 0.00, 0.00, 0, 1250.00, 'bank', '2026-03-14 17:46:16', 49, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(179, NULL, 1, 1, 'INV-000197', '2026-03-16 16:15:13', NULL, 88, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2026-03-16 11:15:13', 50, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(180, NULL, 1, 1, 'INV-000199', '2026-03-18 20:57:53', NULL, 36, 12000.00, 0.00, 0.00, 0.00, 0, 12000.00, 'bank', '2026-03-18 15:57:53', 50, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(181, NULL, 1, 1, 'INV-000201', '2026-03-22 19:26:28', NULL, 94, 15000.00, 0.00, 0.00, 0.00, 0, 15000.00, 'bank', '2026-03-22 14:26:28', 50, 0, 0, NULL, NULL, '', 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(182, NULL, 1, 1, 'INV-000206', '2026-03-26 17:35:40', NULL, 20, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2026-03-26 12:35:40', 50, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(183, NULL, 1, 1, 'INV-000208', '2026-03-27 20:48:33', NULL, 28, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2026-03-27 15:48:33', 50, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(184, NULL, 1, 1, 'INV-000215', '2026-04-03 11:50:22', NULL, 32, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2026-04-03 06:50:22', 52, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(185, NULL, 1, 1, 'INV-000216', '2026-04-03 11:53:21', NULL, 14, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2026-04-03 06:53:21', 52, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(186, NULL, 1, 1, 'INV-000218', '2026-04-03 15:51:18', NULL, 95, 15000.00, 0.00, 0.00, 0.00, 0, 15000.00, 'bank', '2026-04-03 10:51:18', 52, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(187, NULL, 1, 1, 'INV-000220', '2026-04-04 19:20:49', NULL, 19, 5000.00, 0.00, 0.00, 0.00, 0, 5000.00, 'bank', '2026-04-04 14:20:49', 52, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(188, NULL, 1, 1, 'INV-000222', '2026-04-06 17:50:00', NULL, 37, 80000.00, 0.00, 0.00, 0.00, 0, 80000.00, 'cash', '2026-04-06 12:50:00', 52, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(189, NULL, 1, 1, 'INV-000224', '2026-04-06 20:54:32', NULL, 10, 4000.00, 0.00, 0.00, 0.00, 0, 4000.00, 'bank', '2026-04-06 15:54:32', 52, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(190, NULL, 1, 1, 'INV-000225', '2026-04-06 20:58:18', NULL, 70, 8000.00, 0.00, 0.00, 0.00, 0, 8000.00, 'bank', '2026-04-06 15:58:18', 52, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(191, NULL, 1, 1, 'INV-000230', '2026-04-07 16:41:43', NULL, 96, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2026-04-07 11:41:43', 53, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(192, NULL, 1, 1, 'INV-000232', '2026-04-07 19:14:39', NULL, 81, 4000.00, 0.00, 0.00, 0.00, 0, 4000.00, 'bank', '2026-04-07 14:14:39', 53, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(193, NULL, 1, 1, 'INV-000234', '2026-04-07 21:01:33', NULL, 23, 20000.00, 0.00, 0.00, 0.00, 0, 20000.00, 'bank', '2026-04-07 16:01:33', 53, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(194, NULL, 1, 1, 'INV-000236', '2026-04-09 17:40:29', NULL, 31, 7000.00, 0.00, 0.00, 0.00, 0, 7000.00, 'bank', '2026-04-09 12:40:29', 53, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, 3, NULL, NULL),
(195, NULL, 1, 1, 'INV-000237', '2026-04-09 17:42:29', NULL, 58, 4000.00, 0.00, 0.00, 0.00, 0, 4000.00, 'bank', '2026-04-09 12:42:29', 53, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(196, NULL, 1, 1, 'INV-000239', '2026-04-09 17:48:25', NULL, 78, 10000.00, 0.00, 20000.00, 0.00, 0, 10000.00, 'bank', '2026-04-09 12:48:25', 53, 0, 0, NULL, NULL, NULL, 'fixed', 20000.00, 0.00, 0.00, NULL, NULL, NULL),
(197, NULL, 1, 1, 'INV-000241', '2026-04-11 11:19:42', NULL, 38, 2500.00, 0.00, 0.00, 0.00, 0, 2500.00, 'bank', '2026-04-11 06:19:42', 53, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(198, NULL, 1, 1, 'INV-000243', '2026-04-13 19:09:41', NULL, 15, 3000.00, 0.00, 0.00, 0.00, 0, 3000.00, 'bank', '2026-04-13 14:09:41', 53, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(199, NULL, 1, 1, 'INV-000244', '2026-04-13 19:11:47', NULL, 59, 1250.00, 0.00, 0.00, 0.00, 0, 1250.00, 'bank', '2026-04-13 14:11:47', 53, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(200, NULL, 1, 1, 'INV-000245', '2026-04-13 19:14:37', NULL, 28, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2026-04-13 14:14:37', 53, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(201, NULL, 1, 1, 'INV-000247', '2026-04-14 16:51:29', NULL, 62, 7000.00, 0.00, 0.00, 0.00, 0, 7000.00, 'bank', '2026-04-14 11:51:29', 53, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(202, NULL, 1, 1, 'INV-000248', '2026-04-14 16:53:08', NULL, 63, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2026-04-14 11:53:08', 53, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(203, NULL, 1, 1, 'INV-000250', '2026-04-14 19:05:30', NULL, 98, 15000.00, 0.00, 0.00, 0.00, 0, 15000.00, 'bank', '2026-04-14 14:05:30', 53, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(204, NULL, 1, 1, 'INV-000252', '2026-04-15 21:42:07', NULL, 34, 35000.00, 0.00, 0.00, 0.00, 0, 35000.00, 'bank', '2026-04-15 16:42:07', 53, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(205, NULL, 1, 1, 'INV-000253', '2026-04-15 21:44:29', NULL, 88, 1000.00, 0.00, 0.00, 0.00, 0, 1000.00, 'bank', '2026-04-15 16:44:29', 53, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(206, NULL, 1, 1, 'INV-000258', '2026-04-17 19:50:54', NULL, 20, 3000.00, 0.00, 0.00, 0.00, 0, 3000.00, 'bank', '2026-04-17 14:50:54', 54, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(207, NULL, 1, 1, 'INV-000259', '2026-04-17 19:52:26', NULL, 20, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2026-04-17 14:52:26', 54, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(208, NULL, 1, 1, 'INV-000262', '2026-04-18 15:24:05', NULL, 99, 80000.00, 0.00, 0.00, 0.00, 0, 80000.00, 'credit', '2026-04-18 10:24:05', 55, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(209, NULL, 1, 1, 'INV-000264', '2026-04-18 15:35:34', NULL, 100, 500.00, 0.00, 0.00, 0.00, 0, 500.00, 'bank', '2026-04-18 10:35:34', 55, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(210, NULL, 1, 1, 'INV-000269', '2026-04-20 14:57:22', NULL, 26, 5000.00, 0.00, 0.00, 0.00, 0, 5000.00, 'bank', '2026-04-20 09:57:22', 56, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(211, NULL, 1, 1, 'INV-000271', '2026-04-22 12:00:39', NULL, 101, 5000.00, 0.00, 0.00, 0.00, 0, 5000.00, 'bank', '2026-04-22 07:00:39', 56, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(212, NULL, 1, 1, 'INV-000273', '2026-04-22 19:20:33', NULL, 102, 12000.00, 0.00, 0.00, 0.00, 0, 12000.00, 'bank', '2026-04-22 14:20:33', 56, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(213, NULL, 1, 1, 'INV-000277', '2026-04-23 13:47:29', NULL, 103, 15000.00, 0.00, 0.00, 0.00, 0, 15000.00, 'bank', '2026-04-23 08:47:29', 57, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, 4, NULL, NULL),
(214, NULL, 1, 1, 'INV-000282', '2026-04-27 18:55:31', NULL, 33, 20000.00, 0.00, 0.00, 0.00, 0, 20000.00, 'bank', '2026-04-27 13:55:31', 57, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(215, NULL, 1, 1, 'INV-000283', '2026-04-27 18:56:37', NULL, 33, 20000.00, 0.00, 0.00, 0.00, 0, 20000.00, 'bank', '2026-04-27 13:56:37', 57, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(216, NULL, 1, 1, 'INV-000288', '2026-04-27 19:17:23', NULL, 104, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2026-04-27 14:17:23', 57, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, 4, NULL, NULL),
(217, NULL, 1, 1, 'INV-000299', '2026-05-01 17:17:55', NULL, 105, 4000.00, 0.00, 0.00, 0.00, 0, 4000.00, 'bank', '2026-05-01 12:17:55', 59, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(218, NULL, 1, 1, 'INV-000301', '2026-05-03 14:22:28', NULL, 10, 4000.00, 0.00, 0.00, 0.00, 0, 4000.00, 'bank', '2026-05-03 09:22:28', 59, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(219, NULL, 1, 1, 'INV-000302', '2026-05-03 14:29:48', NULL, 32, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2026-05-03 09:29:48', 59, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(220, NULL, 1, 1, 'INV-000304', '2026-05-03 19:41:16', NULL, 95, 10000.00, 0.00, 0.00, 0.00, 0, 10000.00, 'bank', '2026-05-03 14:41:16', 59, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(221, NULL, 1, 1, 'INV-000307', '2026-05-04 19:37:15', NULL, 19, 5000.00, 0.00, 0.00, 0.00, 0, 5000.00, 'bank', '2026-05-04 14:37:15', 60, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(222, NULL, 1, 1, 'INV-000308', '2026-05-04 19:39:02', NULL, 70, 8000.00, 0.00, 0.00, 0.00, 0, 8000.00, 'bank', '2026-05-04 14:39:02', 60, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(223, NULL, 1, 1, 'INV-000313', '2026-05-05 16:30:45', NULL, 23, 20000.00, 0.00, 0.00, 0.00, 0, 20000.00, 'bank', '2026-05-05 11:30:45', 61, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(224, NULL, 1, 1, 'INV-000314', '2026-05-05 16:32:58', NULL, 81, 4000.00, 0.00, 0.00, 0.00, 0, 4000.00, 'bank', '2026-05-05 11:32:58', 61, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL),
(225, NULL, 1, 1, 'INV-000315', '2026-05-05 16:38:21', NULL, 28, 1500.00, 0.00, 0.00, 0.00, 0, 1500.00, 'bank', '2026-05-05 11:38:21', 61, 0, 0, NULL, NULL, NULL, 'percent', 0.00, 0.00, 0.00, NULL, NULL, NULL);

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

--
-- Table structure for table `sale_items`
--

CREATE TABLE IF NOT EXISTS `sale_items` (
  `id` int NOT NULL AUTO_INCREMENT,
  `store_id` int DEFAULT NULL,
  `sale_id` int NOT NULL,
  `item_id` int NOT NULL,
  `item_name` varchar(100) NOT NULL,
  `quantity` decimal(12,3) NOT NULL,
  `unit_price` decimal(10,2) NOT NULL,
  `original_unit_price` decimal(10,2) DEFAULT NULL,
  `total_price` decimal(10,2) NOT NULL,
  `discount_type` enum('none','percent','fixed') NOT NULL DEFAULT 'none',
  `discount_value` decimal(10,2) NOT NULL DEFAULT '0.00',
  `discount_per_unit` decimal(10,2) NOT NULL DEFAULT '0.00',
  `discount_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_rate` decimal(5,2) DEFAULT '0.00',
  `remarks` text,
  `is_deal` tinyint(1) DEFAULT '0' COMMENT '1 if this item is a deal',
  `deal_selections` text COMMENT 'JSON array of selected deal items',
  PRIMARY KEY (`id`),
  KEY `sale_id` (`sale_id`),
  KEY `item_id` (`item_id`),
  KEY `idx_sale_items_store_id` (`store_id`),
  KEY `idx_is_deal` (`is_deal`),
  KEY `idx_sale_items_item_sale` (`item_id`,`sale_id`),
  KEY `idx_sale_items_sale_id` (`sale_id`),
  KEY `idx_sale_items_item_id` (`item_id`)
) ENGINE=MyISAM AUTO_INCREMENT=248 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `sale_items`
--

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
(1, NULL, 1, 3, 'Annual Return with Challa...', 1.000, 20000.00, NULL, 20000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(2, NULL, 2, 3, 'Annual Return with Challa...', 1.000, 3000.00, NULL, 3000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(3, NULL, 3, 2, 'POS Services', 8.000, 10000.00, NULL, 80000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'for the month of OCT\'25', 0, NULL),
(4, NULL, 4, 2, 'POS Services', 1.000, 4500.00, NULL, 4500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'yearly package\nconcession of 6 months for the first year', 0, NULL),
(5, NULL, 5, 2, 'POS Services', 1.000, 500.00, NULL, 500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Cloud charges for the month of OCT\'25', 0, NULL),
(6, NULL, 6, 2, 'POS Services', 1.000, 5000.00, NULL, 5000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'for the month of Oct\'25', 0, NULL),
(7, NULL, 7, 34, 'LCD 22 Dell', 1.000, 11500.00, NULL, 11500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(8, NULL, 7, 8, 'Keyboard', 1.000, 800.00, NULL, 800.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(9, NULL, 7, 7, 'Mouse', 1.000, 600.00, NULL, 600.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(10, NULL, 7, 10, 'Power Cable', 2.000, 350.00, NULL, 700.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(11, NULL, 7, 9, 'VGA', 1.000, 400.00, NULL, 400.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(12, NULL, 8, 2, 'POS Services', 1.000, 1500.00, NULL, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'for the month of Oct\'25', 0, NULL),
(13, NULL, 9, 3, 'Annual Return with Challa...', 1.000, 4000.00, NULL, 4000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(14, NULL, 10, 2, 'POS Services', 2.000, 3000.00, NULL, 6000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'for the month of Sept and Oct\'25', 0, NULL),
(15, NULL, 11, 2, 'POS Services', 1.000, 1500.00, NULL, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of 0ct\'25', 0, NULL),
(16, NULL, 12, 42, 'Smart Retailo', 1.000, 25000.00, NULL, 25000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(17, NULL, 13, 1, 'ITR POS', 1.000, 16000.00, NULL, 16000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Yearly package', 0, NULL),
(18, NULL, 14, 2, 'POS Services', 1.000, 3000.00, NULL, 3000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of OCct\'25', 0, NULL),
(19, NULL, 15, 2, 'POS Services', 1.000, 10000.00, NULL, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of sept\'25', 0, NULL),
(20, NULL, 16, 2, 'POS Services', 1.000, 1000.00, NULL, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'for the month of Oct\'25', 0, NULL),
(21, NULL, 17, 2, 'POS Services', 1.000, 2500.00, NULL, 2500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Oct\'25', 0, NULL),
(22, NULL, 18, 2, 'POS Services', 1.000, 25000.00, NULL, 25000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Yearly \nOct\'25- Sept\'26', 0, NULL),
(23, NULL, 19, 2, 'POS Services', 1.000, 35000.00, NULL, 35000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Oct\'25', 0, NULL),
(24, NULL, 20, 1, 'ITR POS', 1.000, 1500.00, NULL, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Monthly Package - Oct\'25', 0, NULL),
(25, NULL, 21, 2, 'POS Services', 1.000, 15000.00, NULL, 15000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(26, NULL, 22, 38, 'Complete PC Cori5 3gen', 9.000, 28500.00, NULL, 256500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(27, NULL, 22, 17, 'A4 Printer Pantum', 1.000, 60000.00, NULL, 60000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(28, NULL, 22, 21, 'Barcode Label Printer', 1.000, 33500.00, NULL, 33500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(29, NULL, 22, 37, '2D Omni Directional Barco...', 7.000, 15000.00, NULL, 105000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(30, NULL, 22, 13, 'Cash Drawer', 5.000, 10000.00, NULL, 50000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(31, NULL, 22, 12, 'Thermal Printer USB BC96A...', 5.000, 13500.00, NULL, 67500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(32, NULL, 22, 40, 'Weight Scale', 2.000, 95000.00, NULL, 190000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(33, NULL, 22, 41, 'LCD 21', 5.000, 14500.00, NULL, 72500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(34, NULL, 22, 11, 'ITR World POS', 1.000, 111000.00, NULL, 111000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(35, NULL, 22, 43, 'Additional Terminal', 9.000, 30000.00, NULL, 270000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(36, NULL, 23, 3, 'Annual Return with Challa...', 1.000, 5000.00, NULL, 5000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(37, NULL, 24, 2, 'POS Services', 1.000, 20000.00, NULL, 20000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Oct\'25', 0, NULL),
(38, NULL, 25, 2, 'POS Services', 1.000, 20000.00, NULL, 20000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Oct\'25', 0, NULL),
(39, NULL, 26, 36, 'Thermal Printer BC-86AC U...', 1.000, 12000.00, NULL, 12000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(40, NULL, 27, 41, 'LCD 21', 9.000, 7000.00, NULL, 63000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(41, NULL, 28, 3, 'Annual Return with Challan', 1.000, 25000.00, NULL, 25000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(42, NULL, 29, 2, 'POS Services', 1.000, 1000.00, NULL, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Monthly package- Nov', 0, NULL),
(43, NULL, 30, 2, 'POS Services', 1.000, 500.00, NULL, 500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Nov cloud charges', 0, NULL),
(44, NULL, 31, 2, 'POS Services', 1.000, 1000.00, NULL, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'SLA NOV', 0, NULL),
(45, NULL, 32, 2, 'POS Services', 1.000, 1500.00, NULL, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'SLA NOV', 0, NULL),
(46, NULL, 33, 1, 'ITR POS', 1.000, 30000.00, NULL, 30000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Yearly package', 0, NULL),
(47, NULL, 34, 44, 'Ram 4gb', 1.000, 1500.00, NULL, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(48, NULL, 35, 2, 'POS Services', 1.000, 5000.00, NULL, 5000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'SLA Nov', 0, NULL),
(49, NULL, 36, 2, 'POS Services', 8.000, 10000.00, NULL, 80000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'SLA NOV', 0, NULL),
(50, NULL, 37, 2, 'POS Services', 1.000, 1000.00, NULL, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'SLA NOV', 0, NULL),
(51, NULL, 38, 2, 'POS Services', 1.000, 35000.00, NULL, 35000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'SLA NOV', 0, NULL),
(52, NULL, 39, 1, 'ITR POS', 1.000, 15000.00, NULL, 15000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Yearly package', 0, NULL),
(53, NULL, 40, 1, 'ITR POS', 1.000, 30000.00, NULL, 30000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Yearly package', 0, NULL),
(54, NULL, 41, 2, 'POS Services', 1.000, 2500.00, NULL, 2500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of NOV', 0, NULL),
(55, NULL, 42, 2, 'POS Services', 5.000, 1000.00, NULL, 5000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'NOV- MARCH', 0, NULL),
(56, NULL, 43, 35, 'License Replacement', 1.000, 1500.00, NULL, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(57, NULL, 44, 2, 'POS Services', 1.000, 1500.00, NULL, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Nov\'25', 0, NULL),
(58, NULL, 45, 38, 'Complete PC Cori5 3gen', 3.000, 28500.00, NULL, 85500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(59, NULL, 45, 34, 'LCD 22 Dell', 4.000, 14500.00, NULL, 58000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(60, NULL, 45, 7, 'Mouse', 4.000, 700.00, NULL, 2800.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(61, NULL, 45, 8, 'Keyboard', 3.000, 1000.00, NULL, 3000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(62, NULL, 45, 37, '2D Omni Directional Barcode Scanner BC-690', 3.000, 15000.00, NULL, 45000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(63, NULL, 45, 13, 'Cash Drawer', 1.000, 10000.00, NULL, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(64, NULL, 45, 12, 'Thermal Printer USB BC96AC', 1.000, 13500.00, NULL, 13500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(65, NULL, 46, 2, 'POS Services', 1.000, 15000.00, NULL, 15000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Nov', 0, NULL),
(66, NULL, 47, 2, 'POS Services', 1.000, 1000.00, NULL, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Nov\'25', 0, NULL),
(67, NULL, 48, 35, 'License Replacement', 1.000, 2000.00, NULL, 2000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(68, NULL, 49, 2, 'POS Services', 1.000, 10000.00, NULL, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Oct\'25', 0, NULL),
(69, NULL, 50, 2, 'POS Services', 3.000, 2000.00, NULL, 6000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Sept, oct and Nov', 0, NULL),
(70, NULL, 51, 1, 'ITR POS', 1.000, 10000.00, NULL, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(71, NULL, 51, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, NULL, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(72, NULL, 52, 29, 'Thermal Printer BC 87AC USB', 1.000, 9500.00, NULL, 9500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(73, NULL, 53, 42, 'Smart Retailo', 1.000, 7000.00, NULL, 7000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Harry Cosmetics', 0, NULL),
(74, NULL, 54, 2, 'POS Services', 1.000, 3000.00, NULL, 3000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Nov\'25', 0, NULL),
(75, NULL, 55, 45, 'Trade Mark Registration', 1.000, 15000.00, NULL, 15000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(76, NULL, 56, 1, 'ITR POS', 1.000, 30000.00, NULL, 30000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(77, NULL, 57, 1, 'ITR POS', 1.000, 1500.00, NULL, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Monthly Package', 0, NULL),
(78, NULL, 58, 1, 'ITR POS', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Monthly package', 0, NULL),
(79, NULL, 59, 2, 'POS Services', 1.000, 20000.00, 20000.00, 20000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Nov\'25', 0, NULL),
(80, NULL, 60, 1, 'ITR POS', 1.000, 1000.00, 1000.00, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Monthly package', 0, NULL),
(81, NULL, 61, 3, 'Annual Return with Challan', 1.000, 5000.00, 5000.00, 5000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'FBR registration', 0, NULL),
(82, NULL, 62, 2, 'POS Services', 1.000, 20000.00, 20000.00, 20000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'for the month of Nov\'25', 0, NULL),
(83, NULL, 63, 2, 'POS Services', 2.000, 7000.00, 7000.00, 14000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Oct and Nov\'25', 0, NULL),
(84, NULL, 64, 2, 'POS Services', 1.000, 500.00, 500.00, 500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Cloud Charges for Dec\'25', 0, NULL),
(85, NULL, 65, 2, 'POS Services', 1.000, 5000.00, 5000.00, 5000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(86, NULL, 66, 2, 'POS Services', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Dec\'25', 0, NULL),
(87, NULL, 67, 2, 'POS Services', 8.000, 10000.00, 10000.00, 80000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Dec\'25', 0, NULL),
(88, NULL, 68, 1, 'ITR POS', 1.000, 25000.00, 25000.00, 25000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(89, NULL, 69, 2, 'POS Services', 1.000, 1000.00, 1000.00, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(90, NULL, 70, 2, 'POS Services', 1.000, 7000.00, 7000.00, 7000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Dec\'25', 0, NULL),
(91, NULL, 71, 2, 'POS Services', 1.000, 8000.00, 8000.00, 8000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Dec\'25 (12 customers)', 0, NULL),
(92, NULL, 72, 1, 'ITR POS', 1.000, 15000.00, 15000.00, 15000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Candle Light Restaurant and Cafe', 0, NULL),
(93, NULL, 73, 47, 'Power Adapter', 1.000, 3000.00, 3000.00, 3000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(94, NULL, 74, 2, 'POS Services', 1.000, 2500.00, 2500.00, 2500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Dec\'25', 0, NULL),
(95, NULL, 75, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Dough with flow', 0, NULL),
(96, NULL, 76, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Nadeem Traders', 0, NULL),
(97, NULL, 77, 2, 'POS Services', 1.000, 1000.00, 1000.00, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Dec\'25', 0, NULL),
(98, NULL, 78, 2, 'POS Services', 1.000, 35000.00, 35000.00, 35000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Dec\'25', 0, NULL),
(99, NULL, 79, 2, 'POS Services', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Nov\'25', 0, NULL),
(100, NULL, 80, 48, 'Hosting Charges', 1.000, 3000.00, 3000.00, 3000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(101, NULL, 81, 2, 'POS Services', 1.000, 20000.00, 20000.00, 20000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Dec\'25', 0, NULL),
(102, NULL, 82, 2, 'POS Services', 1.000, 1000.00, 1000.00, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'for the month of  Dec\'25', 0, NULL),
(103, NULL, 83, 2, 'POS Services', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Dec\'25', 0, NULL),
(104, 1, 84, 2, 'POS Services', 1.000, 1250.00, 1250.00, 1250.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Dec\'25', 0, NULL),
(105, 1, 85, 1, 'ITR POS', 1.000, 15000.00, 15000.00, 15000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Munch Corner', 0, NULL),
(106, 1, 86, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(107, 1, 87, 2, 'POS Services', 1.000, 15000.00, 15000.00, 15000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Dec\'25', 0, NULL),
(108, 1, 88, 15, 'POS Machine Jassway', 1.000, 120000.00, 120000.00, 120000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(109, 1, 89, 2, 'POS Services', 1.000, 2000.00, 2000.00, 2000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Dec\'25', 0, NULL),
(110, 1, 90, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Cafe De miam branch 2', 0, NULL),
(111, 1, 91, 2, 'POS Services', 1.000, 3000.00, 3000.00, 3000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Dec\'25', 0, NULL),
(112, 1, 92, 1, 'ITR POS', 1.000, 2000.00, 2000.00, 2000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Qadri Food Mountain', 0, NULL),
(113, 1, 93, 2, 'POS Services', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Dec\'25', 0, NULL),
(114, 1, 94, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Emaan Electronics', 0, NULL),
(115, 1, 95, 2, 'POS Services', 2.000, 3000.00, 3000.00, 6000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Nov and Dec\'25', 0, NULL),
(116, 1, 96, 2, 'POS Services', 1.000, 20000.00, 20000.00, 20000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Foe the month of Dec\'25', 0, NULL),
(117, 1, 97, 2, 'POS Services', 1.000, 1000.00, 1000.00, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Dec\'25', 0, NULL),
(118, 1, 98, 1, 'ITR POS', 1.000, 3000.00, 3000.00, 3000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Tokyo Pan Asian', 0, NULL),
(119, 1, 99, 2, 'POS Services', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan\'26', 0, NULL),
(120, 1, 100, 2, 'POS Services', 1.000, 20000.00, 20000.00, 20000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan\'26', 0, NULL),
(121, 1, 101, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(122, 1, 102, 2, 'POS Services', 1.000, 8000.00, 8000.00, 8000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan\'26', 0, NULL),
(123, 1, 103, 2, 'POS Services', 1.000, 1000.00, 1000.00, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan\'26', 0, NULL),
(124, 1, 104, 2, 'POS Services', 1.000, 20000.00, 20000.00, 20000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the year 2026', 0, NULL),
(125, 1, 105, 2, 'POS Services', 1.000, 5000.00, 5000.00, 5000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan\'26', 0, NULL),
(126, 1, 106, 2, 'POS Services', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan\'26', 0, NULL),
(127, 1, 107, 2, 'POS Services', 1.000, 7000.00, 7000.00, 7000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month Jan\'26', 0, NULL),
(128, 1, 108, 2, 'POS Services', 1.000, 2500.00, 2500.00, 2500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan\'26', 0, NULL),
(129, 1, 109, 1, 'ITR POS', 1.000, 18000.00, 18000.00, 18000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(130, 1, 110, 2, 'POS Services', 8.000, 10000.00, 10000.00, 80000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan\'26', 0, NULL),
(131, 1, 111, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(132, 1, 112, 49, 'Additional Development', 1.000, 15000.00, 15000.00, 15000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(133, 1, 113, 48, 'Hosting Charges', 1.000, 1000.00, 1000.00, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(134, 1, 114, 2, 'POS Services', 1.000, 1000.00, 1000.00, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan\'26', 0, NULL),
(135, 1, 115, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(136, 1, 116, 2, 'POS Services', 1.000, 3000.00, 3000.00, 3000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan\'26', 0, NULL),
(137, 1, 117, 1, 'ITR POS', 1.000, 25000.00, 25000.00, 25000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(138, 1, 118, 2, 'POS Services', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of jan\'26', 0, NULL),
(139, 1, 119, 2, 'POS Services', 1.000, 35000.00, 35000.00, 35000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan\'26', 0, NULL),
(140, 1, 120, 2, 'POS Services', 1.000, 1000.00, 1000.00, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan\'26', 0, NULL),
(141, 1, 121, 46, 'Visit Charges', 1.000, 2000.00, 2000.00, 2000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(142, 1, 121, 29, 'Thermal Printer BC 87AC USB', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(143, 1, 122, 2, 'POS Services', 1.000, 1250.00, 1250.00, 1250.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan\'26', 0, NULL),
(144, 1, 123, 2, 'POS Services', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Dec\'25', 0, NULL),
(145, 1, 124, 35, 'License Replacement', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(146, 1, 124, 1, 'ITR POS', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Monthly Package', 0, NULL),
(147, 1, 125, 1, 'ITR POS', 1.000, 30000.00, 30000.00, 30000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(148, 1, 126, 1, 'ITR POS', 1.000, 30000.00, 30000.00, 30000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(149, 1, 127, 2, 'POS Services', 1.000, 2000.00, 2000.00, 2000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan\'26', 0, NULL),
(150, 1, 128, 29, 'Thermal Printer BC 87AC USB', 1.000, 9000.00, 9000.00, 9000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(151, 1, 129, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'De Miam WHO', 0, NULL),
(152, 1, 130, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Krums', 0, NULL),
(153, 1, 131, 2, 'POS Services', 1.000, 15000.00, 15000.00, 15000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan\'26', 0, NULL),
(154, 1, 132, 23, 'Sales Tax Registration With Challans', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'FBR registration', 0, NULL),
(155, 1, 133, 1, 'ITR POS', 1.000, 20000.00, 20000.00, 20000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(156, 1, 134, 2, 'POS Services', 1.000, 20000.00, 20000.00, 20000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan\'26', 0, NULL),
(157, 1, 135, 2, 'POS Services', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan\'26', 0, NULL),
(158, 1, 136, 48, 'Hosting Charges', 2.000, 500.00, 500.00, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan and Feb\'26', 0, NULL),
(159, 1, 137, 2, 'POS Services', 1.000, 7250.00, 7250.00, 7250.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Feb\'26', 0, NULL),
(160, 1, 138, 2, 'POS Services', 1.000, 750.00, 750.00, 750.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(161, 1, 139, 2, 'POS Services', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Feb\'26', 0, NULL),
(162, 1, 140, 2, 'POS Services', 1.000, 1000.00, 1000.00, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Feb\'26', 0, NULL),
(163, 1, 141, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'National Variety Center', 0, NULL),
(164, 1, 142, 50, 'Facebook Marketing', 2.000, 5000.00, 5000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(165, 1, 143, 2, 'POS Services', 1.000, 5000.00, 5000.00, 5000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Feb\'26', 0, NULL),
(166, 1, 144, 2, 'POS Services', 1.000, 7000.00, 7000.00, 7000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Feb\'26', 0, NULL),
(167, 1, 145, 48, 'Hosting Charges', 1.000, 4000.00, 4000.00, 4000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(168, 1, 146, 2, 'POS Services', 8.000, 10000.00, 10000.00, 80000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Feb\'26', 0, NULL),
(169, 1, 147, 2, 'POS Services', 1.000, 35000.00, 35000.00, 35000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Feb\'26', 0, NULL),
(170, 1, 148, 2, 'POS Services', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of feb\'26', 0, NULL),
(171, 1, 149, 2, 'POS Services', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Feb\'26', 0, NULL),
(172, 1, 150, 2, 'POS Services', 1.000, 2500.00, 2500.00, 2500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Feb\'26', 0, NULL),
(173, 1, 151, 1, 'ITR POS', 1.000, 30000.00, 30000.00, 30000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Jameel Reseller', 0, NULL),
(174, 1, 152, 1, 'ITR POS', 1.000, 20000.00, 20000.00, 20000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(175, 1, 153, 2, 'POS Services', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'for the month of Jan\'26', 0, NULL),
(176, 1, 154, 2, 'POS Services', 1.000, 20000.00, 20000.00, 20000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Feb\'26', 0, NULL),
(177, 1, 155, 2, 'POS Services', 1.000, 1000.00, 1000.00, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Feb\'26', 0, NULL),
(178, 1, 156, 2, 'POS Services', 1.000, 1000.00, 1000.00, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Feb\'26', 0, NULL),
(179, 1, 157, 2, 'POS Services', 1.000, 1250.00, 1250.00, 1250.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Feb\'26', 0, NULL),
(180, 1, 158, 1, 'ITR POS', 1.000, 15000.00, 15000.00, 15000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(181, 1, 159, 1, 'ITR POS', 1.000, 15000.00, 15000.00, 15000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(182, 1, 160, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(183, 1, 161, 1, 'ITR POS', 1.000, 18000.00, 18000.00, 18000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(184, 1, 162, 2, 'POS Services', 1.000, 2000.00, 2000.00, 2000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Feb\'26', 0, NULL),
(185, 1, 163, 51, 'Web Development', 1.000, 56000.00, 56000.00, 56000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Alron Ice Cream', 0, NULL),
(186, 1, 164, 1, 'ITR POS', 1.000, 30000.00, 30000.00, 30000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(187, 1, 165, 2, 'POS Services', 1.000, 8000.00, 8000.00, 8000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Mar\'26', 0, NULL),
(188, 1, 166, 2, 'POS Services', 1.000, 1000.00, 1000.00, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Mar\'26', 0, NULL),
(189, 1, 167, 2, 'POS Services', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Mar\'26', 0, NULL),
(190, 1, 168, 2, 'POS Services', 1.000, 5000.00, 5000.00, 5000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Mar\'26', 0, NULL),
(191, 1, 169, 2, 'POS Services', 8.000, 10000.00, 10000.00, 80000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Mar\'26', 0, NULL),
(192, 1, 170, 2, 'POS Services', 1.000, 2500.00, 2500.00, 2500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Mar\'26', 0, NULL),
(193, 1, 171, 39, 'Domain Charges', 1.000, 6000.00, 6000.00, 6000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(194, 1, 172, 48, 'Hosting Charges', 1.000, 4000.00, 4000.00, 4000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Mar\'26', 0, NULL),
(195, 1, 173, 2, 'POS Services', 1.000, 7000.00, 7000.00, 7000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Mar\'26', 0, NULL),
(196, 1, 174, 52, 'ITR FeedBack', 1.000, 7000.00, 7000.00, 7000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(197, 1, 175, 2, 'POS Services', 2.000, 3000.00, 3000.00, 6000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Feb and Mar\'26', 0, NULL),
(198, 1, 176, 2, 'POS Services', 1.000, 35000.00, 35000.00, 35000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Mar\'26', 0, NULL),
(199, 1, 177, 2, 'POS Services', 1.000, 20000.00, 20000.00, 20000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Mar\'26', 0, NULL),
(200, 1, 178, 2, 'POS Services', 1.000, 1250.00, 1250.00, 1250.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Mar\'26', 0, NULL),
(201, 1, 179, 2, 'POS Services', 1.000, 1000.00, 1000.00, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Mar\'26', 0, NULL),
(202, 1, 180, 2, 'POS Services', 4.000, 3000.00, 3000.00, 12000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Jan-April\'26', 0, NULL),
(203, 1, 181, 2, 'POS Services', 1.000, 15000.00, 15000.00, 15000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the year of Mar\'26  - Mar\'27', 0, NULL),
(204, 1, 182, 2, 'POS Services', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Feb\'26', 0, NULL),
(205, 1, 183, 2, 'POS Services', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Mar\'26', 0, NULL),
(206, 1, 184, 2, 'POS Services', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of April\'25', 0, NULL),
(207, 1, 185, 2, 'POS Services', 1.000, 1000.00, 1000.00, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of April\'26', 0, NULL),
(208, 1, 186, 1, 'ITR POS', 1.000, 15000.00, 15000.00, 15000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Mast Khan Mohmand Chai', 0, NULL),
(209, 1, 187, 2, 'POS Services', 1.000, 5000.00, 5000.00, 5000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Aprip\'26', 0, NULL),
(210, 1, 188, 2, 'POS Services', 8.000, 10000.00, 10000.00, 80000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of April\'26', 0, NULL),
(211, 1, 189, 2, 'POS Services', 1.000, 4000.00, 4000.00, 4000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of April\'26', 0, NULL),
(212, 1, 190, 2, 'POS Services', 1.000, 8000.00, 8000.00, 8000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of April\'26', 0, NULL),
(213, 1, 191, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(214, 1, 192, 48, 'Hosting Charges', 1.000, 4000.00, 4000.00, 4000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of April\'26', 0, NULL),
(215, 1, 193, 2, 'POS Services', 1.000, 20000.00, 20000.00, 20000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of April\'26', 0, NULL),
(216, 1, 194, 2, 'POS Services', 1.000, 7000.00, 7000.00, 7000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of April\'26', 0, NULL),
(217, 1, 195, 2, 'POS Services', 2.000, 2000.00, 2000.00, 4000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Mar and April\'26', 0, NULL),
(218, 1, 196, 1, 'ITR POS', 1.000, 30000.00, 30000.00, 30000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(219, 1, 197, 2, 'POS Services', 1.000, 2500.00, 2500.00, 2500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(220, 1, 198, 2, 'POS Services', 1.000, 3000.00, 3000.00, 3000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of April\'26', 0, NULL),
(221, 1, 199, 2, 'POS Services', 1.000, 1250.00, 1250.00, 1250.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of April\'26', 0, NULL),
(222, 1, 200, 2, 'POS Services', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of April\'26', 0, NULL),
(223, 1, 201, 1, 'ITR POS', 1.000, 7000.00, 7000.00, 7000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'Nawab Mobiles', 0, NULL),
(224, 1, 202, 2, 'POS Services', 1.000, 1000.00, 1000.00, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of April\'26', 0, NULL),
(225, 1, 203, 51, 'Web Development', 1.000, 15000.00, 15000.00, 15000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(226, 1, 204, 2, 'POS Services', 1.000, 35000.00, 35000.00, 35000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of April\'26', 0, NULL),
(227, 1, 205, 2, 'POS Services', 1.000, 1000.00, 1000.00, 1000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of April\'26', 0, NULL),
(228, 1, 206, 48, 'Hosting Charges', 1.000, 3000.00, 3000.00, 3000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(229, 1, 207, 2, 'POS Services', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Mar\'26', 0, NULL),
(230, 1, 208, 1, 'ITR POS', 1.000, 80000.00, 80000.00, 80000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(231, 1, 209, 2, 'POS Services', 1.000, 500.00, 500.00, 500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Apil\'26', 0, NULL),
(232, 1, 210, 2, 'POS Services', 5.000, 1000.00, 1000.00, 5000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of April- Aug\'26', 0, NULL),
(233, 1, 211, 2, 'POS Services', 1.000, 5000.00, 5000.00, 5000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'April\'26 to April\'27', 0, NULL),
(234, 1, 212, 2, 'POS Services', 1.000, 12000.00, 12000.00, 12000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'April\'26 to April\'27', 0, NULL),
(235, 1, 213, 1, 'ITR POS', 1.000, 15000.00, 15000.00, 15000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(236, 1, 214, 2, 'POS Services', 1.000, 20000.00, 20000.00, 20000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of Feb\'26', 0, NULL),
(237, 1, 215, 2, 'POS Services', 1.000, 20000.00, 20000.00, 20000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of April\'26', 0, NULL),
(238, 1, 216, 1, 'ITR POS', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(239, 1, 217, 48, 'Hosting Charges', 1.000, 4000.00, 4000.00, 4000.00, 'none', 0.00, 0.00, 0.00, 0.00, '', 0, NULL),
(240, 1, 218, 2, 'POS Services', 1.000, 4000.00, 4000.00, 4000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of May\'26', 0, NULL),
(241, 1, 219, 2, 'POS Services', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of May\'26', 0, NULL),
(242, 1, 220, 1, 'ITR POS', 1.000, 10000.00, 10000.00, 10000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'BiteSa', 0, NULL),
(243, 1, 221, 2, 'POS Services', 1.000, 5000.00, 5000.00, 5000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of May\'26', 0, NULL),
(244, 1, 222, 2, 'POS Services', 1.000, 8000.00, 8000.00, 8000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of May\'26', 0, NULL),
(245, 1, 223, 2, 'POS Services', 1.000, 20000.00, 20000.00, 20000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of May:26', 0, NULL),
(246, 1, 224, 48, 'Hosting Charges', 1.000, 4000.00, 4000.00, 4000.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of May\'26', 0, NULL),
(247, 1, 225, 2, 'POS Services', 1.000, 1500.00, 1500.00, 1500.00, 'none', 0.00, 0.00, 0.00, 0.00, 'For the month of May\'26', 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=3 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, 22, 39, '2025-11-23 18:02:46', 111000.00, 'Sale Return #1', '', 'bank', 5, NULL, '2025-11-23 13:02:46'),
(2, 1, 216, 104, '2026-05-04 19:45:14', 1500.00, 'Sale Return #2', 'Cancelled', 'bank', 1, NULL, '2026-05-04 14:45:14');

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

--
-- 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=3 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, 11, 1.000, 111000.00, 111000.00, 0.00),
(2, 2, 1, 1.000, 1500.00, 1500.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', '1', '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', '0', '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', 'm/d/Y', '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', '0', '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', '0', '1', 'Enable automatic refresh for KDS screens', 1),
(16, NULL, 6, 'KDS Sound Notifications', 'kds_sound_notifications', 'boolean', '0', '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', 'a4', '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', '16', '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', '317', '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', '1', '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=62 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, '2025-09-13 23:55:03', '2025-09-14 22:52:20', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(2, 1, 1, 1, '2025-09-15 17:40:46', '2025-09-15 23:42:19', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(3, 1, 1, 1, '2025-10-02 21:57:54', '2025-10-02 22:24:50', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(4, 1, 1, 1, '2025-10-03 14:38:01', '2025-10-03 23:51:47', 0.00, 0.00, 80000.00, 0.00, -80000.00, 'closed'),
(5, 1, 1, 1, '2025-10-04 13:27:06', '2025-10-04 22:31:05', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(6, 1, 1, 1, '2025-10-05 13:50:21', '2025-10-05 22:16:43', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(7, 1, 1, 1, '2025-10-06 17:12:31', '2025-10-06 22:19:45', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(8, 1, 1, 1, '2025-10-07 15:05:47', '2025-10-07 22:04:59', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(9, 1, 1, 1, '2025-10-08 17:34:20', '2025-10-08 22:02:18', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(10, 1, 1, 1, '2025-10-09 18:05:55', '2025-10-09 22:44:15', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(11, 1, 1, 1, '2025-10-10 23:06:12', '2025-10-10 23:08:45', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(12, 1, 1, 1, '2025-10-11 18:13:30', '2025-10-11 23:43:03', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(13, 1, 1, 1, '2025-10-13 10:02:56', '2025-10-13 21:10:48', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(14, 1, 1, 1, '2025-10-14 11:27:03', '2025-10-14 21:57:52', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(15, 1, 1, 1, '2025-10-15 15:17:07', '2025-10-15 22:28:34', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(16, 1, 1, 1, '2025-10-16 15:09:31', '2025-10-16 22:04:11', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(17, 1, 1, 1, '2025-10-17 12:38:41', '2025-10-18 22:40:39', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(18, 1, 1, 1, '2025-10-19 17:41:41', '2025-10-23 22:07:28', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(19, 1, 1, 1, '2025-10-26 12:14:44', '2025-10-26 22:28:52', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(20, 1, 1, 1, '2025-10-27 14:36:26', '2025-10-27 21:53:40', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(21, 1, 1, 1, '2025-10-28 13:14:18', '2025-10-30 22:03:03', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(22, 1, 1, 1, '2025-11-01 14:02:34', NULL, 0.00, 0.00, 0.00, 0.00, 0.00, 'open'),
(23, 1, 1, 4, '2025-11-07 20:22:20', '2025-11-10 22:40:45', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(24, 1, 1, 4, '2025-11-11 11:02:35', '2025-11-16 21:54:25', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(25, 1, 1, 4, '2025-11-17 18:20:48', '2025-11-30 22:01:21', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(26, 1, 1, 4, '2025-12-01 11:30:25', '2025-12-03 22:08:14', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(27, 1, 1, 4, '2025-12-05 10:45:26', '2025-12-05 20:30:22', 0.00, 0.00, 80000.00, 0.00, -80000.00, 'closed'),
(28, 1, 1, 4, '2025-12-06 15:31:26', '2025-12-08 21:00:31', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(29, 1, 1, 4, '2025-12-09 14:28:23', '2025-12-11 22:27:44', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(30, 1, 1, 4, '2025-12-13 11:51:34', '2025-12-17 22:04:08', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(31, 1, 1, 4, '2025-12-18 16:13:07', '2025-12-18 20:30:06', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(32, 1, 1, 4, '2025-12-19 19:22:36', '2025-12-20 20:46:22', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(33, 1, 1, 4, '2025-12-22 17:15:00', '2025-12-30 22:04:58', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(34, 1, 1, 4, '2025-12-31 10:20:01', '2025-12-31 22:02:15', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(35, 1, 1, 4, '2026-01-01 14:23:20', '2026-01-08 22:11:28', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(36, 1, 1, 4, '2026-01-09 15:24:59', '2026-01-09 23:13:13', 0.00, 0.00, 80000.00, 0.00, -80000.00, 'closed'),
(37, 1, 1, 4, '2026-01-10 14:06:08', '2026-01-14 23:45:33', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(38, 1, 1, 4, '2026-01-15 17:37:46', '2026-01-20 22:53:14', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(39, 1, 1, 4, '2026-01-21 18:28:37', '2026-01-28 23:24:20', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(40, 1, 1, 4, '2026-01-29 22:24:20', '2026-01-29 22:27:35', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(41, 1, 1, 4, '2026-02-01 14:02:44', '2026-02-08 20:41:23', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(42, 1, 1, 4, '2026-02-09 18:01:26', '2026-02-11 20:50:48', 0.00, 0.00, 80000.00, 0.00, -80000.00, 'closed'),
(43, 1, 1, 4, '2026-02-16 13:49:06', '2026-02-18 22:05:32', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(44, 1, 1, 4, '2026-02-21 18:06:32', '2026-02-25 22:18:34', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(45, 1, 1, 4, '2026-02-28 07:47:51', '2026-02-28 22:21:59', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(46, 1, 1, 4, '2026-03-01 09:01:41', '2026-03-08 22:53:29', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(47, 1, 1, 4, '2026-03-09 20:18:44', '2026-03-10 22:12:22', 0.00, 0.00, 80000.00, 0.00, -80000.00, 'closed'),
(48, 1, 1, 4, '2026-03-12 11:17:57', '2026-03-13 22:22:55', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(49, 1, 1, 4, '2026-03-14 22:40:29', '2026-03-14 22:48:31', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(50, 1, 1, 4, '2026-03-16 16:13:39', '2026-03-27 20:49:12', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(51, 1, 1, 4, '2026-03-31 15:10:33', '2026-03-31 22:02:51', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(52, 1, 1, 4, '2026-04-01 11:28:37', '2026-04-06 22:13:49', 0.00, 0.00, 80000.00, 0.00, -80000.00, 'closed'),
(53, 1, 1, 4, '2026-04-07 16:39:18', '2026-04-15 21:48:06', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(54, 1, 1, 4, '2026-04-16 17:26:03', '2026-04-17 19:53:06', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(55, 1, 1, 4, '2026-04-18 15:20:09', '2026-04-18 20:32:34', 9.00, 0.00, 9.00, 0.00, -9.00, 'closed'),
(56, 1, 1, 4, '2026-04-19 11:25:18', '2026-04-22 19:22:51', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(57, 1, 1, 4, '2026-04-23 13:44:31', '2026-04-28 21:23:00', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(58, 1, 1, 4, '2026-04-30 13:52:45', '2026-04-30 22:11:21', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(59, 1, 1, 4, '2026-05-01 10:28:08', '2026-05-03 19:41:55', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(60, 1, 1, 4, '2026-05-04 19:36:23', '2026-05-04 19:47:55', 0.00, 0.00, 0.00, 0.00, 0.00, 'closed'),
(61, 1, 1, 4, '2026-05-05 16:30:04', 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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- 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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

--
-- 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-09-13 12:11:04');

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

--
-- 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=2 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, 10, 1.000000, '2026-01-14 11:03:56');

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

--
-- 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=18 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, 'Software', NULL),
(2, 1, 'POS Service', NULL),
(3, 2, 'Tax', NULL),
(4, 3, 'POS Hardware', NULL),
(5, 4, 'WorldPOS', NULL),
(6, 4, 'Smart Retailo', NULL),
(7, 4, 'ITR POS ON', NULL),
(8, 4, 'ITR POS', NULL),
(9, 5, 'SLA', NULL),
(10, 4, 'Development', NULL),
(11, 6, 'Website', NULL),
(12, 7, 'Tax Services', NULL),
(13, 4, 'ITR FeedBack', NULL),
(14, 7, 'Registration', NULL),
(15, 8, 'Facebook Marketting', NULL),
(16, 4, 'Samba POS', NULL),
(17, 9, 'Sub General', 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=7 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, 2, 0.00, 'paid', '2025-10-26 11:41:11'),
(2, 2, 2, 0.00, 'paid', '2025-10-26 11:49:44'),
(3, 3, 1, 0.00, 'paid', '2025-10-26 11:59:21'),
(4, 4, 1, 0.00, 'paid', '2025-10-26 12:00:05'),
(5, 5, 1, 0.00, 'paid', '2025-11-13 18:01:29'),
(6, 6, 1, 0.00, 'paid', '2025-12-09 15:28:13');

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

--
-- 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=7 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, 1, NULL, 43000.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2025-10-26 11:50:36', ''),
(2, NULL, 2, 2, NULL, 160000.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2025-10-26 11:50:36', ''),
(3, NULL, 1, 3, NULL, 233000.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2025-10-26 12:00:37', ''),
(4, NULL, 1, 4, NULL, 31500.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2025-10-26 12:00:37', ''),
(5, NULL, 1, 5, NULL, 80800.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2025-11-13 18:03:25', 'for Alharam CC'),
(6, NULL, 1, 6, NULL, 2000.00, 0.00, 0.00, 0.00, 0.00, 0.00, '2025-12-09 15:28:42', '');

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

--
-- 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', '2025-12-17 16:30:11', '2025-12-17 16:30:11');

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

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

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

--
-- 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=6 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, 'Usman', 'admin@gmail.com', '$2y$10$15ETnDm2P5EVQfWBIpLTauhZ5wkJ7lFxYnYyvLnMHlcBrbK0vSXru', 1, 1, '2026-05-04 19:44:54', '2025-08-17 14:35:17', '2026-05-04 14:44:54', '', NULL, 0, 0),
(2, 1, 1, 'cashier', 'test@gmail.com', '$2y$10$f69Cdnnry75QlkKk.x2AjOdIIxBFPpWttQjVtec9uqhSbpMx7E7Gy', 2, 1, NULL, '2025-08-17 14:35:17', '2025-09-13 12:11:06', NULL, NULL, 1, 0),
(4, NULL, 1, 'rabia', 'rabia@itresources.com.pk', '$2y$10$pBXKDwcZ6JlTgoL.Hi5HT.UQybpTpKNFw1q4tbfDR7dZYgWhf3.yy', 3, 1, '2026-05-05 16:29:53', '2025-11-07 15:18:09', '2026-05-05 11:29:53', '', NULL, 1, 0),
(5, NULL, 1, 'asnaff', 'asnaff@itresources.com.pk', '0', 1, 1, '2026-05-04 20:57:50', '2026-03-07 20:42:25', '2026-05-04 15:57:50', '1234', NULL, 1, 1);

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

--
-- 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 AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `user_language_preferences`
--

INSERT INTO `user_language_preferences` (`id`, `user_id`, `language_code`, `created_at`, `updated_at`) VALUES
(1, 1, 'en', '2025-10-07 21:39:26', '2025-10-28 14:55:49');

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

--
-- 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=3 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, 'Usama 6th Raod ', '', '', '6th Road', 1, '2025-10-26 11:31:27'),
(2, NULL, 'MB Communication', '03000339084', '', 'Karachi', 1, '2025-10-26 11:32:36');

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

--
-- 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-07 20:38:43'),
(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-03 15:45:32', '2026-02-03 15:45:32'),
(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-03 15:45:32', '2026-02-03 15:45:32'),
(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-07 20:38:43', '2026-03-07 20:38:43'),
(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-07 20:38:43', '2026-03-07 20:38:43'),
(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-07 20:38:43', '2026-03-07 20:38:43'),
(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-06 17:58:41', '2026-04-06 17:58:41');

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

--
-- 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-10-27 23:36:04'),
(2, '3 Months', 3, 0, 1, '2025-10-27 23:36:04'),
(3, '6 Months', 6, 0, 1, '2025-10-27 23:36:04'),
(4, '1 Year', 12, 0, 1, '2025-10-27 23:36:04'),
(5, '2 Years', 24, 0, 1, '2025-10-27 23:36:04');

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

--
-- 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-01-18 16:07:33', '2026-01-18 16:07:33');

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

--
-- 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;

