-- phpMyAdmin SQL Dump -- version 5.2.2 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Generation Time: Jun 03, 2025 at 04:19 AM -- Server version: 10.11.11-MariaDB -- PHP Version: 8.0.30 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `jewel_retail` -- -- -------------------------------------------------------- -- -- Table structure for table `ac_accounts` -- CREATE TABLE `ac_accounts` ( `id` int(11) NOT NULL, `count_id` int(11) DEFAULT NULL, `store_id` int(11) DEFAULT NULL, `parent_id` int(11) DEFAULT NULL, `sort_code` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `account_name` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `account_code` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `balance` double(20,3) DEFAULT NULL, `note` text CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `created_by` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `system_ip` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `system_name` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `status` int(11) DEFAULT NULL, `delete_bit` int(11) DEFAULT 0, `account_selection_name` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `paymenttypes_id` int(11) DEFAULT NULL, `customer_id` int(11) DEFAULT NULL, `supplier_id` int(11) DEFAULT NULL, `expense_id` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `ac_account_cash_balance` -- CREATE TABLE `ac_account_cash_balance` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `transaction_id` varchar(50) NOT NULL, `account_id` int(11) NOT NULL, `date` datetime NOT NULL, `note` text NOT NULL, `cash_balance` decimal(20,3) DEFAULT NULL, `created_by` int(11) NOT NULL, `created_date` date NOT NULL, `created_time` time NOT NULL, `system_ip` text NOT NULL, `system_name` text NOT NULL, `status` int(11) NOT NULL, `df` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `ac_moneydeposits` -- CREATE TABLE `ac_moneydeposits` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `deposit_date` date DEFAULT NULL, `reference_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `debit_account_id` int(11) DEFAULT NULL, `credit_account_id` int(11) DEFAULT NULL, `amount` double(20,3) DEFAULT NULL, `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `created_date` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `created_time` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `system_ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `system_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `ac_moneytransfer` -- CREATE TABLE `ac_moneytransfer` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `count_id` int(11) DEFAULT NULL, `transfer_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `transfer_date` date DEFAULT NULL, `reference_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `debit_account_id` int(11) DEFAULT NULL, `credit_account_id` int(11) DEFAULT NULL, `amount` double(20,3) DEFAULT NULL, `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `created_date` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `created_time` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `system_ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `system_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `ac_transactions` -- CREATE TABLE `ac_transactions` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `payment_code` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `transaction_date` date DEFAULT NULL, `transaction_type` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `debit_account_id` int(11) DEFAULT NULL, `credit_account_id` int(11) DEFAULT NULL, `debit_amt` double(20,3) DEFAULT NULL, `credit_amt` double(20,3) DEFAULT NULL, `note` text CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `created_by` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `created_date` date DEFAULT NULL, `ref_accounts_id` int(11) DEFAULT NULL COMMENT 'reference table', `ref_moneytransfer_id` int(11) DEFAULT NULL COMMENT 'reference table', `ref_moneydeposits_id` int(11) DEFAULT NULL COMMENT 'reference table', `ref_salespayments_id` int(11) DEFAULT NULL, `ref_salespaymentsreturn_id` int(11) DEFAULT NULL, `ref_purchasepayments_id` int(11) DEFAULT NULL, `ref_purchasepaymentsreturn_id` int(11) DEFAULT NULL, `ref_expense_id` int(11) DEFAULT NULL, `customer_id` int(11) DEFAULT NULL, `supplier_id` int(11) DEFAULT NULL, `short_code` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `blog` -- CREATE TABLE `blog` ( `blog_id` int(10) UNSIGNED NOT NULL, `blog_title` varchar(100) NOT NULL, `blog_description` text DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `ci_sessions` -- CREATE TABLE `ci_sessions` ( `id` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, `ip_address` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, `timestamp` int(10) UNSIGNED NOT NULL DEFAULT 0, `data` blob NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_adjustmentstocks_items` -- CREATE TABLE `db_adjustmentstocks_items` ( `id` int(11) NOT NULL, `adjustment_id` int(11) NOT NULL, `item_id` int(11) NOT NULL, `piece` varchar(150) NOT NULL, `weight` varchar(150) NOT NULL, `store_id` int(11) NOT NULL, `status_id` int(11) NOT NULL, `created_at` datetime NOT NULL, `created_by` int(11) NOT NULL, `updated_at` datetime NOT NULL, `updated_by` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_adjustment_stocks` -- CREATE TABLE `db_adjustment_stocks` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `init_code` varchar(100) NOT NULL, `count_id` int(11) NOT NULL, `reference_no` text NOT NULL, `adjust_date` date NOT NULL, `status_id` int(11) NOT NULL, `created_by` int(11) NOT NULL, `created_at` datetime NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_bankdetails` -- CREATE TABLE `db_bankdetails` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `country_id` int(11) DEFAULT NULL, `holder_name` varchar(250) DEFAULT NULL, `bank_name` varchar(250) DEFAULT NULL, `branch_name` varchar(250) DEFAULT NULL, `code` varchar(250) DEFAULT NULL COMMENT 'IFSC or Bank Code', `account_type` varchar(250) DEFAULT NULL, `account_number` varchar(250) DEFAULT NULL, `other_details` mediumtext DEFAULT NULL, `description` mediumtext DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_brands` -- CREATE TABLE `db_brands` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `brand_code` varchar(50) DEFAULT NULL, `brand_name` varchar(100) DEFAULT NULL, `brand_type` varchar(100) NOT NULL, `description` mediumtext DEFAULT NULL, `status` int(11) DEFAULT NULL, `user_access` int(11) NOT NULL, `hsn` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_brands` -- INSERT INTO `db_brands` (`id`, `store_id`, `brand_code`, `brand_name`, `brand_type`, `description`, `status`, `user_access`, `hsn`) VALUES (327, 2, NULL, 'Gold', 'gold', '', 1, 1, '711319'), (328, 2, NULL, 'Silver', 'gold', '', 1, 1, '711314'), (329, 2, NULL, 'Old Gold', '', '', 1, 1, ''), (330, 2, NULL, 'Old Silver', '', '', 1, 1, ''), (331, 2, NULL, 'Pure Gold', '', '', 1, 1, ''), (332, 2, NULL, 'Pure Silver', '', '', 1, 1, ''), (333, 2, NULL, 'Katcha Gold', '', NULL, 1, 1, ''), (334, 2, NULL, 'katcha Silver', '', NULL, 1, 1, ''), (335, 2, NULL, 'KUNDU', '', '', 1, 0, ''), (336, 2, NULL, 'chain', '', '', 1, 0, ''); -- -------------------------------------------------------- -- -- Table structure for table `db_category` -- CREATE TABLE `db_category` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create category Code', `category_code` varchar(50) DEFAULT NULL, `category_name` varchar(100) DEFAULT NULL, `description` mediumtext DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_category` -- INSERT INTO `db_category` (`id`, `store_id`, `count_id`, `category_code`, `category_name`, `description`, `company_id`, `status`) VALUES (82, 2, 1, 'CT/02/0001', 'Ring', '', NULL, 1), (83, 2, 2, 'CT/02/0002', 'Chain', '', NULL, 1), (84, 2, 3, 'CT/02/0003', 'Nickles', '', NULL, 1), (87, 2, 5, 'CT/02/0005', 'Pure Gold', '', NULL, 1), (88, 2, 6, 'CT/02/0006', 'BRACELET', '', NULL, 1), (89, 2, 7, 'CT/02/0007', 'earring', '', NULL, 1), (90, 2, 8, 'CT/02/0008', 'jimky', '', NULL, 1), (91, 2, 9, 'CT/02/0009', '40 gram haram', '', NULL, 1), (92, 2, 10, 'CT/02/0010', 'STUD', '', NULL, 1), (93, 2, 11, 'CT/02/0011', 'MATTAL', '', NULL, 1), (94, 2, 12, 'CT/02/0012', 'kolusu', '', NULL, 1), (95, 2, 13, 'CT/02/0013', 'SILVER BANGLE', '', NULL, 1), (96, 2, 14, 'CT/02/0014', 'SILVER CHAIN', '', NULL, 1), (97, 2, 15, 'CT/02/0015', 'SILVER BRACELITE', '', NULL, 1), (98, 2, 16, 'CT/02/0016', 'KALL KAPPU', '', NULL, 1), (99, 2, 17, 'CT/02/0017', 'SILVER ARUNAKODI', '', NULL, 1), (100, 2, 18, 'CT/02/0018', 'SILVER PATHIRAM', '', NULL, 1), (101, 2, 19, 'CT/02/0019', 'SILVER KAPPU', '', NULL, 1), (102, 2, 20, 'CT/02/0020', 'HARAM', '', NULL, 1), (103, 2, 21, 'CT/02/0021', 'BANGLE', '', NULL, 1), (104, 2, 22, 'CT/02/0022', 'DOLLAR', '', NULL, 1), (105, 2, 23, 'CT/02/0023', 'THAYATHU', '', NULL, 1), (106, 2, 24, 'CT/02/0024', 'THALLI ITEMS', '', NULL, 1), (107, 2, 25, 'CT/02/0025', 'MUGAPPU', '', NULL, 1), (108, 2, 26, 'CT/02/0026', 'NECKLAS', '', NULL, 1), (109, 2, 27, 'CT/02/0027', 'ROSE GOLD', '', NULL, 1), (110, 2, 28, 'CT/02/0028', 'SAMPLE', '', NULL, 1), (111, 2, 29, 'CT/02/0029', 'NE', '', NULL, 1), (112, 2, 30, 'CT/02/0030', 'ST', '', NULL, 1), (113, 2, 31, 'CT/02/0031', 'Harram', '', NULL, 1), (114, 2, 32, 'CT/02/0032', 'Chain sachin', '', NULL, 1), (115, 2, 33, 'CT/02/0033', 'Chain karap', '', NULL, 1), (116, 2, 34, 'CT/02/0034', 'Chain Snake', '', NULL, 1), (117, 2, 35, 'CT/02/0035', 'ring g 92.5', '', NULL, 1), (118, 2, 36, 'CT/02/0036', 'stud 92.5', '', NULL, 1), (119, 2, 37, 'CT/02/0037', 'LOTUS', '', NULL, 1), (120, 2, 1, 'CT/02/0038', 'old gold', '', NULL, 1), (121, 2, 1, 'CT/02/0038', 'katcha', '', NULL, 1), (122, 2, 1, 'CT/02/0038', 'fancy item', '', NULL, 1), (123, 2, 38, 'CT/02/0038', 'GOLD 916', '', NULL, 1), (124, 2, 39, 'CT/02/0039', 'DROPS', '', NULL, 1), (125, 2, 40, 'CT/02/0040', 'CHAIN 916', '', NULL, 1), (126, 2, 41, 'CT/02/0041', 'CHAIN 8g', '', NULL, 1), (127, 2, 42, 'CT/02/0042', '16g CHAIN', '', NULL, 1), (128, 2, 43, 'CT/02/0043', 'Store Items', NULL, NULL, 1), (129, 2, 44, 'CT/02/0044', 'Old Item', NULL, NULL, 1), (130, 2, 45, 'CT/02/0045', 'Old Pure', NULL, NULL, 1), (131, 2, 46, 'CT/02/0046', 'Old Katcha', NULL, NULL, 1), (132, 2, 47, 'CT/02/0047', 'Coin', NULL, NULL, 1), (133, 2, 48, 'CT/02/0048', 'SILVE IDLE', '', NULL, 1), (135, 2, 49, 'CT/02/0049', 'ANKLET', '', NULL, 1), (137, 2, 50, 'CT/02/0050', 'VEL', '', NULL, 1), (138, 2, 51, 'CT/02/0051', 'CASTING', '', NULL, 1), (139, 2, 52, 'CT/02/0052', 'stock delete', '', NULL, 1), (140, 2, 53, 'CT/02/0053', 'PAPER CASTING', '', NULL, 1), (141, 2, 54, 'CT/02/0054', 'pieces', '', NULL, 1), (142, 2, 55, 'CT/02/0055', 'NECKLACE', '', NULL, 1), (143, 2, 56, 'CT/02/0056', 'THAALI', '', NULL, 1), (144, 2, 57, 'CT/02/0057', 'SIDE RING', '', NULL, 1), (145, 2, 58, 'CT/02/0058', 'Kolachi', 'Kolachi', NULL, 1), (146, 2, 59, 'CT/02/0059', 'KUNDU', '', NULL, 1), (147, 2, 60, 'CT/02/0060', 'Janvalli', '', NULL, 1), (148, 2, 61, 'CT/02/0061', 'doller', '', NULL, 1), (149, 2, 62, 'CT/02/0062', 'SANGU', '', NULL, 1), (150, 2, 63, 'CT/02/0063', 'TUMBLER', '', NULL, 1), (151, 2, 64, 'CT/02/0064', '92 rings', '', NULL, 1), (152, 2, 65, 'CT/02/0065', 'test wastage master', '', NULL, 1); -- -------------------------------------------------------- -- -- Table structure for table `db_chitpayment` -- CREATE TABLE `db_chitpayment` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `group_id` int(11) NOT NULL, `customerscheme_id` int(11) NOT NULL, `installment_count` int(11) NOT NULL DEFAULT 1, `count_id` int(11) DEFAULT NULL, `receipet_no` text NOT NULL, `payed_amount` int(11) NOT NULL, `payed_month` varchar(50) NOT NULL, `gold_rate` decimal(20,3) DEFAULT NULL, `gold_rate24` decimal(20,3) NOT NULL, `silver_rate` decimal(20,3) NOT NULL, `gold_weight` decimal(20,3) DEFAULT NULL, `payment_type` varchar(50) NOT NULL, `payment_status` varchar(100) NOT NULL DEFAULT 'pending', `description` text NOT NULL, `print_gm` int(11) NOT NULL, `created_by` varchar(50) NOT NULL, `created_time` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), `created_date` date NOT NULL, `updated_by` varchar(50) NOT NULL, `updated_at` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `db_chitpayment` -- INSERT INTO `db_chitpayment` (`id`, `store_id`, `group_id`, `customerscheme_id`, `installment_count`, `count_id`, `receipet_no`, `payed_amount`, `payed_month`, `gold_rate`, `gold_rate24`, `silver_rate`, `gold_weight`, `payment_type`, `payment_status`, `description`, `print_gm`, `created_by`, `created_time`, `created_date`, `updated_by`, `updated_at`) VALUES (3, 2, 3, 3, 1, 1, 'CH/2024/0001', 1000, 'Mar-2025', 8300.000, 0.000, 105.000, 0.120, 'CASH', 'success', '', 0, '', '2025-03-27 07:53:26', '2025-03-27', '2', '2025-03-27 01:23:26'), (4, 2, 3, 4, 1, 2, 'CH/2024/0002', 1000, 'Mar-2025', 8300.000, 0.000, 105.000, 0.120, 'CASH', 'success', '', 0, '', '2025-03-27 07:53:26', '2025-03-27', '2', '2025-03-27 01:23:26'), (5, 2, 4, 5, 1, 3, 'CH/2526/0003', 5000, 'Apr-2025', 8285.000, 0.000, 103.000, 0.600, 'GPAY', 'success', '', 0, '', '2025-04-08 08:46:04', '2025-04-08', '2', '2025-04-08 02:16:04'), (6, 2, 3, 3, 2, 49, 'CH/2526/0049', 1000, 'Apr-2025', 8755.000, 0.000, 109.000, 0.114, 'CASH', 'success', '', 1, '', '2025-05-19 06:15:19', '2025-04-08', '2', '2025-05-16 12:00:00'), (7, 2, 3, 4, 2, 52, 'CH/2526/0052', 1000, 'Apr-2025', 8755.000, 0.000, 109.000, 0.114, 'CASH', 'success', '', 1, '', '2025-05-19 10:21:09', '2025-04-08', '2', '2025-04-10 12:00:00'), (8, 2, 5, 6, 1, 4, 'CH/2526/0004', 5000, 'Feb-2025', 8285.000, 0.000, 103.000, 0.600, 'CASH', 'success', '', 0, '', '2025-04-08 08:49:45', '2025-04-08', '2', '2025-04-08 02:19:45'), (9, 2, 5, 6, 3, 15, 'CH/2526/0015', 5000, 'Mar-2025', 8945.000, 0.000, 110.000, 0.560, 'CASH', 'success', '', 1, '', '2025-04-19 12:24:57', '2025-04-08', '2', '2025-04-18 12:00:00'), (10, 2, 5, 6, 2, 7, 'CH/2526/0007', 5000, 'Apr-2025', 8285.000, 0.000, 103.000, 0.600, 'CASH', 'success', '', 1, '', '2025-04-08 11:50:29', '2025-04-08', '2', '2025-04-08 12:00:00'), (11, 2, 5, 7, 1, 5, 'CH/2526/0005', 5000, 'Apr-2025', 8285.000, 0.000, 103.000, 0.600, 'CASH', 'success', '', 1, '', '2025-04-08 08:51:20', '2025-03-01', '2', '2025-04-08 02:21:20'), (12, 2, 5, 8, 1, 6, 'CH/2526/0006', 5000, 'Apr-2025', 8285.000, 0.000, 103.000, 0.600, 'GPAY', 'success', '', 1, '', '2025-04-08 08:54:12', '2025-03-01', '2', '2025-04-08 02:24:12'), (13, 2, 6, 9, 1, 8, 'CH/2526/0008', 500, '2025-03-24', 8410.000, 0.000, 104.000, 0.060, 'CASH', 'success', '', 0, '', '2025-04-09 14:54:38', '2025-04-09', '2', '2025-04-09 08:24:38'), (14, 2, 6, 9, 4, 14, 'CH/2526/0014', 500, '2025-03-31', 8815.000, 9617.000, 110.000, 0.060, 'CASH', 'success', '', 1, '', '2025-04-16 11:21:12', '2025-04-09', '2', '2025-04-16 12:00:00'), (15, 2, 6, 9, 2, 12, 'CH/2526/0012', 500, '2025-04-07', 8815.000, 9617.000, 110.000, 0.060, 'CASH', 'success', '', 1, '', '2025-04-16 10:36:56', '2025-04-09', '2', '2025-04-16 12:00:00'), (16, 2, 7, 10, 1, 9, 'CH/2526/0009', 1000, '2025-04-12', 8770.000, 0.000, 110.000, 0.110, 'CASH', 'success', '', 0, '', '2025-04-12 07:56:23', '2025-04-12', '2', '2025-04-12 01:26:23'), (17, 2, 7, 10, 2, 10, 'CH/2526/0010', 2500, '2025-04-12', 8770.000, 0.000, 110.000, 0.290, 'GPAY', 'success', '', 1, '', '2025-04-12 07:59:19', '2025-04-12', '2', '2025-04-12 12:00:00'), (18, 2, 7, 10, 3, 11, 'CH/2526/0011', 1500, '2025-04-12', 8770.000, 0.000, 110.000, 0.170, 'CASH', 'success', '', 1, '', '2025-04-12 08:00:14', '2025-04-12', '2', '2025-04-12 12:00:00'), (19, 2, 7, 10, 1, NULL, '', 1000, '2025-04-12', 0.000, 0.000, 0.000, 0.000, '', 'pending', '', 0, '', '2025-04-12 08:00:14', '2025-04-12', '', '0000-00-00 00:00:00'), (20, 2, 6, 9, 3, 13, 'CH/2526/0013', 500, '2025-04-14', 8815.000, 9617.000, 110.000, 0.060, 'CASH', 'success', '', 1, '', '2025-04-16 11:20:21', '2025-04-16', '2', '2025-04-16 12:00:00'), (21, 2, 8, 11, 1, 16, 'CH/2526/0016', 2000, 'Mar-2025', 8945.000, 0.000, 110.000, 0.220, 'CASH', 'success', '', 0, '', '2025-04-19 12:31:28', '2025-04-19', '2', '2025-04-19 06:01:28'), (22, 2, 8, 12, 1, 17, 'CH/2526/0017', 2000, 'Mar-2025', 8945.000, 0.000, 110.000, 0.220, 'CASH', 'success', '', 0, '', '2025-04-19 12:31:28', '2025-04-19', '2', '2025-04-19 06:01:28'), (23, 2, 8, 11, 3, 50, 'CH/2526/0050', 2000, 'Apr-2025', 8755.000, 0.000, 109.000, 0.228, 'CASH', 'success', '', 1, '', '2025-05-19 06:18:07', '2025-04-19', '2', '2025-05-01 12:00:00'), (24, 2, 8, 12, 2, 18, 'CH/2526/0018', 2000, 'Apr-2025', 8945.000, 0.000, 110.000, 0.220, 'GPAY', 'success', '', 1, '', '2025-04-19 12:33:02', '2025-04-19', '2', '2025-04-19 12:00:00'), (25, 2, 9, 13, 1, 19, 'CH/2526/0019', 500, '2025-02-01', 9015.000, 0.000, 111.000, 0.060, 'CASH', 'success', '', 0, '', '2025-04-21 11:14:17', '2025-04-21', '2', '2025-04-21 04:44:17'), (26, 2, 9, 14, 1, 20, 'CH/2526/0020', 500, '2025-02-01', 9015.000, 0.000, 111.000, 0.060, 'CASH', 'success', '', 0, '', '2025-04-21 11:14:17', '2025-04-21', '2', '2025-04-21 04:44:17'), (27, 2, 6, 9, 5, 22, 'CH/2526/0022', 500, '2025-04-21', 9015.000, 0.000, 111.000, 0.060, 'CASH', 'success', '', 1, '', '2025-04-21 11:20:23', '2025-04-21', '2', '2025-04-21 12:00:00'), (28, 2, 9, 13, 2, 21, 'CH/2526/0021', 9015, '2025-04-21', 9015.000, 0.000, 111.000, 1.000, 'GPAY', 'success', '', 1, '', '2025-04-21 11:19:17', '2025-04-21', '2', '2025-04-21 12:00:00'), (29, 2, 9, 14, 1, NULL, '', 500, '2025-04-21', 0.000, 0.000, 0.000, 0.000, '', 'pending', '', 0, '', '2025-04-21 11:14:17', '2025-04-21', '', '0000-00-00 00:00:00'), (30, 2, 9, 13, 3, 23, 'CH/2526/0023', 500, '2025-04-21', 9290.000, 0.000, 111.000, 0.050, 'CASH', 'success', '', 1, '', '2025-04-22 05:41:35', '2025-04-21', '2', '2025-04-22 12:00:00'), (31, 2, 9, 13, 4, 51, 'CH/2526/0051', 500, '2025-04-22', 8755.000, 0.000, 109.000, 0.057, 'CASH', 'success', '', 1, '', '2025-05-19 06:29:51', '2025-04-22', '2', '2025-05-19 12:00:00'), (32, 2, 9, 15, 1, 24, 'CH/2526/0024', 500, '2025-02-01', 9015.000, 0.000, 111.000, 0.060, 'CASH', 'success', '', 1, '', '2025-04-23 11:08:13', '2025-04-23', '2', '2025-04-23 04:38:13'), (33, 2, 9, 15, 2, 25, 'CH/2526/0025', 5000, '2025-04-23', 9015.000, 0.000, 111.000, 0.560, 'GPAY', 'success', '', 1, '', '2025-04-23 11:11:08', '2025-04-23', '2', '2025-04-23 12:00:00'), (34, 2, 9, 15, 3, 26, 'CH/2526/0026', 9015, '2025-04-23', NULL, 0.000, 111.000, 1.000, 'CASH', 'success', '', 1, '', '2025-04-23 13:29:34', '2025-04-23', '2', '2025-04-22 12:00:00'), (35, 2, 9, 15, 1, NULL, '', 500, '2025-04-23', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-04-23 13:29:34', '2025-04-23', '', '0000-00-00 00:00:00'), (36, 2, 9, 16, 1, 27, 'CH/2526/0027', 500, '2025-02-01', 9015.000, 0.000, 111.000, 0.055, 'CASH', 'success', '', 1, '', '2025-04-23 13:35:06', '2025-04-23', '2', '2025-04-23 07:05:06'), (37, 2, 9, 16, 2, 30, 'CH/2526/0030', 5000, '2025-04-23', NULL, 0.000, 111.000, 0.555, 'BANK', 'success', '', 1, '', '2025-04-23 13:44:27', '2025-04-23', '2', '2025-04-23 12:00:00'), (38, 2, 9, 17, 1, 28, 'CH/2526/0028', 500, '2025-02-01', 9015.000, 0.000, 111.000, 0.055, 'CASH', 'success', '', 1, '', '2025-04-23 13:37:52', '2025-04-23', '2', '2025-04-23 07:07:52'), (39, 2, 9, 17, 2, 29, 'CH/2526/0029', 7500, '2025-04-23', NULL, 0.000, 111.000, 0.832, 'CASH', 'success', '', 1, '', '2025-04-23 13:39:53', '2025-04-23', '2', '2025-04-23 12:00:00'), (40, 2, 9, 17, 3, 31, 'CH/2526/0031', 3500, '2025-04-23', NULL, 0.000, 111.000, 0.388, 'CASH', 'success', '', 1, '', '2025-04-23 13:44:43', '2025-04-23', '2', '2025-04-23 12:00:00'), (41, 2, 9, 16, 3, 44, 'CH/2526/0044', 500, '2025-04-23', NULL, 0.000, 108.000, 0.058, 'CASH', 'success', '', 1, '', '2025-05-15 06:58:39', '2025-04-23', '2', '2025-05-13 12:00:00'), (43, 2, 10, 18, 1, 32, 'CH/2526/0032', 1000, 'Apr-2025', 8890.000, 0.000, 110.000, 0.112, 'CASH', 'success', '', 0, '', '2025-04-29 14:55:57', '2025-04-29', '2', '2025-04-29 08:25:57'), (44, 2, 6, 9, 7, 46, 'CH/2526/0046', 500, '2025-04-28', 8000.000, 0.000, 108.000, 0.063, 'CASH', 'success', '', 1, '', '2025-05-17 14:24:35', '2025-04-29', '2', '2025-05-10 12:00:00'), (45, 2, 9, 17, 1, NULL, '', 500, '2025-04-29', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-04-29 14:55:57', '2025-04-29', '', '0000-00-00 00:00:00'), (46, 2, 10, 19, 1, 33, 'CH/2526/0033', 1000, 'Apr-2025', 9025.000, 0.000, 111.000, 0.111, 'CASH', 'success', '', 1, '', '2025-05-06 14:43:06', '2025-04-29', '2', '2025-05-06 08:13:06'), (47, 2, 10, 18, 1, NULL, '', 1000, 'May-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-06 14:43:06', '2025-05-06', '', '0000-00-00 00:00:00'), (48, 2, 10, 19, 2, 34, 'CH/2526/0034', 1000, 'May-2025', NULL, 0.000, 111.000, 0.111, 'CASH', 'success', '', 1, '', '2025-05-06 14:43:59', '2025-05-06', '2', '2025-05-06 12:00:00'), (49, 2, 10, 20, 1, 35, 'CH/2526/0035', 1000, 'Apr-2025', 9025.000, 0.000, 111.000, 0.111, 'CASH', 'success', '', 1, '', '2025-05-06 14:44:30', '2025-04-29', '2', '2025-05-06 08:14:30'), (50, 2, 10, 20, 2, 38, 'CH/2526/0038', 1000, 'May-2025', NULL, 0.000, 109.000, 0.114, 'CASH', 'success', '', 1, '', '2025-05-14 07:26:11', '2025-05-06', '2', '2025-05-13 12:00:00'), (51, 2, 10, 21, 1, 36, 'CH/2526/0036', 1000, 'Apr-2025', 8805.000, 0.000, 109.000, 0.114, 'GPAY', 'success', '', 1, '', '2025-05-14 06:26:44', '2025-04-30', '2', '2025-05-14 11:56:44'), (52, 2, 10, 21, 2, 37, 'CH/2526/0037', 1000, 'May-2025', NULL, 0.000, 109.000, 0.114, 'CASH', 'success', '', 1, '', '2025-05-14 07:24:43', '2025-05-14', '2', '2025-05-14 12:00:00'), (53, 2, 11, 22, 1, 39, 'CH/2526/0039', 2000, '2025-01-01', 8805.000, 0.000, 109.000, 0.227, 'CASH', 'success', '', 0, '', '2025-05-14 11:30:24', '2025-05-14', '2', '2025-01-01 00:00:00'), (54, 2, 3, 3, 1, NULL, '', 1000, 'May-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-14 11:30:24', '2025-05-14', '', '0000-00-00 00:00:00'), (55, 2, 3, 4, 1, NULL, '', 1000, 'May-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-14 11:30:24', '2025-05-14', '', '0000-00-00 00:00:00'), (56, 2, 5, 6, 1, NULL, '', 5000, 'May-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-14 11:30:24', '2025-05-14', '', '0000-00-00 00:00:00'), (57, 2, 5, 7, 1, NULL, '', 5000, 'May-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-14 11:30:24', '2025-05-14', '', '0000-00-00 00:00:00'), (58, 2, 5, 8, 1, NULL, '', 5000, 'May-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-14 11:30:24', '2025-05-14', '', '0000-00-00 00:00:00'), (59, 2, 6, 9, 8, 47, 'CH/2526/0047', 500, '2025-05-05', 8720.000, 0.000, 108.000, 0.057, 'GPAY', 'success', '', 1, '', '2025-05-17 14:25:44', '2025-05-14', '2', '2025-05-15 12:00:00'), (60, 2, 6, 9, 6, 42, 'CH/2526/0042', 500, '2025-05-12', NULL, 0.000, 109.000, 0.057, 'CASH', 'success', '', 1, '', '2025-05-14 13:21:10', '2025-05-14', '2', '2025-05-14 12:00:00'), (61, 2, 8, 11, 2, 41, 'CH/2526/0041', 2000, 'May-2025', NULL, 0.000, 109.000, 0.227, 'CASH', 'success', '', 1, '', '2025-05-14 13:18:39', '2025-05-14', '2', '2025-05-14 12:00:00'), (62, 2, 8, 12, 3, 40, 'CH/2526/0040', 2000, 'May-2025', NULL, 0.000, 109.000, 0.227, 'CASH', 'success', '', 1, '', '2025-05-14 13:18:29', '2025-05-14', '2', '2025-05-14 12:00:00'), (63, 2, 11, 22, 1, NULL, '', 2000, '2025-05-14', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-14 11:30:24', '2025-05-14', '', '0000-00-00 00:00:00'), (64, 2, 11, 23, 1, 43, 'CH/2526/0043', 2000, '2025-01-01', 8805.000, 8805.000, 109.000, 0.227, 'CASH', 'success', '', 1, '', '2025-05-14 13:25:58', '2025-05-01', '2', '2025-05-01 00:00:00'), (65, 2, 11, 23, 1, NULL, '', 2000, '2025-05-14', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-14 13:25:58', '2025-05-14', '', '0000-00-00 00:00:00'), (66, 2, 9, 16, 1, NULL, '', 500, '2025-05-15', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-15 06:58:39', '2025-05-15', '', '0000-00-00 00:00:00'), (67, 2, 12, 24, 1, 45, 'CH/2526/0045', 1000, 'Apr-2025', 8720.000, 0.000, 108.000, 0.115, 'CASH', 'success', '', 0, '', '2025-05-17 14:16:46', '2025-05-17', '2', '2025-04-01 00:00:00'), (68, 2, 12, 24, 2, 48, 'CH/2526/0048', 1000, 'May-2025', 8755.000, 0.000, 109.000, 0.114, 'CASH', 'success', '', 1, '', '2025-05-19 06:08:06', '2025-05-17', '2', '2025-05-05 12:00:00'), (69, 2, 9, 13, 1, NULL, '', 500, '2025-05-19', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-19 06:29:51', '2025-05-19', '', '0000-00-00 00:00:00'), (70, 2, 12, 25, 1, 53, 'CH/2526/0053', 1000, 'Apr-2025', 8720.000, 8720.000, 109.000, NULL, 'CASH', 'success', '', 1, '', '2025-05-19 15:20:57', '2025-05-19', '2', '2025-05-19 00:00:00'), (71, 2, 12, 26, 1, 54, 'CH/2526/0054', 1000, 'May-2025', 8720.000, 8720.000, 110.000, NULL, 'GPAY', 'success', '', 1, '', '2025-05-22 12:35:15', '2025-05-01', '2', '2025-05-01 00:00:00'), (72, 2, 9, 27, 1, 55, 'CH/2526/0055', 500, '2025-04-01', 9015.000, 9015.000, 110.000, 0.055, 'GPAY', 'success', '', 1, '', '2025-05-22 13:06:03', '2025-04-01', '2', '2025-04-01 00:00:00'), (73, 2, 9, 27, 1, NULL, '', 500, '2025-05-22', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-22 13:06:03', '2025-05-22', '', '0000-00-00 00:00:00'), (74, 2, 9, 28, 1, 56, 'CH/2526/0056', 500, '2025-05-20', 9015.000, 9015.000, 110.000, 0.055, 'CASH', 'success', '', 1, '', '2025-05-22 13:26:06', '2025-05-20', '2', '2025-05-20 00:00:00'), (75, 2, 9, 28, 1, NULL, '', 500, '2025-05-22', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-22 13:26:06', '2025-05-22', '', '0000-00-00 00:00:00'), (76, 2, 13, 29, 1, 57, 'CH/2526/0057', 1000, 'Jan-2025', 8000.000, 0.000, 111.000, 0.125, 'CASH', 'success', '', 0, '', '2025-05-23 10:00:15', '2025-05-23', '2', '2025-01-01 00:00:00'), (77, 2, 6, 9, 1, NULL, '', 500, '2025-05-19', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-23 10:00:15', '2025-05-23', '', '0000-00-00 00:00:00'), (78, 2, 13, 29, 2, 59, 'CH/2526/0059', 1000, 'Feb-2025', 8200.000, 0.000, 111.000, 0.122, 'CASH', 'success', '', 1, '', '2025-05-23 10:13:41', '2025-05-23', '2', '2025-02-01 12:00:00'), (79, 2, 13, 29, 3, 60, 'CH/2526/0060', 1000, 'Mar-2025', 8500.000, 0.000, 111.000, 0.118, 'GPAY', 'success', '', 1, '', '2025-05-23 10:16:13', '2025-05-23', '2', '2025-03-05 12:00:00'), (80, 2, 13, 29, 4, 61, 'CH/2526/0061', 1000, 'Apr-2025', 8700.000, 0.000, 111.000, 0.115, 'BANK', 'success', '', 1, '', '2025-05-23 10:16:46', '2025-05-23', '2', '2025-04-10 12:00:00'), (81, 2, 13, 29, 5, 62, 'CH/2526/0062', 1000, 'May-2025', 9000.000, 0.000, 111.000, 0.111, 'GPAY', 'success', '', 1, '', '2025-05-23 10:17:32', '2025-05-23', '2', '2025-05-15 12:00:00'), (82, 2, 13, 30, 1, 58, 'CH/2526/0058', 1000, 'Feb-2025', 8000.000, 8000.000, 111.000, 0.125, 'CASH', 'success', '', 1, '', '2025-05-23 10:07:05', '2025-02-01', '2', '2025-02-01 00:00:00'), (86, 2, 13, 31, 1, 63, 'CH/2526/0063', 1000, 'Jan-2025', 8000.000, 8000.000, 111.000, 0.125, 'CASH', 'success', '', 1, '', '2025-05-23 12:51:11', '2025-01-01', '2', '2025-01-01 12:00:00'), (87, 2, 13, 30, 1, NULL, '', 1000, 'Mar-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-23 12:51:11', '2025-05-23', '', '0000-00-00 00:00:00'), (88, 2, 13, 30, 1, NULL, '', 1000, 'Apr-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-23 12:51:11', '2025-05-23', '', '0000-00-00 00:00:00'), (89, 2, 13, 30, 1, NULL, '', 1000, 'May-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-23 12:51:11', '2025-05-23', '', '0000-00-00 00:00:00'), (90, 2, 13, 31, 2, 64, 'CH/2526/0064', 1000, 'Feb-2025', 8500.000, 0.000, 111.000, 0.118, 'CASH', 'success', '', 1, '', '2025-05-23 12:52:15', '2025-05-23', '2', '2025-02-02 12:00:00'), (91, 2, 13, 31, 3, 65, 'CH/2526/0065', 1000, 'Mar-2025', 8500.000, 0.000, 111.000, 0.118, 'CASH', 'success', '', 1, '', '2025-05-23 12:52:38', '2025-05-23', '2', '2025-03-06 12:00:00'), (92, 2, 13, 31, 4, 66, 'CH/2526/0066', 1000, 'Apr-2025', 8700.000, 0.000, 111.000, 0.115, 'CASH', 'success', '', 1, '', '2025-05-23 12:52:58', '2025-05-23', '2', '2025-04-16 12:00:00'), (93, 2, 13, 31, 5, 67, 'CH/2526/0067', 1000, 'May-2025', 8940.000, 0.000, 111.000, 0.112, 'GPAY', 'success', '', 1, '', '2025-05-23 12:53:12', '2025-05-23', '2', '2025-05-15 12:00:00'), (94, 2, 13, 32, 1, 68, 'CH/2526/0068', 1000, 'Apr-2025', 8000.000, 8000.000, 111.000, 0.125, 'CASH', 'success', '', 1, '', '2025-05-25 16:09:52', '2025-04-01', '2', '2025-04-01 12:00:00'), (95, 2, 13, 32, 2, 69, 'CH/2526/0069', 1000, 'May-2025', 9000.000, 0.000, 111.000, 0.111, 'GPAY', 'cancel', '', 1, '', '2025-05-25 16:13:15', '2025-05-25', '2', '2025-05-10 12:00:00'), (96, 2, 13, 32, 2, 70, 'CH/2526/0070', 1000, 'May-2025', 9200.000, 0.000, 111.000, 0.109, 'CASH', 'success', '', 1, '', '2025-05-25 16:13:50', '2025-05-25', '2', '2025-05-10 12:00:00'), (97, 2, 14, 33, 1, 71, 'CH/2526/0071', 1000, 'Apr-2025', 8510.000, 0.000, 110.000, 0.118, 'CASH', 'success', '', 0, '', '2025-05-28 11:21:06', '2025-05-28', '2', '2025-04-01 12:00:00'), (98, 2, 6, 9, 1, NULL, '', 500, '2025-05-26', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:21:06', '2025-05-28', '', '0000-00-00 00:00:00'), (99, 2, 14, 33, 2, 72, 'CH/2526/0072', 1000, 'May-2025', 8755.000, 0.000, 110.000, 0.114, 'CASH', 'success', '', 1, '', '2025-05-28 11:25:08', '2025-05-28', '2', '2025-05-19 12:00:00'), (100, 2, 15, 34, 1, 73, 'CH/2526/0073', 1000, 'Jan-2024', 8000.000, 0.000, 110.000, 0.125, 'CASH', 'success', '', 0, '', '2025-05-28 11:40:42', '2025-05-28', '2', '2024-01-01 12:00:00'), (101, 2, 15, 34, 1, NULL, '', 1000, 'Feb-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:40:42', '2025-05-28', '', '0000-00-00 00:00:00'), (102, 2, 15, 34, 1, NULL, '', 1000, 'Mar-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:40:42', '2025-05-28', '', '0000-00-00 00:00:00'), (103, 2, 15, 34, 1, NULL, '', 1000, 'Apr-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:40:42', '2025-05-28', '', '0000-00-00 00:00:00'), (104, 2, 15, 34, 1, NULL, '', 1000, 'May-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:40:42', '2025-05-28', '', '0000-00-00 00:00:00'), (105, 2, 15, 34, 1, NULL, '', 1000, 'Jun-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:40:42', '2025-05-28', '', '0000-00-00 00:00:00'), (106, 2, 15, 34, 1, NULL, '', 1000, 'Jul-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:40:42', '2025-05-28', '', '0000-00-00 00:00:00'), (107, 2, 15, 34, 1, NULL, '', 1000, 'Aug-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:40:42', '2025-05-28', '', '0000-00-00 00:00:00'), (108, 2, 15, 34, 1, NULL, '', 1000, 'Sep-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:40:42', '2025-05-28', '', '0000-00-00 00:00:00'), (109, 2, 15, 34, 1, NULL, '', 1000, 'Oct-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:40:42', '2025-05-28', '', '0000-00-00 00:00:00'), (110, 2, 15, 34, 1, NULL, '', 1000, 'Nov-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:40:42', '2025-05-28', '', '0000-00-00 00:00:00'), (111, 2, 15, 34, 1, NULL, '', 1000, 'Dec-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:40:42', '2025-05-28', '', '0000-00-00 00:00:00'), (112, 2, 16, 35, 1, 74, 'CH/2526/0074', 1000, 'Jan-2024', 8995.000, 0.000, 110.000, 0.111, 'CASH', 'success', '', 0, '', '2025-05-28 11:49:19', '2025-05-28', '2', '2024-01-01 12:00:00'), (113, 2, 16, 35, 1, NULL, '', 1000, 'Feb-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:49:19', '2025-05-28', '', '0000-00-00 00:00:00'), (114, 2, 16, 35, 1, NULL, '', 1000, 'Mar-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:49:19', '2025-05-28', '', '0000-00-00 00:00:00'), (115, 2, 16, 35, 1, NULL, '', 1000, 'Apr-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:49:19', '2025-05-28', '', '0000-00-00 00:00:00'), (116, 2, 16, 35, 1, NULL, '', 1000, 'May-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:49:19', '2025-05-28', '', '0000-00-00 00:00:00'), (117, 2, 16, 35, 1, NULL, '', 1000, 'Jun-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:49:19', '2025-05-28', '', '0000-00-00 00:00:00'), (118, 2, 16, 35, 1, NULL, '', 1000, 'Jul-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:49:19', '2025-05-28', '', '0000-00-00 00:00:00'), (119, 2, 16, 35, 1, NULL, '', 1000, 'Aug-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:49:19', '2025-05-28', '', '0000-00-00 00:00:00'), (120, 2, 16, 35, 1, NULL, '', 1000, 'Sep-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:49:19', '2025-05-28', '', '0000-00-00 00:00:00'), (121, 2, 16, 35, 1, NULL, '', 1000, 'Oct-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:49:19', '2025-05-28', '', '0000-00-00 00:00:00'), (122, 2, 16, 35, 1, NULL, '', 1000, 'Nov-2024', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-05-28 11:49:19', '2025-05-28', '', '0000-00-00 00:00:00'), (123, 2, 3, 3, 1, NULL, '', 1000, 'Jun-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-06-02 11:14:33', '2025-06-02', '', '0000-00-00 00:00:00'), (124, 2, 3, 4, 1, NULL, '', 1000, 'Jun-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-06-02 11:14:33', '2025-06-02', '', '0000-00-00 00:00:00'), (125, 2, 5, 6, 1, NULL, '', 5000, 'Jun-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-06-02 11:14:33', '2025-06-02', '', '0000-00-00 00:00:00'), (126, 2, 5, 7, 1, NULL, '', 5000, 'Jun-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-06-02 11:14:33', '2025-06-02', '', '0000-00-00 00:00:00'), (127, 2, 5, 8, 1, NULL, '', 5000, 'Jun-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-06-02 11:14:33', '2025-06-02', '', '0000-00-00 00:00:00'), (128, 2, 8, 11, 1, NULL, '', 2000, 'Jun-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-06-02 11:14:33', '2025-06-02', '', '0000-00-00 00:00:00'), (129, 2, 8, 12, 1, NULL, '', 2000, 'Jun-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-06-02 11:14:33', '2025-06-02', '', '0000-00-00 00:00:00'), (130, 2, 12, 24, 1, NULL, '', 1000, 'Jun-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-06-02 11:14:33', '2025-06-02', '', '0000-00-00 00:00:00'), (131, 2, 12, 25, 1, NULL, '', 1000, 'Jun-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-06-02 11:14:33', '2025-06-02', '', '0000-00-00 00:00:00'), (132, 2, 12, 26, 1, NULL, '', 1000, 'Jun-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-06-02 11:14:33', '2025-06-02', '', '0000-00-00 00:00:00'), (133, 2, 13, 32, 1, NULL, '', 1000, 'Jun-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-06-02 11:14:33', '2025-06-02', '', '0000-00-00 00:00:00'), (134, 2, 16, 35, 1, NULL, '', 1000, 'Jun-2025', NULL, 0.000, 0.000, NULL, '', 'pending', '', 0, '', '2025-06-02 11:14:33', '2025-06-02', '', '0000-00-00 00:00:00'); -- -------------------------------------------------------- -- -- Table structure for table `db_cobpayments` -- CREATE TABLE `db_cobpayments` ( `id` int(11) NOT NULL, `customer_id` int(11) DEFAULT NULL, `payment_date` date DEFAULT NULL, `payment_type` varchar(50) DEFAULT NULL, `payment` double(20,3) DEFAULT NULL, `payment_note` mediumtext DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `created_time` time DEFAULT NULL, `created_date` date DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_company` -- CREATE TABLE `db_company` ( `id` double(20,3) DEFAULT NULL, `company_code` varchar(150) DEFAULT NULL, `company_name` varchar(150) DEFAULT NULL, `company_website` varchar(150) DEFAULT NULL, `mobile` varchar(150) DEFAULT NULL, `phone` varchar(150) DEFAULT NULL, `email` varchar(100) DEFAULT NULL, `website` varchar(250) DEFAULT NULL, `company_logo` text DEFAULT NULL, `logo` mediumtext DEFAULT NULL, `upi_id` varchar(50) DEFAULT NULL, `upi_code` text DEFAULT NULL, `country` varchar(150) DEFAULT NULL, `state` varchar(150) DEFAULT NULL, `city` varchar(100) DEFAULT NULL, `address` varchar(300) DEFAULT NULL, `postcode` varchar(50) DEFAULT NULL, `gst_no` varchar(50) DEFAULT NULL, `vat_no` varchar(50) DEFAULT NULL, `pan_no` varchar(50) DEFAULT NULL, `bank_details` mediumtext DEFAULT NULL, `cid` int(11) DEFAULT NULL, `category_init` varchar(5) DEFAULT NULL, `item_init` varchar(5) DEFAULT NULL COMMENT 'INITAL CODE', `supplier_init` varchar(5) DEFAULT NULL COMMENT 'INITAL CODE', `purchase_init` varchar(5) DEFAULT NULL COMMENT 'INITAL CODE', `purchase_return_init` varchar(5) DEFAULT NULL, `customer_init` varchar(5) DEFAULT NULL COMMENT 'INITAL CODE', `sales_init` varchar(5) DEFAULT NULL COMMENT 'INITAL CODE', `sales_return_init` varchar(5) DEFAULT NULL, `expense_init` varchar(5) DEFAULT NULL, `invoice_view` int(11) DEFAULT NULL COMMENT '1=Standard,2=Indian GST', `status` int(11) DEFAULT NULL, `sms_status` int(11) DEFAULT NULL COMMENT '1=Enable 0=Disable', `sales_terms_and_conditions` text DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_counter` -- CREATE TABLE `db_counter` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `counter_name` varchar(100) NOT NULL, `description` text NOT NULL, `status` int(11) NOT NULL DEFAULT 1, `created_by` text NOT NULL, `created_date` date NOT NULL, `created_time` time NOT NULL, `system_ip` text NOT NULL, `system_name` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_country` -- CREATE TABLE `db_country` ( `id` int(11) NOT NULL, `country` varchar(4050) DEFAULT NULL, `added_on` date DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_country` -- INSERT INTO `db_country` (`id`, `country`, `added_on`, `status`) VALUES (1, 'Abkhazia', '2020-11-03', 1), (2, 'Afghanistan', '2020-11-03', 1), (3, 'Albania', '2020-11-03', 1), (4, 'Algeria', '2020-11-03', 1), (5, 'Andorra', '2020-11-03', 1), (6, 'Angola', '2020-11-03', 1), (7, 'Antigua and Barbuda', '2020-11-03', 1), (8, 'Argentina', '2020-11-03', 1), (9, 'Armenia', '2020-11-03', 1), (10, 'Australia', '2020-11-03', 1), (11, 'Austria', '2020-11-03', 1), (12, 'Azerbaijan', '2020-11-03', 1), (13, 'Bahamas', '2020-11-03', 1), (14, 'Bahrain', '2020-11-03', 1), (15, 'Bangladesh', '2020-11-03', 1), (16, 'Barbados', '2020-11-03', 1), (17, 'Belarus', '2020-11-03', 1), (18, 'Belgium', '2020-11-03', 1), (19, 'Belize', '2020-11-03', 1), (20, 'Benin', '2020-11-03', 1), (21, 'Bhutan', '2020-11-03', 1), (22, 'Bolivia', '2020-11-03', 1), (23, 'Bosnia and Herzegovina', '2020-11-03', 1), (24, 'Botswana', '2020-11-03', 1), (25, 'Brazil', '2020-11-03', 1), (26, 'Brunei', '2020-11-03', 1), (27, 'Bulgaria', '2020-11-03', 1), (28, 'Burkina Faso', '2020-11-03', 1), (29, 'Burma', '2020-11-03', 1), (30, 'Burundi', '2020-11-03', 1), (31, 'Cambodia', '2020-11-03', 1), (32, 'Cameroon', '2020-11-03', 1), (33, 'Canada', '2020-11-03', 1), (34, 'Cape Verde', '2020-11-03', 1), (35, 'Central African Republic', '2020-11-03', 1), (36, 'Chad', '2020-11-03', 1), (37, 'Chile', '2020-11-03', 1), (38, 'China', '2020-11-03', 1), (39, 'Colombia', '2020-11-03', 1), (40, 'Comoros', '2020-11-03', 1), (41, 'Congo', '2020-11-03', 1), (42, 'Cook Islands', '2020-11-03', 1), (43, 'Costa Rica', '2020-11-03', 1), (44, 'Croatia', '2020-11-03', 1), (45, 'Cuba', '2020-11-03', 1), (46, 'Cyprus', '2020-11-03', 1), (47, 'Czech Republic', '2020-11-03', 1), (48, 'C?te d\'Ivoire', '2020-11-03', 1), (49, 'Denmark', '2020-11-03', 1), (50, 'Djibouti', '2020-11-03', 1), (51, 'Dominica', '2020-11-03', 1), (52, 'Dominican Republic', '2020-11-03', 1), (53, 'East Timor', '2020-11-03', 1), (54, 'Ecuador', '2020-11-03', 1), (55, 'Egypt', '2020-11-03', 1), (56, 'El Salvador', '2020-11-03', 1), (57, 'Equatorial Guinea', '2020-11-03', 1), (58, 'Eritrea', '2020-11-03', 1), (59, 'Estonia', '2020-11-03', 1), (60, 'Ethiopia', '2020-11-03', 1), (61, 'Fiji', '2020-11-03', 1), (62, 'Finland', '2020-11-03', 1), (63, 'France', '2020-11-03', 1), (64, 'Gabon', '2020-11-03', 1), (65, 'Gambia', '2020-11-03', 1), (66, 'Georgia', '2020-11-03', 1), (67, 'Germany', '2020-11-03', 1), (68, 'Ghana', '2020-11-03', 1), (69, 'Greece', '2020-11-03', 1), (70, 'Grenada', '2020-11-03', 1), (71, 'Guatemala', '2020-11-03', 1), (72, 'Guinea', '2020-11-03', 1), (73, 'Guinea-Bissau', '2020-11-03', 1), (74, 'Guyana', '2020-11-03', 1), (75, 'Haiti', '2020-11-03', 1), (76, 'Honduras', '2020-11-03', 1), (77, 'Hungary', '2020-11-03', 1), (78, 'Iceland', '2020-11-03', 1), (79, 'India', '2020-11-03', 1), (80, 'Indonesia', '2020-11-03', 1), (81, 'Iran', '2020-11-03', 1), (82, 'Iraq', '2020-11-03', 1), (83, 'Ireland', '2020-11-03', 1), (84, 'Israel', '2020-11-03', 1), (85, 'Italy', '2020-11-03', 1), (86, 'Ivory Coast', '2020-11-03', 1), (87, 'Jamaica', '2020-11-03', 1), (88, 'Japan', '2020-11-03', 1), (89, 'Jordan', '2020-11-03', 1), (90, 'Kazakhstan', '2020-11-03', 1), (91, 'Kenya', '2020-11-03', 1), (92, 'Kiribati', '2020-11-03', 1), (93, 'Korea, North', '2020-11-03', 1), (94, 'Korea, South', '2020-11-03', 1), (95, 'Kosovo', '2020-11-03', 1), (96, 'Kuwait', '2020-11-03', 1), (97, 'Kyrgyzstan', '2020-11-03', 1), (98, 'Laos', '2020-11-03', 1), (99, 'Latvia', '2020-11-03', 1), (100, 'Lebanon', '2020-11-03', 1), (101, 'Lesotho', '2020-11-03', 1), (102, 'Liberia', '2020-11-03', 1), (103, 'Libya', '2020-11-03', 1), (104, 'Liechtenstein', '2020-11-03', 1), (105, 'Lithuania', '2020-11-03', 1), (106, 'Luxembourg', '2020-11-03', 1), (107, 'Macedonia', '2020-11-03', 1), (108, 'Madagascar', '2020-11-03', 1), (109, 'Malawi', '2020-11-03', 1), (110, 'Malaysia', '2020-11-03', 1), (111, 'Maldives', '2020-11-03', 1), (112, 'Mali', '2020-11-03', 1), (113, 'Malta', '2020-11-03', 1), (114, 'Marshall Islands', '2020-11-03', 1), (115, 'Mauritania', '2020-11-03', 1), (116, 'Mauritius', '2020-11-03', 1), (117, 'Mexico', '2020-11-03', 1), (118, 'Micronesia', '2020-11-03', 1), (119, 'Moldova', '2020-11-03', 1), (120, 'Monaco', '2020-11-03', 1), (121, 'Mongolia', '2020-11-03', 1), (122, 'Montenegro', '2020-11-03', 1), (123, 'Morocco', '2020-11-03', 1), (124, 'Mozambique', '2020-11-03', 1), (125, 'Myanmar / Burma', '2020-11-03', 1), (126, 'Nagorno-Karabakh', '2020-11-03', 1), (127, 'Namibia', '2020-11-03', 1), (128, 'Nauru', '2020-11-03', 1), (129, 'Nepal', '2020-11-03', 1), (130, 'Netherlands', '2020-11-03', 1), (131, 'New Zealand', '2020-11-03', 1), (132, 'Nicaragua', '2020-11-03', 1), (133, 'Niger', '2020-11-03', 1), (134, 'Nigeria', '2020-11-03', 1), (135, 'Niue', '2020-11-03', 1), (136, 'Northern Cyprus', '2020-11-03', 1), (137, 'Norway', '2020-11-03', 1), (138, 'Oman', '2020-11-03', 1), (139, 'Pakistan', '2020-11-03', 1), (140, 'Palau', '2020-11-03', 1), (141, 'Palestine', '2020-11-03', 1), (142, 'Panama', '2020-11-03', 1), (143, 'Papua New Guinea', '2020-11-03', 1), (144, 'Paraguay', '2020-11-03', 1), (145, 'Peru', '2020-11-03', 1), (146, 'Philippines', '2020-11-03', 1), (147, 'Poland', '2020-11-03', 1), (148, 'Portugal', '2020-11-03', 1), (149, 'Qatar', '2020-11-03', 1), (150, 'Romania', '2020-11-03', 1), (151, 'Russia', '2020-11-03', 1), (152, 'Rwanda', '2020-11-03', 1), (153, 'Sahrawi Arab Democratic Republic', '2020-11-03', 1), (154, 'Saint Kitts and Nevis', '2020-11-03', 1), (155, 'Saint Lucia', '2020-11-03', 1), (156, 'Saint Vincent and the Grenadines', '2020-11-03', 1), (157, 'Samoa', '2020-11-03', 1), (158, 'San Marino', '2020-11-03', 1), (159, 'Saudi Arabia', '2020-11-03', 1), (160, 'Senegal', '2020-11-03', 1), (161, 'Serbia', '2020-11-03', 1), (162, 'Seychelles', '2020-11-03', 1), (163, 'Sierra Leone', '2020-11-03', 1), (164, 'Singapore', '2020-11-03', 1), (165, 'Slovakia', '2020-11-03', 1), (166, 'Slovenia', '2020-11-03', 1), (167, 'Solomon Islands', '2020-11-03', 1), (168, 'Somalia', '2020-11-03', 1), (169, 'Somaliland', '2020-11-03', 1), (170, 'South Africa', '2020-11-03', 1), (171, 'South Ossetia', '2020-11-03', 1), (172, 'Spain', '2020-11-03', 1), (173, 'Sri Lanka', '2020-11-03', 1), (174, 'Sudan', '2020-11-03', 1), (175, 'Suriname', '2020-11-03', 1), (176, 'Swaziland', '2020-11-03', 1), (177, 'Sweden', '2020-11-03', 1), (178, 'Switzerland', '2020-11-03', 1), (179, 'Syria', '2020-11-03', 1), (180, 'S?o Tom? and Pr?ncipe', '2020-11-03', 1), (181, 'Taiwan', '2020-11-03', 1), (182, 'Tajikistan', '2020-11-03', 1), (183, 'Tanzania', '2020-11-03', 1), (184, 'Thailand', '2020-11-03', 1), (185, 'Timor-Leste / East Timor', '2020-11-03', 1), (186, 'Togo', '2020-11-03', 1), (187, 'Tonga', '2020-11-03', 1), (188, 'Trinidad and Tobago', '2020-11-03', 1), (189, 'Tunisia', '2020-11-03', 1), (190, 'Turkey', '2020-11-03', 1), (191, 'Turkmenistan', '2020-11-03', 1), (192, 'Tuvalu', '2020-11-03', 1), (193, 'Uganda', '2020-11-03', 1), (194, 'Ukraine', '2020-11-03', 1), (195, 'United Arab Emirates', '2020-11-03', 1), (196, 'United Kingdom', '2020-11-03', 1), (197, 'United States', '2020-11-03', 1), (198, 'Uruguay', '2020-11-03', 1), (199, 'Uzbekistan', '2020-11-03', 1), (200, 'Vanuatu', '2020-11-03', 1), (201, 'Vatican City', '2020-11-03', 1), (202, 'Venezuela', '2020-11-03', 1), (203, 'Vietnam', '2020-11-03', 1), (204, 'Yemen', '2020-11-03', 1), (205, 'Zambia', '2020-11-03', 1), (206, 'Zimbabwe', '2020-11-03', 1); -- -------------------------------------------------------- -- -- Table structure for table `db_coupons` -- CREATE TABLE `db_coupons` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `code` varchar(50) DEFAULT NULL, `name` varchar(100) DEFAULT NULL, `description` text DEFAULT NULL, `value` double(20,3) DEFAULT NULL, `type` varchar(50) DEFAULT NULL, `expire_date` date DEFAULT NULL, `status` int(11) DEFAULT NULL, `created_by` varchar(100) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(100) DEFAULT NULL, `system_name` varchar(250) DEFAULT NULL, `system_ip` varchar(250) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_currency` -- CREATE TABLE `db_currency` ( `id` int(11) NOT NULL, `currency_name` varchar(50) DEFAULT NULL, `currency_code` varchar(20) DEFAULT NULL, `currency` blob DEFAULT NULL, `symbol` mediumtext DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_currency` -- INSERT INTO `db_currency` (`id`, `currency_name`, `currency_code`, `currency`, `symbol`, `status`) VALUES (1, 'Bulgaria-Bulgarian lev(BGN)', NULL, 0xd0bbd0b2, NULL, 1), (2, 'Switzerland \r-Swiss franc (CHF)', NULL, 0x434846, NULL, 1), (3, 'Czechia-Czech koruna(CZK))', NULL, 0x4bc48d20, NULL, 1), (4, 'Denmark-Danish krone(DKK)', NULL, 0x6b7220, NULL, 1), (5, 'Euro area countries -Euro(EUR)', NULL, 0xe282ac20, NULL, 1), (6, 'United Kingdom-Pounds sterling (GBP)', NULL, 0xc2a3, NULL, 1), (7, 'Croatia -Croatian Kuna (HRK)', NULL, 0x6b6e, NULL, 1), (8, 'Georgia -Georgian lari (GEL)', NULL, 0x2623383338323b, NULL, 1), (9, 'Hungary -Hungarian forint (HUF)', NULL, 0x6674, NULL, 1), (10, 'Norway -Norwegian krone (NOK)', NULL, 0x6b72, NULL, 1), (11, 'Poland -Polish zloty (PLN)', NULL, 0x7ac58220, NULL, 1), (12, 'Russia -Russian ruble (RUB)', NULL, 0x2623383338313b20, NULL, 1), (13, 'Romania -Romanian leu (RON)', NULL, 0x6c6569, NULL, 1), (14, 'Sweden - Swedish krona (SEK)', NULL, 0x6b72, NULL, 1), (15, 'Turkey -Turkish lira (TRY)', NULL, 0x2623383337383b20, NULL, 1), (16, 'Ukraine - Ukrainian hryvna (UAH)', NULL, 0xe282b420, NULL, 1), (17, 'UAE -Emirati dirham (AED)', NULL, 0xd8af2ed8a520, NULL, 1), (18, 'Israel - Israeli shekel (ILS)', NULL, 0x2623383336323b20, NULL, 1), (19, 'Kenya - Kenyan shilling(KES)', NULL, 0x4b7368, NULL, 1), (20, 'Morocco - Moroccan dirham (MAD)', NULL, 0x2ed8af2ed98520, NULL, 1), (21, 'Nigeria - Nigerian naira (NGN)', NULL, 0xe282a620, NULL, 1), (22, 'South Africa -South african rand** (ZAR)', NULL, 0x52, NULL, 1), (23, 'Brazil- Brazilian real(BRL)', NULL, 0x5224, NULL, 1), (24, 'Canada-Canadian dollars (CAD)', NULL, 0x24, NULL, 1), (25, 'Chile -Chilean peso (CLP)', NULL, 0x24, NULL, 1), (26, 'Colombia -Colombian peso (COP)', NULL, 0x24, NULL, 1), (27, 'Mexico - Mexican peso (MXN)', NULL, 0x24, NULL, 1), (28, 'Peru -Peruvian sol(PEN)', NULL, 0x532f2e20, NULL, 1), (29, 'USA -US dollar (USD)', NULL, 0x24, NULL, 1), (30, 'Australia -Australian dollars (AUD)', NULL, 0x24, NULL, 1), (31, 'Bangladesh -Bangladeshi taka (BDT) ', NULL, 0x2623323534373b20, NULL, 1), (32, 'China - Chinese yuan (CNY)', NULL, 0x262332303830333b20, NULL, 1), (33, 'Hong Kong - Hong Kong dollar(HKD)', NULL, 0x262333363b20, NULL, 1), (34, 'Indonesia - Indonesian rupiah (IDR)', NULL, 0x5270, NULL, 1), (35, 'India - Indian rupee', 'INR', 0xe282b9, '?', 1), (36, 'Japan - Japanese yen (JPY)', NULL, 0xc2a5, NULL, 1), (37, 'Malaysia - Malaysian ringgit (MYR)', NULL, 0x524d, NULL, 1), (38, 'New Zealand - New Zealand dollar (NZD)', NULL, 0x24, NULL, 1), (39, 'Philippines- Philippine peso (PHP)', NULL, 0xe282b120, NULL, 1), (40, 'Pakistan- Pakistani rupee (PKR)', NULL, 0x527320, NULL, 1), (41, 'Singapore - Singapore dollar (SGD)', NULL, 0x24, NULL, 1), (42, 'South Korea - South Korean won (KRW)', NULL, 0x2623383336313b20, NULL, 1), (43, 'Sri Lanka - Sri Lankan rupee (LKR)', NULL, 0x5273, NULL, 1), (44, 'Thailand- Thai baht (THB)', NULL, 0x2623333634373b20, NULL, 1), (45, 'Vietnam - Vietnamese dong', 'VND', 0xe282ab, NULL, 1), (46, 'Bitcoin - BTC or XBT', 'BTC ', 0xe282bf, NULL, 1), (47, 'Ripples', 'XRP', 0x585250, NULL, 1), (48, 'Monero', 'XMR', 0xc9b1, NULL, 1), (49, 'Litecoin', 'LTC', 0xc581, NULL, 1), (50, 'Ethereum', 'ETH', 0xce9e, NULL, 1), (51, 'Euro', 'EUR', 0xe282ac, NULL, 1), (52, 'Pounds sterling', 'GBP', 0xc2a3, NULL, 1), (53, 'US dollar', 'USD', 0x24, NULL, 1), (54, 'Japanese yen', 'JPY', 0xc2a5, NULL, 1), (55, 'Omani rial', 'OMR', 0xd8b12ed8b92e, NULL, 1); -- -------------------------------------------------------- -- -- Table structure for table `db_custadvance` -- CREATE TABLE `db_custadvance` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `count_id` int(11) DEFAULT NULL, `warehouse_id` int(11) NOT NULL, `account_id` int(11) DEFAULT NULL, `payment_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `payment_date` date DEFAULT NULL, `customer_id` int(11) DEFAULT NULL, `total_amount` decimal(20,3) NOT NULL, `round_off` decimal(20,3) NOT NULL, `amount` double(20,3) DEFAULT NULL, `payment_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `system_ip` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `system_name` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `status` int(11) DEFAULT NULL, `paid_status` int(11) DEFAULT 0, `sales_id` int(11) NOT NULL, `purchase_id` int(11) NOT NULL, `old_gold_rate` decimal(20,3) NOT NULL, `old_silver_weight` decimal(20,3) NOT NULL, `old_silver_rate` decimal(20,3) NOT NULL, `old_gold_gross_weight` decimal(20,3) NOT NULL, `old_gold_less` decimal(20,3) NOT NULL, `old_gold_amount` decimal(20,3) NOT NULL, `old_gold_final_weight` decimal(20,3) NOT NULL, `old_silver_gross_weight` decimal(20,3) NOT NULL, `old_silver_amount` decimal(20,3) NOT NULL, `old_silver_less` decimal(20,3) NOT NULL, `old_gold_purity` decimal(20,3) NOT NULL, `old_gold_weight` decimal(20,3) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_custadvance` -- INSERT INTO `db_custadvance` (`id`, `store_id`, `count_id`, `warehouse_id`, `account_id`, `payment_code`, `payment_date`, `customer_id`, `total_amount`, `round_off`, `amount`, `payment_type`, `note`, `created_by`, `created_date`, `created_time`, `system_ip`, `system_name`, `status`, `paid_status`, `sales_id`, `purchase_id`, `old_gold_rate`, `old_silver_weight`, `old_silver_rate`, `old_gold_gross_weight`, `old_gold_less`, `old_gold_amount`, `old_gold_final_weight`, `old_silver_gross_weight`, `old_silver_amount`, `old_silver_less`, `old_gold_purity`, `old_gold_weight`) VALUES (1, 2, 1, 2, 0, 'ADV0001', '2025-03-10', 4, 5000.000, 0.000, 5000.000, NULL, '', 'rkteams', '2025-03-10', '06:08:35 pm', '103.237.57.160', '103.237.57.160', 1, 1, 7, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000), (2, 2, 2, 2, 0, 'ADV0002', '2025-03-11', 5, 15000.000, 0.000, 15000.000, NULL, '', 'rkteams', '2025-03-11', '02:57:09 pm', '103.148.33.236', '103.148.33.236', 1, 1, 11, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000), (3, 2, 3, 2, 0, 'ADV0003', '2025-03-11', 5, 2500.000, 0.000, 2500.000, NULL, '', 'rkteams', '2025-03-11', '03:13:04 pm', '103.148.33.236', '103.148.33.236', 1, 0, 0, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000), (4, 2, 4, 2, 0, 'ADV0004', '2025-03-18', 9, 10000.000, 0.000, 10000.000, NULL, '', 'rkteams', '2025-03-18', '02:53:00 pm', '223.237.185.81', '223.237.185.81', 1, 1, 20, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000), (5, 2, 5, 2, 0, 'ADV0005', '2025-03-24', 1, 10000.000, 0.000, 10000.000, NULL, '', 'rkteams', '2025-03-24', '12:21:20 pm', '122.179.242.134', '122.179.242.134', 1, 1, 21, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000), (6, 2, 7, 2, 0, 'ADV0007', '2025-03-27', 12, 100000.000, 0.000, 100000.000, NULL, '', 'rkteams', '2025-03-27', '01:13:46 pm', '220.158.156.181', '220.158.156.181', 1, 1, 30, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000); -- -------------------------------------------------------- -- -- Table structure for table `db_customers` -- CREATE TABLE `db_customers` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create Customer Code', `customer_code` varchar(20) DEFAULT NULL, `customer_name` varchar(50) DEFAULT NULL, `mobile` varchar(15) DEFAULT NULL, `phone` varchar(15) DEFAULT NULL, `email` varchar(50) DEFAULT NULL, `gstin` varchar(100) DEFAULT NULL, `tax_number` varchar(50) DEFAULT NULL, `vatin` varchar(100) DEFAULT NULL, `opening_balance` double(20,3) DEFAULT NULL, `sales_due` double(20,3) DEFAULT NULL, `sales_return_due` double(20,3) DEFAULT NULL, `country_id` int(11) DEFAULT NULL, `state_id` int(11) DEFAULT NULL, `city` varchar(50) DEFAULT NULL, `postcode` varchar(10) DEFAULT NULL, `address` varchar(250) DEFAULT NULL, `ship_country_id` int(11) DEFAULT NULL, `ship_state_id` int(11) DEFAULT NULL, `ship_city` varchar(100) DEFAULT NULL, `ship_postcode` varchar(10) DEFAULT NULL, `ship_address` text DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(30) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `status` int(11) DEFAULT NULL, `location_link` text DEFAULT NULL, `attachment_1` text DEFAULT NULL, `price_level_type` varchar(50) DEFAULT 'Increase', `price_level` double(20,3) DEFAULT 0.000, `delete_bit` int(11) DEFAULT 0, `tot_advance` double(20,3) DEFAULT NULL, `credit_limit` double(20,3) DEFAULT -1.000, `shippingaddress_id` int(11) DEFAULT NULL, `customer_type` int(11) NOT NULL DEFAULT 0, `supplier_id` int(11) NOT NULL, `chit_payments` decimal(20,3) NOT NULL, `chit_gold_weight` decimal(20,3) NOT NULL, `tot_return_amount` decimal(20,3) NOT NULL, `total_loyal_points` decimal(20,3) DEFAULT NULL, `opening_loyal_points` decimal(20,3) NOT NULL DEFAULT 0.000, `loyal_points_options` int(11) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_customers` -- INSERT INTO `db_customers` (`id`, `store_id`, `count_id`, `customer_code`, `customer_name`, `mobile`, `phone`, `email`, `gstin`, `tax_number`, `vatin`, `opening_balance`, `sales_due`, `sales_return_due`, `country_id`, `state_id`, `city`, `postcode`, `address`, `ship_country_id`, `ship_state_id`, `ship_city`, `ship_postcode`, `ship_address`, `system_ip`, `system_name`, `created_date`, `created_time`, `created_by`, `company_id`, `status`, `location_link`, `attachment_1`, `price_level_type`, `price_level`, `delete_bit`, `tot_advance`, `credit_limit`, `shippingaddress_id`, `customer_type`, `supplier_id`, `chit_payments`, `chit_gold_weight`, `tot_return_amount`, `total_loyal_points`, `opening_loyal_points`, `loyal_points_options`) VALUES (1, 2, 1, 'CU/02/0001', 'RK Creators V', '8870047749', '', 'business.rkcreators@gmail.com', '', '', NULL, 0.000, 185675.000, 2575.000, 79, 46, 'Coimbatore', '641012', '203/1,3rd Floor, 9th Street, Cross cut road, Gandhipuram', NULL, NULL, NULL, NULL, NULL, '122.178.255.6', 'abts-kk-static-006.255.178.122.airtelbroadband.in', '2025-02-26', '11:07:52 am', 'RK creators', NULL, 1, '', NULL, 'Increase', 0.000, 0, 0.000, -1.000, 1, 0, 0, 0.000, 0.588, -28135.000, 366.788, 0.000, 0), (2, 2, 2, 'CU/02/0002', 'DINESH', '', '', '', '', '', NULL, 0.000, 180250.000, NULL, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '49.206.112.64', '49.206.112.64.actcorp.in', '2025-02-27', '03:22:13 pm', 'RK creators', NULL, 1, '', NULL, 'Increase', 0.000, 0, 0.000, -1.000, NULL, 0, 0, 0.000, 0.000, 0.000, 41.580, 0.000, 0), (3, 2, 3, 'CU/02/0003', 'Seerin', '+917502875028', '7502875028', 'Seerinbabuyusuf@gmail.com', '', '', NULL, 0.000, 0.000, 7416.000, 79, 46, 'Erode', '638501', '36 raja street anthiyur', NULL, NULL, NULL, NULL, NULL, '152.58.247.23', '152.58.247.23', '2025-03-06', '09:02:00 pm', 'RK creators', NULL, 1, '', NULL, 'Increase', 0.000, 0, 0.000, -1.000, NULL, 0, 0, 0.000, 0.000, 7416.000, 55.938, 0.000, 0), (4, 2, 4, 'CU/02/0004', 'sneha', '801243645', '', '', '', '', NULL, 0.000, 96820.000, NULL, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '103.237.57.160', '103.237.57.160', '2025-03-10', '05:50:15 pm', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, 0.000, -1.000, NULL, 0, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (5, 2, 5, 'CU/02/0005', 'ESHWARI', '', '', '', '', '', NULL, 0.000, 17923.000, NULL, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '103.148.33.236', '103.148.33.236', '2025-03-11', '02:19:48 pm', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, 2500.000, -1.000, NULL, 0, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (6, 2, 6, 'CU/02/0006', 'DEVI', '', '', '', '', '', NULL, 0.000, 0.000, 23045.000, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '103.148.33.236', '103.148.33.236', '2025-03-11', '06:24:18 pm', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, 0.000, -1.000, 2, 0, 0, 0.000, 0.000, 23045.000, 0.000, 0.000, 0), (7, 2, 7, 'CU/02/0007', 'VIJAYA', '', '', '', '', '', NULL, 0.000, NULL, NULL, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '103.148.33.236', '103.148.33.236', '2025-03-12', '10:54:29 am', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, NULL, -1.000, NULL, 0, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (8, 2, 8, 'CU/02/0008', 'NANDHINI V', '', '', '', '', '', NULL, 0.000, 200.000, NULL, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '103.148.33.236', '103.148.33.236', '2025-03-13', '06:39:20 pm', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, 0.000, -1.000, NULL, 0, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (9, 2, 9, 'CU/02/0009', 'SANTHOSH', '', '', '', '', '', NULL, 0.000, 0.000, NULL, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '223.237.183.245', '223.237.183.245', '2025-03-18', '02:17:36 pm', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, 0.000, -1.000, NULL, 0, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (10, 2, 10, 'CU/02/0010', 'Nishanth', '', '', '', '', '', NULL, 1800.000, NULL, NULL, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '171.79.51.212', '171.79.51.212', '2025-03-22', '09:49:37 pm', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, NULL, -1.000, NULL, 0, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (11, 2, 11, 'CU/02/0011', 'guru', '9361923725', '', '', '', '', NULL, 0.000, NULL, NULL, 79, 46, 'namakkal', '6637009', '110a, periyar st, velur rd, tiruchengode, ', NULL, NULL, NULL, NULL, NULL, '36.255.17.196', 'ws196-17.255.36.rcil.gov.in', '2025-03-24', '04:54:41 pm', 'rkteams', NULL, 0, 'neyer ', NULL, 'Increase', 0.000, 0, NULL, -1.000, 3, 0, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (12, 2, 12, 'CU/02/0012', 'GURU', '9344882661', '', '', '', '', NULL, 0.000, 0.000, NULL, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '220.158.156.181', '220.158.156.181', '2025-03-27', '12:55:27 pm', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, 0.000, -1.000, NULL, 0, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (13, 2, 13, 'CU/02/0013', 'ARUN', '', '', '', '', '', NULL, 0.000, 187.000, 7316.000, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '122.173.103.164', 'abts-north-dynamic-164.103.173.122.airtelbroadband', '2025-03-29', '05:18:33 pm', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, 0.000, -1.000, NULL, 0, 0, 0.000, 0.000, 7316.000, 0.000, 0.000, 0), (14, 2, 14, 'CU/02/0014', 'ARUN', '', '', '', '', '', NULL, 0.000, NULL, NULL, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '106.195.44.236', '106.195.44.236', '2025-04-05', '06:30:21 pm', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, NULL, -1.000, NULL, 0, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (15, 2, 15, 'CU/02/0015', 'NELLAIYAPPAN', '9443503983', '', '', '', '', NULL, 0.000, 0.000, NULL, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '223.237.177.115', '223.237.177.115', '2025-04-21', '12:54:03 pm', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, 0.000, -1.000, NULL, 0, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (16, 2, 16, 'CU/02/0016', 'Dhivya', '987654321', '789798798', 'rkteams@gmail.com', '1111111111', '11111111111', NULL, 0.000, NULL, NULL, 79, 46, 'coimbaotre', '654654', 'aa, bbb, cccc', NULL, NULL, NULL, NULL, NULL, '106.205.120.13', '106.205.120.13', '2025-04-21', '04:42:11 pm', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, NULL, -1.000, 4, 0, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (17, 2, 17, 'CU/02/0017', 'THAARIKA T', '', '', '', '', '', NULL, 0.000, NULL, NULL, 0, NULL, '', '', ' 123 street , cmbatorer, gandipuram 64343', NULL, NULL, NULL, NULL, NULL, '122.174.196.162', 'abts-tn-dynamic-162.196.174.122.airtelbroadband.in', '2025-04-29', '08:25:35 pm', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, NULL, -1.000, 5, 0, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (18, 2, 18, 'CU/02/0018', 'loyal points', '', '', '', '', '', NULL, 0.000, 91258.000, NULL, 0, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '122.179.215.82', '122.179.215.82', '2025-05-10', '04:51:11 pm', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, 0.000, -1.000, 6, 0, 0, 0.000, 0.000, 0.000, 328.145, 100.000, 1), (19, 2, 19, 'CU/02/0019', 'ARUN JEWEL', '9123522462', '', '', '', '', NULL, 0.000, 45740.000, NULL, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '122.178.51.10', 'abts-tn-dynamic-010.51.178.122.airtelbroadband.in', '2025-05-12', '12:23:45 pm', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, 0.000, -1.000, 7, 0, 0, 0.000, 0.000, 0.000, 261.020, 150.000, 1), (20, 2, 20, 'CU/02/0020', 'GOLD SILVER', '', '', '', '', '', NULL, 0.000, 0.000, NULL, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '122.178.51.10', 'abts-tn-dynamic-010.51.178.122.airtelbroadband.in', '2025-05-12', '12:33:05 pm', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, 0.000, -1.000, 8, 0, 0, 0.000, 0.000, 0.000, 48.080, 0.000, 1), (21, 2, 21, 'CU/02/0021', 'test customer', '', '', '', '', '', NULL, 0.000, NULL, NULL, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '136.185.160.90', 'abts-kk-dynamic-90.160.185.136.airtelbroadband.in', '2025-05-13', '10:17:46 am', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, NULL, -1.000, NULL, 0, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (22, 2, 22, 'CU/02/0022', 'new customer', '', '', '', '', '', NULL, 0.000, NULL, NULL, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '122.179.53.220', 'abts-kk-dynamic-220.53.179.122.airtelbroadband.in', '2025-05-14', '11:52:44 am', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, NULL, -1.000, NULL, 0, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (23, 2, 23, 'CU/02/0023', 'rk', '+919876512345', '', 'rkteams@gmail.com', '', '', NULL, 0.000, 0.000, NULL, 79, 46, 'cbe', '123456', 'aaa,bbb,ccc,cbe-612121.', NULL, NULL, NULL, NULL, NULL, '182.69.217.179', 'abts-north-dynamic-179.217.69.182.airtelbroadband.', '2025-05-26', '11:17:21 am', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, 0.000, -1.000, NULL, 0, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (24, 2, 24, 'CU/02/0024', 'NIVETHA', '', '', '', '', '', NULL, 0.000, 0.000, NULL, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '117.98.181.199', '117.98.181.199', '2025-05-28', '04:50:53 pm', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, 0.000, -1.000, NULL, 0, 0, 0.000, 0.000, 0.000, 40.515, 0.000, 0), (25, 2, 25, 'CU/02/0025', 'SWATHISH', '', '', '', '', '', NULL, 0.000, NULL, NULL, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '223.185.24.62', '223.185.24.62', '2025-05-28', '07:02:36 pm', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, NULL, -1.000, NULL, 0, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (26, 2, 26, 'CU/02/0026', 'IBRAHIM', '', '', '', '', '', NULL, 0.000, 548.000, 548.000, NULL, NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, '103.160.240.171', '103.160.240.171', '2025-05-31', '06:24:29 pm', 'rkteams', NULL, 1, '', NULL, 'Increase', 0.000, 0, 0.000, -1.000, NULL, 0, 0, 0.000, 0.000, 548.000, 50.114, 0.000, 0); -- -------------------------------------------------------- -- -- Table structure for table `db_customerscheme` -- CREATE TABLE `db_customerscheme` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `group_code` varchar(100) NOT NULL, `count_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `group_id` int(11) NOT NULL, `scheme_id` int(11) NOT NULL, `customer_id` int(11) NOT NULL, `customer_created_date` date DEFAULT NULL, `scheme_amount` decimal(20,3) DEFAULT NULL, `advance_amount` decimal(20,3) DEFAULT NULL, `total_paid_amount` decimal(20,3) DEFAULT NULL, `total_gold_weight` decimal(20,3) DEFAULT NULL, `no_of_installment` int(11) NOT NULL, `balanace_amount` decimal(20,3) DEFAULT NULL, `chit_status` varchar(50) NOT NULL DEFAULT 'initial', `bonus_amount` decimal(20,3) DEFAULT NULL, `bonus_type` text NOT NULL, `final_gold` decimal(20,3) DEFAULT NULL, `final_amount` decimal(20,3) DEFAULT NULL, `payment_type` varchar(100) NOT NULL, `reason` text NOT NULL, `gold_rate` decimal(20,3) NOT NULL, `gold_rate24` decimal(20,3) NOT NULL, `silver_rate` decimal(20,3) NOT NULL, `sales_id` int(11) NOT NULL, `final_status` varchar(100) NOT NULL, `df` int(11) NOT NULL, `created_by` varchar(50) NOT NULL, `created_date` date NOT NULL, `created_time` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), `updated_by` int(11) NOT NULL, `updated_at` decimal(10,0) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `db_customerscheme` -- INSERT INTO `db_customerscheme` (`id`, `store_id`, `group_code`, `count_id`, `warehouse_id`, `group_id`, `scheme_id`, `customer_id`, `customer_created_date`, `scheme_amount`, `advance_amount`, `total_paid_amount`, `total_gold_weight`, `no_of_installment`, `balanace_amount`, `chit_status`, `bonus_amount`, `bonus_type`, `final_gold`, `final_amount`, `payment_type`, `reason`, `gold_rate`, `gold_rate24`, `silver_rate`, `sales_id`, `final_status`, `df`, `created_by`, `created_date`, `created_time`, `updated_by`, `updated_at`) VALUES (3, 2, 'A0001', 1, 2, 3, 3, 12, '2025-03-27', 1000.000, 1000.000, 2000.000, 0.234, 2, 9000.000, 'initial', 0.000, '', 0.000, 0.000, 'CASH', '', 8300.000, 0.000, 105.000, 0, '', 0, 'rkteams', '2025-03-27', '2025-05-19 06:15:19', 0, NULL), (4, 2, 'A0002', 2, 2, 3, 3, 10, '2025-03-27', 1000.000, 1000.000, 2000.000, 0.234, 2, 9000.000, 'initial', 0.000, '', 0.000, 0.000, 'CASH', '', 8300.000, 0.000, 105.000, 0, '', 0, 'rkteams', '2025-03-27', '2025-05-19 10:21:09', 0, NULL), (5, 2, 'DS0001', 1, 2, 4, 3, 1, '2025-04-08', 5000.000, 5000.000, 5000.000, 0.600, 1, -5000.000, 'initial', 0.000, '', 0.000, 0.000, 'GPAY', '', 8285.000, 0.000, 103.000, 0, '', 0, 'rkteams', '2025-04-08', '2025-05-10 13:22:18', 0, NULL), (6, 2, 'DS0001', 1, 2, 5, 3, 1, '2025-02-01', 5000.000, 5000.000, 15000.000, 1.760, 3, 40000.000, 'initial', 0.000, '', 0.000, 0.000, 'CASH', '', 8285.000, 0.000, 103.000, 0, '', 0, 'rkteams', '2025-04-08', '2025-04-19 12:24:57', 0, NULL), (7, 2, 'DS0002', 2, 2, 5, 3, 1, '2025-03-01', 5000.000, 5000.000, 5000.000, 0.600, 1, 50000.000, 'initial', 0.000, '', 0.000, 0.000, 'CASH', '', 8285.000, 0.000, 103.000, 0, '', 0, 'rkteams', '2025-04-08', '2025-04-08 08:51:20', 0, NULL), (8, 2, 'DS0003', 3, 2, 5, 3, 2, '2025-03-01', 5000.000, 5000.000, 5000.000, 0.600, 1, 50000.000, 'initial', 0.000, '', 0.000, 0.000, 'GPAY', '', 8285.000, 0.000, 103.000, 0, '', 0, 'rkteams', '2025-04-08', '2025-04-08 08:54:12', 0, NULL), (9, 2, 'AB0001', 1, 2, 6, 4, 1, '2025-03-24', 500.000, 500.000, 4000.000, 0.477, 8, 6000.000, 'initial', 0.000, '', 0.000, 0.000, 'CASH', '', 8410.000, 0.000, 104.000, 0, '', 0, 'rkteams', '2025-04-09', '2025-05-17 14:25:44', 0, NULL), (10, 2, 'ABC0001', 1, 2, 7, 5, 1, '2025-04-12', 1000.000, 1000.000, 5000.000, 0.570, 3, -5000.000, 'Closed', 0.000, 'Gram Rate', 0.570, 5.000, 'CASH', '', 8770.000, 0.000, 110.000, 46, 'Closed', 0, 'rkteams', '2025-04-12', '2025-05-23 10:37:20', 0, NULL), (11, 2, 'amount type 0001', 1, 2, 8, 6, 9, '2025-03-01', 2000.000, 2000.000, 6000.000, 0.675, 3, 16000.000, 'initial', 0.000, '', 0.000, 0.000, 'CASH', '', 8945.000, 0.000, 110.000, 0, '', 0, 'rkteams', '2025-04-19', '2025-05-19 06:18:07', 0, NULL), (12, 2, 'amount type 0002', 2, 2, 8, 6, 12, '2025-03-01', 2000.000, 2000.000, 6000.000, 0.667, 3, 16000.000, 'initial', 0.000, '', 0.000, 0.000, 'CASH', '', 8945.000, 0.000, 110.000, 0, '', 0, 'rkteams', '2025-04-19', '2025-05-14 13:18:29', 0, NULL), (13, 2, 'A0001', 1, 2, 9, 7, 16, '2025-02-01', 500.000, 500.000, 10515.000, 1.167, 4, 13485.000, 'initial', 0.000, '', 0.000, 0.000, 'CASH', '', 9015.000, 0.000, 111.000, 0, '', 0, 'rkteams', '2025-04-21', '2025-05-19 06:29:51', 0, NULL), (14, 2, 'A0002', 2, 2, 9, 7, 4, '2025-02-01', 500.000, 500.000, 500.000, 0.060, 1, 23500.000, 'initial', 0.000, '', 0.000, 0.000, 'CASH', '', 9015.000, 0.000, 111.000, 0, '', 0, 'rkteams', '2025-04-21', '2025-04-21 11:14:17', 0, NULL), (15, 2, 'G24', 24, 2, 9, 7, 1, '2025-04-23', 500.000, 500.000, 14515.000, 1.620, 3, 9485.000, 'initial', 0.000, '', 0.000, 0.000, 'CASH', '', 9015.000, 0.000, 111.000, 0, '', 0, 'rkteams', '2025-04-23', '2025-04-23 13:29:34', 0, NULL), (16, 2, 'CH27', 27, 2, 9, 7, 3, '2025-04-23', 500.000, 500.000, 6000.000, 0.668, 3, 18000.000, 'initial', NULL, '', NULL, NULL, 'CASH', '', 9015.000, 0.000, 111.000, 0, '', 0, 'rkteams', '2025-04-23', '2025-05-15 06:58:39', 0, NULL), (17, 2, 'CH28', 28, 2, 9, 7, 2, '2025-04-23', 500.000, 500.000, 11500.000, 1.275, 3, 12500.000, 'Closed', 0.000, 'Gram Rate', 1.275, 11.000, 'CASH', '', 9015.000, 0.000, 111.000, 40, 'Closed', 0, 'rkteams', '2025-04-23', '2025-04-28 13:12:19', 0, NULL), (23, 2, 'CH0029', 29, 2, 11, 9, 1, '2025-05-01', 2000.000, 2000.000, 2000.000, 0.227, 1, 24000.000, 'initial', NULL, '', NULL, NULL, 'CASH', '', 8805.000, 0.000, 109.000, 0, '', 0, 'rkteams', '2025-05-14', '2025-05-14 13:26:13', 0, NULL), (24, 2, 'CH0030', 30, 2, 12, 10, 8, '2025-04-01', 1000.000, 1000.000, 2000.000, 0.229, 2, 10000.000, 'initial', NULL, '', NULL, NULL, 'CASH', '', 8720.000, 0.000, 108.000, 0, '', 0, 'rkteams', '2025-05-17', '2025-05-19 06:08:06', 0, NULL), (25, 2, 'CH0031', 31, 2, 12, 10, 9, '2025-05-19', 1000.000, 1000.000, 1000.000, NULL, 1, 11000.000, 'initial', NULL, '', NULL, NULL, 'CASH', '', 8720.000, 0.000, 108.000, 0, '', 0, 'rkteams', '2025-05-19', '2025-05-19 15:20:57', 0, NULL), (26, 2, 'CH0032', 32, 2, 12, 10, 16, '2025-05-01', 1000.000, 1000.000, 1000.000, NULL, 1, 11000.000, 'initial', NULL, '', NULL, NULL, 'GPAY', '', 8720.000, 0.000, 108.000, 0, '', 0, 'rkteams', '2025-05-22', '2025-05-22 12:35:15', 0, NULL), (27, 2, 'CH0033', 33, 2, 9, 7, 13, '2025-04-01', 500.000, 500.000, 500.000, 0.055, 1, 23500.000, 'initial', NULL, '', NULL, NULL, 'GPAY', '', 9015.000, 0.000, 111.000, 0, '', 0, 'rkteams', '2025-05-22', '2025-05-22 13:06:03', 0, NULL), (28, 2, 'CH0034', 34, 2, 9, 7, 9, '2025-05-20', 500.000, 500.000, 500.000, 0.055, 1, 23500.000, 'initial', NULL, '', NULL, NULL, 'CASH', '', 9015.000, 0.000, 111.000, 0, '', 0, 'rkteams', '2025-05-22', '2025-05-22 13:26:06', 0, NULL), (29, 2, 'CH0035', 35, 2, 13, 11, 1, '2025-01-01', 1000.000, 1000.000, 5000.000, 0.591, 5, 0.000, 'Closed', 0.000, 'Gram Rate', 0.591, 0.000, 'CASH', '', 8000.000, 0.000, 111.000, 46, 'Closed', 0, 'rkteams', '2025-05-23', '2025-05-23 10:37:20', 0, NULL), (30, 2, 'CH0036', 36, 2, 13, 11, 2, '2025-02-01', 1000.000, 1000.000, 1000.000, 0.125, 1, 4000.000, 'Pre-Closed', NULL, '', NULL, NULL, 'CASH', '', 8000.000, 0.000, 111.000, 0, '', 0, 'rkteams', '2025-05-23', '2025-05-23 10:26:49', 0, NULL), (31, 2, 'CH0037', 37, 2, 13, 11, 1, '2025-01-01', 1000.000, 1000.000, 5000.000, 0.588, 5, 0.000, 'Closed', 0.000, 'Gram Rate', 0.588, 0.000, 'CASH', '', 8000.000, 0.000, 111.000, 0, '', 0, 'rkteams', '2025-05-23', '2025-05-23 12:53:43', 0, NULL), (32, 2, 'CH0038', 38, 2, 13, 11, 15, '2025-04-01', 1000.000, 1000.000, 2000.000, 0.234, 2, 3000.000, 'initial', NULL, '', NULL, NULL, 'CASH', '', 8000.000, 0.000, 111.000, 0, '', 0, 'rkteams', '2025-05-25', '2025-05-25 16:13:50', 0, NULL), (33, 2, 'CH0039', 39, 2, 14, 12, 24, '2025-04-01', 1000.000, 1000.000, 2000.000, 0.232, 2, 0.000, 'Closed', 0.000, 'Gram Rate', 0.232, 0.000, 'CASH', '', 8510.000, 0.000, 110.000, 55, 'Closed', 0, 'rkteams', '2025-05-28', '2025-05-28 11:32:35', 2, 2025), (34, 2, 'CH0040', 40, 2, 15, 12, 24, '2024-01-01', 1000.000, 1000.000, 1000.000, 0.125, 1, 10000.000, 'initial', NULL, '', NULL, NULL, 'CASH', '', 8000.000, 0.000, 110.000, 0, '', 0, 'rkteams', '2025-05-28', '2025-05-28 11:40:42', 0, NULL), (35, 2, 'CH0041', 41, 2, 16, 12, 4, '2024-01-01', 1000.000, 1000.000, 1000.000, 0.111, 1, 10000.000, 'initial', NULL, '', NULL, NULL, 'CASH', '', 8995.000, 0.000, 110.000, 0, '', 0, 'rkteams', '2025-05-28', '2025-05-28 11:49:19', 0, NULL); -- -------------------------------------------------------- -- -- Table structure for table `db_customer_coupons` -- CREATE TABLE `db_customer_coupons` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `code` varchar(50) DEFAULT NULL, `name` varchar(100) DEFAULT NULL, `description` text DEFAULT NULL, `value` double(20,3) DEFAULT NULL, `type` varchar(50) DEFAULT NULL, `expire_date` date DEFAULT NULL, `status` int(11) DEFAULT NULL, `created_by` varchar(100) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(100) DEFAULT NULL, `system_name` varchar(250) DEFAULT NULL, `system_ip` varchar(250) DEFAULT NULL, `customer_id` int(11) DEFAULT NULL, `coupon_id` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_customer_payments` -- CREATE TABLE `db_customer_payments` ( `id` int(11) NOT NULL, `salespayment_id` int(11) DEFAULT NULL, `customer_id` int(11) DEFAULT NULL, `payment_date` date DEFAULT NULL, `payment_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `payment` double(20,3) DEFAULT NULL, `payment_note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `system_ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `system_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `created_time` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `created_date` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_cust_adpayments` -- CREATE TABLE `db_cust_adpayments` ( `id` int(11) NOT NULL, `count_id` int(11) DEFAULT NULL, `payment_code` varchar(50) DEFAULT NULL, `store_id` int(11) DEFAULT NULL, `cust_ad_id` int(11) DEFAULT NULL, `warehouse_id` int(11) NOT NULL, `payment_date` date DEFAULT NULL, `payment_type` varchar(50) DEFAULT NULL, `amount` int(11) NOT NULL, `payment` double(20,3) DEFAULT NULL, `payment_note` text DEFAULT NULL, `change_return` double(20,3) DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `status` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `customer_id` int(11) DEFAULT NULL, `short_code` varchar(50) DEFAULT NULL, `advance_adjusted` double(20,3) DEFAULT NULL, `advance_chit` decimal(20,3) NOT NULL, `cheque_number` varchar(100) DEFAULT NULL, `cheque_period` int(11) DEFAULT NULL, `cheque_status` varchar(100) DEFAULT NULL, `advance_id` text NOT NULL, `customerscheme_id` text DEFAULT NULL, `invoice_status` int(11) NOT NULL, `order_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_cust_adpayments` -- INSERT INTO `db_cust_adpayments` (`id`, `count_id`, `payment_code`, `store_id`, `cust_ad_id`, `warehouse_id`, `payment_date`, `payment_type`, `amount`, `payment`, `payment_note`, `change_return`, `system_ip`, `system_name`, `created_time`, `created_date`, `created_by`, `status`, `account_id`, `customer_id`, `short_code`, `advance_adjusted`, `advance_chit`, `cheque_number`, `cheque_period`, `cheque_status`, `advance_id`, `customerscheme_id`, `invoice_status`, `order_id`) VALUES (1, 2, 'ADV0002', 2, 1, 2, '2025-03-10', 'CASH', 5000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 4, NULL, NULL, 0.000, NULL, NULL, NULL, '', NULL, 0, 0), (2, 3, 'ADV0003', 2, 2, 2, '2025-03-11', 'CASH', 15000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 5, NULL, NULL, 0.000, NULL, NULL, NULL, '', NULL, 0, 0), (3, 4, 'ADV0004', 2, 3, 2, '2025-03-11', 'CASH', 2500, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 5, NULL, NULL, 0.000, NULL, NULL, NULL, '', NULL, 0, 0), (4, 5, 'ADV0005', 2, 4, 2, '2025-03-18', 'CASH', 10000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 9, NULL, NULL, 0.000, NULL, NULL, NULL, '', NULL, 0, 0), (5, 6, 'ADV0006', 2, 5, 2, '2025-03-24', 'CASH', 10000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, NULL, NULL, 0.000, NULL, NULL, NULL, '', NULL, 0, 0), (6, 7, 'ADV0007', 2, 6, 2, '2025-03-27', 'CASH', 100000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 12, NULL, NULL, 0.000, NULL, NULL, NULL, '', NULL, 0, 0); -- -------------------------------------------------------- -- -- Table structure for table `db_cust_ad_old_gold` -- CREATE TABLE `db_cust_ad_old_gold` ( `id` int(11) NOT NULL, `cust_ad_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `olpurchase_id` int(11) NOT NULL, `olpurchaseitem_id` int(11) NOT NULL, `item_id` int(11) NOT NULL DEFAULT 184, `cust_ad_old_gold_gross_weight` decimal(20,3) NOT NULL, `cust_ad_old_gold_purity` decimal(20,3) NOT NULL, `cust_ad_old_gold_weight` decimal(20,3) NOT NULL, `cust_ad_old_gold_less` decimal(20,3) NOT NULL, `cust_ad_old_gold_rate` decimal(20,3) NOT NULL, `cust_ad_old_gold_amount` decimal(20,3) NOT NULL, `cust_ad_old_gold_final_weight` decimal(20,3) NOT NULL, `created_by` int(11) NOT NULL, `created_at` datetime NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime NOT NULL, `customer_id` int(11) NOT NULL, `cust_old_gold_rate` int(11) NOT NULL, `cust_old_gold_amount` int(11) NOT NULL, `order_id` int(11) NOT NULL, `status` int(11) NOT NULL DEFAULT 1, `ol_pur_gold_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_cust_ad_old_silver` -- CREATE TABLE `db_cust_ad_old_silver` ( `id` int(11) NOT NULL, `cust_ad_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `olpurchaseitem_id` int(11) NOT NULL, `olpurchase_id` int(11) NOT NULL, `item_id` int(11) NOT NULL DEFAULT 185, `cust_ad_old_silver_gross_weight` decimal(20,3) NOT NULL, `cust_ad_old_silver_less` decimal(20,3) NOT NULL, `cust_ad_old_silver_purity` decimal(20,3) NOT NULL, `ols_silver_net` decimal(20,3) NOT NULL, `cust_ad_old_silver_weight` decimal(20,3) NOT NULL, `cust_ad_old_silver_rate` decimal(20,3) NOT NULL, `cust_ad_old_silver_amount` decimal(20,3) NOT NULL, `created_by` int(11) NOT NULL, `created_at` datetime NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime NOT NULL, `customer_id` int(11) NOT NULL, `sales_old_silver_rate` int(11) NOT NULL, `sales_old_silver_amount` int(11) NOT NULL, `order_id` int(11) NOT NULL, `status` int(11) NOT NULL DEFAULT 1, `ol_pur_silver_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_emailtemplates` -- CREATE TABLE `db_emailtemplates` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `key` varchar(150) DEFAULT NULL, `template_name` varchar(100) DEFAULT NULL, `content` text DEFAULT NULL, `variables` text DEFAULT NULL, `status` int(11) DEFAULT NULL, `undelete_bit` int(11) DEFAULT NULL, `admin_only` int(11) DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_employees` -- CREATE TABLE `db_employees` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create employee Code', `employee_code` varchar(20) DEFAULT NULL, `employee_name` varchar(50) DEFAULT NULL, `mobile` varchar(15) DEFAULT NULL, `phone` varchar(15) DEFAULT NULL, `email` varchar(50) DEFAULT NULL, `country_id` int(11) DEFAULT NULL, `state_id` int(11) DEFAULT NULL, `city` varchar(50) DEFAULT NULL, `postcode` varchar(10) DEFAULT NULL, `address` varchar(250) DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(30) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `status` int(11) DEFAULT NULL, `location_link` text DEFAULT NULL, `attachment_1` text DEFAULT NULL, `price_level_type` varchar(50) DEFAULT 'Increase', `price_level` double(20,3) DEFAULT 0.000, `delete_bit` int(11) DEFAULT 0, `employee_type` int(11) NOT NULL DEFAULT 0, `supplier_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_employees` -- INSERT INTO `db_employees` (`id`, `store_id`, `count_id`, `employee_code`, `employee_name`, `mobile`, `phone`, `email`, `country_id`, `state_id`, `city`, `postcode`, `address`, `system_ip`, `system_name`, `created_date`, `created_time`, `created_by`, `company_id`, `status`, `location_link`, `attachment_1`, `price_level_type`, `price_level`, `delete_bit`, `employee_type`, `supplier_id`) VALUES (1, 2, 1, 'EMP0001', 'Emp 1', '', '', '', NULL, NULL, '', '', '', '182.65.62.140', 'abts-tn-dynamic-140.62.65.182-airtelbroadband.in', '2025-03-07', '12:22:17 pm', 'RK creators', NULL, 1, '', NULL, 'Increase', 0.000, 0, 0, 0); -- -------------------------------------------------------- -- -- Table structure for table `db_estimation` -- CREATE TABLE `db_estimation` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `warehouse_id` int(11) DEFAULT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create quotation Code', `quotation_code` varchar(50) DEFAULT NULL, `reference_no` varchar(50) DEFAULT NULL, `quotation_date` date DEFAULT NULL, `expire_date` date DEFAULT NULL, `quotation_status` varchar(50) DEFAULT NULL, `customer_id` int(11) DEFAULT NULL, `other_charges_input` double(20,3) DEFAULT NULL, `other_charges_tax_id` int(11) DEFAULT NULL, `other_charges_amt` double(20,3) DEFAULT NULL, `discount_to_all_input` double(20,3) DEFAULT NULL, `discount_to_all_type` varchar(50) DEFAULT NULL, `tot_discount_to_all_amt` double(20,3) DEFAULT NULL, `subtotal` double(20,3) DEFAULT NULL, `round_off` double(20,3) DEFAULT NULL, `grand_total` double(20,3) DEFAULT NULL, `quotation_note` text DEFAULT NULL, `payment_status` varchar(50) DEFAULT NULL, `paid_amount` double(20,3) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `system_ip` varchar(100) DEFAULT NULL, `system_name` varchar(100) DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `pos` int(11) DEFAULT NULL COMMENT '1=yes 0=no', `status` int(11) DEFAULT NULL, `return_bit` int(11) DEFAULT NULL COMMENT 'quotation return raised', `customer_previous_due` double(20,3) DEFAULT NULL, `customer_total_due` double(20,3) DEFAULT NULL, `sales_status` varchar(50) DEFAULT NULL, `gold_rate` decimal(20,3) DEFAULT NULL, `silver_rate` decimal(20,3) DEFAULT NULL, `tax_value` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_estimationitems` -- CREATE TABLE `db_estimationitems` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `quotation_id` int(11) DEFAULT NULL, `quotation_status` varchar(50) DEFAULT NULL, `item_id` int(11) DEFAULT NULL, `description` text DEFAULT NULL, `quotation_qty` double(20,3) DEFAULT NULL, `price_per_unit` double(20,3) DEFAULT NULL, `tax_type` varchar(50) DEFAULT NULL, `tax_id` int(11) DEFAULT NULL, `tax_amt` double(20,3) DEFAULT NULL, `discount_type` varchar(50) DEFAULT NULL, `discount_input` double(20,3) DEFAULT NULL, `discount_amt` double(20,3) DEFAULT NULL, `unit_total_cost` double(20,3) DEFAULT NULL, `total_cost` double(20,3) DEFAULT NULL, `status` int(11) DEFAULT NULL, `seller_points` double(20,3) DEFAULT 0.000, `st_cost` decimal(20,3) DEFAULT NULL, `wastage` decimal(20,3) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_expense` -- CREATE TABLE `db_expense` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create Expense Code', `warehouse_id` int(11) NOT NULL, `expense_code` varchar(50) DEFAULT NULL, `category_id` int(11) DEFAULT NULL, `expense_date` date DEFAULT NULL, `reference_no` varchar(50) DEFAULT NULL, `expense_for` varchar(100) DEFAULT NULL, `expense_amt` double(20,3) DEFAULT NULL, `payment_type` varchar(100) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `note` text DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_expense_category` -- CREATE TABLE `db_expense_category` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `category_code` varchar(50) DEFAULT NULL, `category_name` varchar(50) DEFAULT NULL, `order_list` int(11) NOT NULL, `description` mediumtext DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_fivemojo` -- CREATE TABLE `db_fivemojo` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `token` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `instance_id` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `status` int(11) DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_goldrate` -- CREATE TABLE `db_goldrate` ( `id` int(11) NOT NULL, `gold_rate` decimal(20,3) NOT NULL, `gold_rate24` decimal(20,3) NOT NULL, `gold_rate18` decimal(20,3) NOT NULL, `silver_rate` decimal(20,3) NOT NULL, `old_silver_rate` decimal(20,3) NOT NULL, `silver_pure` decimal(20,3) NOT NULL, `rate_date` date NOT NULL, `created_by` int(11) NOT NULL, `created_at` datetime NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `db_goldrate` -- INSERT INTO `db_goldrate` (`id`, `gold_rate`, `gold_rate24`, `gold_rate18`, `silver_rate`, `old_silver_rate`, `silver_pure`, `rate_date`, `created_by`, `created_at`, `updated_by`, `updated_at`) VALUES (5, 8045.000, 0.000, 0.000, 108.000, 0.000, 0.000, '2025-02-23', 0, '2025-02-23 00:00:00', 0, '0000-00-00 00:00:00'), (6, 8050.000, 0.000, 0.000, 106.000, 0.000, 0.000, '2025-02-26', 0, '2025-02-26 00:00:00', 0, '0000-00-00 00:00:00'), (7, 8010.000, 8800.000, 0.000, 106.000, 0.000, 0.000, '2025-02-27', 0, '2025-02-27 00:00:00', 0, '0000-00-00 00:00:00'), (8, 8010.000, 0.000, 0.000, 107.000, 0.000, 0.000, '2025-03-04', 0, '2025-03-04 00:00:00', 0, '0000-00-00 00:00:00'), (9, 8030.000, 0.000, 0.000, 0.000, 0.000, 108.000, '2025-03-07', 0, '2025-03-07 00:00:00', 0, '0000-00-00 00:00:00'), (10, 8040.000, 0.000, 0.000, 108.000, 0.000, 0.000, '2025-03-08', 0, '2025-03-08 00:00:00', 0, '0000-00-00 00:00:00'), (12, 8090.000, 0.000, 0.000, 102.000, 0.000, 0.000, '2025-03-10', 0, '2025-03-10 00:00:00', 0, '0000-00-00 00:00:00'), (13, 8020.000, 0.000, 0.000, 107.000, 0.000, 0.000, '2025-03-11', 0, '2025-03-11 00:00:00', 0, '2025-03-11 00:00:00'), (15, 8065.000, 0.000, 0.000, 108.000, 0.000, 0.000, '2025-03-12', 0, '2025-03-12 00:00:00', 0, '2025-03-12 00:00:00'), (16, 8120.000, 0.000, 0.000, 110.000, 0.000, 0.000, '2025-03-13', 0, '2025-03-13 00:00:00', 0, '0000-00-00 00:00:00'), (17, 8300.000, 0.000, 0.000, 112.000, 0.000, 0.000, '2025-03-14', 0, '2025-03-14 00:00:00', 0, '2025-03-14 00:00:00'), (18, 8210.000, 0.000, 0.000, 113.000, 0.000, 0.000, '2025-03-17', 0, '2025-03-17 00:00:00', 0, '0000-00-00 00:00:00'), (20, 8260.000, 0.000, 0.000, 106.000, 0.000, 0.000, '2025-03-18', 0, '2025-03-18 00:00:00', 0, '0000-00-00 00:00:00'), (26, 8290.000, 0.000, 0.000, 114.000, 0.000, 0.000, '2025-03-19', 0, '2025-03-19 00:00:00', 0, '0000-00-00 00:00:00'), (29, 8300.000, 0.000, 0.000, 103.000, 0.000, 0.000, '2025-03-24', 0, '2025-03-24 00:00:00', 0, '0000-00-00 00:00:00'), (30, 8185.000, 0.000, 0.000, 110.000, 0.000, 0.000, '2025-03-25', 0, '2025-03-25 00:00:00', 0, '0000-00-00 00:00:00'), (31, 8195.000, 0.000, 0.000, 111.000, 0.000, 0.000, '2025-03-26', 0, '2025-03-26 00:00:00', 0, '0000-00-00 00:00:00'), (32, 8300.000, 0.000, 0.000, 105.000, 0.000, 0.000, '2025-03-27', 0, '2025-03-27 00:00:00', 0, '0000-00-00 00:00:00'), (34, 8360.000, 0.000, 0.000, 113.000, 0.000, 0.000, '2025-03-29', 0, '2025-03-29 00:00:00', 0, '0000-00-00 00:00:00'), (35, 8360.000, 0.000, 0.000, 113.000, 0.000, 0.000, '2025-03-30', 0, '2025-03-30 00:00:00', 0, '0000-00-00 00:00:00'), (36, 8510.000, 9404.000, 0.000, 114.000, 0.000, 0.000, '2025-04-01', 0, '2025-04-01 00:00:00', 0, '2025-04-01 00:00:00'), (37, 8510.000, 0.000, 0.000, 114.000, 0.000, 0.000, '2025-04-02', 0, '2025-04-02 00:00:00', 0, '0000-00-00 00:00:00'), (38, 8590.000, 0.000, 0.000, 115.000, 0.000, 0.000, '2025-04-03', 0, '2025-04-03 00:00:00', 0, '0000-00-00 00:00:00'), (39, 8310.000, 0.000, 8310.000, 103.000, 0.000, 0.000, '2025-04-05', 0, '2025-04-05 00:00:00', 0, '0000-00-00 00:00:00'), (40, 8285.000, 0.000, 0.000, 103.000, 0.000, 0.000, '2025-04-08', 0, '2025-04-08 00:00:00', 0, '0000-00-00 00:00:00'), (41, 8410.000, 0.000, 0.000, 104.000, 0.000, 0.000, '2025-04-09', 0, '2025-04-09 00:00:00', 0, '0000-00-00 00:00:00'), (42, 8560.000, 0.000, 0.000, 107.000, 0.000, 0.000, '2025-04-10', 0, '2025-04-10 00:00:00', 0, '0000-00-00 00:00:00'), (43, 8745.000, 9540.000, 7155.000, 97.100, 0.000, 0.000, '2025-04-11', 0, '2025-04-11 00:00:00', 0, '0000-00-00 00:00:00'), (44, 8770.000, 0.000, 0.000, 110.000, 0.000, 0.000, '2025-04-12', 0, '2025-04-12 00:00:00', 0, '0000-00-00 00:00:00'), (45, 8755.000, 0.000, 0.000, 108.000, 0.000, 0.000, '2025-04-14', 0, '2025-04-14 00:00:00', 0, '0000-00-00 00:00:00'), (46, 8815.000, 9617.000, 7260.000, 110.000, 0.000, 0.000, '2025-04-16', 0, '2025-04-16 00:00:00', 0, '0000-00-00 00:00:00'), (47, 8945.000, 0.000, 0.000, 110.000, 0.000, 0.000, '2025-04-19', 0, '2025-04-19 00:00:00', 0, '0000-00-00 00:00:00'), (48, 9015.000, 0.000, 0.000, 111.000, 0.000, 0.000, '2025-04-21', 0, '2025-04-21 00:00:00', 0, '0000-00-00 00:00:00'), (49, 9290.000, 0.000, 0.000, 111.000, 0.000, 0.000, '2025-04-22', 0, '2025-04-22 00:00:00', 0, '0000-00-00 00:00:00'), (50, 9015.000, 0.000, 0.000, 111.000, 0.000, 0.000, '2025-04-23', 0, '2025-04-23 00:00:00', 0, '2025-04-23 00:00:00'), (51, 9005.000, 0.000, 0.000, 111.000, 0.000, 0.000, '2025-04-24', 0, '2025-04-24 00:00:00', 0, '0000-00-00 00:00:00'), (52, 8940.000, 9754.000, 0.000, 111.000, 0.000, 0.000, '2025-04-28', 0, '2025-04-28 00:00:00', 0, '0000-00-00 00:00:00'), (53, 8890.000, 0.000, 0.000, 110.000, 0.000, 0.000, '2025-04-29', 0, '2025-04-29 00:00:00', 0, '0000-00-00 00:00:00'), (54, 8890.000, 0.000, 0.000, 110.000, 0.000, 0.000, '2025-05-02', 0, '2025-05-02 00:00:00', 0, '0000-00-00 00:00:00'), (55, 9025.000, 0.000, 0.000, 111.000, 0.000, 0.000, '2025-05-06', 0, '2025-05-06 00:00:00', 0, '0000-00-00 00:00:00'), (56, 9015.000, 0.000, 0.000, 111.000, 0.000, 0.000, '2025-05-09', 0, '2025-05-09 00:00:00', 0, '0000-00-00 00:00:00'), (57, 9015.000, 0.000, 0.000, 102.000, 0.000, 0.000, '2025-05-10', 0, '2025-05-10 00:00:00', 0, '0000-00-00 00:00:00'), (58, 9050.000, 9868.000, 0.000, 111.000, 0.000, 0.000, '2025-05-11', 0, '2025-05-11 00:00:00', 0, '0000-00-00 00:00:00'), (59, 8880.000, 0.000, 0.000, 109.000, 0.000, 0.000, '2025-05-12', 0, '2025-05-12 00:00:00', 0, '0000-00-00 00:00:00'), (60, 8805.000, 0.000, 0.000, 109.000, 0.000, 0.000, '2025-05-14', 0, '2025-05-14 00:00:00', 0, '0000-00-00 00:00:00'), (61, 8610.000, 0.000, 0.000, 108.000, 0.000, 0.000, '2025-05-15', 0, '2025-05-15 00:00:00', 0, '0000-00-00 00:00:00'), (62, 8720.000, 0.000, 0.000, 108.000, 0.000, 0.000, '2025-05-17', 0, '2025-05-17 00:00:00', 0, '0000-00-00 00:00:00'), (63, 8755.000, 0.000, 0.000, 109.000, 0.000, 0.000, '2025-05-19', 0, '2025-05-19 00:00:00', 0, '0000-00-00 00:00:00'), (64, 8850.000, 0.000, 0.000, 110.000, 0.000, 0.000, '2025-05-22', 0, '2025-05-22 00:00:00', 0, '0000-00-00 00:00:00'), (65, 8940.000, 0.000, 0.000, 111.000, 0.000, 0.000, '2025-05-23', 0, '2025-05-23 00:00:00', 0, '0000-00-00 00:00:00'), (66, 8990.000, 0.000, 0.000, 111.000, 0.000, 0.000, '2025-05-24', 0, '2025-05-24 00:00:00', 0, '0000-00-00 00:00:00'), (67, 8990.000, 0.000, 0.000, 111.000, 0.000, 0.000, '2025-05-25', 0, '2025-05-25 00:00:00', 0, '0000-00-00 00:00:00'), (68, 8950.000, 0.000, 0.000, 111.000, 0.000, 0.000, '2025-05-26', 0, '2025-05-26 00:00:00', 0, '2025-05-26 00:00:00'), (69, 8995.000, 0.000, 0.000, 111.000, 0.000, 0.000, '2025-05-27', 0, '2025-05-27 00:00:00', 0, '2025-05-27 00:00:00'), (70, 8995.000, 0.000, 0.000, 110.000, 0.000, 0.000, '2025-05-28', 0, '2025-05-28 00:00:00', 0, '0000-00-00 00:00:00'), (71, 8920.000, 0.000, 0.000, 111.000, 0.000, 0.000, '2025-05-30', 0, '2025-05-30 00:00:00', 0, '0000-00-00 00:00:00'), (72, 8920.000, 0.000, 0.000, 111.000, 0.000, 0.000, '2025-05-31', 0, '2025-05-31 00:00:00', 0, '0000-00-00 00:00:00'); -- -------------------------------------------------------- -- -- Table structure for table `db_hold` -- CREATE TABLE `db_hold` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `warehouse_id` int(11) DEFAULT NULL, `reference_id` varchar(50) DEFAULT NULL COMMENT 'Temprary', `reference_no` varchar(50) DEFAULT NULL, `sales_date` date DEFAULT NULL, `sales_status` varchar(50) DEFAULT NULL, `customer_id` int(11) DEFAULT NULL, `other_charges_input` double(20,3) DEFAULT NULL, `other_charges_tax_id` int(11) DEFAULT NULL, `other_charges_amt` double(20,3) DEFAULT NULL, `discount_to_all_input` double(20,3) DEFAULT NULL, `discount_to_all_type` varchar(50) DEFAULT NULL, `tot_discount_to_all_amt` double(20,3) DEFAULT NULL, `subtotal` double(20,3) DEFAULT NULL, `round_off` double(20,3) DEFAULT NULL, `grand_total` double(20,3) DEFAULT NULL, `sales_note` text DEFAULT NULL, `pos` int(11) DEFAULT NULL COMMENT '1=yes 0=no' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_holditems` -- CREATE TABLE `db_holditems` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `hold_id` int(11) DEFAULT NULL, `item_id` int(11) DEFAULT NULL, `description` text DEFAULT NULL, `sales_qty` double(20,3) DEFAULT NULL, `price_per_unit` double(20,3) DEFAULT NULL, `tax_type` varchar(50) DEFAULT NULL, `tax_id` int(11) DEFAULT NULL, `tax_amt` double(20,3) DEFAULT NULL, `discount_type` varchar(50) DEFAULT NULL, `discount_input` double(20,3) DEFAULT NULL, `discount_amt` double(20,3) DEFAULT NULL, `unit_total_cost` double(20,3) DEFAULT NULL, `total_cost` double(20,3) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_instamojo` -- CREATE TABLE `db_instamojo` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `sandbox` int(11) DEFAULT NULL, `api_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `api_token` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `updated_at` date DEFAULT NULL, `updated_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_instamojopayments` -- CREATE TABLE `db_instamojopayments` ( `id` int(10) UNSIGNED NOT NULL, `phone` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL, `email` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL, `buyer_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL, `amount` decimal(20,3) DEFAULT NULL, `purpose` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL, `expires_at` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL, `status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL, `send_sms` varchar(5) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL DEFAULT 'false', `send_email` varchar(5) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL DEFAULT 'false', `sms_status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL, `email_status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL, `shorturl` mediumtext CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL, `longurl` mediumtext CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL, `redirect_url` mediumtext CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL, `webhook` mediumtext CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL, `allow_repeated_payments` varchar(5) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL DEFAULT 'false', `customer_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL, `created_at` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL, `modified_at` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_issue` -- CREATE TABLE `db_issue` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `sales_id` int(11) DEFAULT NULL, `warehouse_id` int(11) DEFAULT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create issue Code', `issue_code` varchar(50) DEFAULT NULL, `reference_no` varchar(50) DEFAULT NULL, `issue_date` date DEFAULT NULL, `issue_status` varchar(50) DEFAULT NULL, `smith_id` int(11) DEFAULT NULL, `other_charges_input` double(20,3) DEFAULT NULL, `other_charges_tax_id` int(11) DEFAULT NULL, `other_charges_amt` double(20,3) DEFAULT NULL, `discount_to_all_input` double(20,3) DEFAULT NULL, `discount_to_all_type` varchar(50) DEFAULT NULL, `tot_discount_to_all_amt` double(20,3) DEFAULT NULL, `subtotal` double(20,3) DEFAULT NULL, `round_off` double(20,3) DEFAULT NULL, `grand_total` double(20,3) DEFAULT NULL, `issue_note` text DEFAULT NULL, `payment_status` varchar(50) DEFAULT NULL, `paid_amount` double(20,3) DEFAULT NULL, `gold_rate` double(20,3) DEFAULT NULL, `silver_rate` double(20,3) DEFAULT NULL, `pure_gold` decimal(20,3) DEFAULT NULL, `pure_silver` decimal(20,3) NOT NULL, `total_gold_weight` decimal(20,3) NOT NULL, `total_silver_weight` decimal(20,3) NOT NULL, `tax_value` int(11) NOT NULL, `old_gold_purity` decimal(20,3) NOT NULL, `old_gold_weight` decimal(20,3) NOT NULL, `old_gold_rate` decimal(20,3) NOT NULL, `old_silver_weight` decimal(20,3) NOT NULL, `old_silver_rate` decimal(20,3) NOT NULL, `old_gold_gross_weight` decimal(20,3) NOT NULL, `old_gold_less` decimal(20,3) NOT NULL, `old_gold_amount` decimal(20,3) NOT NULL, `old_silver_gross_weight` decimal(20,3) NOT NULL, `old_silver_less` decimal(20,3) NOT NULL, `old_gold_final_weight` decimal(20,3) NOT NULL, `old_silver_amount` decimal(20,3) NOT NULL, `issue_outstanding` varchar(200) NOT NULL DEFAULT 'Metal,Mc,Total Rate', `total_mc` decimal(20,3) NOT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `system_ip` varchar(100) DEFAULT NULL, `system_name` varchar(100) DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `status` int(11) DEFAULT NULL, `return_bit` int(11) DEFAULT NULL COMMENT 'issue return raised', `old_gold_status` int(11) NOT NULL, `order_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_issue` -- INSERT INTO `db_issue` (`id`, `store_id`, `sales_id`, `warehouse_id`, `count_id`, `issue_code`, `reference_no`, `issue_date`, `issue_status`, `smith_id`, `other_charges_input`, `other_charges_tax_id`, `other_charges_amt`, `discount_to_all_input`, `discount_to_all_type`, `tot_discount_to_all_amt`, `subtotal`, `round_off`, `grand_total`, `issue_note`, `payment_status`, `paid_amount`, `gold_rate`, `silver_rate`, `pure_gold`, `pure_silver`, `total_gold_weight`, `total_silver_weight`, `tax_value`, `old_gold_purity`, `old_gold_weight`, `old_gold_rate`, `old_silver_weight`, `old_silver_rate`, `old_gold_gross_weight`, `old_gold_less`, `old_gold_amount`, `old_silver_gross_weight`, `old_silver_less`, `old_gold_final_weight`, `old_silver_amount`, `issue_outstanding`, `total_mc`, `created_date`, `created_time`, `created_by`, `system_ip`, `system_name`, `company_id`, `status`, `return_bit`, `old_gold_status`, `order_id`) VALUES (1, 2, NULL, 2, 1, 'IS/2526/02/1', '', '2025-05-09', 'Received', 1, NULL, 1, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 0.000, NULL, 'Unpaid', 0.000, 0.000, 111.000, 5.000, 0.000, 0.000, 0.000, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 'Metal,Mc', 0.000, '2025-05-09', '06:32:27 pm', 'rkteams', '171.76.102.201', 'abts-kk-dynamic-201.102.76.171.airtelbroadband.in', NULL, 1, 1, 0, 1), (2, 2, NULL, 2, 2, 'IS/2526/02/2', '', '2025-05-09', 'Received', 1, NULL, 1, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 0.000, NULL, 'Unpaid', 0.000, 0.000, 111.000, 3.000, 0.000, 0.000, 0.000, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 'Metal,Mc', 0.000, '2025-05-09', '06:54:18 pm', 'rkteams', '171.76.102.201', 'abts-kk-dynamic-201.102.76.171.airtelbroadband.in', NULL, 1, 1, 0, 1); -- -------------------------------------------------------- -- -- Table structure for table `db_issueitems` -- CREATE TABLE `db_issueitems` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `issue_id` int(11) DEFAULT NULL, `issue_status` varchar(50) DEFAULT NULL, `item_id` int(11) DEFAULT NULL, `issue_piece` varchar(50) DEFAULT NULL, `issue_qty` double(20,3) DEFAULT NULL, `touch_percentage` varchar(50) NOT NULL DEFAULT '0', `price_per_unit` double(20,3) DEFAULT NULL, `unit_id` int(11) NOT NULL, `tax_type` varchar(50) DEFAULT NULL, `tax_id` int(11) DEFAULT NULL, `tax_amt` double(20,3) DEFAULT NULL, `pure_weight` decimal(20,3) NOT NULL, `mc` decimal(20,3) NOT NULL, `huid` varchar(100) NOT NULL, `discount_type` varchar(50) DEFAULT NULL, `discount_input` double(20,3) DEFAULT NULL, `discount_amt` double(20,3) DEFAULT NULL, `unit_total_cost` double(20,3) DEFAULT NULL, `total_cost` double(20,3) DEFAULT NULL, `profit_margin_per` double(20,3) DEFAULT NULL, `unit_sales_price` double(20,3) DEFAULT NULL, `status` int(11) DEFAULT NULL, `description` text DEFAULT NULL, `pending_piece` int(11) NOT NULL, `pending_wgt` decimal(20,3) NOT NULL, `type_id` int(11) NOT NULL, `issue_price` decimal(20,3) NOT NULL, `sales_price` decimal(20,3) NOT NULL, `issue_unique_code` varchar(100) NOT NULL, `orderitems_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_issueitems` -- INSERT INTO `db_issueitems` (`id`, `store_id`, `issue_id`, `issue_status`, `item_id`, `issue_piece`, `issue_qty`, `touch_percentage`, `price_per_unit`, `unit_id`, `tax_type`, `tax_id`, `tax_amt`, `pure_weight`, `mc`, `huid`, `discount_type`, `discount_input`, `discount_amt`, `unit_total_cost`, `total_cost`, `profit_margin_per`, `unit_sales_price`, `status`, `description`, `pending_piece`, `pending_wgt`, `type_id`, `issue_price`, `sales_price`, `issue_unique_code`, `orderitems_id`) VALUES (1, 2, 1, 'Receipted', 9, '1', 5.000, '100.000', 0.000, 61, NULL, NULL, NULL, 5.000, 0.000, '', '', NULL, NULL, NULL, 0.000, NULL, NULL, 1, '', 1, 5.000, 0, 0.000, 0.000, '0', 1), (3, 2, 2, 'Receipted', 9, '1', 3.000, '100.000', 0.000, 61, NULL, NULL, NULL, 3.000, 0.000, '', '', NULL, NULL, NULL, 0.000, NULL, NULL, 1, '', 1, 3.000, 0, 0.000, 0.000, '0', 2); -- -------------------------------------------------------- -- -- Table structure for table `db_issuepayments` -- CREATE TABLE `db_issuepayments` ( `id` int(11) NOT NULL, `count_id` int(11) DEFAULT NULL, `payment_code` varchar(50) DEFAULT NULL, `store_id` int(11) DEFAULT NULL, `issue_id` int(11) DEFAULT NULL, `payment_date` date DEFAULT NULL, `payment_type` varchar(50) DEFAULT NULL, `payment` double(20,3) DEFAULT NULL, `payment_note` text DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `created_time` time DEFAULT NULL, `created_date` date DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `status` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `supplier_id` int(11) DEFAULT NULL, `short_code` varchar(50) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_issuereceipt` -- CREATE TABLE `db_issuereceipt` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create issue Return Code', `warehouse_id` int(11) DEFAULT NULL, `issue_id` int(11) DEFAULT NULL, `receipt_code` varchar(50) DEFAULT NULL, `reference_no` varchar(50) DEFAULT NULL, `receipt_date` date DEFAULT NULL, `receipt_status` varchar(50) DEFAULT NULL, `smith_id` int(11) DEFAULT NULL, `other_charges_input` double(20,3) DEFAULT NULL, `other_charges_tax_id` int(11) DEFAULT NULL, `other_charges_amt` double(20,3) DEFAULT NULL, `discount_to_all_input` double(20,3) DEFAULT NULL, `discount_to_all_type` varchar(50) DEFAULT NULL, `tot_discount_to_all_amt` double(20,3) DEFAULT NULL, `subtotal` double(20,3) DEFAULT NULL, `round_off` double(20,3) DEFAULT NULL, `grand_total` double(20,3) DEFAULT NULL, `receipt_note` text DEFAULT NULL, `payment_status` varchar(50) DEFAULT NULL, `paid_amount` double(20,3) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `system_ip` varchar(100) DEFAULT NULL, `system_name` varchar(100) DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `status` int(11) DEFAULT NULL, `init_code` varchar(50) NOT NULL, `tax_value` int(11) NOT NULL, `issue_outstanding` varchar(100) NOT NULL, `total_mc` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_issuereceipt` -- INSERT INTO `db_issuereceipt` (`id`, `store_id`, `count_id`, `warehouse_id`, `issue_id`, `receipt_code`, `reference_no`, `receipt_date`, `receipt_status`, `smith_id`, `other_charges_input`, `other_charges_tax_id`, `other_charges_amt`, `discount_to_all_input`, `discount_to_all_type`, `tot_discount_to_all_amt`, `subtotal`, `round_off`, `grand_total`, `receipt_note`, `payment_status`, `paid_amount`, `created_date`, `created_time`, `created_by`, `system_ip`, `system_name`, `company_id`, `status`, `init_code`, `tax_value`, `issue_outstanding`, `total_mc`) VALUES (1, 2, 1, 2, 1, 'PR/2526/1', '', '2025-05-09', 'Return', 1, NULL, 1, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 0.000, '', 'Paid', 0.000, '2025-05-09', '06:37:58 pm', 'rkteams', '171.76.102.201', 'abts-kk-dynamic-201.102.76.171.airtelbroadband.in', NULL, 1, 'PR/2526/', 0, 'Metal,Mc', 0), (2, 2, 2, 2, 2, 'PR/2526/2', '', '2025-05-09', 'Return', 1, NULL, 1, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 515.000, '', 'Unpaid', 0.000, '2025-05-09', '06:54:55 pm', 'rkteams', '171.76.102.201', 'abts-kk-dynamic-201.102.76.171.airtelbroadband.in', NULL, 1, 'PR/2526/', 0, 'Metal,Mc', 515); -- -------------------------------------------------------- -- -- Table structure for table `db_issuereceiptitems` -- CREATE TABLE `db_issuereceiptitems` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `issue_id` int(11) DEFAULT NULL, `receipt_id` int(11) DEFAULT NULL, `receipt_status` varchar(50) DEFAULT NULL, `item_id` int(11) DEFAULT NULL, `receipt_qty` double(20,3) DEFAULT NULL, `price_per_unit` double(20,3) DEFAULT NULL, `tax_id` int(11) DEFAULT NULL, `tax_amt` double(20,3) DEFAULT NULL, `tax_type` varchar(50) DEFAULT NULL, `receipt_piece` decimal(20,3) DEFAULT NULL, `touch_percentage` decimal(20,3) DEFAULT NULL, `pure_weight` decimal(20,3) NOT NULL, `mc` decimal(20,3) NOT NULL, `unit_id` int(11) NOT NULL, `discount_input` double(20,3) DEFAULT NULL, `discount_amt` double(20,3) DEFAULT NULL, `discount_type` varchar(50) DEFAULT NULL, `unit_total_cost` double(20,3) DEFAULT NULL, `total_cost` double(20,3) DEFAULT NULL, `profit_margin_per` double(20,3) DEFAULT NULL, `unit_sales_price` double(20,3) DEFAULT NULL, `status` int(11) DEFAULT NULL, `description` text DEFAULT NULL, `tax_value` int(11) NOT NULL, `total_mc` int(11) NOT NULL, `issueitems_id` int(11) NOT NULL, `orderitems_id` int(11) DEFAULT NULL, `issueitem_id` int(11) DEFAULT NULL, `total_pure` decimal(20,3) DEFAULT NULL, `st_cost` decimal(20,3) DEFAULT NULL, `mc_value` decimal(20,3) DEFAULT NULL, `mc_type` varchar(100) DEFAULT NULL, `wastage_type` varchar(100) DEFAULT NULL, `wastage` decimal(20,3) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_issuereceiptitems` -- INSERT INTO `db_issuereceiptitems` (`id`, `store_id`, `issue_id`, `receipt_id`, `receipt_status`, `item_id`, `receipt_qty`, `price_per_unit`, `tax_id`, `tax_amt`, `tax_type`, `receipt_piece`, `touch_percentage`, `pure_weight`, `mc`, `unit_id`, `discount_input`, `discount_amt`, `discount_type`, `unit_total_cost`, `total_cost`, `profit_margin_per`, `unit_sales_price`, `status`, `description`, `tax_value`, `total_mc`, `issueitems_id`, `orderitems_id`, `issueitem_id`, `total_pure`, `st_cost`, `mc_value`, `mc_type`, `wastage_type`, `wastage`) VALUES (1, 2, 1, 1, 'Return', 9, 5.500, 0.000, NULL, NULL, NULL, 1.000, 100.000, 5.500, 0.000, 61, NULL, NULL, '', NULL, 0.000, NULL, NULL, 1, '', 0, 0, 1, 1, NULL, NULL, NULL, 0.000, 'Total Amount', 'Percentage', 0.000), (2, 2, 2, 2, 'Return', 9, 3.000, 0.000, NULL, NULL, NULL, 1.000, 100.000, 3.000, 0.000, 61, NULL, NULL, '', NULL, 0.000, NULL, NULL, 1, '', 0, 0, 3, 2, NULL, NULL, NULL, 500.000, 'Total Amount', 'Percentage', 500.000); -- -------------------------------------------------------- -- -- Table structure for table `db_issuereceiptpayments` -- CREATE TABLE `db_issuereceiptpayments` ( `id` int(11) NOT NULL, `count_id` int(11) NOT NULL, `payment_code` varchar(20) NOT NULL, `store_id` int(11) NOT NULL, `issue_id` int(11) NOT NULL, `receipt_id` int(11) NOT NULL, `payment_date` date NOT NULL, `payment_type` varchar(50) NOT NULL, `payment` decimal(20,3) NOT NULL, `payment_note` text NOT NULL, `system_ip` varchar(50) NOT NULL, `system_name` varchar(50) NOT NULL, `created_time` time NOT NULL, `created_date` date NOT NULL, `created_by` varchar(50) NOT NULL, `status` int(11) NOT NULL, `account_id` decimal(20,3) DEFAULT NULL, `supplier_id` int(11) NOT NULL, `short_code` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_issue_metal_balance` -- CREATE TABLE `db_issue_metal_balance` ( `id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `metal_item_id` int(11) NOT NULL, `issue_id` int(11) NOT NULL, `brand` varchar(50) NOT NULL, `metal_weight` decimal(20,3) NOT NULL, `metal_rate` decimal(20,3) NOT NULL, `metal_amount` decimal(20,3) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_issue_old_gold` -- CREATE TABLE `db_issue_old_gold` ( `id` int(11) NOT NULL, `issue_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `item_id` int(11) NOT NULL, `olissue_id` int(11) NOT NULL, `olissueitem_id` int(11) NOT NULL, `issue_old_gold_gross_weight` decimal(20,3) NOT NULL, `issue_old_gold_purity` decimal(20,3) NOT NULL, `issue_old_gold_weight` decimal(20,3) NOT NULL, `issue_old_gold_less` decimal(20,3) NOT NULL, `issue_old_gold_rate` decimal(20,3) NOT NULL, `issue_old_gold_amount` decimal(20,3) NOT NULL, `issue_old_gold_final_weight` decimal(20,3) NOT NULL, `created_by` int(11) NOT NULL, `created_at` datetime NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_issue_old_silver` -- CREATE TABLE `db_issue_old_silver` ( `id` int(11) NOT NULL, `issue_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `item_id` int(11) NOT NULL, `olissueitem_id` int(11) NOT NULL, `olissue_id` int(11) NOT NULL, `issue_old_silver_gross_weight` decimal(20,3) NOT NULL, `issue_old_silver_less` decimal(20,3) NOT NULL, `issue_old_silver_weight` decimal(20,3) NOT NULL, `issue_old_silver_rate` decimal(20,3) NOT NULL, `issue_old_silver_amount` decimal(20,3) NOT NULL, `created_by` int(11) NOT NULL, `created_at` datetime NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_items` -- CREATE TABLE `db_items` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create ITEM Code', `item_code` varchar(50) DEFAULT NULL, `item_name` varchar(100) DEFAULT NULL, `category_id` int(11) DEFAULT NULL, `sku` varchar(50) DEFAULT NULL, `hsn` varchar(50) DEFAULT NULL, `huid` varchar(100) DEFAULT NULL, `unit_id` int(11) DEFAULT NULL, `alert_qty` decimal(20,3) DEFAULT NULL, `alert_pieces` int(11) NOT NULL, `brand_id` int(11) DEFAULT NULL, `type_id` int(11) NOT NULL, `lot_number` varchar(50) DEFAULT NULL, `expire_date` date DEFAULT NULL, `price` double(20,3) DEFAULT NULL, `tax_id` int(11) DEFAULT NULL, `purchase_price` double(20,3) DEFAULT NULL, `tax_type` varchar(50) DEFAULT NULL, `profit_margin` double(20,3) DEFAULT NULL, `sales_price` double(20,3) DEFAULT NULL, `piece` decimal(20,3) DEFAULT NULL, `stock` double(20,3) DEFAULT NULL, `piece_rate` decimal(20,3) NOT NULL, `item_image` text DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `status` int(11) DEFAULT NULL, `discount_type` varchar(100) DEFAULT 'Percentage', `discount` double(20,3) DEFAULT 0.000, `service_bit` int(11) DEFAULT 0, `seller_points` double(20,3) DEFAULT 0.000, `custom_barcode` varchar(100) DEFAULT NULL, `description` text DEFAULT NULL, `item_group` varchar(50) DEFAULT NULL, `parent_id` int(11) DEFAULT NULL, `variant_id` int(11) DEFAULT NULL, `child_bit` int(11) DEFAULT 0, `stock_pcs` int(11) NOT NULL DEFAULT 1, `stock_wt` int(11) NOT NULL DEFAULT 1, `mrp` double(20,3) DEFAULT NULL, `wastage_type` varchar(100) NOT NULL, `wastage` decimal(20,3) DEFAULT NULL, `wastage_margin` decimal(20,3) NOT NULL DEFAULT 10.000, `st_cost` decimal(20,3) DEFAULT NULL, `mc_type` varchar(100) NOT NULL DEFAULT 'Total Amount', `user_access` int(11) NOT NULL DEFAULT 1 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_items` -- INSERT INTO `db_items` (`id`, `store_id`, `count_id`, `item_code`, `item_name`, `category_id`, `sku`, `hsn`, `huid`, `unit_id`, `alert_qty`, `alert_pieces`, `brand_id`, `type_id`, `lot_number`, `expire_date`, `price`, `tax_id`, `purchase_price`, `tax_type`, `profit_margin`, `sales_price`, `piece`, `stock`, `piece_rate`, `item_image`, `system_ip`, `system_name`, `created_date`, `created_time`, `created_by`, `company_id`, `status`, `discount_type`, `discount`, `service_bit`, `seller_points`, `custom_barcode`, `description`, `item_group`, `parent_id`, `variant_id`, `child_bit`, `stock_pcs`, `stock_wt`, `mrp`, `wastage_type`, `wastage`, `wastage_margin`, `st_cost`, `mc_type`, `user_access`) VALUES (1, 2, 1, 'IT020001', 'Sachin chain', 83, NULL, '', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 5.000, 39.500, 0.000, NULL, '171.79.49.36', '171.79.49.36', '2025-02-23', '08:29:11 am', 'RK creators', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Percentage', 15.000, 0.000, 0.000, 'Total Amount', 1), (2, 2, 2, 'IT020002', 'Old Gold', 129, NULL, NULL, NULL, 61, NULL, 0, 329, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12.000, 46.370, 0.000, NULL, '171.79.49.36', '171.79.49.36', '2025-02-23', '08:29:11 am', 'RK creators', NULL, 1, 'Percentage', 0.000, 0, 0.000, NULL, NULL, NULL, NULL, NULL, 0, 0, 1, NULL, '', 0.000, 0.000, 0.000, 'Total Amount', 0), (3, 2, 3, 'IT020003', 'Old Silver', 129, NULL, NULL, NULL, 61, NULL, 0, 330, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 7.000, 136.700, 0.000, NULL, '171.79.49.36', '171.79.49.36', '2025-02-23', '08:29:11 am', 'RK creators', NULL, 1, 'Percentage', 0.000, 0, 0.000, NULL, NULL, NULL, NULL, NULL, 0, 0, 1, NULL, '', 0.000, 0.000, 0.000, 'Total Amount', 0), (4, 2, 4, 'IT020004', 'Pure Gold', 130, NULL, NULL, NULL, 61, NULL, 0, 331, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.000, 0.000, 0.000, NULL, '171.79.49.36', '171.79.49.36', '2025-02-23', '08:29:11 am', 'RK creators', NULL, 1, 'Percentage', 0.000, 0, 0.000, NULL, NULL, NULL, NULL, NULL, 0, 0, 1, NULL, '', 0.000, 0.000, 0.000, 'Total Amount', 0), (5, 2, 5, 'IT020005', 'Pure Silver', 130, NULL, NULL, NULL, 61, NULL, 0, 332, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.000, 0.000, 0.000, NULL, '171.79.49.36', '171.79.49.36', '2025-02-23', '08:29:11 am', 'RK creators', NULL, 1, 'Percentage', 0.000, 0, 0.000, NULL, NULL, NULL, NULL, NULL, 0, 0, 1, NULL, '', 0.000, 0.000, 0.000, 'Total Amount', 0), (6, 2, 6, 'IT020006', 'Katcha Gold', 131, NULL, NULL, NULL, 61, NULL, 0, 333, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.000, 0.000, 0.000, NULL, '171.79.49.36', '171.79.49.36', '2025-02-23', '08:29:11 am', 'RK creators', NULL, 1, 'Percentage', 0.000, 0, 0.000, NULL, NULL, NULL, NULL, NULL, 0, 0, 1, NULL, '', 0.000, 0.000, 0.000, 'Total Amount', 0), (7, 2, 7, 'IT020007', 'Katcha Silver', 131, NULL, NULL, NULL, 61, NULL, 0, 334, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.000, 0.000, 0.000, NULL, '171.79.49.36', '171.79.49.36', '2025-02-23', '08:29:11 am', 'RK creators', NULL, 1, 'Percentage', 0.000, 0, 0.000, NULL, NULL, NULL, NULL, NULL, 0, 0, 1, NULL, '', 0.000, 0.000, 0.000, 'Total Amount', 0), (8, 2, 8, 'IT020008', 'Coin - Gold', 132, NULL, NULL, NULL, 61, NULL, 0, 327, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.000, 0.000, 0.000, NULL, '171.79.49.36', '171.79.49.36', '2025-02-23', '08:29:11 am', 'RK creators', NULL, 1, 'Percentage', 0.000, 0, 0.000, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, NULL, '', 0.000, 0.000, 0.000, 'Total Amount', 0), (9, 2, 9, 'IT020009', 'RING', 82, NULL, '', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, -2.000, -12.050, 0.000, NULL, '49.206.112.64', '49.206.112.64.actcorp.in', '2025-02-27', '03:08:30 pm', 'RK creators', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Percentage', 8.000, 0.000, 0.000, 'Total Amount', 1), (10, 2, 10, 'IT020010', 'pieces_test', 141, NULL, '', '', 62, 0.000, 0, 327, 4, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 17.000, 0.000, 0.000, NULL, '182.65.62.140', 'abts-tn-dynamic-140.62.65.182-airtelbroadband.in', '2025-03-07', '02:47:34 pm', 'RK creators', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 0, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (11, 2, 11, 'IT020011', 'gents stud silver', 92, NULL, '', '', 61, 0.000, 0, 328, 4, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 0.000, 0.000, 0.000, NULL, '103.237.57.160', '103.237.57.160', '2025-03-10', '05:42:10 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 500.000, 'Total Amount', 1), (12, 2, 12, 'IT020012', 'Thirukani', 92, NULL, '', '', 61, 0.000, 0, 328, 4, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, -3.000, 2.400, 0.000, NULL, '103.237.57.160', '103.237.57.160', '2025-03-10', '06:04:28 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (13, 2, 13, 'IT020013', 'thod', 92, NULL, '', '', 61, 0.000, 0, 328, 4, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 3.000, 50.000, 0.000, NULL, '103.237.57.160', '103.237.57.160', '2025-03-10', '06:05:15 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (14, 2, 14, 'IT020014', 'NECKLACE', 142, NULL, '', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 1.000, 5.000, 0.000, NULL, '223.237.182.55', '223.237.182.55', '2025-03-11', '10:46:58 am', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (15, 2, 15, 'IT020015', 'THAALI', 143, NULL, '711319', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 8.000, 6.380, 0.000, NULL, '103.148.33.236', '103.148.33.236', '2025-03-11', '02:13:18 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Percentage', 15.000, 0.000, 0.000, 'Total Amount', 1), (16, 2, 16, 'IT020016', 'SIDE RING', 144, NULL, '711319', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 5.000, 20.110, 0.000, NULL, '103.148.33.236', '103.148.33.236', '2025-03-11', '03:06:35 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (17, 2, 17, 'IT020017', 'Kolachi', 145, NULL, '711319', '', 61, 1.000, 2, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 1.000, 2.420, 0.000, NULL, '103.148.33.236', '103.148.33.236', '2025-03-11', '06:03:54 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Percentage', 15.000, 0.000, 0.000, 'Total Amount', 1), (18, 2, 18, 'IT020018', 'KUNDU', 146, NULL, '711319', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 1.000, 0.000, 0.000, NULL, '103.148.33.236', '103.148.33.236', '2025-03-12', '10:46:05 am', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Percentage', 10.000, 0.000, 110.000, 'Total Amount', 1), (19, 2, 19, 'IT020019', 'BANGLE', 107, NULL, '711319', '', 61, 1.000, 2, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 1.000, 16.450, 0.000, NULL, '103.148.33.236', '103.148.33.236', '2025-03-12', '11:09:14 am', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Percentage', 10.000, 0.000, 180.000, 'Total Amount', 1), (20, 2, 20, 'IT020020', 'Janvalli', 147, NULL, '711319', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 0.000, 0.000, 0.000, NULL, '103.148.33.236', '103.148.33.236', '2025-03-12', '12:55:14 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Percentage', 10.000, 0.000, 110.000, 'Total Amount', 1), (21, 2, 21, 'IT020021', 'Chain', 83, NULL, '711319', '', 61, 0.000, 0, 336, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 1.000, 0.250, 0.000, NULL, '103.148.33.236', '103.148.33.236', '2025-03-12', '01:14:54 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Percentage', 10.000, 0.000, 180.000, 'Total Amount', 1), (22, 2, 22, 'IT020022', 'Ring', 82, NULL, '711319', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 8.000, 86.150, 0.000, NULL, '122.173.248.37', 'abts-north-dynamic-037.248.173.122.airtelbroadband', '2025-03-12', '05:26:37 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Percentage', 10.000, 0.000, 180.000, 'Total Amount', 1), (23, 2, 23, 'IT020023', 'doller', 148, NULL, '711319', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 0.000, 0.000, 0.000, NULL, '103.148.33.236', '103.148.33.236', '2025-03-12', '05:31:50 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Percentage', 10.000, 0.000, 180.000, 'Total Amount', 1), (25, 2, 25, 'IT020025', 'SANGU', 149, NULL, '711319', '', 61, 0.000, 0, 328, 13, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 0.000, 0.000, 113.000, NULL, '103.148.33.236', '103.148.33.236', '2025-03-14', '03:39:14 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Percentage', 0.000, 0.000, 380.000, 'Total Amount', 1), (26, 2, 26, 'IT020026', 'chain 75', 83, NULL, '', '', 61, 0.000, 0, 327, 4, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 2.000, 0.700, 0.000, NULL, '223.237.178.15', '223.237.178.15', '2025-03-17', '10:37:38 am', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (28, 2, 28, 'IT020028', 'BABY RING', 82, NULL, '711319', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 35.000, 99.250, 0.000, NULL, '223.237.183.245', '223.237.183.245', '2025-03-18', '01:55:27 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Percentage', 0.000, 0.000, 0.000, 'Total Amount', 1), (29, 2, 29, 'IT020029', 'TUMBLER', 150, NULL, '', '', 61, 0.000, 0, 328, 10, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 27.000, 778.000, 0.000, NULL, '103.237.57.160', '103.237.57.160', '2025-03-18', '03:57:01 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (30, 2, 30, 'IT020030', 'GENTS RING', 82, NULL, '711913', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 12.000, 45.500, 0.000, NULL, '122.174.195.251', 'abts-tn-dynamic-251.195.174.122.airtelbroadband.in', '2025-03-19', '02:07:53 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (31, 2, 31, 'IT020031', 'sachin', 83, NULL, '711319', '', 61, 8.000, 12, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 1.000, 3.000, 0.000, NULL, '36.255.17.196', 'ws196-17.255.36.rcil.gov.in', '2025-03-24', '04:45:20 pm', 'rkteams', NULL, 1, 'Fixed', 400.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed Amount', 8300.000, 0.000, 800.000, 'Total Amount', 1), (32, 2, 32, 'IT020032', 'LADIES RING', 82, NULL, '711319', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 0.000, 5.000, 0.000, NULL, '106.212.16.240', '106.212.16.240', '2025-03-25', '12:40:24 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (33, 2, 33, 'IT020033', 'KASA THOD', 92, NULL, '711319', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 15.000, 35.600, 0.000, NULL, '220.158.156.181', '220.158.156.181', '2025-03-27', '12:43:01 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (34, 2, 34, 'IT020034', 'necklace enamal', 142, NULL, '', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 2.000, 32.950, 0.000, NULL, '106.195.39.35', '106.195.39.35', '2025-03-27', '06:35:21 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (35, 2, 35, 'IT020035', 'CASTING RING', 82, NULL, '', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 9.000, 24.700, 0.000, NULL, '122.173.103.164', 'abts-north-dynamic-164.103.173.122.airtelbroadband', '2025-03-29', '05:05:58 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (36, 2, 36, 'IT020036', 'test_chain', 83, NULL, '', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 2.000, 4.500, 0.000, NULL, '122.178.156.110', 'abts-tn-dynamic-110.156.178.122.airtelbroadband.in', '2025-04-01', '08:23:36 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Percentage', 0.000, 0.000, 0.000, 'Total Amount', 1), (37, 2, 37, 'IT020037', 'FANCY BRACELET', 88, NULL, '', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 1.000, 3.000, 0.000, NULL, '117.98.171.80', '117.98.171.80', '2025-04-12', '10:52:39 am', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (39, 2, 38, 'IT020038', 'Coin - Silver', 132, NULL, NULL, NULL, 61, NULL, 0, 328, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.000, 0.000, 0.000, NULL, '122.174.214.224', 'abts-tn-dynamic-224.214.174.122.airtelbroadband.in', '2025-04-18', '12:08:31 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, NULL, '', 0.000, 0.000, 0.000, 'Total Amount', 0), (40, 2, 39, 'IT020039', 'KTM RING', 82, NULL, '', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 3.000, 6.200, 0.000, NULL, '223.237.177.115', '223.237.177.115', '2025-04-21', '12:50:29 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (41, 2, 40, 'IT020040', 'Ring Piece', 82, NULL, '', '', 62, 0.000, 0, 328, 16, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 4.000, 0.000, 0.000, NULL, '122.178.219.80', 'abts-kk-dynamic-080.219.178.122.airtelbroadband.in', '2025-04-26', '06:57:49 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 0, 0.000, 'Percentage', 10.000, 0.000, 0.000, 'Total Amount', 1), (42, 2, 41, 'IT020041', '92 GENTS RING', 82, NULL, '', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 10.000, 100.000, 0.000, NULL, '183.83.148.40', '183.83.148.40.actcorp.in', '2025-05-06', '05:28:44 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (43, 2, 42, 'IT020042', 'chit item', 82, NULL, '', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 1.000, 10.000, 0.000, NULL, '103.141.51.142', '103.141.51.142', '2025-05-23', '06:13:57 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (44, 2, 43, 'IT020043', 'wastage master test', 83, NULL, '', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 1.000, 5.000, 0.000, NULL, '122.174.37.130', 'abts-tn-dynamic-130.37.174.122.airtelbroadband.in', '2025-05-24', '11:39:49 am', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Percentage', 25.000, 0.000, 1000.000, 'Total Amount', 1), (45, 2, 44, 'IT020044', 'sring', 82, NULL, '', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 10.000, 50.000, 0.000, NULL, '120.60.29.178', 'triband-mum-120.60.29.178.mtnl.net.in', '2025-05-27', '12:31:39 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Percentage', 15.000, 0.000, 500.000, 'Total Amount', 1), (46, 2, 45, 'IT020045', 'tag master', 93, NULL, '', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, NULL, NULL, 0.000, NULL, '136.185.178.242', 'abts-kk-dynamic-242.178.185.136.airtelbroadband.in', '2025-05-29', '04:50:57 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (47, 2, 46, 'IT020046', 'test wastage master', 152, NULL, '', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 1.000, 5.000, 0.000, NULL, '223.237.190.79', '223.237.190.79', '2025-05-30', '06:20:49 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (48, 2, 47, 'IT020047', 'test_item', 82, NULL, '', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, 2.000, 10.000, 0.000, NULL, '122.173.106.5', 'abts-north-dynamic-005.106.173.122.airtelbroadband', '2025-05-30', '07:13:27 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1), (49, 2, 48, 'IT020048', 'L RING', 82, NULL, '7113', '', 61, 0.000, 0, 327, 1, NULL, NULL, 0.000, 1, 0.000, 'Inclusive', 0.000, 0.000, -11.000, -26.970, 0.000, NULL, '103.160.240.171', '103.160.240.171', '2025-05-31', '06:06:57 pm', 'rkteams', NULL, 1, 'Percentage', 0.000, 0, 0.000, '', '', 'Single', NULL, NULL, 0, 1, 1, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 1); -- -------------------------------------------------------- -- -- Table structure for table `db_item_huid` -- CREATE TABLE `db_item_huid` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `purchaseitem_id` int(11) NOT NULL, `item_id` int(11) NOT NULL, `huid_code` varchar(50) NOT NULL, `item_status` varchar(100) NOT NULL, `created_date` date NOT NULL, `created_time` time NOT NULL, `created_by` varchar(50) NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime NOT NULL, `system_ip` text NOT NULL, `system_name` text NOT NULL, `status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_item_wastage` -- CREATE TABLE `db_item_wastage` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `brand_id` int(11) NOT NULL, `category_id` int(11) NOT NULL, `unit_id` int(11) NOT NULL, `type_id` int(11) NOT NULL, `from_weight` decimal(20,3) NOT NULL, `to_weight` decimal(20,3) NOT NULL, `wastage_type` varchar(100) NOT NULL, `wastage` decimal(20,3) NOT NULL, `wastage_margin` decimal(20,3) NOT NULL, `st_cost` decimal(20,3) NOT NULL, `mc_type` varchar(100) NOT NULL, `created_by` varchar(100) NOT NULL, `created_date` date NOT NULL, `created_time` time NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime NOT NULL, `status_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_item_wastage` -- INSERT INTO `db_item_wastage` (`id`, `store_id`, `brand_id`, `category_id`, `unit_id`, `type_id`, `from_weight`, `to_weight`, `wastage_type`, `wastage`, `wastage_margin`, `st_cost`, `mc_type`, `created_by`, `created_date`, `created_time`, `updated_by`, `updated_at`, `status_id`) VALUES (19, 2, 327, 0, 0, 0, 0.000, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 'rkteams', '2025-03-12', '04:03:15', 0, '0000-00-00 00:00:00', 1), (20, 2, 329, 0, 62, 2, 0.000, 0.000, 'Fixed', 0.000, 0.000, 0.000, 'Total Amount', 'rkteams', '2025-03-12', '04:03:15', 0, '0000-00-00 00:00:00', 1), (21, 2, 329, 0, 62, 2, 1212.000, 12.000, 'Percentage', 12.000, 212.000, 12.000, 'Total Amount', 'rkteams', '2025-03-12', '04:03:15', 0, '0000-00-00 00:00:00', 1), (42, 2, 327, 92, 61, 1, 2.000, 2.500, 'Fixed', 0.650, 0.600, 100.000, 'Gram', 'rkteams', '2025-04-17', '03:47:43', 0, '0000-00-00 00:00:00', 1), (45, 2, 327, 92, 61, 1, 2.501, 3.000, 'Fixed', 0.350, 0.250, 200.000, 'Total Amount', 'rkteams', '2025-04-17', '03:47:43', 0, '0000-00-00 00:00:00', 1), (49, 2, 327, 82, 61, 1, 0.000, 1.000, 'Percentage', 12.000, 0.000, 100.000, 'Gram', '', '0000-00-00', '00:00:00', 2, '2025-05-28 11:29:09', 1); -- -------------------------------------------------------- -- -- Table structure for table `db_languages` -- CREATE TABLE `db_languages` ( `id` int(11) NOT NULL, `language` varchar(50) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_languages` -- INSERT INTO `db_languages` (`id`, `language`, `status`) VALUES (1, 'English', 1), (2, 'Russian', 1), (3, 'Spanish', 1), (4, 'Arabic', 1), (5, 'Bangla', 1), (6, 'French', 1), (15, 'Tamil', 1); -- -------------------------------------------------------- -- -- Table structure for table `db_lot` -- CREATE TABLE `db_lot` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `lot_name` varchar(100) NOT NULL, `lot_code` varchar(100) NOT NULL, `count_id` int(11) NOT NULL, `brand_id` int(11) NOT NULL DEFAULT 327, `note` text NOT NULL, `purchase_qty` decimal(20,3) NOT NULL, `purchase_piece` decimal(20,3) NOT NULL, `pending_piece` decimal(20,3) NOT NULL, `pending_wgt` decimal(20,3) NOT NULL, `created_by` int(11) NOT NULL, `created_date` date NOT NULL, `created_time` int(11) NOT NULL, `system_ip` text NOT NULL, `system_name` text NOT NULL, `status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `db_lot` -- INSERT INTO `db_lot` (`id`, `store_id`, `warehouse_id`, `lot_name`, `lot_code`, `count_id`, `brand_id`, `note`, `purchase_qty`, `purchase_piece`, `pending_piece`, `pending_wgt`, `created_by`, `created_date`, `created_time`, `system_ip`, `system_name`, `status`) VALUES (1, 2, 2, 'Silver ornamants', 'LA/02/0001', 1, 328, '', 45.500, 20.000, 18.000, 39.500, 0, '2025-03-10', 6, '103.237.57.160', '103.237.57.160', 1); -- -------------------------------------------------------- -- -- Table structure for table `db_lotitems` -- CREATE TABLE `db_lotitems` ( `id` int(11) NOT NULL, `lot_id` int(11) NOT NULL, `item_id` int(11) NOT NULL, `updated_by` int(11) NOT NULL, `updated_date` datetime NOT NULL, `system_ip` text NOT NULL, `system_name` int(11) NOT NULL, `status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `db_lotitems` -- INSERT INTO `db_lotitems` (`id`, `lot_id`, `item_id`, `updated_by`, `updated_date`, `system_ip`, `system_name`, `status`) VALUES (1, 1, 12, 2, '2025-03-10 06:05:42', '103.237.57.160', 103, 1), (2, 1, 13, 2, '2025-03-10 06:05:42', '103.237.57.160', 103, 1); -- -------------------------------------------------------- -- -- Table structure for table `db_mas_items` -- CREATE TABLE `db_mas_items` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `count` int(11) NOT NULL, `created_at` datetime NOT NULL, `created_by` varchar(150) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_metal_balance` -- CREATE TABLE `db_metal_balance` ( `id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `metal_item_id` int(11) NOT NULL, `purchase_id` int(11) NOT NULL, `brand` varchar(50) NOT NULL, `metal_weight` decimal(20,3) NOT NULL, `metal_rate` decimal(20,3) NOT NULL, `metal_amount` decimal(20,3) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `db_metal_balance` -- INSERT INTO `db_metal_balance` (`id`, `warehouse_id`, `store_id`, `metal_item_id`, `purchase_id`, `brand`, `metal_weight`, `metal_rate`, `metal_amount`) VALUES (1, 2, 2, 0, 10, 'gold', 22.472, 8900.000, 200000.000); -- -------------------------------------------------------- -- -- Table structure for table `db_ol_purchase` -- CREATE TABLE `db_ol_purchase` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `sales_id` int(11) DEFAULT NULL, `warehouse_id` int(11) DEFAULT NULL, `init_code` varchar(50) NOT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create Purchase Code', `purchase_code` varchar(50) DEFAULT NULL, `reference_no` varchar(50) DEFAULT NULL, `purchase_date` date DEFAULT NULL, `purchase_status` varchar(50) DEFAULT NULL, `supplier_id` int(11) DEFAULT NULL, `other_charges_input` double(20,3) DEFAULT NULL, `less_weight` decimal(20,3) NOT NULL, `other_charges_tax_id` int(11) DEFAULT NULL, `other_charges_amt` double(20,3) DEFAULT NULL, `discount_to_all_input` double(20,3) DEFAULT NULL, `discount_to_all_type` varchar(50) DEFAULT NULL, `tot_discount_to_all_amt` double(20,3) DEFAULT NULL, `subtotal` double(20,3) DEFAULT NULL, `round_off` double(20,3) DEFAULT NULL, `grand_total` double(20,3) DEFAULT NULL, `purchase_note` text DEFAULT NULL, `payment_status` varchar(50) DEFAULT NULL, `paid_amount` double(20,3) DEFAULT NULL, `gold_rate` double(20,3) DEFAULT NULL, `silver_rate` double(20,3) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `system_ip` varchar(100) DEFAULT NULL, `system_name` varchar(100) DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `status` int(11) DEFAULT NULL, `return_bit` int(11) DEFAULT NULL COMMENT 'Purchase return raised', `customer_id` int(11) NOT NULL, `order_id` int(11) NOT NULL, `cust_ad_id` int(11) NOT NULL, `tax_value` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_ol_purchase` -- INSERT INTO `db_ol_purchase` (`id`, `store_id`, `sales_id`, `warehouse_id`, `init_code`, `count_id`, `purchase_code`, `reference_no`, `purchase_date`, `purchase_status`, `supplier_id`, `other_charges_input`, `less_weight`, `other_charges_tax_id`, `other_charges_amt`, `discount_to_all_input`, `discount_to_all_type`, `tot_discount_to_all_amt`, `subtotal`, `round_off`, `grand_total`, `purchase_note`, `payment_status`, `paid_amount`, `gold_rate`, `silver_rate`, `created_date`, `created_time`, `created_by`, `system_ip`, `system_name`, `company_id`, `status`, `return_bit`, `customer_id`, `order_id`, `cust_ad_id`, `tax_value`) VALUES (1, 2, 1, 2, 'OP/2024/02/', 1, 'OP/2024/02/0001', NULL, '2025-02-26', 'Received', NULL, NULL, 0.000, NULL, NULL, NULL, NULL, NULL, 27000.000, NULL, 27000.000, NULL, NULL, NULL, 0.000, 106.000, '2025-02-26', '11:08:05 am', 'RK creators', '122.178.255.6', 'abts-kk-static-006.255.178.122.airtelbroadband.in', NULL, 1, NULL, 1, 0, 0, 0), (2, 2, 2, 2, 'OP/2024/02/', 2, 'OP/2024/02/0002', NULL, '2025-02-27', 'Received', NULL, NULL, 0.000, NULL, NULL, NULL, NULL, NULL, 20300.000, NULL, 20300.000, NULL, NULL, NULL, 8800.000, 106.000, '2025-02-27', '03:30:42 pm', 'RK creators', '49.206.112.64', '49.206.112.64.actcorp.in', NULL, 1, NULL, 2, 0, 0, 0), (3, 2, 6, 2, 'OP/2024/02/', 3, 'OP/2024/02/0003', NULL, '2025-03-10', 'Received', NULL, NULL, 0.000, NULL, NULL, NULL, NULL, NULL, 43.200, NULL, 43.200, NULL, NULL, NULL, 0.000, 102.000, '2025-03-10', '05:54:09 pm', 'rkteams', '103.237.57.160', '103.237.57.160', NULL, 1, NULL, 4, 0, 0, 0), (4, 2, 8, 2, 'OP/2024/02/', 4, 'OP/2024/02/0004', NULL, '2025-03-11', 'Received', NULL, NULL, 0.000, NULL, NULL, NULL, NULL, NULL, 55250.000, NULL, 55250.000, NULL, NULL, NULL, 0.000, 108.000, '2025-03-11', '10:55:17 am', 'rkteams', '223.237.182.55', '223.237.182.55', NULL, 1, NULL, 3, 0, 0, 0), (6, 2, 12, 2, 'OP/2024/02/', 5, 'OP/2024/02/0005', NULL, '2025-03-11', 'Received', NULL, NULL, 0.000, NULL, NULL, NULL, NULL, NULL, 18045.000, NULL, 18045.000, NULL, NULL, NULL, 0.000, 107.000, '2025-03-11', '06:57:50 pm', 'rkteams', '103.148.33.236', '103.148.33.236', NULL, 1, NULL, 6, 0, 0, 0), (7, 2, 13, 2, 'OP/2024/02/', 6, 'OP/2024/02/0006', NULL, '2025-03-12', 'Received', NULL, NULL, 0.000, NULL, NULL, NULL, NULL, NULL, 103232.000, NULL, 103232.000, NULL, NULL, NULL, 0.000, 108.000, '2025-03-12', '01:02:57 pm', 'rkteams', '103.148.33.236', '103.148.33.236', NULL, 1, NULL, 5, 0, 0, 0), (8, 2, 18, 2, 'OP/2024/02/', 7, 'OP/2024/02/0007', NULL, '2025-03-13', 'Received', NULL, NULL, 0.000, NULL, NULL, NULL, NULL, NULL, 23142.000, NULL, 23142.000, NULL, NULL, NULL, 0.000, 110.000, '2025-03-13', '06:42:48 pm', 'rkteams', '103.148.33.236', '103.148.33.236', NULL, 1, NULL, 8, 0, 0, 0), (9, 2, 19, 2, 'OP/2024/02/', 8, 'OP/2024/02/0008', NULL, '2025-03-18', 'Received', NULL, NULL, 0.000, NULL, NULL, NULL, NULL, NULL, 3780.000, NULL, 3780.000, NULL, NULL, NULL, 0.000, 106.000, '2025-03-18', '02:45:13 pm', 'rkteams', '223.237.183.245', '223.237.183.245', NULL, 1, NULL, 9, 0, 0, 0), (10, 2, 24, 2, 'OP/2024/02/', 9, 'OP/2024/02/0009', NULL, '2025-03-24', 'Received', NULL, NULL, 0.000, NULL, NULL, NULL, NULL, NULL, 23814.400, NULL, 23814.400, NULL, NULL, NULL, 0.000, 103.000, '2025-03-24', '04:26:39 pm', 'rkteams', '36.255.17.196', 'ws196-17.255.36.rcil.gov.in', NULL, 1, NULL, 1, 0, 0, 0), (11, 2, 28, 2, 'OP/2024/02/', 10, 'OP/2024/02/0010', NULL, '2025-03-27', 'Received', NULL, NULL, 0.000, NULL, NULL, NULL, NULL, NULL, 45650.000, NULL, 45650.000, NULL, NULL, NULL, 0.000, 105.000, '2025-03-27', '12:36:42 pm', 'rkteams', '220.158.156.181', '220.158.156.181', NULL, 1, NULL, 1, 0, 0, 0), (12, 2, 31, 2, 'OP/2526/', 11, 'OP/2526/0011', NULL, '2025-03-29', 'Received', NULL, NULL, 0.000, NULL, NULL, NULL, NULL, NULL, 1248.000, NULL, 1248.000, NULL, NULL, NULL, 0.000, 113.000, '2025-03-29', '05:25:49 pm', 'rkteams', '122.173.103.164', 'abts-north-dynamic-164.103.173.122.airtelbroadband.in', NULL, 1, NULL, 13, 0, 0, 0), (13, 2, 38, 2, 'OP/2526/', 12, 'OP/2526/0012', NULL, '2025-04-21', 'Received', NULL, NULL, 0.000, NULL, NULL, NULL, NULL, NULL, 8113.500, NULL, 8113.500, NULL, NULL, NULL, 0.000, 111.000, '2025-04-21', '01:00:25 pm', 'rkteams', '223.237.177.115', '223.237.177.115', NULL, 1, NULL, 15, 0, 0, 0), (15, 2, 40, 2, 'OP/2526/', 13, 'OP/2526/0013', NULL, '2025-04-28', 'Received', NULL, NULL, 0.000, NULL, NULL, NULL, NULL, NULL, 9865.000, NULL, 9865.000, NULL, NULL, NULL, 9754.000, 111.000, '2025-04-28', '06:42:19 pm', 'rkteams', '106.205.76.156', '106.205.76.156', NULL, 1, NULL, 2, 0, 0, 0), (16, 2, NULL, 2, 'OPX/2526/', 1, NULL, '', '2025-05-25', 'Received', NULL, NULL, 0.000, NULL, NULL, NULL, 'in_percentage', NULL, 80190.000, NULL, 80190.000, NULL, 'Paid', 80190.000, 0.000, 111.000, '2025-05-25', '10:08:09 pm', 'rkteams', '106.221.19.210', '106.221.19.210', NULL, 1, NULL, 1, 0, 0, 1), (17, 2, 48, 2, 'OP/2526/', 14, 'OP/2526/0014', NULL, '2025-05-26', 'Received', NULL, NULL, 0.000, NULL, NULL, NULL, NULL, NULL, 0.000, NULL, 0.000, NULL, NULL, NULL, 0.000, 109.000, '2025-05-26', '11:18:44 am', 'rkteams', '182.69.217.179', 'abts-north-dynamic-179.217.69.182.airtelbroadband.in', NULL, 1, NULL, 23, 0, 0, 0), (18, 2, 49, 2, 'OP/2526/', 15, 'OP/2526/0015', NULL, '2025-05-26', 'Received', NULL, NULL, 0.000, NULL, NULL, NULL, NULL, NULL, 94000.000, NULL, 94000.000, NULL, NULL, NULL, 0.000, 109.000, '2025-05-26', '11:19:18 am', 'rkteams', '182.69.217.179', 'abts-north-dynamic-179.217.69.182.airtelbroadband.in', NULL, 1, NULL, 1, 0, 0, 0), (20, 2, 50, 2, 'OP/2526/', 16, 'OP/2526/0016', NULL, '2025-05-26', 'Received', NULL, NULL, 0.000, NULL, NULL, NULL, NULL, NULL, 45000.000, NULL, 45000.000, NULL, NULL, NULL, 0.000, 109.000, '2025-05-26', '11:22:55 am', 'rkteams', '182.69.217.179', 'abts-north-dynamic-179.217.69.182.airtelbroadband.in', NULL, 1, NULL, 1, 0, 0, 0), (22, 2, 56, 2, 'OP/2526/', 17, 'OP/2526/0017', NULL, '2025-05-31', 'Received', NULL, NULL, 0.000, NULL, NULL, NULL, NULL, NULL, 17199.000, NULL, 17199.000, NULL, NULL, NULL, 0.000, 111.000, '2025-05-31', '06:28:36 pm', 'rkteams', '103.160.240.171', '103.160.240.171', NULL, 1, NULL, 26, 0, 0, 0); -- -------------------------------------------------------- -- -- Table structure for table `db_ol_purchaseitems` -- CREATE TABLE `db_ol_purchaseitems` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `purchase_id` int(11) DEFAULT NULL, `purchase_status` varchar(50) DEFAULT NULL, `item_id` int(11) DEFAULT NULL, `purchase_piece` varchar(50) DEFAULT NULL, `purchase_qty` double(20,3) DEFAULT NULL, `touch_percentage` varchar(50) NOT NULL DEFAULT '0', `less_weight` decimal(20,3) NOT NULL, `price_per_unit` double(20,3) DEFAULT NULL, `unit_id` int(11) NOT NULL, `tax_type` varchar(50) DEFAULT NULL, `tax_id` int(11) DEFAULT NULL, `tax_amt` double(20,3) DEFAULT NULL, `pure_weight` decimal(20,3) DEFAULT NULL, `mc` decimal(20,3) DEFAULT NULL, `huid` varchar(100) NOT NULL, `discount_type` varchar(50) DEFAULT NULL, `discount_input` double(20,3) DEFAULT NULL, `discount_amt` double(20,3) DEFAULT NULL, `unit_total_cost` double(20,3) DEFAULT NULL, `total_cost` double(20,3) DEFAULT NULL, `profit_margin_per` double(20,3) DEFAULT NULL, `unit_sales_price` double(20,3) DEFAULT NULL, `status` int(11) DEFAULT NULL, `description` text DEFAULT NULL, `customer_id` int(11) NOT NULL, `sales_id` int(11) NOT NULL, `sales_old_gold_id` int(11) NOT NULL, `sales_old_silver_id` int(11) NOT NULL, `order_old_gold_id` int(11) NOT NULL, `order_old_silver_id` int(11) NOT NULL, `order_id` int(11) NOT NULL, `quotation_id` int(11) NOT NULL, `cust_ad_old_gold_id` int(11) NOT NULL, `cust_ad_old_silver_id` int(11) NOT NULL, `cust_ad_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_ol_purchaseitems` -- INSERT INTO `db_ol_purchaseitems` (`id`, `store_id`, `purchase_id`, `purchase_status`, `item_id`, `purchase_piece`, `purchase_qty`, `touch_percentage`, `less_weight`, `price_per_unit`, `unit_id`, `tax_type`, `tax_id`, `tax_amt`, `pure_weight`, `mc`, `huid`, `discount_type`, `discount_input`, `discount_amt`, `unit_total_cost`, `total_cost`, `profit_margin_per`, `unit_sales_price`, `status`, `description`, `customer_id`, `sales_id`, `sales_old_gold_id`, `sales_old_silver_id`, `order_old_gold_id`, `order_old_silver_id`, `order_id`, `quotation_id`, `cust_ad_old_gold_id`, `cust_ad_old_silver_id`, `cust_ad_id`) VALUES (1, 2, 1, NULL, 2, '1', 5.000, '80', 0.500, 7500.000, 0, NULL, NULL, NULL, 3.600, 0.000, '', NULL, NULL, NULL, NULL, 27000.000, NULL, NULL, 0, NULL, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0), (2, 2, 2, NULL, 2, '1', 3.000, '0.000', 0.100, 7000.000, 0, NULL, NULL, NULL, 2.900, 0.000, '', NULL, NULL, NULL, NULL, 20300.000, NULL, NULL, 1, NULL, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0), (3, 2, 1, NULL, 2, '1', 5.000, '80.000', 0.500, 7500.000, 0, NULL, NULL, NULL, 3.600, 0.000, '', NULL, NULL, NULL, NULL, 27000.000, NULL, NULL, 1, NULL, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0), (4, 2, 3, NULL, 3, '1', 1.000, '60', 0.200, 90.000, 0, NULL, NULL, NULL, 0.480, 0.000, '', NULL, NULL, NULL, NULL, 43.200, NULL, NULL, 1, NULL, 0, 6, 0, 1, 0, 0, 0, 0, 0, 0, 0), (5, 2, 4, NULL, 2, '1', 10.000, '0.000', 1.500, 6500.000, 0, NULL, NULL, NULL, 8.500, 0.000, '', NULL, NULL, NULL, NULL, 55250.000, NULL, NULL, 1, NULL, 0, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0), (7, 2, 6, NULL, 2, '1', 3.120, '75', 0.120, 8020.000, 0, NULL, NULL, NULL, 2.250, 0.000, '', NULL, NULL, NULL, NULL, 18045.000, NULL, NULL, 1, NULL, 0, 12, 5, 0, 0, 0, 0, 0, 0, 0, 0), (8, 2, 7, NULL, 2, '1', 16.000, '80', 0.000, 8065.000, 0, NULL, NULL, NULL, 12.800, 0.000, '', NULL, NULL, NULL, NULL, 103232.000, NULL, NULL, 1, NULL, 0, 13, 6, 0, 0, 0, 0, 0, 0, 0, 0), (9, 2, 8, NULL, 2, '1', 3.000, '0.000', 0.150, 8120.000, 0, NULL, NULL, NULL, 2.850, 0.000, '', NULL, NULL, NULL, NULL, 23142.000, NULL, NULL, 0, NULL, 0, 18, 7, 0, 0, 0, 0, 0, 0, 0, 0), (10, 2, 8, NULL, 2, '1', 3.000, '0.000', 0.150, 8120.000, 0, NULL, NULL, NULL, 2.850, 0.000, '', NULL, NULL, NULL, NULL, 23142.000, NULL, NULL, 1, NULL, 0, 18, 7, 0, 0, 0, 0, 0, 0, 0, 0), (11, 2, 9, NULL, 2, '1', 0.750, '80', 0.000, 6300.000, 0, NULL, NULL, NULL, 0.600, 0.000, '', NULL, NULL, NULL, NULL, 3780.000, NULL, NULL, 1, NULL, 0, 19, 8, 0, 0, 0, 0, 0, 0, 0, 0), (12, 2, 10, NULL, 3, '1', 3.350, '80', 0.350, 8000.000, 0, NULL, NULL, NULL, 2.400, 0.000, '', NULL, NULL, NULL, NULL, 19200.000, NULL, NULL, 0, NULL, 0, 24, 9, 0, 0, 0, 0, 0, 0, 0, 0), (13, 2, 10, NULL, 3, '1', 64.000, '0.000', 19.200, 103.000, 0, NULL, NULL, NULL, 44.800, 0.000, '', NULL, NULL, NULL, NULL, 4614.400, NULL, NULL, 1, NULL, 0, 24, 0, 2, 0, 0, 0, 0, 0, 0, 0), (14, 2, 10, NULL, 3, '1', 3.350, '80.000', 0.350, 8000.000, 0, NULL, NULL, NULL, 2.400, 0.000, '', NULL, NULL, NULL, NULL, 19200.000, NULL, NULL, 1, NULL, 0, 24, 9, 0, 0, 0, 0, 0, 0, 0, 0), (15, 2, 10, NULL, 3, '1', 64.000, '0.000', 19.200, 103.000, 0, NULL, NULL, NULL, 44.800, 0.000, '', NULL, NULL, NULL, NULL, 4614.400, NULL, NULL, 1, NULL, 0, 24, 0, 2, 0, 0, 0, 0, 0, 0, 0), (16, 2, 11, NULL, 2, '1', 6.000, '0.000', 0.500, 8300.000, 0, NULL, NULL, NULL, 5.500, 0.000, '', NULL, NULL, NULL, NULL, 45650.000, NULL, NULL, 1, NULL, 0, 28, 10, 0, 0, 0, 0, 0, 0, 0, 0), (17, 2, 12, NULL, 2, '1', 0.500, '0.000', 0.020, 2600.000, 0, NULL, NULL, NULL, 0.480, 0.000, '', NULL, NULL, NULL, NULL, 1248.000, NULL, NULL, 1, NULL, 0, 31, 11, 0, 0, 0, 0, 0, 0, 0, 0), (18, 2, 13, NULL, 2, '1', 1.000, '0.000', 0.100, 9015.000, 0, NULL, NULL, NULL, 0.900, 0.000, '', NULL, NULL, NULL, NULL, 8113.500, NULL, NULL, 1, NULL, 0, 38, 12, 0, 0, 0, 0, 0, 0, 0, 0), (21, 2, 15, NULL, 3, '1', 1.000, '0.000', 0.000, 9754.000, 0, NULL, NULL, NULL, 1.000, NULL, '', NULL, NULL, NULL, NULL, 9754.000, NULL, NULL, 1, NULL, 0, 40, 14, 0, 0, 0, 0, 0, 0, 0, 0), (22, 2, 15, NULL, 3, '1', 1.000, '0.000', 0.000, 111.000, 0, NULL, NULL, NULL, 1.000, NULL, '', NULL, NULL, NULL, NULL, 111.000, NULL, NULL, 1, NULL, 0, 40, 0, 4, 0, 0, 0, 0, 0, 0, 0), (27, 2, 16, 'Received', 2, '0', 10.000, '90', 0.100, 9000.000, 61, NULL, NULL, NULL, 8.910, NULL, '', 'Percentage', NULL, NULL, NULL, 80190.000, NULL, NULL, 1, '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), (28, 2, 17, NULL, 3, '1', 10.000, '0.000', 0.000, 0.000, 0, NULL, NULL, NULL, 10.000, NULL, '', NULL, NULL, NULL, NULL, 0.000, NULL, NULL, 1, NULL, 0, 48, 17, 0, 0, 0, 0, 0, 0, 0, 0), (29, 2, 17, NULL, 3, '1', 10.000, '0.000', 0.000, 0.000, 0, NULL, NULL, NULL, 10.000, NULL, '', NULL, NULL, NULL, NULL, 0.000, NULL, NULL, 1, NULL, 0, 48, 0, 7, 0, 0, 0, 0, 0, 0, 0), (30, 2, 18, NULL, 2, '1', 10.000, '0.000', 0.000, 9400.000, 0, NULL, NULL, NULL, 10.000, NULL, '', NULL, NULL, NULL, NULL, 94000.000, NULL, NULL, 1, NULL, 0, 49, 18, 0, 0, 0, 0, 0, 0, 0, 0), (32, 2, 20, NULL, 2, '1', 5.000, '0.000', 0.000, 9000.000, 0, NULL, NULL, NULL, 5.000, NULL, '', NULL, NULL, NULL, NULL, 45000.000, NULL, NULL, 1, NULL, 0, 50, 20, 0, 0, 0, 0, 0, 0, 0, 0), (36, 2, 22, NULL, 2, '1', 2.000, '0.000', 0.050, 8820.000, 0, NULL, NULL, NULL, 1.950, NULL, '', NULL, NULL, NULL, NULL, 17199.000, NULL, NULL, 1, NULL, 0, 56, 22, 0, 0, 0, 0, 0, 0, 0, 0); -- -------------------------------------------------------- -- -- Table structure for table `db_ol_purchaseitemsreturn` -- CREATE TABLE `db_ol_purchaseitemsreturn` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `purchase_id` int(11) DEFAULT NULL, `return_id` int(11) DEFAULT NULL, `return_status` varchar(50) DEFAULT NULL, `item_id` int(11) DEFAULT NULL, `return_qty` double(20,3) DEFAULT NULL, `return_piece` int(11) NOT NULL, `price_per_unit` double(20,3) DEFAULT NULL, `tax_id` int(11) DEFAULT NULL, `tax_amt` double(20,3) DEFAULT NULL, `tax_type` varchar(50) DEFAULT NULL, `discount_input` double(20,3) DEFAULT NULL, `discount_amt` double(20,3) DEFAULT NULL, `discount_type` varchar(50) DEFAULT NULL, `unit_total_cost` double(20,3) DEFAULT NULL, `total_cost` double(20,3) DEFAULT NULL, `profit_margin_per` double(20,3) DEFAULT NULL, `unit_sales_price` double(20,3) DEFAULT NULL, `status` int(11) DEFAULT NULL, `description` text DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_ol_purchasepayments` -- CREATE TABLE `db_ol_purchasepayments` ( `id` int(11) NOT NULL, `count_id` int(11) DEFAULT NULL, `payment_code` varchar(50) DEFAULT NULL, `store_id` int(11) DEFAULT NULL, `purchase_id` int(11) DEFAULT NULL, `payment_date` date DEFAULT NULL, `payment_type` varchar(50) DEFAULT NULL, `payment` double(20,3) DEFAULT NULL, `payment_note` text DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `created_time` time DEFAULT NULL, `created_date` date DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `status` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `supplier_id` int(11) DEFAULT NULL, `short_code` varchar(50) DEFAULT NULL, `customer_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_ol_purchasepayments` -- INSERT INTO `db_ol_purchasepayments` (`id`, `count_id`, `payment_code`, `store_id`, `purchase_id`, `payment_date`, `payment_type`, `payment`, `payment_note`, `system_ip`, `system_name`, `created_time`, `created_date`, `created_by`, `status`, `account_id`, `supplier_id`, `short_code`, `customer_id`) VALUES (1, 1, 'PP/2526/0001', 2, 16, '2025-05-25', 'CASH', 80190.000, '', '106.221.19.210', '106.221.19.210', '10:08:09', '2025-05-25', 'rkteams', 1, NULL, NULL, NULL, 1); -- -------------------------------------------------------- -- -- Table structure for table `db_ol_purchasepaymentsreturn` -- CREATE TABLE `db_ol_purchasepaymentsreturn` ( `id` int(11) NOT NULL, `count_id` int(11) DEFAULT NULL, `payment_code` varchar(50) DEFAULT NULL, `store_id` int(11) DEFAULT NULL, `purchase_id` int(11) DEFAULT NULL, `return_id` int(11) DEFAULT NULL, `payment_date` date DEFAULT NULL, `payment_type` varchar(50) DEFAULT NULL, `payment` double(20,3) DEFAULT NULL, `payment_note` text DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `created_time` time DEFAULT NULL, `created_date` date DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `status` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `supplier_id` int(11) DEFAULT NULL, `short_code` varchar(50) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_ol_purchasereturn` -- CREATE TABLE `db_ol_purchasereturn` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create Purchase Return Code', `warehouse_id` int(11) DEFAULT NULL, `purchase_id` int(11) DEFAULT NULL, `return_code` varchar(50) DEFAULT NULL, `reference_no` varchar(50) DEFAULT NULL, `return_date` date DEFAULT NULL, `return_status` varchar(50) DEFAULT NULL, `supplier_id` int(11) DEFAULT NULL, `other_charges_input` double(20,3) DEFAULT NULL, `other_charges_tax_id` int(11) DEFAULT NULL, `other_charges_amt` double(20,3) DEFAULT NULL, `discount_to_all_input` double(20,3) DEFAULT NULL, `discount_to_all_type` varchar(50) DEFAULT NULL, `tot_discount_to_all_amt` double(20,3) DEFAULT NULL, `subtotal` double(20,3) DEFAULT NULL, `round_off` double(20,3) DEFAULT NULL, `grand_total` double(20,3) DEFAULT NULL, `return_note` text DEFAULT NULL, `payment_status` varchar(50) DEFAULT NULL, `paid_amount` double(20,3) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `system_ip` varchar(100) DEFAULT NULL, `system_name` varchar(100) DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_order` -- CREATE TABLE `db_order` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `warehouse_id` int(11) DEFAULT NULL, `init_code` varchar(100) DEFAULT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create order Code', `order_code` varchar(50) DEFAULT NULL, `reference_no` varchar(50) DEFAULT NULL, `order_date` date DEFAULT NULL, `due_date` date DEFAULT NULL, `order_status` varchar(50) DEFAULT NULL, `order_type` varchar(100) NOT NULL, `customer_id` int(11) DEFAULT NULL, `other_charges_input` double(20,3) DEFAULT NULL, `other_charges_tax_id` int(11) DEFAULT NULL, `other_charges_amt` double(20,3) DEFAULT NULL, `discount_to_all_input` double(20,3) DEFAULT NULL, `discount_to_all_type` varchar(50) DEFAULT NULL, `tot_discount_to_all_amt` double(20,3) DEFAULT NULL, `tax_value` int(11) NOT NULL, `subtotal` double(20,3) DEFAULT NULL, `round_off` double(20,3) DEFAULT NULL, `grand_total` double(20,3) DEFAULT NULL, `order_note` text DEFAULT NULL, `payment_status` varchar(50) DEFAULT NULL, `paid_amount` double(20,3) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `system_ip` varchar(100) DEFAULT NULL, `system_name` varchar(100) DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `pos` int(11) DEFAULT NULL COMMENT '1=yes 0=no', `gold_rate` decimal(20,3) DEFAULT NULL, `gold24_rate` decimal(20,3) DEFAULT NULL, `silver_rate` decimal(20,3) DEFAULT NULL, `status` int(11) DEFAULT NULL, `return_bit` int(11) DEFAULT NULL COMMENT 'order return raised', `customer_previous_due` double(20,3) DEFAULT NULL, `customer_total_due` double(20,3) DEFAULT NULL, `quotation_id` int(11) DEFAULT NULL, `coupon_id` int(11) DEFAULT NULL, `coupon_amt` double(20,3) DEFAULT 0.000, `invoice_terms` text DEFAULT NULL, `old_gold_weight` decimal(20,3) DEFAULT NULL, `old_gold_rate` decimal(20,3) DEFAULT NULL, `old_silver_weight` decimal(20,3) DEFAULT NULL, `old_silver_rate` decimal(20,3) DEFAULT NULL, `old_gold_gross_weight` decimal(20,3) DEFAULT NULL, `old_gold_less` decimal(20,3) DEFAULT NULL, `old_gold_amount` decimal(20,3) DEFAULT NULL, `old_silver_gross_weight` decimal(20,3) DEFAULT NULL, `old_silver_less` decimal(20,3) DEFAULT NULL, `old_gold_final_weight` decimal(20,3) NOT NULL, `old_silver_amount` decimal(20,3) DEFAULT NULL, `grand_total_amount` decimal(20,3) DEFAULT NULL, `gst_amount` decimal(20,3) DEFAULT NULL, `print_huid` int(11) NOT NULL, `old_gold_purity` decimal(20,3) DEFAULT NULL, `negotiate_value` decimal(20,3) NOT NULL, `negotiate_option` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_order` -- INSERT INTO `db_order` (`id`, `store_id`, `warehouse_id`, `init_code`, `count_id`, `order_code`, `reference_no`, `order_date`, `due_date`, `order_status`, `order_type`, `customer_id`, `other_charges_input`, `other_charges_tax_id`, `other_charges_amt`, `discount_to_all_input`, `discount_to_all_type`, `tot_discount_to_all_amt`, `tax_value`, `subtotal`, `round_off`, `grand_total`, `order_note`, `payment_status`, `paid_amount`, `created_date`, `created_time`, `created_by`, `system_ip`, `system_name`, `company_id`, `pos`, `gold_rate`, `gold24_rate`, `silver_rate`, `status`, `return_bit`, `customer_previous_due`, `customer_total_due`, `quotation_id`, `coupon_id`, `coupon_amt`, `invoice_terms`, `old_gold_weight`, `old_gold_rate`, `old_silver_weight`, `old_silver_rate`, `old_gold_gross_weight`, `old_gold_less`, `old_gold_amount`, `old_silver_gross_weight`, `old_silver_less`, `old_gold_final_weight`, `old_silver_amount`, `grand_total_amount`, `gst_amount`, `print_huid`, `old_gold_purity`, `negotiate_value`, `negotiate_option`) VALUES (1, 2, 2, 'OR/2526/', 1, 'OR/2526/1', NULL, '2025-05-09', NULL, 'Converted', 'Order', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 77889.600, 0.288, 80226.000, NULL, 'Unpaid', 0.000, '2025-05-09', '06:31:55 pm', 'rkteams', '171.76.102.201', 'abts-kk-dynamic-201.102.76.171.airtelbroadband.in', NULL, NULL, 9015.000, NULL, 111.000, 1, NULL, NULL, NULL, NULL, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 80226.000, NULL, 0, 0.000, 0.000, 0); -- -------------------------------------------------------- -- -- Table structure for table `db_orderitems` -- CREATE TABLE `db_orderitems` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `order_id` int(11) DEFAULT NULL, `tag_id` int(11) NOT NULL, `item_huid_id` int(11) NOT NULL, `order_status` varchar(50) DEFAULT NULL, `item_id` int(11) DEFAULT NULL, `description` text DEFAULT NULL, `order_qty` double(20,3) DEFAULT NULL, `order_piece` varchar(50) NOT NULL, `total_gold_weight` decimal(20,3) DEFAULT NULL, `unit_id` int(11) NOT NULL, `price_per_unit` double(20,3) DEFAULT NULL, `tax_type` varchar(50) DEFAULT NULL, `tax_id` int(11) DEFAULT NULL, `tax_amt` double(20,3) DEFAULT NULL, `discount_type` varchar(50) DEFAULT NULL, `discount_input` double(20,3) DEFAULT NULL, `discount_amt` double(20,3) DEFAULT NULL, `unit_total_cost` double(20,3) DEFAULT NULL, `total_cost` double(20,3) DEFAULT NULL, `gold_rate` varchar(100) NOT NULL, `silver_rate` varchar(100) NOT NULL, `status` int(11) DEFAULT NULL, `seller_points` double(20,3) DEFAULT 0.000, `purchase_price` double(20,3) DEFAULT 0.000, `st_cost` double(20,3) DEFAULT NULL, `wastage` double(20,3) DEFAULT NULL, `wastage_type` text NOT NULL, `weight_g` double(20,3) DEFAULT NULL, `gross_weight` decimal(20,3) DEFAULT NULL, `total_gold_rate` decimal(20,3) DEFAULT NULL, `mc_type` varchar(100) NOT NULL DEFAULT 'Total Amount', `mc_value` decimal(20,3) NOT NULL, `item_st_cost` decimal(20,3) DEFAULT NULL, `item_size` decimal(20,3) DEFAULT NULL, `item_st_wt` decimal(20,3) DEFAULT NULL, `purchaseitems_id` int(11) NOT NULL, `return_weight` decimal(20,3) NOT NULL, `adjustmentitem_id` int(11) NOT NULL, `receiptitems_id` int(11) DEFAULT NULL, `status_id` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_orderitems` -- INSERT INTO `db_orderitems` (`id`, `store_id`, `order_id`, `tag_id`, `item_huid_id`, `order_status`, `item_id`, `description`, `order_qty`, `order_piece`, `total_gold_weight`, `unit_id`, `price_per_unit`, `tax_type`, `tax_id`, `tax_amt`, `discount_type`, `discount_input`, `discount_amt`, `unit_total_cost`, `total_cost`, `gold_rate`, `silver_rate`, `status`, `seller_points`, `purchase_price`, `st_cost`, `wastage`, `wastage_type`, `weight_g`, `gross_weight`, `total_gold_rate`, `mc_type`, `mc_value`, `item_st_cost`, `item_size`, `item_st_wt`, `purchaseitems_id`, `return_weight`, `adjustmentitem_id`, `receiptitems_id`, `status_id`) VALUES (1, 2, 1, 0, 0, 'Receipted', 9, '', 5.000, '1', NULL, 61, 9015.000, NULL, NULL, NULL, '', NULL, 8.000, NULL, 48681.000, '', '', 1, 0.000, 0.000, 0.000, 8.000, 'Percentage', NULL, 5.000, 9015.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 0, 5.500, 0, 1, 2), (2, 2, 1, 0, 0, 'Receipted', 9, '', 3.000, '1', NULL, 61, 9015.000, NULL, NULL, NULL, '', NULL, 8.000, NULL, 29208.600, '', '', 1, 0.000, 0.000, 0.000, 8.000, 'Percentage', NULL, 3.000, 9015.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 0, 3.000, 0, 2, 2); -- -------------------------------------------------------- -- -- Table structure for table `db_orderpayments` -- CREATE TABLE `db_orderpayments` ( `id` int(11) NOT NULL, `count_id` int(11) DEFAULT NULL, `payment_code` varchar(50) DEFAULT NULL, `store_id` int(11) DEFAULT NULL, `order_id` int(11) DEFAULT NULL, `payment_date` date DEFAULT NULL, `payment_type` varchar(50) DEFAULT NULL, `payment` double(20,3) DEFAULT NULL, `payment_note` text DEFAULT NULL, `change_return` double(20,3) DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `status` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `customer_id` int(11) DEFAULT NULL, `short_code` varchar(50) DEFAULT NULL, `advance_adjusted` double(20,3) DEFAULT NULL, `advance_chit` decimal(20,3) NOT NULL, `return_amount` decimal(20,3) NOT NULL, `cheque_number` varchar(100) DEFAULT NULL, `cheque_period` int(11) DEFAULT NULL, `cheque_status` varchar(100) DEFAULT NULL, `advance_id` text NOT NULL, `customerscheme_id` text DEFAULT NULL, `invoice_status` int(11) NOT NULL, `order_return_id` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_order_old_gold` -- CREATE TABLE `db_order_old_gold` ( `id` int(11) NOT NULL, `order_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `olpurchase_id` int(11) NOT NULL, `item_id` int(11) NOT NULL DEFAULT 184, `olpurchaseitem_id` int(11) NOT NULL, `order_old_gold_gross_weight` decimal(20,3) NOT NULL, `order_old_gold_purity` decimal(20,3) NOT NULL, `order_old_gold_weight` decimal(20,3) NOT NULL, `order_old_gold_less` decimal(20,3) NOT NULL, `order_old_gold_rate` decimal(20,3) NOT NULL, `order_old_gold_amount` decimal(20,3) NOT NULL, `order_old_gold_final_weight` decimal(20,3) NOT NULL, `created_by` int(11) NOT NULL, `created_at` datetime NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime NOT NULL, `ol_pur_gold_id` int(11) NOT NULL, `status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_order_old_silver` -- CREATE TABLE `db_order_old_silver` ( `id` int(11) NOT NULL, `order_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `item_id` int(11) NOT NULL DEFAULT 185, `olpurchaseitem_id` int(11) NOT NULL, `olpurchase_id` int(11) NOT NULL, `order_old_silver_gross_weight` decimal(20,3) NOT NULL, `order_old_silver_less` decimal(20,3) NOT NULL, `order_old_silver_purity` decimal(20,3) NOT NULL, `ols_silver_net` decimal(20,3) NOT NULL, `order_old_silver_weight` decimal(20,3) NOT NULL, `order_old_silver_rate` decimal(20,3) NOT NULL, `order_old_silver_amount` decimal(20,3) NOT NULL, `created_by` int(11) NOT NULL, `created_at` datetime NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime NOT NULL, `ol_pur_silver_id` int(11) NOT NULL, `status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_ornament` -- CREATE TABLE `db_ornament` ( `id` int(11) NOT NULL, `ornament_name` varchar(150) NOT NULL, `status_id` int(11) NOT NULL, `store_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_otherissues` -- CREATE TABLE `db_otherissues` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `warehouse_id` int(11) DEFAULT NULL, `issue_code` varchar(100) NOT NULL, `init_code` varchar(100) NOT NULL, `count_id` varchar(10) NOT NULL, `reference_no` varchar(50) DEFAULT NULL, `issue_date` date DEFAULT NULL, `issue_note` mediumtext DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `system_ip` varchar(100) DEFAULT NULL, `system_name` varchar(100) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_otherissues` -- INSERT INTO `db_otherissues` (`id`, `store_id`, `warehouse_id`, `issue_code`, `init_code`, `count_id`, `reference_no`, `issue_date`, `issue_note`, `created_date`, `created_time`, `created_by`, `system_ip`, `system_name`, `status`) VALUES (1, 2, 2, '', '', '', '', '2025-01-23', '', '2025-01-23', '03:31:45 pm', 'RK creators', '106.212.27.242', '106.212.27.242', 1), (4, 2, 2, '', '', '', '', '2025-03-10', '', '2025-03-10', '06:01:11 pm', 'rkteams', '103.237.57.160', '103.237.57.160', 1); -- -------------------------------------------------------- -- -- Table structure for table `db_otherissuesitems` -- CREATE TABLE `db_otherissuesitems` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `warehouse_id` int(11) DEFAULT NULL, `issue_id` int(11) DEFAULT NULL, `item_id` int(11) DEFAULT NULL, `issue_qty` double(20,3) DEFAULT NULL, `issue_piece` int(11) NOT NULL, `status` int(11) DEFAULT NULL, `description` text DEFAULT NULL, `purchaseitems_id` int(11) NOT NULL, `adjustmentitem_id` int(11) NOT NULL, `tag_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_otherissuesitems` -- INSERT INTO `db_otherissuesitems` (`id`, `store_id`, `warehouse_id`, `issue_id`, `item_id`, `issue_qty`, `issue_piece`, `status`, `description`, `purchaseitems_id`, `adjustmentitem_id`, `tag_id`) VALUES (1, 2, 2, 1, 13, 5.000, 1, 1, '', 0, 5, 0), (5, 2, 2, 4, 11, 0.500, 0, 1, '', 0, 2, 0); -- -------------------------------------------------------- -- -- Table structure for table `db_package` -- CREATE TABLE `db_package` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `package_type` varchar(50) DEFAULT NULL, `package_code` varchar(20) DEFAULT NULL, `package_name` varchar(50) DEFAULT NULL, `description` text DEFAULT NULL, `monthly_price` double(20,3) DEFAULT NULL, `annual_price` double(20,3) DEFAULT NULL, `trial_days` int(11) DEFAULT NULL, `max_users` int(11) DEFAULT NULL, `max_items` int(11) DEFAULT NULL, `max_invoices` int(11) DEFAULT NULL, `max_warehouses` int(11) DEFAULT NULL, `expire_date` date DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(30) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `status` int(11) DEFAULT NULL, `plan_type` varchar(100) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_paymenttypes` -- CREATE TABLE `db_paymenttypes` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `payment_type` varchar(50) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_paymenttypes` -- INSERT INTO `db_paymenttypes` (`id`, `store_id`, `payment_type`, `status`) VALUES (1, 2, 'CASH', 1), (3, 2, 'GPAY', 1), (4, 2, 'BANK', 1); -- -------------------------------------------------------- -- -- Table structure for table `db_paypal` -- CREATE TABLE `db_paypal` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `sandbox` int(11) DEFAULT NULL, `email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `updated_at` date DEFAULT NULL, `updated_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_paypalpaylog` -- CREATE TABLE `db_paypalpaylog` ( `payment_id` int(11) NOT NULL, `user_id` int(11) NOT NULL, `product_id` int(11) NOT NULL, `txn_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL, `payment_gross` float(10,2) NOT NULL, `currency_code` varchar(5) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL, `payer_email` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL, `payment_status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_permissions` -- CREATE TABLE `db_permissions` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `role_id` int(11) DEFAULT NULL, `permissions` varchar(50) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_permissions` -- INSERT INTO `db_permissions` (`id`, `store_id`, `role_id`, `permissions`) VALUES (4414, 1, 17, 'items_add'), (4415, 1, 17, 'items_edit'), (4416, 1, 17, 'items_delete'), (4417, 1, 17, 'items_view'), (4418, 1, 17, 'import_items'), (4419, 1, 17, 'brand_add'), (4420, 1, 17, 'brand_edit'), (4421, 1, 17, 'brand_delete'), (4422, 1, 17, 'brand_view'), (4423, 1, 17, 'customers_add'), (4424, 1, 17, 'customers_edit'), (4425, 1, 17, 'customers_delete'), (4426, 1, 17, 'customers_view'), (4427, 1, 17, 'sales_add'), (4428, 1, 17, 'sales_edit'), (4429, 1, 17, 'sales_delete'), (4430, 1, 17, 'sales_view'), (4431, 1, 17, 'sales_payment_view'), (4432, 1, 17, 'sales_payment_add'), (4433, 1, 17, 'sales_payment_delete'), (4434, 1, 17, 'sales_report'), (4435, 1, 17, 'sales_payments_report'), (4436, 1, 17, 'items_category_add'), (4437, 1, 17, 'items_category_edit'), (4438, 1, 17, 'items_category_delete'), (4439, 1, 17, 'items_category_view'), (4440, 1, 17, 'print_labels'), (4441, 1, 17, 'dashboard_view'), (4442, 1, 17, 'dashboard_info_box_1'), (4443, 1, 17, 'dashboard_info_box_2'), (4444, 1, 17, 'dashboard_pur_sal_chart'), (4445, 1, 17, 'dashboard_recent_items'), (4446, 1, 17, 'dashboard_stock_alert'), (4447, 1, 17, 'dashboard_trending_items_chart'), (4448, 1, 17, 'sales_return_add'), (4449, 1, 17, 'sales_return_edit'), (4450, 1, 17, 'sales_return_delete'), (4451, 1, 17, 'sales_return_view'), (4452, 1, 17, 'sales_return_report'), (4453, 1, 17, 'sales_return_payment_view'), (4454, 1, 17, 'sales_return_payment_add'), (4455, 1, 17, 'sales_return_payment_delete'), (4456, 1, 17, 'payment_types_add'), (4457, 1, 17, 'payment_types_edit'), (4458, 1, 17, 'payment_types_delete'), (4459, 1, 17, 'payment_types_view'), (4460, 1, 17, 'import_customers'), (4461, 1, 17, 'stock_transfer_add'), (4462, 1, 17, 'stock_transfer_edit'), (4463, 1, 17, 'stock_transfer_delete'), (4464, 1, 17, 'stock_transfer_view'), (4465, 1, 17, 'seller_points_report'), (4466, 1, 17, 'services_add'), (4467, 1, 17, 'services_edit'), (4468, 1, 17, 'services_delete'), (4469, 1, 17, 'services_view'), (4470, 1, 17, 'import_services'), (4471, 1, 17, 'stock_adjustment_add'), (4472, 1, 17, 'stock_adjustment_edit'), (4473, 1, 17, 'stock_adjustment_delete'), (4474, 1, 17, 'stock_adjustment_view'), (4475, 1, 17, 'variant_add'), (4476, 1, 17, 'variant_edit'), (4477, 1, 17, 'variant_delete'), (4478, 1, 17, 'variant_view'), (4479, 1, 17, 'accounts_add'), (4480, 1, 17, 'accounts_edit'), (4481, 1, 17, 'accounts_delete'), (4482, 1, 17, 'accounts_view'), (4483, 1, 17, 'money_transfer_add'), (4484, 1, 17, 'money_transfer_edit'), (4485, 1, 17, 'money_transfer_delete'), (4486, 1, 17, 'money_transfer_view'), (4487, 1, 17, 'money_deposit_add'), (4488, 1, 17, 'money_deposit_edit'), (4489, 1, 17, 'money_deposit_delete'), (4490, 1, 17, 'money_deposit_view'), (4491, 1, 17, 'sales_tax_report'), (4492, 1, 18, 'tax_add'), (4493, 1, 18, 'tax_edit'), (4494, 1, 18, 'tax_delete'), (4495, 1, 18, 'tax_view'), (4496, 1, 18, 'units_add'), (4497, 1, 18, 'units_edit'), (4498, 1, 18, 'units_delete'), (4499, 1, 18, 'units_view'), (4500, 1, 18, 'items_add'), (4501, 1, 18, 'items_edit'), (4502, 1, 18, 'items_delete'), (4503, 1, 18, 'items_view'), (4504, 1, 18, 'import_items'), (4505, 1, 18, 'brand_add'), (4506, 1, 18, 'brand_edit'), (4507, 1, 18, 'brand_delete'), (4508, 1, 18, 'brand_view'), (4509, 1, 18, 'suppliers_add'), (4510, 1, 18, 'suppliers_edit'), (4511, 1, 18, 'suppliers_delete'), (4512, 1, 18, 'suppliers_view'), (4513, 1, 18, 'purchase_add'), (4514, 1, 18, 'purchase_edit'), (4515, 1, 18, 'purchase_delete'), (4516, 1, 18, 'purchase_view'), (4517, 1, 18, 'purchase_report'), (4518, 1, 18, 'purchase_payments_report'), (4519, 1, 18, 'items_category_add'), (4520, 1, 18, 'items_category_edit'), (4521, 1, 18, 'items_category_delete'), (4522, 1, 18, 'items_category_view'), (4523, 1, 18, 'print_labels'), (4524, 1, 18, 'dashboard_view'), (4525, 1, 18, 'dashboard_info_box_1'), (4526, 1, 18, 'dashboard_info_box_2'), (4527, 1, 18, 'dashboard_pur_sal_chart'), (4528, 1, 18, 'dashboard_recent_items'), (4529, 1, 18, 'dashboard_stock_alert'), (4530, 1, 18, 'dashboard_trending_items_chart'), (4531, 1, 18, 'purchase_return_add'), (4532, 1, 18, 'purchase_return_edit'), (4533, 1, 18, 'purchase_return_delete'), (4534, 1, 18, 'purchase_return_view'), (4535, 1, 18, 'purchase_return_report'), (4536, 1, 18, 'purchase_return_payment_view'), (4537, 1, 18, 'purchase_return_payment_add'), (4538, 1, 18, 'purchase_return_payment_delete'), (4539, 1, 18, 'purchase_payment_view'), (4540, 1, 18, 'purchase_payment_add'), (4541, 1, 18, 'purchase_payment_delete'), (4542, 1, 18, 'payment_types_add'), (4543, 1, 18, 'payment_types_edit'), (4544, 1, 18, 'payment_types_delete'), (4545, 1, 18, 'payment_types_view'), (4546, 1, 18, 'import_suppliers'), (4547, 1, 18, 'stock_transfer_add'), (4548, 1, 18, 'stock_transfer_edit'), (4549, 1, 18, 'stock_transfer_delete'), (4550, 1, 18, 'stock_transfer_view'), (4551, 1, 18, 'warehouse_add'), (4552, 1, 18, 'warehouse_edit'), (4553, 1, 18, 'warehouse_delete'), (4554, 1, 18, 'warehouse_view'), (4555, 1, 18, 'services_add'), (4556, 1, 18, 'services_edit'), (4557, 1, 18, 'services_delete'), (4558, 1, 18, 'services_view'), (4559, 1, 18, 'import_services'), (4560, 1, 18, 'stock_adjustment_add'), (4561, 1, 18, 'stock_adjustment_edit'), (4562, 1, 18, 'stock_adjustment_delete'), (4563, 1, 18, 'stock_adjustment_view'), (4564, 1, 18, 'variant_add'), (4565, 1, 18, 'variant_edit'), (4566, 1, 18, 'variant_delete'), (4567, 1, 18, 'variant_view'), (4568, 1, 18, 'accounts_add'), (4569, 1, 18, 'accounts_edit'), (4570, 1, 18, 'accounts_delete'), (4571, 1, 18, 'accounts_view'), (4572, 1, 18, 'money_transfer_add'), (4573, 1, 18, 'money_transfer_edit'), (4574, 1, 18, 'money_transfer_delete'), (4575, 1, 18, 'money_transfer_view'), (4576, 1, 18, 'money_deposit_add'), (4577, 1, 18, 'money_deposit_edit'), (4578, 1, 18, 'money_deposit_delete'), (4579, 1, 18, 'money_deposit_view'), (4580, 1, 18, 'purchase_tax_report'), (5999, 2, 28, 'cust_adv_payments_add'), (6000, 2, 28, 'cust_adv_payments_edit'), (6001, 2, 28, 'cust_adv_payments_delete'), (6002, 2, 28, 'cust_adv_payments_view'), (6011, 2, 29, 'users_add'), (6012, 2, 29, 'users_edit'), (6013, 2, 29, 'users_delete'), (6014, 2, 29, 'users_view'), (6015, 2, 29, 'tax_add'), (6016, 2, 29, 'tax_edit'), (6017, 2, 29, 'tax_delete'), (6018, 2, 29, 'tax_view'), (6019, 2, 29, 'store_edit'), (6020, 2, 29, 'units_add'), (6021, 2, 29, 'units_edit'), (6022, 2, 29, 'units_delete'), (6023, 2, 29, 'units_view'), (6024, 2, 29, 'roles_add'), (6025, 2, 29, 'roles_edit'), (6026, 2, 29, 'roles_delete'), (6027, 2, 29, 'roles_view'), (6028, 2, 29, 'expense_add'), (6029, 2, 29, 'expense_edit'), (6030, 2, 29, 'expense_delete'), (6031, 2, 29, 'expense_view'), (6032, 2, 29, 'items_add'), (6033, 2, 29, 'items_edit'), (6034, 2, 29, 'items_delete'), (6035, 2, 29, 'items_view'), (6036, 2, 29, 'import_items'), (6037, 2, 29, 'brand_add'), (6038, 2, 29, 'brand_edit'), (6039, 2, 29, 'brand_delete'), (6040, 2, 29, 'brand_view'), (6041, 2, 29, 'suppliers_add'), (6042, 2, 29, 'suppliers_edit'), (6043, 2, 29, 'suppliers_delete'), (6044, 2, 29, 'suppliers_view'), (6045, 2, 29, 'customers_add'), (6046, 2, 29, 'customers_edit'), (6047, 2, 29, 'customers_delete'), (6048, 2, 29, 'customers_view'), (6049, 2, 29, 'purchase_add'), (6050, 2, 29, 'purchase_edit'), (6051, 2, 29, 'purchase_delete'), (6052, 2, 29, 'purchase_view'), (6053, 2, 29, 'sales_add'), (6054, 2, 29, 'sales_edit'), (6055, 2, 29, 'sales_delete'), (6056, 2, 29, 'sales_view'), (6057, 2, 29, 'sales_payment_view'), (6058, 2, 29, 'sales_payment_add'), (6059, 2, 29, 'sales_payment_delete'), (6060, 2, 29, 'sales_report'), (6061, 2, 29, 'purchase_report'), (6062, 2, 29, 'expense_report'), (6063, 2, 29, 'profit_report'), (6064, 2, 29, 'stock_report'), (6065, 2, 29, 'item_sales_report'), (6066, 2, 29, 'purchase_payments_report'), (6067, 2, 29, 'sales_payments_report'), (6068, 2, 29, 'items_category_add'), (6069, 2, 29, 'items_category_edit'), (6070, 2, 29, 'items_category_delete'), (6071, 2, 29, 'items_category_view'), (6072, 2, 29, 'print_labels'), (6073, 2, 29, 'expense_category_add'), (6074, 2, 29, 'expense_category_edit'), (6075, 2, 29, 'expense_category_delete'), (6076, 2, 29, 'expense_category_view'), (6077, 2, 29, 'dashboard_view'), (6078, 2, 29, 'dashboard_info_box_1'), (6079, 2, 29, 'dashboard_info_box_2'), (6080, 2, 29, 'dashboard_pur_sal_chart'), (6081, 2, 29, 'dashboard_recent_items'), (6082, 2, 29, 'dashboard_stock_alert'), (6083, 2, 29, 'dashboard_trending_items_chart'), (6084, 2, 29, 'send_sms'), (6085, 2, 29, 'sms_template_edit'), (6086, 2, 29, 'sms_template_view'), (6087, 2, 29, 'sms_api_view'), (6088, 2, 29, 'sms_api_edit'), (6089, 2, 29, 'purchase_return_add'), (6090, 2, 29, 'purchase_return_edit'), (6091, 2, 29, 'purchase_return_delete'), (6092, 2, 29, 'purchase_return_view'), (6093, 2, 29, 'purchase_return_report'), (6094, 2, 29, 'sales_return_add'), (6095, 2, 29, 'sales_return_edit'), (6096, 2, 29, 'sales_return_delete'), (6097, 2, 29, 'sales_return_view'), (6098, 2, 29, 'sales_return_report'), (6099, 2, 29, 'sales_return_payment_view'), (6100, 2, 29, 'sales_return_payment_add'), (6101, 2, 29, 'sales_return_payment_delete'), (6102, 2, 29, 'purchase_return_payment_view'), (6103, 2, 29, 'purchase_return_payment_add'), (6104, 2, 29, 'purchase_return_payment_delete'), (6105, 2, 29, 'purchase_payment_view'), (6106, 2, 29, 'purchase_payment_add'), (6107, 2, 29, 'purchase_payment_delete'), (6108, 2, 29, 'payment_types_add'), (6109, 2, 29, 'payment_types_edit'), (6110, 2, 29, 'payment_types_delete'), (6111, 2, 29, 'payment_types_view'), (6112, 2, 29, 'import_customers'), (6113, 2, 29, 'import_suppliers'), (6114, 2, 29, 'stock_transfer_add'), (6115, 2, 29, 'stock_transfer_edit'), (6116, 2, 29, 'stock_transfer_delete'), (6117, 2, 29, 'stock_transfer_view'), (6118, 2, 29, 'warehouse_add'), (6119, 2, 29, 'warehouse_edit'), (6120, 2, 29, 'warehouse_delete'), (6121, 2, 29, 'warehouse_view'), (6122, 2, 29, 'supplier_items_report'), (6123, 2, 29, 'seller_points_report'), (6124, 2, 29, 'services_add'), (6125, 2, 29, 'services_edit'), (6126, 2, 29, 'services_delete'), (6127, 2, 29, 'services_view'), (6128, 2, 29, 'quotation_add'), (6129, 2, 29, 'quotation_edit'), (6130, 2, 29, 'quotation_delete'), (6131, 2, 29, 'quotation_view'), (6132, 2, 29, 'import_services'), (6133, 2, 29, 'stock_adjustment_add'), (6134, 2, 29, 'stock_adjustment_edit'), (6135, 2, 29, 'stock_adjustment_delete'), (6136, 2, 29, 'stock_adjustment_view'), (6137, 2, 29, 'variant_add'), (6138, 2, 29, 'variant_edit'), (6139, 2, 29, 'variant_delete'), (6140, 2, 29, 'variant_view'), (6141, 2, 29, 'accounts_add'), (6142, 2, 29, 'accounts_edit'), (6143, 2, 29, 'accounts_delete'), (6144, 2, 29, 'accounts_view'), (6145, 2, 29, 'money_transfer_add'), (6146, 2, 29, 'money_transfer_edit'), (6147, 2, 29, 'money_transfer_delete'), (6148, 2, 29, 'money_transfer_view'), (6149, 2, 29, 'money_deposit_add'), (6150, 2, 29, 'money_deposit_edit'), (6151, 2, 29, 'money_deposit_delete'), (6152, 2, 29, 'money_deposit_view'), (6153, 2, 29, 'sales_tax_report'), (6154, 2, 29, 'purchase_tax_report'), (6155, 2, 29, 'cash_transactions'), (6156, 2, 29, 'show_all_users_sales_invoices'), (6157, 2, 29, 'show_all_users_sales_return_invoices'), (6158, 2, 29, 'show_all_users_purchase_invoices'), (6159, 2, 29, 'show_all_users_purchase_return_invoices'), (6160, 2, 29, 'show_all_users_expenses'), (6161, 2, 29, 'show_all_users_quotations'), (6162, 2, 29, 'smtp_settings'), (6163, 2, 29, 'send_email'), (6164, 2, 29, 'sms_settings'), (6165, 2, 29, 'email_template_edit'), (6166, 2, 29, 'email_template_view'), (6167, 2, 29, 'cust_adv_payments_add'), (6168, 2, 29, 'cust_adv_payments_edit'), (6169, 2, 29, 'cust_adv_payments_delete'), (6170, 2, 29, 'cust_adv_payments_view'), (6189, 2, 2, 'sales_gst_report'), (6190, 2, 2, 'purchase_gst_report'), (6191, 2, 2, 'subscription'), (6198, 2, 2, 'recent_sales_invoice_list'), (6199, 2, 31, 'users_add'), (6200, 2, 31, 'users_edit'), (6201, 2, 31, 'users_delete'), (6202, 2, 31, 'users_view'), (7912, 1, 31, 'users_add'), (7913, 1, 31, 'users_edit'), (7914, 1, 31, 'users_delete'), (7915, 1, 31, 'users_view'), (7916, 1, 31, 'stock_transfer_add'), (7917, 1, 31, 'stock_transfer_edit'), (7918, 1, 31, 'stock_transfer_delete'), (7919, 1, 31, 'stock_transfer_view'), (7920, 1, 31, 'quotation_add'), (7921, 1, 31, 'quotation_edit'), (7922, 1, 31, 'quotation_delete'), (7923, 1, 31, 'quotation_view'), (7924, 1, 31, 'show_all_users_quotations'), (7925, 1, 31, 'smith_works_add'), (7926, 1, 31, 'smith_works_edit'), (7927, 1, 31, 'smith_works_delete'), (7928, 1, 31, 'smith_works_view'), (7929, 1, 31, 'gold_rate_list_add'), (7930, 1, 31, 'gold_rate_add'), (7931, 1, 31, 'silver_rate_list_add'), (7932, 1, 31, 'silver_rate_add'), (7933, 1, 31, 'gold_rate_list_edit'), (7934, 1, 31, 'gold_rate_edit'), (7935, 1, 31, 'silver_rate_list_edit'), (7936, 1, 31, 'silver_rate_edit'), (7937, 1, 31, 'gold_rate_list_view'), (7938, 1, 31, 'gold_rate_view'), (7939, 1, 31, 'silver_rate_list_view'), (7940, 1, 31, 'silver_rate_view'), (7941, 1, 31, 'gold_rate_list_delete'), (7942, 1, 31, 'gold_rate_delete'), (7943, 1, 31, 'silver_rate_list_delete'), (7944, 1, 31, 'silver_rate_delete'), (8153, 2, 34, 'sales_add'), (8154, 2, 34, 'sales_edit'), (8155, 2, 34, 'sales_view'), (9719, 1, 34, 'sales_add'), (9720, 1, 34, 'sales_edit'), (9721, 1, 34, 'sales_view'), (9722, 1, 34, 'sales_return_view'), (11344, 2, 37, 'sales_add'), (11345, 2, 37, 'sales_edit'), (11346, 2, 37, 'sales_view'), (11347, 2, 37, 'sales_payment_view'), (11348, 2, 37, 'sales_payment_add'), (11915, 1, 2, 'users_add'), (11916, 1, 2, 'users_edit'), (11917, 1, 2, 'users_delete'), (11918, 1, 2, 'users_view'), (11919, 1, 2, 'tax_add'), (11920, 1, 2, 'tax_edit'), (11921, 1, 2, 'tax_delete'), (11922, 1, 2, 'tax_view'), (11923, 1, 2, 'store_edit'), (11924, 1, 2, 'units_add'), (11925, 1, 2, 'units_edit'), (11926, 1, 2, 'units_delete'), (11927, 1, 2, 'units_view'), (11928, 1, 2, 'roles_add'), (11929, 1, 2, 'roles_edit'), (11930, 1, 2, 'roles_delete'), (11931, 1, 2, 'roles_view'), (11932, 1, 2, 'expense_add'), (11933, 1, 2, 'expense_edit'), (11934, 1, 2, 'expense_delete'), (11935, 1, 2, 'expense_view'), (11936, 1, 2, 'items_add'), (11937, 1, 2, 'items_edit'), (11938, 1, 2, 'items_delete'), (11939, 1, 2, 'items_view'), (11940, 1, 2, 'import_items'), (11941, 1, 2, 'brand_add'), (11942, 1, 2, 'brand_edit'), (11943, 1, 2, 'brand_delete'), (11944, 1, 2, 'brand_view'), (11945, 1, 2, 'suppliers_add'), (11946, 1, 2, 'suppliers_edit'), (11947, 1, 2, 'suppliers_delete'), (11948, 1, 2, 'suppliers_view'), (11949, 1, 2, 'suppliers_due'), (11950, 1, 2, 'customer_due'), (11951, 1, 2, 'customers_add'), (11952, 1, 2, 'customers_edit'), (11953, 1, 2, 'customers_delete'), (11954, 1, 2, 'customers_view'), (11955, 1, 2, 'purchase_add'), (11956, 1, 2, 'purchase_edit'), (11957, 1, 2, 'purchase_delete'), (11958, 1, 2, 'purchase_view'), (11959, 1, 2, 'sales_add'), (11960, 1, 2, 'sales_edit'), (11961, 1, 2, 'sales_delete'), (11962, 1, 2, 'sales_view'), (11963, 1, 2, 'sales_payment_view'), (11964, 1, 2, 'sales_payment_add'), (11965, 1, 2, 'sales_payment_delete'), (11966, 1, 2, 'sales_report'), (11967, 1, 2, 'order_add'), (11968, 1, 2, 'order_edit'), (11969, 1, 2, 'order_delete'), (11970, 1, 2, 'order_view'), (11971, 1, 2, 'purchase_report'), (11972, 1, 2, 'expense_report'), (11973, 1, 2, 'profit_report'), (11974, 1, 2, 'stock_report'), (11975, 1, 2, 'item_sales_report'), (11976, 1, 2, 'item_purchase_report'), (11977, 1, 2, 'purchase_payments_report'), (11978, 1, 2, 'sales_payments_report'), (11979, 1, 2, 'items_category_add'), (11980, 1, 2, 'items_category_edit'), (11981, 1, 2, 'items_category_delete'), (11982, 1, 2, 'items_category_view'), (11983, 1, 2, 'print_labels'), (11984, 1, 2, 'expense_category_add'), (11985, 1, 2, 'expense_category_edit'), (11986, 1, 2, 'expense_category_delete'), (11987, 1, 2, 'expense_category_view'), (11988, 1, 2, 'dashboard_view'), (11989, 1, 2, 'dashboard_info_box_1'), (11990, 1, 2, 'dashboard_info_box_2'), (11991, 1, 2, 'dashboard_pur_sal_chart'), (11992, 1, 2, 'dashboard_recent_items'), (11993, 1, 2, 'dashboard_stock_alert'), (11994, 1, 2, 'dashboard_trending_items_chart'), (11995, 1, 2, 'send_sms'), (11996, 1, 2, 'sms_template_edit'), (11997, 1, 2, 'sms_template_view'), (11998, 1, 2, 'sms_api_view'), (11999, 1, 2, 'sms_api_edit'), (12000, 1, 2, 'purchase_return_add'), (12001, 1, 2, 'purchase_return_edit'), (12002, 1, 2, 'purchase_return_delete'), (12003, 1, 2, 'purchase_return_view'), (12004, 1, 2, 'purchase_return_report'), (12005, 1, 2, 'sales_return_add'), (12006, 1, 2, 'sales_return_edit'), (12007, 1, 2, 'sales_return_delete'), (12008, 1, 2, 'sales_return_view'), (12009, 1, 2, 'sales_return_report'), (12010, 1, 2, 'sales_return_payment_view'), (12011, 1, 2, 'sales_return_payment_add'), (12012, 1, 2, 'sales_return_payment_delete'), (12013, 1, 2, 'purchase_return_payment_view'), (12014, 1, 2, 'purchase_return_payment_add'), (12015, 1, 2, 'purchase_return_payment_delete'), (12016, 1, 2, 'purchase_payment_view'), (12017, 1, 2, 'purchase_payment_add'), (12018, 1, 2, 'purchase_payment_delete'), (12019, 1, 2, 'payment_types_add'), (12020, 1, 2, 'payment_types_edit'), (12021, 1, 2, 'payment_types_delete'), (12022, 1, 2, 'payment_types_view'), (12023, 1, 2, 'import_customers'), (12024, 1, 2, 'import_suppliers'), (12025, 1, 2, 'stock_transfer_add'), (12026, 1, 2, 'stock_transfer_edit'), (12027, 1, 2, 'stock_transfer_delete'), (12028, 1, 2, 'stock_transfer_view'), (12029, 1, 2, 'warehouse_add'), (12030, 1, 2, 'warehouse_edit'), (12031, 1, 2, 'warehouse_delete'), (12032, 1, 2, 'warehouse_view'), (12033, 1, 2, 'supplier_items_report'), (12034, 1, 2, 'seller_points_report'), (12035, 1, 2, 'services_add'), (12036, 1, 2, 'services_edit'), (12037, 1, 2, 'services_delete'), (12038, 1, 2, 'services_view'), (12039, 1, 2, 'quotation_add'), (12040, 1, 2, 'quotation_edit'), (12041, 1, 2, 'quotation_delete'), (12042, 1, 2, 'quotation_view'), (12043, 1, 2, 'import_services'), (12044, 1, 2, 'stock_adjustment_add'), (12045, 1, 2, 'stock_adjustment_edit'), (12046, 1, 2, 'stock_adjustment_delete'), (12047, 1, 2, 'stock_adjustment_view'), (12048, 1, 2, 'other_issues_add'), (12049, 1, 2, 'other_issues_edit'), (12050, 1, 2, 'other_issues_delete'), (12051, 1, 2, 'other_issues_view'), (12052, 1, 2, 'variant_add'), (12053, 1, 2, 'variant_edit'), (12054, 1, 2, 'variant_delete'), (12055, 1, 2, 'variant_view'), (12056, 1, 2, 'accounts_add'), (12057, 1, 2, 'accounts_edit'), (12058, 1, 2, 'accounts_delete'), (12059, 1, 2, 'accounts_view'), (12060, 1, 2, 'money_transfer_add'), (12061, 1, 2, 'money_transfer_edit'), (12062, 1, 2, 'money_transfer_delete'), (12063, 1, 2, 'money_transfer_view'), (12064, 1, 2, 'money_deposit_add'), (12065, 1, 2, 'money_deposit_edit'), (12066, 1, 2, 'money_deposit_delete'), (12067, 1, 2, 'money_deposit_view'), (12068, 1, 2, 'sales_tax_report'), (12069, 1, 2, 'purchase_tax_report'), (12070, 1, 2, 'cash_transactions'), (12071, 1, 2, 'show_all_users_sales_invoices'), (12072, 1, 2, 'show_all_users_order_invoices'), (12073, 1, 2, 'show_all_users_sales_return_invoices'), (12074, 1, 2, 'show_all_users_purchase_invoices'), (12075, 1, 2, 'show_all_users_purchase_return_invoices'), (12076, 1, 2, 'show_all_users_expenses'), (12077, 1, 2, 'show_all_users_quotations'), (12078, 1, 2, 'smtp_settings'), (12079, 1, 2, 'send_email'), (12080, 1, 2, 'sms_settings'), (12081, 1, 2, 'email_template_edit'), (12082, 1, 2, 'email_template_view'), (12083, 1, 2, 'cust_adv_payments_add'), (12084, 1, 2, 'cust_adv_payments_edit'), (12085, 1, 2, 'cust_adv_payments_delete'), (12086, 1, 2, 'cust_adv_payments_view'), (12087, 1, 2, 'gstr_1_report'), (12088, 1, 2, 'customer_orders_report'), (12089, 1, 2, 'customer_advance_report'), (12090, 1, 2, 'load_sheet_report'), (12091, 1, 2, 'delivery_sheet_report'), (12092, 1, 2, 'show_purchase_price'), (12093, 1, 2, 'scheme_add'), (12094, 1, 2, 'scheme_edit'), (12095, 1, 2, 'scheme_delete'), (12096, 1, 2, 'scheme_view'), (12097, 1, 2, 'group_add'), (12098, 1, 2, 'group_edit'), (12099, 1, 2, 'group_delete'), (12100, 1, 2, 'group_view'), (12101, 1, 2, 'scheme_amount_add'), (12102, 1, 2, 'scheme_amount_edit'), (12103, 1, 2, 'scheme_amount_delete'), (12104, 1, 2, 'scheme_amount_view'), (12105, 1, 2, 'sales_without_tax_report'), (12106, 1, 2, 'smith_works_report'), (12107, 1, 2, 'chit_report'), (12108, 1, 2, 'ol_purchase_add'), (12109, 1, 2, 'ol_purchase_edit'), (12110, 1, 2, 'ol_purchase_delete'), (12111, 1, 2, 'ol_purchase_view'), (12112, 1, 2, 'ol_purchase_payment_view'), (12113, 1, 2, 'ol_purchase_payment_add'), (12114, 1, 2, 'ol_purchase_payment_delete'), (12115, 1, 2, 'show_all_users_ol_purchase_invoices'), (12116, 1, 2, 'transfer_tag'), (12117, 1, 2, 'tag_transfer_view'), (12118, 1, 2, 'tagging_list'), (12119, 1, 2, 'edit_tagging_list'), (12120, 1, 2, 'delete_tagging_list'), (12121, 1, 2, 'display_or_box'), (12122, 1, 2, 'print_pos'), (12123, 1, 2, 'print_tag'), (12124, 1, 2, 'payment_voucher_add'), (12125, 1, 2, 'payment_voucher_edit'), (12126, 1, 2, 'payment_voucher_delete'), (12127, 1, 2, 'payment_voucher_view'), (12128, 1, 2, 'smith_add'), (12129, 1, 2, 'smith_edit'), (12130, 1, 2, 'smith_delete'), (12131, 1, 2, 'smith_view'), (12132, 1, 2, 'smith_works_add'), (12133, 1, 2, 'smith_works_edit'), (12134, 1, 2, 'smith_works_delete'), (12135, 1, 2, 'smith_works_view'), (12136, 1, 2, 'cash_balance'), (12137, 1, 2, 'ol_purchase_report'), (12138, 1, 2, 'ol_purchase_return_report'), (12139, 1, 2, 'payment_voucher_report'), (12140, 1, 2, 'supplier_report'), (12141, 1, 2, 'tag_report'), (12142, 1, 2, 'chit_report'), (12143, 1, 2, 'ledger_report'), (12144, 1, 2, 'sales_discount_report'), (12145, 1, 2, 'scheme_report'), (12146, 1, 2, 'transaction_report'), (12147, 1, 2, 'chit_closing_report'), (12148, 1, 2, 'chit_customer_report'), (12149, 1, 2, 'irregular_payment_report'), (12150, 1, 2, 'pending_due_report'), (12151, 1, 2, 'due_list_view'), (12152, 1, 2, 'due_list_pay'), (12153, 1, 2, 'closer_list_view'), (12154, 1, 2, 'add_closer'), (12155, 1, 2, 'add_pre_closer'), (12156, 1, 2, 'group_report'), (12157, 1, 2, 'lot_add'), (12158, 1, 2, 'lot_edit'), (12159, 1, 2, 'lot_delete'), (12160, 1, 2, 'lot_view'), (12161, 1, 2, 'item_wastage_add'), (12162, 1, 2, 'item_wastage_edit'), (12163, 1, 2, 'item_wastage_delete'), (12164, 1, 2, 'item_wastage_view'), (12165, 1, 2, 'stock_check_add'), (12166, 1, 2, 'stock_check_edit'), (12167, 1, 2, 'stock_check_delete'), (12168, 1, 2, 'stock_check_view'), (12169, 1, 2, 'group_new_chit_customer'), (12170, 1, 2, 'report_sales_loyal_points'); -- -------------------------------------------------------- -- -- Table structure for table `db_purchase` -- CREATE TABLE `db_purchase` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `sales_id` int(11) DEFAULT NULL, `warehouse_id` int(11) DEFAULT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create Purchase Code', `purchase_code` varchar(50) DEFAULT NULL, `reference_no` varchar(50) DEFAULT NULL, `purchase_date` date DEFAULT NULL, `purchase_status` varchar(50) DEFAULT NULL, `supplier_id` int(11) DEFAULT NULL, `other_charges_input` double(20,3) DEFAULT NULL, `other_charges_tax_id` int(11) DEFAULT NULL, `other_charges_amt` double(20,3) DEFAULT NULL, `discount_to_all_input` double(20,3) DEFAULT NULL, `discount_to_all_type` varchar(50) DEFAULT NULL, `tot_discount_to_all_amt` double(20,3) DEFAULT NULL, `subtotal` double(20,3) DEFAULT NULL, `round_off` double(20,3) DEFAULT NULL, `grand_total` double(20,3) DEFAULT NULL, `purchase_note` text DEFAULT NULL, `payment_status` varchar(50) DEFAULT NULL, `paid_amount` double(20,3) DEFAULT NULL, `gold_rate` double(20,3) DEFAULT NULL, `silver_rate` double(20,3) DEFAULT NULL, `pure_gold` decimal(20,3) DEFAULT NULL, `pure_silver` decimal(20,3) NOT NULL, `total_gold_weight` decimal(20,3) NOT NULL, `total_silver_weight` decimal(20,3) NOT NULL, `tax_value` int(11) NOT NULL, `old_gold_purity` decimal(20,3) NOT NULL, `old_gold_weight` decimal(20,3) NOT NULL, `old_gold_rate` decimal(20,3) NOT NULL, `old_silver_weight` decimal(20,3) NOT NULL, `old_silver_rate` decimal(20,3) NOT NULL, `old_gold_gross_weight` decimal(20,3) NOT NULL, `old_gold_less` decimal(20,3) NOT NULL, `old_gold_amount` decimal(20,3) NOT NULL, `old_silver_gross_weight` decimal(20,3) NOT NULL, `old_silver_less` decimal(20,3) NOT NULL, `old_gold_final_weight` decimal(20,3) NOT NULL, `old_silver_amount` decimal(20,3) NOT NULL, `purchase_outstanding` varchar(200) NOT NULL DEFAULT 'Metal,Mc,Total Rate', `total_mc` decimal(20,3) NOT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `system_ip` varchar(100) DEFAULT NULL, `system_name` varchar(100) DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `status` int(11) DEFAULT NULL, `return_bit` int(11) DEFAULT NULL COMMENT 'Purchase return raised', `old_gold_status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_purchase` -- INSERT INTO `db_purchase` (`id`, `store_id`, `sales_id`, `warehouse_id`, `count_id`, `purchase_code`, `reference_no`, `purchase_date`, `purchase_status`, `supplier_id`, `other_charges_input`, `other_charges_tax_id`, `other_charges_amt`, `discount_to_all_input`, `discount_to_all_type`, `tot_discount_to_all_amt`, `subtotal`, `round_off`, `grand_total`, `purchase_note`, `payment_status`, `paid_amount`, `gold_rate`, `silver_rate`, `pure_gold`, `pure_silver`, `total_gold_weight`, `total_silver_weight`, `tax_value`, `old_gold_purity`, `old_gold_weight`, `old_gold_rate`, `old_silver_weight`, `old_silver_rate`, `old_gold_gross_weight`, `old_gold_less`, `old_gold_amount`, `old_silver_gross_weight`, `old_silver_less`, `old_gold_final_weight`, `old_silver_amount`, `purchase_outstanding`, `total_mc`, `created_date`, `created_time`, `created_by`, `system_ip`, `system_name`, `company_id`, `status`, `return_bit`, `old_gold_status`) VALUES (1, 2, NULL, 2, 1, 'PU/2024/02/0001', '', '2025-02-23', 'Received', 1, NULL, 1, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 0.000, NULL, 'Unpaid', 0.000, 0.000, 0.000, 43.680, 0.000, 0.000, 0.000, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 'Metal,Mc', 0.000, '2025-02-23', '10:06:40 am', 'RK creators', '171.79.60.36', 'abts-north-dynamic-36.60.79.171.airtelbroadband.in', NULL, 1, NULL, 0), (2, 2, NULL, 2, 2, 'PU/2024/02/0002', '', '2025-02-27', 'Received', 2, NULL, 1, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 0.000, NULL, 'Unpaid', 0.000, 8800.000, 106.000, 48.000, 0.000, 0.000, 0.000, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 'Metal,Mc', 0.000, '2025-02-27', '03:14:44 pm', 'RK creators', '49.206.112.64', '49.206.112.64.actcorp.in', NULL, 1, NULL, 0), (3, 2, NULL, 2, 1, 'PUX/2024/02/0001', '', '2025-03-10', 'Received', 3, NULL, NULL, NULL, 250.000, 'in_fixed', 250.000, 510.000, NULL, 260.000, NULL, 'Unpaid', 0.000, 0.000, 102.000, 0.000, 0.000, 0.000, 0.000, 1, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 'Total Rate', 10.000, '2025-03-10', '05:47:53 pm', 'rkteams', '103.237.57.160', '103.237.57.160', NULL, 1, NULL, 0), (4, 2, NULL, 2, 2, 'PU/2024/02/0003', '', '2025-03-10', 'Received', 3, NULL, NULL, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 0.000, NULL, 'Unpaid', 0.000, 0.000, 102.000, 0.000, 36.400, 0.000, 0.000, 1, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 'Metal,Mc', 0.000, '2025-03-10', '06:06:19 pm', 'rkteams', '103.237.57.160', '103.237.57.160', NULL, 1, NULL, 0), (5, 2, NULL, 2, 3, 'PU/2024/02/0003', '', '2025-03-10', 'Received', 3, NULL, NULL, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 0.000, NULL, 'Unpaid', 0.000, 0.000, 102.000, 0.000, 1.680, 0.000, 0.000, 1, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 'Metal,Mc', 0.000, '2025-03-10', '06:15:41 pm', 'rkteams', '103.237.57.160', '103.237.57.160', NULL, 1, NULL, 0), (6, 2, NULL, 2, 4, 'PU/2024/02/0004', '', '2025-03-11', 'Received', 1, NULL, NULL, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 0.000, NULL, 'Unpaid', 0.000, 0.000, 108.000, 5.000, 0.000, 0.000, 0.000, 1, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 'Metal,Mc', 0.000, '2025-03-11', '11:11:39 am', 'rkteams', '223.237.182.55', '223.237.182.55', NULL, 1, NULL, 0), (7, 2, NULL, 2, 5, 'PU/2024/02/0005', '', '2025-03-11', 'Received', 1, NULL, NULL, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 0.000, NULL, 'Unpaid', 0.000, 0.000, 108.000, 0.000, 60.000, 0.000, 0.000, 1, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 'Metal,Mc', 0.000, '2025-03-11', '11:16:11 am', 'rkteams', '223.237.182.55', '223.237.182.55', NULL, 1, NULL, 0), (8, 2, NULL, 2, 3, 'PU/2024/02/0006', '', '2025-03-18', 'Received', 4, NULL, 1, NULL, NULL, 'in_percentage', NULL, 500.000, NULL, 515.000, NULL, 'Unpaid', 0.000, 0.000, 106.000, 28.500, 0.000, 0.000, 0.000, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 'Metal,Mc', 515.000, '2025-03-18', '02:05:32 pm', 'rkteams', '223.237.183.245', '223.237.183.245', NULL, 1, NULL, 0), (9, 2, NULL, 2, 4, 'PU/2024/02/0006', '', '2025-03-18', 'Received', 5, NULL, 1, NULL, NULL, 'in_percentage', NULL, 200.000, NULL, 206.000, NULL, 'Partial', 0.000, 0.000, 106.000, 0.000, 669.080, 0.000, 0.000, 0, 0.000, 0.350, 0.000, 0.000, 0.000, 1.000, 0.000, 0.000, 0.000, 0.000, 0.280, 0.000, 'Metal,Mc', 206.000, '2025-03-18', '04:11:22 pm', 'rkteams', '103.237.57.160', '103.237.57.160', NULL, 1, NULL, 0), (10, 2, NULL, 2, 5, 'PU/2024/02/0006', '', '2025-03-19', 'Received', 6, NULL, 1, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 0.000, NULL, 'Partial', 0.000, 0.000, 114.000, 43.680, 0.000, 0.000, 0.000, 0, 0.000, 19.800, 0.000, 0.000, 0.000, 20.000, 0.000, 0.000, 0.000, 0.000, 16.830, 0.000, 'Metal,Mc', 0.000, '2025-03-19', '02:34:48 pm', 'rkteams', '122.174.195.251', 'abts-tn-dynamic-251.195.174.122.airtelbroadband.in', NULL, 1, NULL, 0), (11, 2, NULL, 2, 6, 'PUX/2024/02/0006', '', '2025-03-27', 'Received', 7, NULL, NULL, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 0.000, NULL, 'Unpaid', 0.000, 0.000, 105.000, 2.000, 0.000, 0.000, 0.000, 1, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 'Metal,Mc', 0.000, '2025-03-27', '12:45:37 pm', 'rkteams', '220.158.156.181', '220.158.156.181', NULL, 1, NULL, 0), (12, 2, NULL, 2, 1, 'PU/2526/1', '', '2025-05-06', 'Received', 8, NULL, 1, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 0.000, NULL, 'Unpaid', 0.000, 0.000, 111.000, 94.000, 0.000, 0.000, 0.000, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 'Metal,Mc', 0.000, '2025-05-06', '05:32:13 pm', 'rkteams', '183.83.148.40', '183.83.148.40.actcorp.in', NULL, 1, NULL, 0), (13, 2, NULL, 2, 2, 'PU/2526/2', '', '2025-05-14', 'Received', 1, NULL, 1, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 0.000, NULL, 'Unpaid', 0.000, 0.000, 109.000, 10.000, 0.000, 0.000, 0.000, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 'Metal,Mc', 0.000, '2025-05-14', '06:11:09 pm', 'rkteams', '122.178.140.197', 'abts-tn-dynamic-197.140.178.122.airtelbroadband.in', NULL, 1, NULL, 0), (14, 2, NULL, 2, 3, 'PU/2526/3', '', '2025-05-27', 'Received', 11, NULL, 1, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 0.000, NULL, 'Unpaid', 0.000, 0.000, 111.000, 48.000, 0.000, 0.000, 0.000, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 'Metal,Mc', 0.000, '2025-05-27', '12:34:46 pm', 'rkteams', '120.60.29.178', 'triband-mum-120.60.29.178.mtnl.net.in', NULL, 1, NULL, 0), (15, 2, NULL, 2, 4, 'PU/2526/4', '', '2025-05-31', 'Received', 12, NULL, 1, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 0.000, NULL, 'Unpaid', 0.000, 0.000, 111.000, 24.000, 0.000, 0.000, 0.000, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 'Metal,Mc', 0.000, '2025-05-31', '06:11:30 pm', 'rkteams', '103.160.240.171', '103.160.240.171', NULL, 1, 1, 0), (16, 2, NULL, 2, 5, 'PU/2526/5', 'ELC', '2025-05-31', 'Received', 13, NULL, 1, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 0.000, NULL, 'Paid', 0.000, 0.000, 111.000, 0.000, 0.000, 0.000, 0.000, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 'Metal,Mc', 0.000, '2025-05-31', '07:14:45 pm', 'rkteams', '103.160.240.171', '103.160.240.171', NULL, 1, NULL, 0); -- -------------------------------------------------------- -- -- Table structure for table `db_purchaseitems` -- CREATE TABLE `db_purchaseitems` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `purchase_id` int(11) DEFAULT NULL, `purchase_status` varchar(50) DEFAULT NULL, `item_id` int(11) DEFAULT NULL, `purchase_piece` varchar(50) DEFAULT NULL, `purchase_qty` double(20,3) DEFAULT NULL, `touch_percentage` varchar(50) NOT NULL DEFAULT '0', `price_per_unit` double(20,3) DEFAULT NULL, `unit_id` int(11) NOT NULL, `tax_type` varchar(50) DEFAULT NULL, `tax_id` int(11) DEFAULT NULL, `tax_amt` double(20,3) DEFAULT NULL, `pure_weight` decimal(20,3) NOT NULL, `mc` decimal(20,3) NOT NULL, `huid` varchar(100) NOT NULL, `discount_type` varchar(50) DEFAULT NULL, `discount_input` double(20,3) DEFAULT NULL, `discount_amt` double(20,3) DEFAULT NULL, `unit_total_cost` double(20,3) DEFAULT NULL, `total_cost` double(20,3) DEFAULT NULL, `profit_margin_per` double(20,3) DEFAULT NULL, `unit_sales_price` double(20,3) DEFAULT NULL, `status` int(11) DEFAULT NULL, `description` text DEFAULT NULL, `pending_piece` int(11) NOT NULL, `pending_wgt` decimal(20,3) NOT NULL, `type_id` int(11) NOT NULL, `purchase_price` decimal(20,3) NOT NULL, `sales_price` decimal(20,3) NOT NULL, `purchase_unique_code` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_purchaseitems` -- INSERT INTO `db_purchaseitems` (`id`, `store_id`, `purchase_id`, `purchase_status`, `item_id`, `purchase_piece`, `purchase_qty`, `touch_percentage`, `price_per_unit`, `unit_id`, `tax_type`, `tax_id`, `tax_amt`, `pure_weight`, `mc`, `huid`, `discount_type`, `discount_input`, `discount_amt`, `unit_total_cost`, `total_cost`, `profit_margin_per`, `unit_sales_price`, `status`, `description`, `pending_piece`, `pending_wgt`, `type_id`, `purchase_price`, `sales_price`, `purchase_unique_code`) VALUES (1, 2, 1, 'Received', 1, '3', 45.500, '96.000', 0.000, 61, NULL, NULL, NULL, 43.680, 0.000, '', 'Percentage', NULL, NULL, NULL, 0.000, NULL, NULL, 1, '', 0, 0.000, 0, 0.000, 0.000, ''), (2, 2, 2, 'Received', 9, '10', 50.000, '96', 0.000, 61, NULL, NULL, NULL, 48.000, 0.000, '', 'Percentage', NULL, NULL, NULL, 0.000, NULL, NULL, 1, '', 0, 0.850, 0, 38400.000, 0.000, ''), (3, 2, 3, 'Received', 11, '1', 2.000, '0.000', 250.000, 61, NULL, NULL, NULL, 2.000, 10.000, '', 'Percentage', NULL, NULL, NULL, 510.000, NULL, NULL, 1, '', 0, 0.000, 0, 260.000, 0.000, ''), (4, 2, 4, 'Received', 1, '20', 45.500, '80', 0.000, 0, NULL, NULL, NULL, 36.400, 0.000, '', 'Percentage', NULL, NULL, NULL, 0.000, NULL, NULL, 1, '', 18, 39.500, 1, 0.000, 0.000, ''), (5, 2, 5, 'Received', 12, '1', 2.400, '70', 0.000, 61, NULL, NULL, NULL, 1.680, 0.000, '', 'Percentage', NULL, NULL, NULL, 0.000, NULL, NULL, 1, '', 1, 2.400, 0, 0.000, 0.000, ''), (6, 2, 6, 'Received', 14, '1', 5.000, '0.000', 0.000, 61, NULL, NULL, NULL, 5.000, 0.000, '', 'Percentage', NULL, NULL, NULL, 0.000, NULL, NULL, 1, '', 1, 5.000, 0, 0.000, 0.000, ''), (7, 2, 7, 'Received', 13, '5', 60.000, '0.000', 0.000, 61, NULL, NULL, NULL, 60.000, 0.000, '', 'Percentage', NULL, NULL, NULL, 0.000, NULL, NULL, 1, '', 4, 55.000, 0, 0.000, 0.000, ''), (8, 2, 8, 'Received', 28, '20', 30.000, '95', 0.000, 61, NULL, NULL, NULL, 28.500, 500.000, '', 'Percentage', NULL, NULL, NULL, 500.000, NULL, NULL, 1, '', 11, 17.900, 0, 25.000, 0.000, ''), (9, 2, 9, 'Received', 29, '27', 778.000, '86', 0.000, 61, NULL, NULL, NULL, 669.080, 200.000, '', 'Percentage', NULL, NULL, NULL, 200.000, NULL, NULL, 1, '', 27, 778.000, 0, 7.407, 0.000, ''), (10, 2, 10, 'Received', 30, '12', 45.500, '96', 0.000, 61, NULL, NULL, NULL, 43.680, 0.000, '', 'Percentage', NULL, NULL, NULL, 0.000, NULL, NULL, 1, '', 12, 45.500, 0, 0.000, 0.000, ''), (11, 2, 11, 'Received', 33, '1', 2.080, '96.000', 0.000, 61, NULL, NULL, NULL, 1.997, 0.000, '', 'Percentage', NULL, NULL, NULL, 0.000, NULL, NULL, 1, '', 0, 0.000, 0, 23923.200, 0.000, ''), (12, 2, 12, 'Received', 42, '10', 100.000, '94', 0.000, 61, NULL, NULL, NULL, 94.000, 0.000, '', 'Percentage', NULL, NULL, NULL, 0.000, NULL, NULL, 1, '', 10, 100.000, 0, 0.000, 0.000, ''), (13, 2, 13, 'Received', 1, '4', 10.000, '0.000', 0.000, 61, NULL, NULL, NULL, 10.000, 0.000, '', 'Percentage', NULL, NULL, NULL, 0.000, NULL, NULL, 1, '', 4, 10.000, 0, 0.000, 0.000, ''), (14, 2, 14, 'Received', 45, '10', 50.000, '96', 0.000, 61, NULL, NULL, NULL, 48.000, 0.000, '', 'Percentage', NULL, NULL, NULL, 0.000, NULL, NULL, 1, '', 6, 38.500, 0, 0.000, 0.000, ''), (15, 2, 15, 'Received', 49, '10', 25.000, '96', 0.000, 61, NULL, NULL, NULL, 24.000, 0.000, '', 'Percentage', NULL, NULL, NULL, 0.000, NULL, NULL, 1, '', 6, 17.030, 0, 0.000, 0.000, ''); -- -------------------------------------------------------- -- -- Table structure for table `db_purchaseitemsreturn` -- CREATE TABLE `db_purchaseitemsreturn` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `purchase_id` int(11) DEFAULT NULL, `return_id` int(11) DEFAULT NULL, `return_status` varchar(50) DEFAULT NULL, `item_id` int(11) DEFAULT NULL, `return_qty` double(20,3) DEFAULT NULL, `price_per_unit` double(20,3) DEFAULT NULL, `tax_id` int(11) DEFAULT NULL, `tax_amt` double(20,3) DEFAULT NULL, `tax_type` varchar(50) DEFAULT NULL, `return_piece` decimal(20,3) DEFAULT NULL, `touch_percentage` decimal(20,3) DEFAULT NULL, `pure_weight` decimal(20,3) NOT NULL, `mc` decimal(20,3) NOT NULL, `unit_id` int(11) NOT NULL, `discount_input` double(20,3) DEFAULT NULL, `discount_amt` double(20,3) DEFAULT NULL, `discount_type` varchar(50) DEFAULT NULL, `unit_total_cost` double(20,3) DEFAULT NULL, `total_cost` double(20,3) DEFAULT NULL, `profit_margin_per` double(20,3) DEFAULT NULL, `unit_sales_price` double(20,3) DEFAULT NULL, `status` int(11) DEFAULT NULL, `description` text DEFAULT NULL, `tax_value` int(11) NOT NULL, `total_mc` int(11) NOT NULL, `purchaseitems_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_purchaseitemsreturn` -- INSERT INTO `db_purchaseitemsreturn` (`id`, `store_id`, `purchase_id`, `return_id`, `return_status`, `item_id`, `return_qty`, `price_per_unit`, `tax_id`, `tax_amt`, `tax_type`, `return_piece`, `touch_percentage`, `pure_weight`, `mc`, `unit_id`, `discount_input`, `discount_amt`, `discount_type`, `unit_total_cost`, `total_cost`, `profit_margin_per`, `unit_sales_price`, `status`, `description`, `tax_value`, `total_mc`, `purchaseitems_id`) VALUES (1, 2, 15, 1, 'Return', 49, 25.000, 0.000, NULL, NULL, NULL, 10.000, 96.000, 24.000, 0.000, 61, NULL, NULL, 'Percentage', NULL, 0.000, NULL, NULL, 1, '', 0, 0, 15), (2, 2, 15, 2, 'Return', 49, 25.000, 0.000, NULL, NULL, NULL, 10.000, 96.000, 24.000, 0.000, 61, NULL, NULL, 'Percentage', NULL, 0.000, NULL, NULL, 1, '', 0, 0, 15); -- -------------------------------------------------------- -- -- Table structure for table `db_purchasepayments` -- CREATE TABLE `db_purchasepayments` ( `id` int(11) NOT NULL, `count_id` int(11) DEFAULT NULL, `payment_code` varchar(50) DEFAULT NULL, `store_id` int(11) DEFAULT NULL, `purchase_id` int(11) DEFAULT NULL, `payment_date` date DEFAULT NULL, `payment_type` varchar(50) DEFAULT NULL, `payment` double(20,3) DEFAULT NULL, `payment_note` text DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `created_time` time DEFAULT NULL, `created_date` date DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `status` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `supplier_id` int(11) DEFAULT NULL, `short_code` varchar(50) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_purchasepaymentsreturn` -- CREATE TABLE `db_purchasepaymentsreturn` ( `id` int(11) NOT NULL, `count_id` int(11) NOT NULL, `payment_code` varchar(20) NOT NULL, `store_id` int(11) NOT NULL, `purchase_id` int(11) NOT NULL, `return_id` int(11) NOT NULL, `payment_date` date NOT NULL, `payment_type` varchar(50) NOT NULL, `payment` decimal(20,3) NOT NULL, `payment_note` text NOT NULL, `system_ip` varchar(50) NOT NULL, `system_name` varchar(50) NOT NULL, `created_time` time NOT NULL, `created_date` date NOT NULL, `created_by` varchar(50) NOT NULL, `status` int(11) NOT NULL, `account_id` decimal(20,3) DEFAULT NULL, `supplier_id` int(11) NOT NULL, `short_code` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_purchasereturn` -- CREATE TABLE `db_purchasereturn` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create Purchase Return Code', `warehouse_id` int(11) DEFAULT NULL, `purchase_id` int(11) DEFAULT NULL, `return_code` varchar(50) DEFAULT NULL, `reference_no` varchar(50) DEFAULT NULL, `return_date` date DEFAULT NULL, `return_status` varchar(50) DEFAULT NULL, `supplier_id` int(11) DEFAULT NULL, `other_charges_input` double(20,3) DEFAULT NULL, `other_charges_tax_id` int(11) DEFAULT NULL, `other_charges_amt` double(20,3) DEFAULT NULL, `discount_to_all_input` double(20,3) DEFAULT NULL, `discount_to_all_type` varchar(50) DEFAULT NULL, `tot_discount_to_all_amt` double(20,3) DEFAULT NULL, `subtotal` double(20,3) DEFAULT NULL, `round_off` double(20,3) DEFAULT NULL, `grand_total` double(20,3) DEFAULT NULL, `return_note` text DEFAULT NULL, `payment_status` varchar(50) DEFAULT NULL, `paid_amount` double(20,3) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `system_ip` varchar(100) DEFAULT NULL, `system_name` varchar(100) DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `status` int(11) DEFAULT NULL, `init_code` varchar(50) NOT NULL, `tax_value` int(11) NOT NULL, `purchase_outstanding` varchar(100) NOT NULL, `total_mc` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_purchasereturn` -- INSERT INTO `db_purchasereturn` (`id`, `store_id`, `count_id`, `warehouse_id`, `purchase_id`, `return_code`, `reference_no`, `return_date`, `return_status`, `supplier_id`, `other_charges_input`, `other_charges_tax_id`, `other_charges_amt`, `discount_to_all_input`, `discount_to_all_type`, `tot_discount_to_all_amt`, `subtotal`, `round_off`, `grand_total`, `return_note`, `payment_status`, `paid_amount`, `created_date`, `created_time`, `created_by`, `system_ip`, `system_name`, `company_id`, `status`, `init_code`, `tax_value`, `purchase_outstanding`, `total_mc`) VALUES (1, 2, 1, 2, NULL, NULL, '', '2025-05-31', 'Return', 12, NULL, 1, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 0.000, '', 'Paid', 0.000, '2025-05-31', '07:18:50 pm', 'rkteams', '103.160.240.171', '103.160.240.171', NULL, 1, 'PR/2526/', 0, 'Metal,Mc', 0), (2, 2, 2, 2, NULL, NULL, '', '2025-05-31', 'Return', 12, NULL, 1, NULL, NULL, 'in_percentage', NULL, 0.000, NULL, 0.000, '', 'Paid', 0.000, '2025-05-31', '07:26:34 pm', 'rkteams', '103.160.240.171', '103.160.240.171', NULL, 1, 'PR/2526/', 0, 'Metal,Mc', 0); -- -------------------------------------------------------- -- -- Table structure for table `db_purchasetype1_items` -- CREATE TABLE `db_purchasetype1_items` ( `id` int(11) NOT NULL, `itemtouch_id` int(11) NOT NULL, `item_id` int(11) NOT NULL, `piece` varchar(150) NOT NULL, `weight` varchar(150) NOT NULL, `store_id` int(11) NOT NULL, `status_id` int(11) NOT NULL, `created_at` datetime NOT NULL, `created_by` int(11) NOT NULL, `updated_at` datetime NOT NULL, `updated_by` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_purchase_old_gold` -- CREATE TABLE `db_purchase_old_gold` ( `id` int(11) NOT NULL, `purchase_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `item_id` int(11) NOT NULL, `olpurchase_id` int(11) NOT NULL, `olpurchaseitem_id` int(11) NOT NULL, `purchase_old_gold_gross_weight` decimal(20,3) NOT NULL, `purchase_old_gold_purity` decimal(20,3) NOT NULL, `purchase_old_gold_weight` decimal(20,3) NOT NULL, `purchase_old_gold_less` decimal(20,3) NOT NULL, `purchase_old_gold_rate` decimal(20,3) NOT NULL, `purchase_old_gold_amount` decimal(20,3) NOT NULL, `purchase_old_gold_final_weight` decimal(20,3) NOT NULL, `created_by` int(11) NOT NULL, `created_at` datetime NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `db_purchase_old_gold` -- INSERT INTO `db_purchase_old_gold` (`id`, `purchase_id`, `store_id`, `warehouse_id`, `item_id`, `olpurchase_id`, `olpurchaseitem_id`, `purchase_old_gold_gross_weight`, `purchase_old_gold_purity`, `purchase_old_gold_weight`, `purchase_old_gold_less`, `purchase_old_gold_rate`, `purchase_old_gold_amount`, `purchase_old_gold_final_weight`, `created_by`, `created_at`, `updated_by`, `updated_at`) VALUES (1, 9, 2, 2, 3, 0, 0, 1.000, 80.000, 0.350, 0.650, 0.000, 0.000, 0.280, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'), (2, 10, 2, 2, 2, 0, 0, 20.000, 85.000, 19.800, 0.200, 0.000, 0.000, 16.830, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'); -- -------------------------------------------------------- -- -- Table structure for table `db_purchase_old_silver` -- CREATE TABLE `db_purchase_old_silver` ( `id` int(11) NOT NULL, `purchase_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `item_id` int(11) NOT NULL, `olpurchaseitem_id` int(11) NOT NULL, `olpurchase_id` int(11) NOT NULL, `purchase_old_silver_gross_weight` decimal(20,3) NOT NULL, `purchase_old_silver_less` decimal(20,3) NOT NULL, `purchase_old_silver_weight` decimal(20,3) NOT NULL, `purchase_old_silver_rate` decimal(20,3) NOT NULL, `purchase_old_silver_amount` decimal(20,3) NOT NULL, `created_by` int(11) NOT NULL, `created_at` datetime NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_purchase_type1` -- CREATE TABLE `db_purchase_type1` ( `id` int(11) NOT NULL, `aasari_id` int(11) NOT NULL, `init_code` varchar(150) NOT NULL, `count_id` int(11) NOT NULL COMMENT 'use to create purchase code', `purchase_date` date NOT NULL, `reference_name` varchar(150) NOT NULL, `previous_bal` decimal(20,3) DEFAULT NULL, `grand_total_pure` decimal(20,3) DEFAULT NULL, `total_weight` varchar(150) NOT NULL, `wastage` varchar(150) NOT NULL, `st_weight` varchar(150) NOT NULL, `touch` varchar(150) NOT NULL, `melting` varchar(150) NOT NULL, `total_purchase_pure` varchar(150) NOT NULL, `status_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `created_at` datetime NOT NULL, `created_by` int(11) NOT NULL, `updated_at` datetime NOT NULL, `updated_by` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_purchase_voucher` -- CREATE TABLE `db_purchase_voucher` ( `voucher_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `voucher_date` date NOT NULL, `voucher_code` text NOT NULL, `count_id` int(11) NOT NULL, `supplier_id` int(11) NOT NULL, `reference_no` text NOT NULL, `gold_weight` decimal(20,3) DEFAULT NULL, `touch_per` decimal(20,3) DEFAULT NULL, `metal_type` int(11) NOT NULL, `pure_gold` decimal(20,3) DEFAULT NULL, `gold_rate` decimal(20,3) DEFAULT NULL, `silver_rate` decimal(20,3) DEFAULT NULL, `item_amount` decimal(20,3) DEFAULT NULL, `cash_amount` decimal(20,3) DEFAULT NULL, `cash_gold_rate` decimal(20,3) DEFAULT NULL, `cash_gold_weight` decimal(20,3) DEFAULT NULL, `silver_weight` decimal(20,3) DEFAULT NULL, `silver_touch_per` decimal(20,3) DEFAULT NULL, `metal_type1` int(11) NOT NULL, `silver_pure` decimal(20,3) DEFAULT NULL, `silver_amount` decimal(20,3) DEFAULT NULL, `cash_silver_amount` decimal(20,3) DEFAULT NULL, `cash_silver_rate` decimal(20,3) DEFAULT NULL, `payment_type1` varchar(100) NOT NULL, `cash_silver_weight` decimal(20,3) DEFAULT NULL, `total_weight` decimal(20,3) DEFAULT NULL, `total_silver_weight` decimal(20,3) DEFAULT NULL, `total_amount` decimal(20,3) DEFAULT NULL, `payment_type` varchar(50) NOT NULL, `other_charges_input` decimal(20,3) DEFAULT NULL, `other_charges_tax_id` decimal(20,3) DEFAULT NULL, `other_charges_amt` decimal(20,3) DEFAULT NULL, `discount_to_all_input` decimal(20,3) DEFAULT NULL, `discount_to_all_type` varchar(50) DEFAULT NULL, `tot_discount_to_all_amt` decimal(20,3) DEFAULT NULL, `subtotal` decimal(20,3) DEFAULT NULL, `round_off` decimal(20,3) DEFAULT NULL, `grand_total` decimal(20,3) DEFAULT NULL, `current_gold_rate` decimal(20,3) DEFAULT NULL, `current_silver_rate` decimal(20,3) DEFAULT NULL, `created_date` date NOT NULL, `created_time` date DEFAULT NULL, `created_by` text NOT NULL, `system_ip` text NOT NULL, `system_name` text NOT NULL, `pending_gold` decimal(20,3) DEFAULT NULL, `pending_silver` decimal(20,3) DEFAULT NULL, `previous_gold` decimal(20,3) NOT NULL, `previous_silver` decimal(20,3) NOT NULL, `previous_cash_balance` decimal(20,3) NOT NULL, `pending_cash_balance` decimal(20,3) NOT NULL, `paid_cash_balance` decimal(20,3) NOT NULL, `tax_value` int(11) NOT NULL, `develop_status` int(11) NOT NULL, `f_metal_amount` decimal(20,3) NOT NULL, `f_metal_touch` decimal(20,3) NOT NULL, `f_metal_pure` decimal(20,3) NOT NULL, `f_metal_gram` decimal(20,3) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_quotation` -- CREATE TABLE `db_quotation` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `warehouse_id` int(11) DEFAULT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create quotation Code', `quotation_code` varchar(50) DEFAULT NULL, `reference_no` varchar(50) DEFAULT NULL, `quotation_date` date DEFAULT NULL, `expire_date` date DEFAULT NULL, `quotation_status` varchar(50) DEFAULT NULL, `customer_id` int(11) DEFAULT NULL, `other_charges_input` double(20,3) DEFAULT NULL, `other_charges_tax_id` int(11) DEFAULT NULL, `other_charges_amt` double(20,3) DEFAULT NULL, `discount_to_all_input` double(20,3) DEFAULT NULL, `discount_to_all_type` varchar(50) DEFAULT NULL, `tot_discount_to_all_amt` double(20,3) DEFAULT NULL, `subtotal` double(20,3) DEFAULT NULL, `round_off` double(20,3) DEFAULT NULL, `grand_total` double(20,3) DEFAULT NULL, `quotation_note` text DEFAULT NULL, `payment_status` varchar(50) DEFAULT NULL, `paid_amount` double(20,3) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `system_ip` varchar(100) DEFAULT NULL, `system_name` varchar(100) DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `pos` int(11) DEFAULT NULL COMMENT '1=yes 0=no', `status` int(11) DEFAULT NULL, `return_bit` int(11) DEFAULT NULL COMMENT 'quotation return raised', `customer_previous_due` double(20,3) DEFAULT NULL, `customer_total_due` double(20,3) DEFAULT NULL, `sales_status` varchar(50) DEFAULT NULL, `gold_rate` decimal(20,3) DEFAULT NULL, `silver_rate` decimal(20,3) DEFAULT NULL, `gold24_rate` decimal(20,3) DEFAULT NULL, `tax_value` int(11) NOT NULL, `old_gold_final_weight` decimal(20,3) NOT NULL, `old_silver_gross_weight` decimal(20,3) NOT NULL, `old_silver_less` decimal(20,3) NOT NULL, `old_silver_amount` decimal(20,3) NOT NULL, `old_gold_amount` decimal(20,3) NOT NULL, `old_gold_less` decimal(20,3) NOT NULL, `old_gold_gross_weight` decimal(20,3) NOT NULL, `old_silver_weight` decimal(20,3) NOT NULL, `gst_amount` decimal(20,3) NOT NULL, `grand_total_amount` decimal(20,3) NOT NULL, `old_gold_rate` decimal(20,3) NOT NULL, `old_gold_weight` decimal(20,3) NOT NULL, `old_gold_purity` decimal(20,3) NOT NULL, `old_silver_rate` decimal(20,3) NOT NULL, `print_huid` int(11) NOT NULL, `negotiate_option` int(11) NOT NULL DEFAULT 0, `negotiate_value` int(11) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_quotation` -- INSERT INTO `db_quotation` (`id`, `store_id`, `warehouse_id`, `count_id`, `quotation_code`, `reference_no`, `quotation_date`, `expire_date`, `quotation_status`, `customer_id`, `other_charges_input`, `other_charges_tax_id`, `other_charges_amt`, `discount_to_all_input`, `discount_to_all_type`, `tot_discount_to_all_amt`, `subtotal`, `round_off`, `grand_total`, `quotation_note`, `payment_status`, `paid_amount`, `created_date`, `created_time`, `created_by`, `system_ip`, `system_name`, `company_id`, `pos`, `status`, `return_bit`, `customer_previous_due`, `customer_total_due`, `sales_status`, `gold_rate`, `silver_rate`, `gold24_rate`, `tax_value`, `old_gold_final_weight`, `old_silver_gross_weight`, `old_silver_less`, `old_silver_amount`, `old_gold_amount`, `old_gold_less`, `old_gold_gross_weight`, `old_silver_weight`, `gst_amount`, `grand_total_amount`, `old_gold_rate`, `old_gold_weight`, `old_gold_purity`, `old_silver_rate`, `print_huid`, `negotiate_option`, `negotiate_value`) VALUES (1, 2, 2, 1, 'QT/2024/02/0001', '', '2025-03-27', NULL, 'Quotation', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 41485.000, -0.450, 42730.000, NULL, NULL, NULL, '2025-03-27', '01:04:16 pm', 'rkteams', '220.158.156.181', '220.158.156.181', NULL, NULL, 1, NULL, NULL, NULL, NULL, 8300.000, 105.000, 0.000, 0, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 42730.000, 0.000, 0.000, 0.000, 0.000, 0, 0, 0); -- -------------------------------------------------------- -- -- Table structure for table `db_quotationitems` -- CREATE TABLE `db_quotationitems` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `quotation_id` int(11) DEFAULT NULL, `quotation_status` varchar(50) DEFAULT NULL, `item_id` int(11) DEFAULT NULL, `description` text DEFAULT NULL, `quotation_piece` int(11) NOT NULL, `quotation_qty` double(20,3) DEFAULT NULL, `price_per_unit` double(20,3) DEFAULT NULL, `tax_type` varchar(50) DEFAULT NULL, `tax_id` int(11) DEFAULT NULL, `tax_amt` double(20,3) DEFAULT NULL, `discount_type` varchar(50) DEFAULT NULL, `discount_input` double(20,3) DEFAULT NULL, `discount_amt` double(20,3) DEFAULT NULL, `unit_total_cost` double(20,3) DEFAULT NULL, `total_cost` double(20,3) DEFAULT NULL, `status` int(11) DEFAULT NULL, `seller_points` double(20,3) DEFAULT 0.000, `st_cost` decimal(20,3) DEFAULT NULL, `wastage` decimal(20,3) DEFAULT NULL, `wastage_type` varchar(50) NOT NULL, `gross_weight` decimal(20,3) DEFAULT NULL, `total_gold_rate` decimal(20,3) NOT NULL, `tag_id` int(11) NOT NULL, `item_huid_id` int(11) NOT NULL, `unit_id` int(11) NOT NULL, `total_gold_weight` decimal(20,3) NOT NULL, `gold_rate` decimal(20,3) NOT NULL, `silver_rate` decimal(20,3) NOT NULL, `purchase_price` decimal(20,3) NOT NULL, `weight_g` decimal(20,3) NOT NULL, `mc_type` decimal(20,3) NOT NULL, `mc_value` decimal(20,3) NOT NULL, `item_st_cost` decimal(20,3) NOT NULL, `item_size` decimal(20,3) NOT NULL, `item_st_wt` decimal(20,3) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_quotationitems` -- INSERT INTO `db_quotationitems` (`id`, `store_id`, `quotation_id`, `quotation_status`, `item_id`, `description`, `quotation_piece`, `quotation_qty`, `price_per_unit`, `tax_type`, `tax_id`, `tax_amt`, `discount_type`, `discount_input`, `discount_amt`, `unit_total_cost`, `total_cost`, `status`, `seller_points`, `st_cost`, `wastage`, `wastage_type`, `gross_weight`, `total_gold_rate`, `tag_id`, `item_huid_id`, `unit_id`, `total_gold_weight`, `gold_rate`, `silver_rate`, `purchase_price`, `weight_g`, `mc_type`, `mc_value`, `item_st_cost`, `item_size`, `item_st_wt`) VALUES (1, 2, 1, 'Quotation', 15, NULL, 1, 4.000, 8300.000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 41485.000, 1, 0.000, 100.000, 0.950, 'Fixed', 4.000, 8300.000, 0, 0, 61, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 400.000, 0.000, 0.000, 0.000); -- -------------------------------------------------------- -- -- Table structure for table `db_quotation_old_gold` -- CREATE TABLE `db_quotation_old_gold` ( `id` int(11) NOT NULL, `quotation_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `olpurchase_id` int(11) NOT NULL, `olpurchaseitem_id` int(11) NOT NULL, `quotation_old_gold_gross_weight` decimal(20,3) NOT NULL, `quotation_old_gold_purity` decimal(20,3) NOT NULL, `quotation_old_gold_weight` decimal(20,3) NOT NULL, `quotation_old_gold_less` decimal(20,3) NOT NULL, `quotation_old_gold_rate` decimal(20,3) NOT NULL, `quotation_old_gold_amount` decimal(20,3) NOT NULL, `quotation_old_gold_final_weight` decimal(20,3) NOT NULL, `created_by` int(11) NOT NULL, `created_at` datetime NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_quotation_old_silver` -- CREATE TABLE `db_quotation_old_silver` ( `id` int(11) NOT NULL, `quotation_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `olpurchaseitem_id` int(11) NOT NULL, `olpurchase_id` int(11) NOT NULL, `quotation_old_silver_gross_weight` decimal(20,3) NOT NULL, `quotation_old_silver_purity` decimal(20,3) NOT NULL, `quotation_old_silver_less` decimal(20,3) NOT NULL, `quotation_old_silver_weight` decimal(20,3) NOT NULL, `quotation_old_silver_rate` decimal(20,3) NOT NULL, `quotation_old_silver_amount` decimal(20,3) NOT NULL, `created_by` int(11) NOT NULL, `created_at` datetime NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_roles` -- CREATE TABLE `db_roles` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `role_name` varchar(50) DEFAULT NULL, `description` mediumtext DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_roles` -- INSERT INTO `db_roles` (`id`, `store_id`, `role_name`, `description`, `status`) VALUES (1, 1, 'Admin', 'All Rights Permitted.', 1), (2, 1, 'Store Admin', 'Note: Apply this role for New Store Admin. ', 1), (31, 1, 'test', '', 1), (32, 1, 'test', '`', 1), (34, 1, 'marketing', '', 1), (37, 2, 'sales', '', 1); -- -------------------------------------------------------- -- -- Table structure for table `db_sales` -- CREATE TABLE `db_sales` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `warehouse_id` int(11) DEFAULT NULL, `init_code` varchar(100) DEFAULT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create Sales Code', `sales_code` varchar(50) DEFAULT NULL, `reference_no` varchar(50) DEFAULT NULL, `sales_date` date DEFAULT NULL, `due_date` date DEFAULT NULL, `sales_status` varchar(50) DEFAULT NULL, `customer_id` int(11) DEFAULT NULL, `other_charges_input` double(20,3) DEFAULT NULL, `other_charges_tax_id` int(11) DEFAULT NULL, `other_charges_amt` double(20,3) DEFAULT NULL, `discount_to_all_input` double(20,3) DEFAULT NULL, `discount_to_all_type` varchar(50) DEFAULT NULL, `tot_discount_to_all_amt` double(20,3) DEFAULT NULL, `tax_value` int(11) NOT NULL, `subtotal` double(20,3) DEFAULT NULL, `round_off` double(20,3) DEFAULT NULL, `grand_total` double(20,3) DEFAULT NULL, `sales_note` text DEFAULT NULL, `payment_status` varchar(50) DEFAULT NULL, `paid_amount` double(20,3) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `system_ip` varchar(100) DEFAULT NULL, `system_name` varchar(100) DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `pos` int(11) DEFAULT NULL COMMENT '1=yes 0=no', `gold_rate` decimal(20,3) NOT NULL, `gold24_rate` decimal(20,3) NOT NULL, `silver_rate` decimal(20,3) NOT NULL, `status` int(11) DEFAULT NULL, `return_bit` int(11) DEFAULT NULL COMMENT 'sales return raised', `customer_previous_due` double(20,3) DEFAULT NULL, `customer_total_due` double(20,3) DEFAULT NULL, `quotation_id` int(11) DEFAULT NULL, `order_id` int(11) NOT NULL, `coupon_id` int(11) DEFAULT NULL, `coupon_amt` double(20,3) DEFAULT 0.000, `invoice_terms` text DEFAULT NULL, `old_gold_weight` decimal(20,3) NOT NULL, `old_gold_rate` decimal(20,3) NOT NULL, `old_silver_weight` decimal(20,3) NOT NULL, `old_silver_rate` decimal(20,3) NOT NULL, `old_gold_gross_weight` decimal(20,3) NOT NULL, `old_gold_less` decimal(20,3) NOT NULL, `old_gold_amount` decimal(20,3) NOT NULL, `old_silver_gross_weight` decimal(20,3) NOT NULL, `old_silver_less` decimal(20,3) NOT NULL, `old_gold_final_weight` decimal(20,3) NOT NULL, `old_silver_amount` decimal(20,3) NOT NULL, `grand_total_amount` decimal(20,3) NOT NULL, `gst_amount` decimal(20,3) NOT NULL, `print_huid` int(11) NOT NULL, `old_gold_purity` decimal(20,3) NOT NULL, `negotiate_value` decimal(20,3) NOT NULL, `negotiate_option` int(11) NOT NULL, `employee_id` int(11) NOT NULL, `loyal_point_option` int(11) DEFAULT NULL, `total_loyal_points` decimal(20,3) DEFAULT NULL, `sales_loyal_point` decimal(20,3) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_sales` -- INSERT INTO `db_sales` (`id`, `store_id`, `warehouse_id`, `init_code`, `count_id`, `sales_code`, `reference_no`, `sales_date`, `due_date`, `sales_status`, `customer_id`, `other_charges_input`, `other_charges_tax_id`, `other_charges_amt`, `discount_to_all_input`, `discount_to_all_type`, `tot_discount_to_all_amt`, `tax_value`, `subtotal`, `round_off`, `grand_total`, `sales_note`, `payment_status`, `paid_amount`, `created_date`, `created_time`, `created_by`, `system_ip`, `system_name`, `company_id`, `pos`, `gold_rate`, `gold24_rate`, `silver_rate`, `status`, `return_bit`, `customer_previous_due`, `customer_total_due`, `quotation_id`, `order_id`, `coupon_id`, `coupon_amt`, `invoice_terms`, `old_gold_weight`, `old_gold_rate`, `old_silver_weight`, `old_silver_rate`, `old_gold_gross_weight`, `old_gold_less`, `old_gold_amount`, `old_silver_gross_weight`, `old_silver_less`, `old_gold_final_weight`, `old_silver_amount`, `grand_total_amount`, `gst_amount`, `print_huid`, `old_gold_purity`, `negotiate_value`, `negotiate_option`, `employee_id`, `loyal_point_option`, `total_loyal_points`, `sales_loyal_point`) VALUES (1, 2, 2, 'SL/2024/02/', 1, 'SL/2024/02/1', '', '2025-02-26', NULL, 'Final', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 66512.500, -0.125, 41508.000, NULL, 'Paid', 41508.000, '2025-02-26', '11:08:05 am', 'RK creators', '122.178.255.6', 'abts-kk-static-006.255.178.122.airtelbroadband.in', NULL, NULL, 8050.000, 0.000, 106.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 4.500, 0.000, 0.000, 0.000, 5.000, 0.500, 27000.000, 0.000, 0.000, 3.600, 0.000, 68508.000, 0.000, 0, 0.000, 0.000, 1, 0, NULL, NULL, NULL), (2, 2, 2, 'SLX/2024/02/', 1, 'SLX/2024/02/1', '', '2025-02-27', NULL, 'Final', 2, NULL, 1, NULL, 974.609, 'in_fixed', 974.609, 1, 49809.560, NULL, 30000.000, NULL, 'Paid', 30000.000, '2025-02-27', '03:30:42 pm', 'RK creators', '49.206.112.64', '49.206.112.64.actcorp.in', NULL, NULL, 8010.000, 0.000, 106.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 2.900, 0.000, 0.000, 0.000, 3.000, 0.100, 20300.000, 0.000, 0.000, 2.900, 0.000, 50300.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (3, 2, 2, 'SLX/2024/02/', 2, 'SLX/2024/02/2', '', '2025-03-07', NULL, 'Final', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 1, 2500.000, NULL, 2575.000, NULL, 'Paid', 2575.000, '2025-03-07', '04:22:21 pm', 'RK creators', '182.65.62.140', 'abts-tn-dynamic-140.62.65.182-airtelbroadband.in', NULL, NULL, 8030.000, 0.000, 0.000, 1, 1, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 2575.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (4, 2, 2, 'SLX/2024/02/', 3, 'SLX/2024/02/3', '', '2025-03-07', NULL, 'Final', 3, NULL, 1, NULL, NULL, 'in_fixed', NULL, 1, 18000.000, NULL, 18540.000, NULL, 'Paid', 18540.000, '2025-03-07', '04:25:47 pm', 'RK creators', '182.65.62.140', 'abts-tn-dynamic-140.62.65.182-airtelbroadband.in', NULL, NULL, 8030.000, 0.000, 0.000, 1, 1, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 18540.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (5, 2, 2, 'SLX/2024/02/', 4, 'SLX/2024/02/4', '', '2025-03-07', NULL, 'Final', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 1, 37291.320, 0.060, 38410.000, NULL, 'Paid', 38410.000, '2025-03-07', '04:55:25 pm', 'RK creators', '182.65.62.140', 'abts-tn-dynamic-140.62.65.182-airtelbroadband.in', NULL, NULL, 8030.000, 0.000, 0.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 38410.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (6, 2, 2, 'SL/2024/02/', 2, 'SL/2024/02/2', '', '2025-03-10', NULL, 'Final', 4, NULL, 1, NULL, 30.990, 'in_fixed', 30.990, 0, 704.000, NULL, 650.000, NULL, 'Paid', 650.000, '2025-03-10', '05:54:09 pm', 'rkteams', '103.237.57.160', '103.237.57.160', NULL, NULL, 8090.000, 0.000, 102.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.480, 0.000, 0.000, 0.000, 0.000, 1.000, 0.200, 0.000, 43.200, 693.200, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (7, 2, 2, 'SLX/2024/02/', 5, 'SLX/2024/02/5', '', '2025-03-10', NULL, 'Final', 4, NULL, 1, NULL, 363.064, 'in_fixed', 363.064, 1, 47935.880, NULL, 49000.000, NULL, 'Paid', 49000.000, '2025-03-10', '06:10:31 pm', 'rkteams', '103.237.57.160', '103.237.57.160', NULL, NULL, 8090.000, 0.000, 102.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 49000.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (8, 2, 2, 'SLX/2024/02/', 6, 'SLX/2024/02/6', '', '2025-03-11', NULL, 'Final', 3, NULL, NULL, NULL, NULL, 'in_fixed', NULL, 1, 213500.000, NULL, 158250.000, NULL, 'Paid', 158250.000, '2025-03-11', '10:55:17 am', 'rkteams', '223.237.182.55', '223.237.182.55', NULL, NULL, 8060.000, 0.000, 108.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 8.500, 0.000, 0.000, 0.000, 10.000, 1.500, 55250.000, 0.000, 0.000, 8.500, 0.000, 213500.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (9, 2, 2, 'SLX/2024/02/', 7, 'SLX/2024/02/7', '', '2025-03-11', '2025-03-26', 'Final', 1, NULL, NULL, NULL, NULL, 'in_fixed', NULL, 1, 540.000, NULL, 540.000, NULL, 'Paid', 540.000, '2025-03-11', '11:17:00 am', 'rkteams', '223.237.182.55', '223.237.182.55', NULL, NULL, 8060.000, 0.000, 108.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 540.000, 0.000, 0, 0.000, 0.000, 1, 0, NULL, NULL, NULL), (10, 2, 2, 'SLX/2024/02/', 8, 'SLX/2024/02/8', '', '2025-03-11', NULL, 'Final', 1, NULL, NULL, NULL, 190.000, 'in_fixed', 190.000, 1, 56190.000, NULL, 56000.000, NULL, 'Paid', 56000.000, '2025-03-11', '11:27:14 am', 'rkteams', '223.237.182.55', '223.237.182.55', NULL, NULL, 8060.000, 0.000, 108.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 56000.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (11, 2, 2, 'SL/2024/02/', 3, 'SL/2024/02/3', '', '2025-03-11', NULL, 'Final', 5, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 33495.117, -0.029, 34500.000, NULL, 'Paid', 34500.000, '2025-03-11', '03:00:10 pm', 'rkteams', '103.148.33.236', '103.148.33.236', NULL, NULL, 8060.000, 0.000, 108.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 34500.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (12, 2, 2, 'SL/2024/02/', 4, 'SL/2024/02/4', '', '2025-03-11', NULL, 'Final', 6, NULL, 1, NULL, 26.000, 'in_fixed', 26.000, 0, 22399.660, -0.130, 5000.000, NULL, 'Paid', 5000.000, '2025-03-11', '06:57:50 pm', 'rkteams', '103.148.33.236', '103.148.33.236', NULL, NULL, 8020.000, 0.000, 107.000, 1, 1, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 3.000, 0.000, 0.000, 0.000, 3.120, 0.120, 18045.000, 0.000, 0.000, 2.250, 0.000, 23045.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (13, 2, 2, 'SL/2024/02/', 5, 'SL/2024/02/5', '', '2025-03-12', NULL, 'Final', 5, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 146046.175, -0.440, 47196.000, NULL, 'Paid', 47196.000, '2025-03-12', '01:02:57 pm', 'rkteams', '103.148.33.236', '103.148.33.236', NULL, NULL, 8065.000, 0.000, 108.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 16.000, 0.000, 0.000, 0.000, 16.000, 0.000, 103232.000, 0.000, 0.000, 12.800, 0.000, 150428.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (14, 2, 2, 'SL/2024/02/', 6, 'SL/2024/02/6', '', '2025-03-12', NULL, 'Final', 5, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 97766.500, 0.495, 100699.000, NULL, 'Paid', 100699.000, '2025-03-12', '03:37:19 pm', 'rkteams', '103.148.33.236', '103.148.33.236', NULL, NULL, 8065.000, 0.000, 108.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 100699.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (15, 2, 2, 'SL/2024/02/', 7, 'SL/2024/02/7', '', '2025-03-12', NULL, 'Final', 5, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 17923.000, -0.310, 18461.000, NULL, 'Paid', 18461.000, '2025-03-12', '06:20:59 pm', 'rkteams', '103.148.33.236', '103.148.33.236', NULL, NULL, 8065.000, 0.000, 108.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 18461.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (16, 2, 2, 'SL/2024/02/', 8, 'SL/2024/02/8', '', '2025-03-12', NULL, 'Final', 5, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 17923.000, -0.310, 18461.000, NULL, 'Partial', 538.000, '2025-03-12', '06:24:41 pm', 'rkteams', '103.148.33.236', '103.148.33.236', NULL, NULL, 8065.000, 0.000, 108.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 18461.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (17, 2, 2, 'SL/2024/02/', 9, 'SL/2024/02/9', '', '2025-03-12', NULL, 'Final', 6, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 17923.000, -0.310, 18461.000, NULL, 'Paid', 18461.000, '2025-03-12', '06:30:17 pm', 'rkteams', '103.148.33.236', '103.148.33.236', NULL, NULL, 8065.000, 0.000, 108.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 18461.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (18, 2, 2, 'SL/2024/02/', 10, 'SL/2024/02/10', '', '2025-03-13', NULL, 'Final', 8, 50.000, 1, 50.000, 40.000, 'in_fixed', 40.000, 0, 24593.680, -0.210, 2200.000, NULL, 'Partial', 2000.000, '2025-03-13', '06:42:48 pm', 'rkteams', '103.148.33.236', '103.148.33.236', NULL, NULL, 8120.000, 0.000, 110.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 2.850, 0.000, 0.000, 0.000, 3.000, 0.150, 23142.000, 0.000, 0.000, 2.850, 0.000, 25342.000, 0.000, 0, 0.000, 0.000, 1, 0, NULL, NULL, NULL), (19, 2, 2, 'SL/2024/02/', 11, 'SL/2024/02/11', '', '2025-03-18', NULL, 'Final', 9, NULL, 1, NULL, 813.522, 'in_fixed', 813.522, 0, 14677.600, NULL, 10500.000, NULL, 'Paid', 10500.000, '2025-03-18', '02:45:13 pm', 'rkteams', '223.237.183.245', '223.237.183.245', NULL, NULL, 8260.000, 0.000, 106.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.750, 0.000, 0.000, 0.000, 0.750, 0.000, 3780.000, 0.000, 0.000, 0.600, 0.000, 14280.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (20, 2, 2, 'SL/2024/02/', 12, 'SL/2024/02/12', '', '2025-03-18', NULL, 'Final', 9, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 13341.000, 0.230, 13741.000, NULL, 'Paid', 13741.000, '2025-03-18', '02:54:37 pm', 'rkteams', '223.237.185.81', '223.237.185.81', NULL, NULL, 8260.000, 0.000, 106.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 13741.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (21, 2, 2, 'SL/2024/02/', 13, 'SL/2024/02/13', '', '2025-03-24', NULL, 'Final', 1, NULL, 1, NULL, 69.911, 'in_fixed', 69.911, 0, 99196.125, NULL, 102100.000, NULL, 'Paid', 102100.000, '2025-03-24', '12:22:07 pm', 'rkteams', '122.179.242.134', '122.179.242.134', NULL, NULL, 8215.000, 0.000, 110.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 102100.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (22, 2, 2, 'SL/2024/02/', 14, 'SL/2024/02/14', '1', '2025-03-24', NULL, 'Final', 2, NULL, 1, NULL, 500.000, 'in_fixed', 500.000, 0, 175500.000, NULL, 180250.000, NULL, 'Unpaid', 0.000, '2025-03-24', '03:54:01 pm', 'rkteams', '36.255.17.196', 'ws196-17.255.36.rcil.gov.in', NULL, NULL, 8300.000, 0.000, 103.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 180250.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (23, 2, 2, 'SL/2024/02/', 15, 'SL/2024/02/15', '1', '2025-03-24', NULL, 'Final', 1, NULL, 1, NULL, 1000.000, 'in_fixed', 1000.000, 0, 134000.000, NULL, 136990.000, NULL, 'Paid', 136990.000, '2025-03-24', '04:01:59 pm', 'rkteams', '36.255.17.196', 'ws196-17.255.36.rcil.gov.in', NULL, NULL, 8300.000, 0.000, 103.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 136990.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (24, 2, 2, 'SL/2024/02/', 16, 'SL/2024/02/16', '1', '2025-03-24', NULL, 'Final', 1, NULL, 1, NULL, 1000.000, 'in_fixed', 1000.000, 0, 94000.000, NULL, 95790.000, NULL, 'Paid', 95790.000, '2025-03-24', '04:26:39 pm', 'rkteams', '36.255.17.196', 'ws196-17.255.36.rcil.gov.in', NULL, NULL, 8300.000, 0.000, 103.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 95790.000, 0.000, 0, 0.000, 0.000, 1, 0, NULL, NULL, NULL), (25, 2, 2, 'SL/2024/02/', 17, 'SL/2024/02/17', '', '2025-03-24', NULL, 'Final', 2, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 74849.400, -0.118, 77095.000, NULL, 'Paid', 77095.000, '2025-03-24', '07:01:52 pm', 'rkteams', '122.179.242.134', '122.179.242.134', NULL, NULL, 8300.000, 0.000, 103.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 77095.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (26, 2, 2, 'SL/2024/02/', 18, 'SL/2024/02/18', '1', '2025-03-24', '2025-03-24', 'Final', 4, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 94000.000, NULL, 96820.000, NULL, 'Unpaid', 0.000, '2025-03-24', '08:09:07 pm', 'rkteams', '36.255.17.196', '36.255.17.196', NULL, NULL, 8300.000, 0.000, 103.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 96820.000, 0.000, 0, 0.000, 0.000, 1, 0, NULL, NULL, NULL), (27, 2, 2, 'SL/2024/02/', 19, 'SL/2024/02/19', '', '2025-03-25', NULL, 'Final', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 4092.500, 0.275, 4215.000, NULL, 'Partial', 60.000, '2025-03-25', '12:54:12 pm', 'rkteams', '106.212.16.240', '106.212.16.240', NULL, NULL, 8185.000, 0.000, 110.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 4215.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (28, 2, 2, 'SL/2024/02/', 20, 'SL/2024/02/20', '', '2025-03-27', NULL, 'Final', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 43975.000, 0.250, -356.000, NULL, 'Unpaid', 0.000, '2025-03-27', '12:36:42 pm', 'rkteams', '220.158.156.181', '220.158.156.181', NULL, NULL, 8300.000, 0.000, 105.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 5.500, 0.000, 0.000, 0.000, 6.000, 0.500, 45650.000, 0.000, 0.000, 5.500, 0.000, 45294.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (29, 2, 2, 'SL/2024/02/', 21, 'SL/2024/02/21', '', '2025-03-27', NULL, 'Final', 12, NULL, 1, NULL, 121.903, 'in_fixed', 121.903, 0, 22452.000, NULL, 23000.000, NULL, 'Paid', 23000.000, '2025-03-27', '12:58:21 pm', 'rkteams', '220.158.156.181', '220.158.156.181', NULL, NULL, 8300.000, 0.000, 105.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 23000.000, 0.000, 0, 0.000, 0.000, 1, 0, NULL, NULL, NULL), (30, 2, 2, 'SL/2024/02/', 22, 'SL/2024/02/22', '', '2025-03-27', NULL, 'Final', 12, NULL, 1, NULL, 46087.621, 'in_fixed', 46087.621, 0, 143175.000, NULL, 100000.000, NULL, 'Paid', 100000.000, '2025-03-27', '01:14:52 pm', 'rkteams', '220.158.156.181', '220.158.156.181', NULL, NULL, 8300.000, 0.000, 105.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 100000.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (31, 2, 2, 'SL/2526/', 1, 'SL/2526/1', '', '2025-03-29', NULL, 'Final', 13, NULL, 1, NULL, 41.602, 'in_fixed', 41.602, 0, 3195.000, NULL, 2000.000, NULL, 'Paid', 2000.000, '2025-03-29', '05:25:49 pm', 'rkteams', '122.173.103.164', 'abts-north-dynamic-164.103.173.122.airtelbroadband.in', NULL, NULL, 8360.000, 0.000, 113.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.480, 0.000, 0.000, 0.000, 0.500, 0.020, 1248.000, 0.000, 0.000, 0.480, 0.000, 3248.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (32, 2, 2, 'SL/2024/', 1, 'SL/2024/1', '', '2025-04-01', NULL, 'Final', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 0.000, NULL, 0.000, NULL, 'Paid', 0.000, '2025-04-01', '07:13:35 am', 'rkteams', '106.195.37.44', '106.195.37.44', NULL, NULL, 0.000, 0.000, 0.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (33, 2, 2, 'SL/2024/', 2, 'SL/2024/2', '', '2025-04-01', NULL, 'Final', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 287.500, 0.125, 296.000, NULL, 'Unpaid', 0.000, '2025-04-01', '07:17:58 am', 'rkteams', '157.49.99.40', '157.49.99.40', NULL, NULL, 8900.000, 0.000, 115.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 296.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (34, 2, 2, 'SL/2526/', 3, 'SL/2526/3', '', '2025-04-05', NULL, 'Final', 13, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 7102.900, -0.013, 7316.000, NULL, 'Paid', 7316.000, '2025-04-05', '06:33:23 pm', 'rkteams', '106.195.44.236', '106.195.44.236', NULL, NULL, 8310.000, 0.000, 103.000, 1, 1, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 7316.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (35, 2, 2, 'SL/2526/', 4, 'SL/2526/4', '', '2025-04-05', NULL, 'Final', 13, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 360.500, 0.315, 371.000, NULL, 'Partial', 184.000, '2025-04-05', '06:35:09 pm', 'rkteams', '106.195.44.236', '106.195.44.236', NULL, NULL, 8310.000, 0.000, 103.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 371.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (36, 2, 2, 'SL/2526/', 5, 'SL/2526/5', '', '2025-04-14', NULL, 'Final', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 132375.600, -0.132, 136347.000, NULL, 'Partial', 13647.000, '2025-04-14', '02:02:59 pm', 'rkteams', '223.237.180.152', '223.237.180.152', NULL, NULL, 8755.000, 0.000, 108.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 136347.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (37, 2, 2, 'SL/2526/', 6, 'SL/2526/6', '', '2025-04-14', NULL, 'Final', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 97793.350, 0.151, 100727.000, NULL, 'Paid', 100727.000, '2025-04-14', '02:07:22 pm', 'rkteams', '223.237.180.152', '223.237.180.152', NULL, NULL, 8755.000, 0.000, 108.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 100727.000, 0.000, 0, 0.000, 0.000, 1, 0, NULL, NULL, NULL), (38, 2, 2, 'SL/2526/', 7, 'SL/2526/7', '', '2025-04-21', NULL, 'Final', 15, NULL, 1, NULL, 173.864, 'in_fixed', 173.864, 0, 21886.000, NULL, 14250.000, NULL, 'Paid', 14250.000, '2025-04-21', '01:00:25 pm', 'rkteams', '223.237.177.115', '223.237.177.115', NULL, NULL, 9015.000, 0.000, 111.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.900, 0.000, 0.000, 0.000, 1.000, 0.100, 8113.500, 0.000, 0.000, 0.900, 0.000, 22363.500, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (39, 2, 2, 'SLX/2526/', 1, 'SLX/2526/1', '', '2025-04-21', NULL, 'Final', 15, NULL, NULL, NULL, 122.000, 'in_fixed', 122.000, 1, 19722.400, 0.400, 19600.000, NULL, 'Paid', 19600.000, '2025-04-21', '01:08:13 pm', 'rkteams', '223.237.177.115', '223.237.177.115', NULL, NULL, 9015.000, 0.000, 111.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 19600.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (40, 2, 2, 'SL/2526/', 8, 'SL/2526/8', '', '2025-04-28', NULL, 'Final', 2, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 43448.400, -0.148, 34887.000, NULL, 'Paid', 34887.000, '2025-04-28', '06:42:19 pm', 'rkteams', '106.205.76.156', '106.205.76.156', NULL, NULL, 8940.000, 0.000, 111.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 1.000, 0.000, 1.000, 0.000, 1.000, 0.000, 9754.000, 1.000, 0.000, 1.000, 111.000, 44752.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (41, 2, 2, 'SL/2526/', 9, 'SL/2526/9', '', '2025-05-09', NULL, 'Final', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 53549.100, -0.427, 55156.000, NULL, 'Unpaid', 0.000, '2025-05-09', '06:38:42 pm', 'rkteams', '171.76.102.201', 'abts-kk-dynamic-201.102.76.171.airtelbroadband.in', NULL, NULL, 9015.000, 0.000, 111.000, 1, NULL, NULL, NULL, NULL, 1, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 55156.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (42, 2, 2, 'SL/2526/', 10, 'SL/2526/10', '', '2025-05-09', NULL, 'Final', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 29208.600, -0.142, 30085.000, NULL, 'Unpaid', 0.000, '2025-05-09', '06:55:23 pm', 'rkteams', '171.76.102.201', 'abts-kk-dynamic-201.102.76.171.airtelbroadband.in', NULL, NULL, 9015.000, 0.000, 111.000, 1, NULL, NULL, NULL, NULL, 1, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 30085.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, NULL, NULL), (43, 2, 2, 'SL/2526/', 11, 'SL/2526/11', '', '2025-05-10', NULL, 'Final', 18, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 88600.000, NULL, 91258.000, NULL, 'Unpaid', 0.000, '2025-05-10', '06:53:10 pm', 'rkteams', '122.179.215.82', '122.179.215.82', NULL, NULL, 9015.000, 0.000, 102.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 91258.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, 0.000, 228.145), (44, 2, 2, 'SL/2526/', 12, 'SL/2526/12', '', '2025-05-12', NULL, 'Final', 19, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 44408.000, 0.240, 45740.000, NULL, 'Unpaid', 0.000, '2025-05-12', '12:29:06 pm', 'rkteams', '122.178.51.10', 'abts-tn-dynamic-010.51.178.122.airtelbroadband.in', NULL, NULL, 8880.000, 0.000, 109.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 45740.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, 0.000, 111.020), (45, 2, 2, 'SL/2526/', 13, 'SL/2526/13', '', '2025-05-12', NULL, 'Final', 20, NULL, 1, NULL, 409.926, 'in_fixed', 409.926, 0, 16429.343, NULL, 16500.000, NULL, 'Paid', 16500.000, '2025-05-12', '12:38:59 pm', 'rkteams', '122.178.51.10', 'abts-tn-dynamic-010.51.178.122.airtelbroadband.in', NULL, NULL, 8880.000, 0.000, 109.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 16500.000, 0.000, 0, 0.000, 0.000, 1, 0, NULL, 0.000, 48.080), (46, 2, 2, 'SL/2526/', 14, 'SL/2526/14', '', '2025-05-23', NULL, 'Final', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 33413.504, -0.091, 34416.000, NULL, 'Paid', 34416.000, '2025-05-23', '04:07:19 pm', 'rkteams', '122.173.244.6', 'abts-north-dynamic-006.244.173.122.airtelbroadband.in', NULL, NULL, 8940.000, 0.000, 111.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 34416.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, 0.000, 83.534), (47, 2, 2, 'SL/2526/', 15, 'SL/2526/15', '', '2025-05-24', NULL, 'Final', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 617.160, -0.325, 636.000, NULL, 'Unpaid', 0.000, '2025-05-24', '07:37:14 pm', 'rkteams', '122.179.253.232', '122.179.253.232', NULL, NULL, 8990.000, 0.000, 111.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 636.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, 0.000, 4.629), (48, 2, 2, 'SL/2526/', 16, 'SL/2526/16', '', '2025-05-26', NULL, 'Final', 23, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 0.000, NULL, 0.000, NULL, 'Paid', 0.000, '2025-05-26', '11:18:44 am', 'rkteams', '182.69.217.179', 'abts-north-dynamic-179.217.69.182.airtelbroadband.in', NULL, NULL, 0.000, 0.000, 0.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 10.000, 0.000, 10.000, 0.000, 10.000, 0.000, 0.000, 10.000, 0.000, 10.000, 0.000, 0.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, 0.000, 0.000), (49, 2, 2, 'SL/2526/', 17, 'SL/2526/17', '', '2025-05-26', NULL, 'Final', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 25488.000, -0.360, -67747.000, NULL, 'Unpaid', 0.000, '2025-05-26', '11:19:18 am', 'rkteams', '182.69.217.179', 'abts-north-dynamic-179.217.69.182.airtelbroadband.in', NULL, NULL, 9440.000, 0.000, 109.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 10.000, 0.000, 0.000, 0.000, 10.000, 0.000, 94000.000, 0.000, 0.000, 10.000, 0.000, 26253.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, 0.000, 63.720), (50, 2, 2, 'SL/2526/', 18, 'SL/2526/18', '', '2025-05-26', NULL, 'Final', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 83252.000, -0.440, 40750.000, NULL, 'Unpaid', 0.000, '2025-05-26', '11:22:55 am', 'rkteams', '182.69.217.179', 'abts-north-dynamic-179.217.69.182.airtelbroadband.in', NULL, NULL, 9440.000, 0.000, 109.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 5.000, 0.000, 0.000, 0.000, 5.000, 0.000, 45000.000, 0.000, 0.000, 5.000, 0.000, 85750.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, 0.000, 208.130), (51, 2, 2, 'SL/2526/', 19, 'SL/2526/19', '', '2025-05-26', NULL, 'Final', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 2710.000, 0.300, 2791.000, NULL, 'Paid', 2791.000, '2025-05-26', '01:22:39 pm', 'rkteams', '182.69.217.179', 'abts-north-dynamic-179.217.69.182.airtelbroadband.in', NULL, NULL, 8950.000, 0.000, 111.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 2791.000, 0.000, 0, 0.000, 0.000, 1, 0, NULL, 0.000, 6.775), (52, 2, 2, 'SL/2526/', 20, 'SL/2526/20', '', '2025-05-26', NULL, 'Final', 3, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 22375.000, 0.250, 23046.000, NULL, 'Paid', 23046.000, '2025-05-26', '01:54:54 pm', 'rkteams', '182.69.217.179', 'abts-north-dynamic-179.217.69.182.airtelbroadband.in', NULL, NULL, 8950.000, 0.000, 111.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 23046.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, 0.000, 55.938), (53, 2, 2, 'SL/2526/', 21, 'SL/2526/21', '', '2025-05-26', NULL, 'Final', 2, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 16632.000, -0.040, 17131.000, NULL, 'Paid', 17131.000, '2025-05-26', '02:51:18 pm', 'rkteams', '182.69.217.179', 'abts-north-dynamic-179.217.69.182.airtelbroadband.in', NULL, NULL, 8950.000, 0.000, 111.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 17131.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, 0.000, 41.580), (54, 2, 2, 'SL/2526/', 22, 'SL/2526/22', '', '2025-05-27', NULL, 'Final', 3, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 0.000, NULL, 0.000, NULL, 'Paid', 0.000, '2025-05-27', '04:31:27 pm', 'rkteams', '106.221.19.215', '106.221.19.215', NULL, NULL, 8995.000, 0.000, 111.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, 0.000, 0.000), (55, 2, 2, 'SL/2526/', 23, 'SL/2526/23', '', '2025-05-28', NULL, 'Final', 24, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 16206.075, 0.257, 16692.000, NULL, 'Paid', 16692.000, '2025-05-28', '05:02:35 pm', 'rkteams', '117.98.181.199', '117.98.181.199', NULL, NULL, 8995.000, 0.000, 110.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 16692.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, 0.000, 40.515), (56, 2, 2, 'SL/2526/', 24, 'SL/2526/24', '', '2025-05-31', NULL, 'Final', 26, NULL, 1, NULL, 16.048, 'in_fixed', 16.048, 0, 19529.640, NULL, 2900.000, NULL, 'Paid', 2900.000, '2025-05-31', '06:28:36 pm', 'rkteams', '103.160.240.171', '103.160.240.171', NULL, NULL, 8920.000, 0.000, 111.000, 1, NULL, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 1.950, 0.000, 0.000, 0.000, 2.000, 0.050, 17199.000, 0.000, 0.000, 1.950, 0.000, 20099.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, 0.000, 48.784), (57, 2, 2, 'SL/2526/', 25, 'SL/2526/25', '', '2025-05-31', NULL, 'Final', 26, NULL, 1, NULL, NULL, 'in_fixed', NULL, 0, 531.913, -0.130, 548.000, NULL, 'Unpaid', 0.000, '2025-05-31', '07:22:44 pm', 'rkteams', '103.160.240.171', '103.160.240.171', NULL, NULL, 8920.000, 0.000, 111.000, 1, 1, NULL, NULL, NULL, 0, NULL, 0.000, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 548.000, 0.000, 0, 0.000, 0.000, 0, 0, NULL, 0.000, 1.330); -- -------------------------------------------------------- -- -- Table structure for table `db_salesitems` -- CREATE TABLE `db_salesitems` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `sales_id` int(11) DEFAULT NULL, `tag_id` int(11) NOT NULL, `item_huid_id` int(11) NOT NULL, `sales_status` varchar(50) DEFAULT NULL, `item_id` int(11) DEFAULT NULL, `description` text DEFAULT NULL, `sales_qty` double(20,3) DEFAULT NULL, `sales_piece` varchar(50) NOT NULL, `total_gold_weight` decimal(20,3) DEFAULT NULL, `unit_id` int(11) NOT NULL, `price_per_unit` double(20,3) DEFAULT NULL, `tax_type` varchar(50) DEFAULT NULL, `tax_id` int(11) DEFAULT NULL, `tax_amt` double(20,3) DEFAULT NULL, `discount_type` varchar(50) DEFAULT NULL, `discount_input` double(20,3) DEFAULT NULL, `discount_amt` double(20,3) DEFAULT NULL, `unit_total_cost` double(20,3) DEFAULT NULL, `total_cost` double(20,3) DEFAULT NULL, `gold_rate` varchar(100) NOT NULL, `silver_rate` varchar(100) NOT NULL, `status` int(11) DEFAULT NULL, `seller_points` double(20,3) DEFAULT 0.000, `purchase_price` double(20,3) DEFAULT 0.000, `st_cost` double(20,3) DEFAULT NULL, `wastage` double(20,3) DEFAULT NULL, `wastage_type` text NOT NULL, `weight_g` double(20,3) DEFAULT NULL, `gross_weight` decimal(20,3) DEFAULT NULL, `total_gold_rate` decimal(20,3) DEFAULT NULL, `mc_type` varchar(100) NOT NULL DEFAULT 'Total Amount', `mc_value` decimal(20,3) NOT NULL, `item_st_cost` decimal(20,3) DEFAULT NULL, `item_size` decimal(20,3) DEFAULT NULL, `item_st_wt` decimal(20,3) DEFAULT NULL, `purchaseitems_id` int(11) NOT NULL, `adjustmentitem_id` int(11) NOT NULL, `item_dia_wt` decimal(20,3) DEFAULT NULL, `orderitems_id` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_salesitems` -- INSERT INTO `db_salesitems` (`id`, `store_id`, `sales_id`, `tag_id`, `item_huid_id`, `sales_status`, `item_id`, `description`, `sales_qty`, `sales_piece`, `total_gold_weight`, `unit_id`, `price_per_unit`, `tax_type`, `tax_id`, `tax_amt`, `discount_type`, `discount_input`, `discount_amt`, `unit_total_cost`, `total_cost`, `gold_rate`, `silver_rate`, `status`, `seller_points`, `purchase_price`, `st_cost`, `wastage`, `wastage_type`, `weight_g`, `gross_weight`, `total_gold_rate`, `mc_type`, `mc_value`, `item_st_cost`, `item_size`, `item_st_wt`, `purchaseitems_id`, `adjustmentitem_id`, `item_dia_wt`, `orderitems_id`) VALUES (1, 2, 1, 1, 0, 'Final', 1, '', 5.500, '1.00', 0.000, 61, 8050.000, NULL, NULL, NULL, '', NULL, 0.500, NULL, 66512.500, '', '', 1, 0.000, 0.000, 100.000, 0.500, 'Gram', 0.000, 5.500, 8050.000, 'Total Amount', 100.000, 0.000, 0.000, 0.000, 1, 0, NULL, NULL), (2, 2, 2, 5, 0, 'Final', 9, '', 5.700, '1.00', 0.000, 61, 8010.000, NULL, NULL, NULL, '', NULL, 8.000, NULL, 49809.560, '', '', 1, 0.000, 0.000, 0.000, 8.000, 'Percentage', 0.000, 6.000, 8010.000, 'Total Amount', 0.000, 500.000, 9.000, 0.000, 2, 0, NULL, NULL), (3, 2, 3, 0, 0, 'Final', 10, '', 0.000, '1', 0.000, 62, 2500.000, NULL, NULL, NULL, '', NULL, 0.000, NULL, 2500.000, '', '', 1, 0.000, 0.000, 0.000, 0.000, 'Fixed', 0.000, 0.000, 2500.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 0, 1, NULL, NULL), (4, 2, 4, 0, 0, 'Final', 10, '', 0.000, '5', 0.000, 62, 3600.000, NULL, NULL, NULL, '', NULL, 0.000, NULL, 18000.000, '', '', 1, 0.000, 0.000, 0.000, 0.000, 'Fixed', 0.000, 0.000, 3600.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 0, 1, NULL, NULL), (5, 2, 5, 3, 0, 'Final', 9, '', 4.300, '1.00', 0.000, 61, 8030.000, NULL, NULL, NULL, '', NULL, 8.000, NULL, 37291.320, '', '', 1, 0.000, 0.000, 0.000, 8.000, 'Percentage', 0.000, 4.300, 8030.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 2, 0, NULL, NULL), (12, 2, 6, 8, 0, 'Final', 11, '', 2.000, '1.00', 0.000, 61, 102.000, NULL, NULL, NULL, '', NULL, 0.000, NULL, 704.000, '', '', 1, 0.000, 0.000, 500.000, 0.000, 'Fixed', 0.000, 2.000, 102.000, 'Total Amount', 500.000, 0.000, 0.000, 0.000, 3, 0, NULL, NULL), (13, 2, 7, 0, 0, 'Final', 11, '', 2.500, '1', 0.000, 61, 102.000, NULL, NULL, NULL, '', NULL, 0.000, NULL, 755.000, '', '', 1, 0.000, 0.000, 500.000, 0.000, 'Fixed', 0.000, 2.500, 102.000, 'Total Amount', 500.000, 0.000, 0.000, 0.000, 0, 2, NULL, NULL), (14, 2, 7, 4, 0, 'Final', 9, '', 5.400, '1.00', 0.000, 61, 8090.000, NULL, NULL, NULL, '', NULL, 8.000, NULL, 47180.880, '', '', 1, 0.000, 0.000, 0.000, 8.000, 'Percentage', 0.000, 5.400, 8090.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 2, 0, NULL, NULL), (15, 2, 8, 11, 0, 'Final', 14, '', 25.000, '1.00', 0.000, 61, 8060.000, NULL, NULL, NULL, '', NULL, 12000.000, NULL, 213500.000, '', '', 1, 0.000, 0.000, 0.000, 12000.000, 'Fixed Amount', 0.000, 25.000, 8060.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 0, 0, NULL, NULL), (16, 2, 9, 0, 0, 'Final', 13, '', 5.000, '1', 0.000, 61, 108.000, NULL, NULL, NULL, '', NULL, 0.000, NULL, 540.000, '', '', 1, 0.000, 0.000, 0.000, 0.000, 'Fixed', 0.000, 5.000, 108.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 7, 0, 0.000, NULL), (17, 2, 10, 19, 0, 'Final', 9, '', 6.500, '1.00', 0.000, 61, 8060.000, NULL, NULL, NULL, '', NULL, 3800.000, NULL, 56190.000, '', '', 1, 0.000, 0.000, 0.000, 3800.000, 'Fixed Amount', 0.000, 6.500, 8060.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 2, 0, NULL, NULL), (19, 2, 11, 21, 0, 'Final', 15, '', 3.500, '1.00', 0.000, 61, 8060.000, NULL, NULL, NULL, '', NULL, 16.608, NULL, 33495.117, '', '', 1, 0.000, 0.000, 600.000, 16.610, 'Percentage', 0.000, 3.500, 8060.000, 'Total Amount', 600.000, 0.000, 0.000, 0.000, 0, 0, 0.000, NULL), (20, 2, 12, 0, 0, 'Final', 17, '', 2.420, '1', 0.000, 61, 8020.000, NULL, NULL, NULL, '', NULL, 15.000, NULL, 22399.660, '', '', 1, 0.000, 0.000, 80.000, 15.000, 'Percentage', 0.000, 2.420, 8020.000, 'Total Amount', 80.000, 0.000, 0.000, 0.000, 0, 8, 0.000, NULL), (21, 2, 13, 28, 0, 'Final', 20, '', 16.450, '1.00', 0.000, 61, 8065.000, NULL, NULL, NULL, '', NULL, 10.000, NULL, 146046.175, '', '', 1, 0.000, 0.000, 110.000, 10.000, 'Percentage', 0.000, 16.450, 8065.000, 'Total Amount', 110.000, 0.000, 0.000, 0.000, 0, 0, 0.000, NULL), (22, 2, 14, 29, 0, 'Final', 21, '', 11.000, '1.00', 0.000, 61, 8065.000, NULL, NULL, NULL, '', NULL, 10.000, NULL, 97766.500, '', '', 1, 0.000, 0.000, 180.000, 10.000, 'Percentage', 0.000, 11.000, 8065.000, 'Total Amount', 180.000, 0.000, 0.000, 0.000, 0, 0, 0.000, NULL), (23, 2, 15, 0, 0, 'Final', 23, '', 2.000, '1', 0.000, 61, 8065.000, NULL, NULL, NULL, '', NULL, 10.000, NULL, 17923.000, '', '', 1, 0.000, 0.000, 180.000, 10.000, 'Percentage', 0.000, 2.000, 8065.000, 'Total Amount', 180.000, 0.000, 0.000, 0.000, 0, 17, 0.000, NULL), (24, 2, 16, 35, 0, 'Final', 23, '', 2.000, '1.00', 0.000, 61, 8065.000, NULL, NULL, NULL, '', NULL, 10.000, NULL, 17923.000, '', '', 1, 0.000, 0.000, 180.000, 10.000, 'Percentage', 0.000, 2.000, 8065.000, 'Total Amount', 180.000, 0.000, 0.000, 0.000, 0, 0, 0.000, NULL), (25, 2, 17, 36, 0, 'Final', 22, '', 2.000, '1.00', 0.000, 61, 8065.000, NULL, NULL, NULL, '', NULL, 10.000, NULL, 17923.000, '', '', 1, 0.000, 0.000, 180.000, 10.000, 'Percentage', 0.000, 2.000, 8065.000, 'Total Amount', 180.000, 0.000, 0.000, 0.000, 0, 0, 0.000, NULL), (26, 2, 18, 37, 0, 'Final', 17, '', 2.740, '1.00', 0.000, 61, 8120.000, NULL, NULL, NULL, '', NULL, 10.000, NULL, 24593.680, '', '', 1, 0.000, 0.000, 120.000, 10.000, 'Percentage', 0.000, 2.740, 8120.000, 'Total Amount', 120.000, 0.000, 0.000, 0.000, 0, 0, 0.000, NULL), (27, 2, 19, 44, 0, 'Final', 28, '', 1.400, '1.00', 0.000, 61, 8260.000, NULL, NULL, NULL, '', NULL, 0.360, NULL, 14677.600, '', '', 1, 0.000, 0.000, 100.000, 0.360, 'Fixed', 0.000, 1.400, 8260.000, 'Gram', 140.000, 0.000, 0.000, 0.000, 8, 0, 0.000, NULL), (28, 2, 20, 42, 0, 'Final', 28, '', 1.250, '1.00', 0.000, 61, 8260.000, NULL, NULL, NULL, '', NULL, 0.350, NULL, 13341.000, '', '', 1, 0.000, 0.000, 100.000, 0.350, 'Fixed', 0.000, 1.250, 8260.000, 'Gram', 125.000, 0.000, 0.000, 0.000, 8, 0, 0.000, NULL), (29, 2, 21, 2, 0, 'Final', 1, '', 10.500, '1.00', 0.000, 61, 8215.000, NULL, NULL, NULL, '', NULL, 15.000, NULL, 99196.125, '', '', 1, 0.000, 0.000, 0.000, 15.000, 'Percentage', 0.000, 10.500, 8215.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 1, 0, 0.000, NULL), (30, 2, 22, 12, 0, 'Final', 14, '', 20.000, '1.00', 0.000, 61, 8300.000, NULL, NULL, NULL, '', NULL, 0.000, NULL, 175500.000, '', '', 1, 0.000, 0.000, 9500.000, 0.000, 'Fixed Amount', 0.000, 20.000, 8300.000, 'Total Amount', 9500.000, 0.000, 0.000, 0.000, 0, 0, 0.000, NULL), (31, 2, 23, 13, 0, 'Final', 14, '', 15.000, '1.00', 0.000, 61, 8300.000, NULL, NULL, NULL, '', NULL, 0.000, NULL, 134000.000, '', '', 1, 0.000, 0.000, 9500.000, 0.000, 'Fixed Amount', 0.000, 15.000, 8300.000, 'Total Amount', 9500.000, 0.000, 0.000, 0.000, 0, 0, 0.000, NULL), (32, 2, 24, 14, 0, 'Final', 14, '', 10.000, '1.00', 0.000, 61, 8300.000, NULL, NULL, NULL, '', NULL, 0.000, NULL, 94000.000, '', '', 1, 0.000, 0.000, 11000.000, 0.000, 'Fixed Amount', 0.000, 10.000, 8300.000, 'Total Amount', 11000.000, 0.000, 0.000, 0.000, 0, 0, 0.000, NULL), (33, 2, 25, 17, 0, 'Final', 9, '', 8.350, '1.00', 0.000, 61, 8300.000, NULL, NULL, NULL, '', NULL, 8.000, NULL, 74849.400, '', '', 1, 0.000, 0.000, 0.000, 8.000, 'Percentage', 0.000, 8.350, 8300.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 2, 0, 0.000, NULL), (34, 2, 26, 15, 0, 'Final', 14, '', 10.000, '1.00', 0.000, 61, 8300.000, NULL, NULL, NULL, '', NULL, 0.000, NULL, 94000.000, '', '', 1, 0.000, 0.000, 11000.000, 0.000, 'Fixed Amount', 0.000, 10.000, 8300.000, 'Total Amount', 11000.000, 0.000, 0.000, 0.000, 0, 0, 0.000, NULL), (35, 2, 27, 0, 0, 'Final', 32, '', 0.500, '1', 0.000, 61, 8185.000, NULL, NULL, NULL, '', NULL, 0.350, NULL, 4092.500, '', '', 1, 0.000, 0.000, 500.000, 0.350, 'Fixed', 0.000, 0.500, 8185.000, 'Total Amount', 500.000, 0.000, 0.000, 0.000, 0, 26, 0.000, NULL), (36, 2, 28, 50, 0, 'Final', 28, '', 4.300, '1.00', 0.000, 61, 8300.000, NULL, NULL, NULL, '', NULL, 0.950, NULL, 43975.000, '', '', 1, 0.000, 0.000, 400.000, 0.950, 'Fixed', 0.000, 4.300, 8300.000, 'Total Amount', 400.000, 0.000, 0.000, 0.000, 8, 0, 0.000, NULL), (37, 2, 29, 51, 0, 'Final', 33, '', 2.080, '1.00', 0.000, 61, 8300.000, NULL, NULL, NULL, '', NULL, 0.600, NULL, 22452.000, '', '', 1, 0.000, 0.000, 100.000, 0.600, 'Fixed', 0.000, 2.080, 8300.000, 'Gram', 208.000, 0.000, 0.000, 0.000, 11, 0, 0.000, NULL), (38, 2, 30, 0, 0, 'Final', 15, '', 15.000, '1', 0.000, 61, 8300.000, NULL, NULL, NULL, '', NULL, 0.000, NULL, 143175.000, '', '', 1, 0.000, 0.000, 0.000, 0.000, 'Fixed', 0.000, 15.000, 8300.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 0, 4, 0.000, NULL), (39, 2, 31, 54, 0, 'Final', 35, '', 0.300, '1.00', 0.000, 61, 8360.000, NULL, NULL, NULL, '', NULL, 25.000, NULL, 3195.000, '', '', 1, 0.000, 0.000, 200.000, 25.000, 'Percentage', 0.000, 0.300, 8360.000, 'Gram', 60.000, 0.000, 0.000, 0.000, 0, 0, 0.000, NULL), (40, 2, 32, 4, 0, 'Final', 9, '', 5.400, '1.00', 0.000, 61, 0.000, NULL, NULL, NULL, '', NULL, 8.000, NULL, NULL, '', '', 1, 0.000, 0.000, 0.000, 8.000, 'Percentage', 0.000, 5.400, 0.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 2, 0, 0.000, NULL), (41, 2, 33, 9, 0, 'Final', 12, '', 2.500, '1.00', 0.000, 61, 115.000, NULL, NULL, NULL, '', NULL, 0.000, NULL, 287.500, '', '', 1, 0.000, 0.000, 0.000, 0.000, 'Fixed', 0.000, 2.500, 115.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 4, 0, 0.000, NULL), (43, 2, 34, 56, 0, 'Final', 22, '', 0.700, '1.00', 0.000, 61, 8310.000, NULL, NULL, NULL, '', NULL, 20.000, NULL, 7102.900, '', '', 1, 0.000, 0.000, 175.000, 20.000, 'Percentage', 0.000, 0.700, 8310.000, 'Gram', 122.500, 0.000, 0.000, 0.000, 0, 0, 0.000, NULL), (44, 2, 35, 10, 0, 'Final', 12, '', 3.500, '1.00', 0.000, 61, 103.000, NULL, NULL, NULL, '', NULL, 0.000, NULL, 360.500, '', '', 1, 0.000, 0.000, 0.000, 0.000, 'Fixed', 0.000, 3.500, 103.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 4, 0, 0.000, NULL), (45, 2, 36, 22, 0, 'Final', 16, '', 3.120, '1.00', 0.000, 61, 8755.000, NULL, NULL, NULL, '', NULL, 0.000, NULL, 27315.600, '', '', 1, 0.000, 0.000, 0.000, 0.000, 'Fixed', 0.000, 3.120, 8755.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 0, 0, 0.000, NULL), (46, 2, 36, 23, 0, 'Final', 16, '', 12.000, '1.00', 0.000, 61, 8755.000, NULL, NULL, NULL, '', NULL, 0.000, NULL, 105060.000, '', '', 1, 0.000, 0.000, 0.000, 0.000, 'Fixed', 0.000, 12.000, 8755.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 0, 0, 0.000, NULL), (47, 2, 37, 25, 0, 'Final', 18, '', 1.170, '1.00', 0.000, 61, 8755.000, NULL, NULL, NULL, '', NULL, 10.000, NULL, 97793.350, '', '', 1, 0.000, 0.000, 0.000, 10.000, 'Fixed', 0.000, 1.170, 8755.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 0, 0, 0.000, NULL), (48, 2, 38, 0, 0, 'Final', 40, '', 2.000, '1', 0.000, 61, 9015.000, NULL, NULL, NULL, '', NULL, 20.000, NULL, 21886.000, '', '', 1, 0.000, 0.000, 250.000, 20.000, 'Percentage', 0.000, 2.000, 9015.000, 'Total Amount', 250.000, 0.000, 0.000, 0.000, 0, 33, 0.000, NULL), (49, 2, 39, 0, 0, 'Final', 40, '', 1.800, '1', 0.000, 61, 9015.000, NULL, NULL, NULL, '', NULL, 20.000, NULL, 19722.400, '', '', 1, 0.000, 0.000, 250.000, 20.000, 'Percentage', 0.000, 1.800, 9015.000, 'Total Amount', 250.000, 0.000, 0.000, 0.000, 0, 33, 0.000, NULL), (51, 2, 40, 16, 0, 'Final', 9, '', 4.500, '1.000', NULL, 61, 8940.000, NULL, NULL, NULL, '', NULL, 8.000, NULL, 43448.400, '', '', 1, 0.000, 0.000, 0.000, 8.000, 'Percentage', NULL, 4.500, 8940.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 2, 0, 0.000, NULL), (52, 2, 41, 0, 0, 'Final', 9, '', 5.500, '1', NULL, 61, 9015.000, NULL, NULL, NULL, '', NULL, 8.000, NULL, 53549.100, '', '', 1, 0.000, 0.000, 0.000, 8.000, 'Percentage', NULL, 5.500, 9015.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 0, 0, 0.000, 1), (53, 2, 42, 0, 0, 'Final', 9, '', 3.000, '1', NULL, 61, 9015.000, NULL, NULL, NULL, '', NULL, 8.000, NULL, 29208.600, '', '', 1, 0.000, 0.000, 0.000, 8.000, 'Percentage', NULL, 3.000, 9015.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 0, 0, 0.000, 2), (55, 2, 43, 18, 0, 'Final', 9, '', 9.100, '1.000', NULL, 61, 9015.000, NULL, NULL, NULL, '', NULL, 8.000, NULL, 88600.000, '', '', 1, 0.000, 0.000, 0.580, 8.000, 'Percentage', NULL, 9.100, 9015.000, 'Total Amount', 0.580, 0.000, 0.000, 0.000, 2, 0, 0.000, 0), (56, 2, 44, 61, 0, 'Final', 9, '', 5.000, '1.000', NULL, 61, 8880.000, NULL, NULL, NULL, '', NULL, 8.000, NULL, 44408.000, '', '', 1, 0.000, 0.000, 0.000, 8.000, '', NULL, 5.000, 8880.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 0, 0, 0.000, 0), (57, 2, 45, 38, 0, 'Final', 25, '', 10.570, '1.000', NULL, 61, 109.000, NULL, NULL, NULL, '', NULL, 10.000, NULL, 1647.343, '', '', 1, 0.000, 0.000, 380.000, 10.000, 'Percentage', NULL, 10.570, 109.000, 'Total Amount', 380.000, 0.000, 0.000, 0.000, 0, 0, 0.000, 0), (58, 2, 45, 45, 0, 'Final', 28, '', 1.300, '1.000', NULL, 61, 8880.000, NULL, NULL, NULL, '', NULL, 0.350, NULL, 14782.000, '', '', 1, 0.000, 0.000, 100.000, 0.350, 'Fixed', NULL, 1.300, 8880.000, 'Gram', 130.000, 0.000, 0.000, 0.000, 8, 0, 0.000, 0), (59, 2, 46, 20, 0, 'Final', 15, '', 3.120, '1.000', NULL, 61, 8940.000, NULL, NULL, NULL, '', NULL, 18.000, NULL, 33413.504, '', '', 1, 0.000, 0.000, 500.000, 18.000, 'Percentage', NULL, 3.120, 8940.000, 'Total Amount', 500.000, 0.000, 0.000, 0.000, 0, 0, 0.000, 0), (61, 2, 47, 30, 0, 'Final', 13, '', 5.560, '1.000', NULL, 61, 111.000, NULL, NULL, NULL, '', NULL, 0.000, NULL, 617.160, '', '', 1, 0.000, 0.000, 0.000, 0.000, 'Fixed', NULL, 5.560, 111.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 0, 0, 0.000, 0), (63, 2, 48, 26, 0, 'Final', 19, '', 8.000, '1.000', NULL, 61, 0.000, NULL, NULL, NULL, '', NULL, 10.000, NULL, NULL, '', '', 1, 0.000, 0.000, 180.000, 10.000, 'Percentage', NULL, 8.000, 0.000, 'Total Amount', 180.000, 0.000, 0.000, 0.000, 0, 0, 0.000, 0), (64, 2, 49, 31, 0, 'Final', 9, '', 2.500, '1.000', NULL, 61, 9440.000, NULL, NULL, NULL, '', NULL, 8.000, NULL, 25488.000, '', '', 1, 0.000, 0.000, 0.000, 8.000, 'Percentage', NULL, 2.500, 9440.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 2, 0, 0.000, 0), (66, 2, 50, 27, 0, 'Final', 19, '', 8.000, '1.000', NULL, 61, 9440.000, NULL, NULL, NULL, '', NULL, 10.000, NULL, 83252.000, '', '', 1, 0.000, 0.000, 180.000, 10.000, 'Percentage', NULL, 8.000, 9440.000, 'Total Amount', 180.000, 0.000, 0.000, 0.000, 0, 0, 0.000, 0), (70, 2, 51, 32, 0, 'Final', 22, '', 0.250, '1.000', NULL, 61, 8950.000, NULL, NULL, NULL, '', NULL, 20.000, NULL, 2710.000, '', '', 1, 0.000, 0.000, 100.000, 20.000, 'Percentage', NULL, 0.250, 8950.000, 'Gram', 25.000, 0.000, 0.000, 0.000, 0, 0, 0.000, 0), (72, 2, 52, 0, 0, 'Final', 28, '', 2.500, '1', NULL, 61, 8950.000, NULL, NULL, NULL, '', NULL, 0.000, NULL, 22375.000, '', '', 1, 0.000, 0.000, 0.000, 0.000, 'Percentage', NULL, 2.500, 8950.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 8, 0, 0.000, 0), (73, 2, 53, 34, 0, 'Final', 22, '', 1.600, '1.000', NULL, 61, 8950.000, NULL, NULL, NULL, '', NULL, 10.000, NULL, 16632.000, '', '', 1, 0.000, 0.000, 180.000, 10.000, 'Percentage', NULL, 1.600, 8950.000, 'Total Amount', 180.000, 700.000, 0.000, 0.000, 0, 0, 0.000, 0), (74, 2, 54, 24, 0, 'Final', 17, '', 0.000, '1.000', NULL, 61, 8995.000, NULL, NULL, NULL, '', NULL, 15.000, NULL, NULL, '', '', 1, 0.000, 0.000, 0.000, 15.000, 'Percentage', NULL, 0.000, 8995.000, 'Total Amount', 0.000, 0.000, 0.000, 0.000, 0, 0, 0.000, 0), (75, 2, 55, 39, 0, 'Final', 9, '', 1.500, '1.000', NULL, 61, 8995.000, NULL, NULL, NULL, '', NULL, 19.000, NULL, 16206.075, '', '', 1, 0.000, 0.000, 100.000, 19.000, 'Percentage', NULL, 1.500, 8995.000, 'Gram', 150.000, 0.000, 0.000, 0.000, 2, 0, 0.000, 0), (76, 2, 56, 73, 0, 'Final', 49, '', 1.970, '1.000', NULL, 61, 8920.000, NULL, NULL, NULL, '', NULL, 10.000, NULL, 19529.640, '', '', 1, 0.000, 0.000, 200.000, 10.000, 'Percentage', NULL, 1.970, 8920.000, 'Total Amount', 200.000, 0.000, 0.000, 0.000, 15, 0, 0.000, 0), (77, 2, 57, 41, 0, 'Final', 26, '', 0.250, '1.000', NULL, 61, 111.000, NULL, NULL, NULL, '', NULL, 15.000, NULL, 531.913, '', '', 1, 0.000, 0.000, 500.000, 15.000, 'Percentage', NULL, 0.250, 111.000, 'Total Amount', 500.000, 0.000, 0.000, 0.000, 0, 0, 0.000, 0); -- -------------------------------------------------------- -- -- Table structure for table `db_salesitemsreturn` -- CREATE TABLE `db_salesitemsreturn` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `sales_id` int(11) DEFAULT NULL, `return_id` int(11) DEFAULT NULL, `salesitem_id` int(11) NOT NULL, `return_status` varchar(50) DEFAULT NULL, `item_id` int(11) DEFAULT NULL, `return_qty` double(20,3) DEFAULT NULL, `price_per_unit` double(20,3) DEFAULT NULL, `tax_type` varchar(50) DEFAULT NULL, `tax_id` int(11) DEFAULT NULL, `tax_amt` double(20,3) DEFAULT NULL, `st_cost` decimal(20,3) NOT NULL, `gross_weight` decimal(20,3) NOT NULL, `unit_id` decimal(20,3) NOT NULL, `total_gold_rate` decimal(20,3) NOT NULL, `item_huid_id` decimal(20,3) NOT NULL, `discount_input` double(20,3) DEFAULT NULL, `discount_amt` double(20,3) DEFAULT NULL, `discount_type` varchar(50) DEFAULT NULL, `unit_total_cost` double(20,3) DEFAULT NULL, `total_cost` double(20,3) DEFAULT NULL, `wastage` decimal(20,3) NOT NULL, `wastage_type` text NOT NULL, `status` int(11) DEFAULT NULL, `description` text DEFAULT NULL, `purchase_price` double(20,3) DEFAULT 0.000, `return_piece` decimal(20,3) DEFAULT NULL, `item_st_cost` decimal(20,3) NOT NULL, `item_size` decimal(20,3) NOT NULL, `item_st_wt` decimal(20,3) NOT NULL, `mc_value` decimal(20,3) NOT NULL, `mc_type` varchar(50) NOT NULL, `tag_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_salesitemsreturn` -- INSERT INTO `db_salesitemsreturn` (`id`, `store_id`, `sales_id`, `return_id`, `salesitem_id`, `return_status`, `item_id`, `return_qty`, `price_per_unit`, `tax_type`, `tax_id`, `tax_amt`, `st_cost`, `gross_weight`, `unit_id`, `total_gold_rate`, `item_huid_id`, `discount_input`, `discount_amt`, `discount_type`, `unit_total_cost`, `total_cost`, `wastage`, `wastage_type`, `status`, `description`, `purchase_price`, `return_piece`, `item_st_cost`, `item_size`, `item_st_wt`, `mc_value`, `mc_type`, `tag_id`) VALUES (1, 2, 3, 1, 3, 'Return', 10, 0.000, 2500.000, NULL, NULL, NULL, 0.000, 0.000, 62.000, 2500.000, 0.000, NULL, 0.000, '', NULL, 2500.000, 0.000, 'Fixed', 1, '', 0.000, 1.000, 0.000, 0.000, 0.000, 0.000, 'Total Amount', 0), (2, 2, 4, 2, 4, 'Return', 10, 0.000, 3600.000, NULL, NULL, NULL, 0.000, 0.000, 62.000, 3600.000, 0.000, NULL, 0.000, '', NULL, 7200.000, 0.000, 'Fixed', 1, '', 0.000, 2.000, 0.000, 0.000, 0.000, 0.000, 'Total Amount', 0), (3, 2, 12, 3, 20, 'Return', 17, 2.420, 8020.000, NULL, NULL, NULL, 80.000, 2.420, 61.000, 8020.000, 0.000, NULL, 15.000, '', NULL, 22399.660, 15.000, 'Percentage', 1, '', 0.000, 1.000, 0.000, 0.000, 0.000, 80.000, 'Total Amount', 0), (4, 2, 34, 4, 43, 'Return', 22, 0.700, 8310.000, NULL, NULL, NULL, 122.500, 0.700, 61.000, 8310.000, 0.000, NULL, 20.000, '', NULL, 7102.900, 20.000, 'Percentage', 1, '', 0.000, 1.000, 0.000, 0.000, 0.000, 122.500, 'Gram', 56), (7, 2, 57, 5, 77, 'Return', 26, 0.250, 111.000, NULL, NULL, NULL, 500.000, 0.250, 61.000, 111.000, 0.000, NULL, 15.000, '', NULL, 531.913, 15.000, 'Percentage', 1, '', 0.000, 1.000, 0.000, 0.000, 0.000, 500.000, 'Total Amount', 41); -- -------------------------------------------------------- -- -- Table structure for table `db_salespayments` -- CREATE TABLE `db_salespayments` ( `id` int(11) NOT NULL, `count_id` int(11) DEFAULT NULL, `payment_code` varchar(50) DEFAULT NULL, `store_id` int(11) DEFAULT NULL, `sales_id` int(11) DEFAULT NULL, `payment_date` date DEFAULT NULL, `payment_type` varchar(50) DEFAULT NULL, `payment` double(20,3) DEFAULT NULL, `payment_note` text DEFAULT NULL, `change_return` double(20,3) DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `status` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `customer_id` int(11) DEFAULT NULL, `short_code` varchar(50) DEFAULT NULL, `advance_adjusted` double(20,3) DEFAULT NULL, `advance_chit` decimal(20,3) NOT NULL, `return_amount` decimal(20,3) NOT NULL, `cheque_number` varchar(100) DEFAULT NULL, `cheque_period` int(11) DEFAULT NULL, `cheque_status` varchar(100) DEFAULT NULL, `advance_id` text DEFAULT NULL, `customerscheme_id` text DEFAULT NULL, `invoice_status` int(11) NOT NULL, `sales_return_id` varchar(100) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_salespayments` -- INSERT INTO `db_salespayments` (`id`, `count_id`, `payment_code`, `store_id`, `sales_id`, `payment_date`, `payment_type`, `payment`, `payment_note`, `change_return`, `system_ip`, `system_name`, `created_time`, `created_date`, `created_by`, `status`, `account_id`, `customer_id`, `short_code`, `advance_adjusted`, `advance_chit`, `return_amount`, `cheque_number`, `cheque_period`, `cheque_status`, `advance_id`, `customerscheme_id`, `invoice_status`, `sales_return_id`) VALUES (2, 2, 'SP/2024/02/0002', 2, 2, '2025-02-27', 'CASH', 20000.000, '', NULL, '49.206.112.64', '49.206.112.64.actcorp.in', '03:30:42 pm', '2025-02-27', 'RK creators', 1, NULL, 2, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (3, 3, 'SP/2024/02/0003', 2, 2, '2025-02-27', 'GPAY - 47749', 10000.000, '', NULL, '49.206.112.64', '49.206.112.64.actcorp.in', '03:30:42 pm', '2025-02-27', 'RK creators', 1, NULL, 2, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (4, 4, 'SP/2024/02/0004', 2, 1, '2025-02-26', 'CASH', 20000.000, '', NULL, '122.174.120.168', 'abts-tn-dynamic-168.120.174.122.airtelbroadband.in', '07:12:46 pm', '2025-03-04', 'RK creators', 1, NULL, 1, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (5, 5, 'SP/2024/02/0005', 2, 1, '2025-02-26', 'GPAY - 47749', 508.000, '', NULL, '122.174.120.168', 'abts-tn-dynamic-168.120.174.122.airtelbroadband.in', '07:12:46 pm', '2025-03-04', 'RK creators', 1, NULL, 1, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (7, 6, 'SP/2024/02/0006', 2, 1, '2025-02-26', 'BANK', 21000.000, '', NULL, '122.174.120.168', 'abts-tn-dynamic-168.120.174.122.airtelbroadband.in', '07:13:45 pm', '2025-03-04', 'RK creators', 1, NULL, 1, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (8, 7, 'SP/2024/02/0007', 2, 3, '2025-03-07', 'CASH', 2575.000, '', NULL, '182.65.62.140', 'abts-tn-dynamic-140.62.65.182-airtelbroadband.in', '04:22:21 pm', '2025-03-07', 'RK creators', 1, NULL, 1, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (9, 8, 'SP/2024/02/0008', 2, 4, '2025-03-07', 'CASH', 18540.000, '', NULL, '182.65.62.140', 'abts-tn-dynamic-140.62.65.182-airtelbroadband.in', '04:25:47 pm', '2025-03-07', 'RK creators', 1, NULL, 3, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (10, 9, 'SP/2024/02/0009', 2, 6, '2025-03-10', 'CASH', 450.000, '', NULL, '103.237.57.160', '103.237.57.160', '05:54:09 pm', '2025-03-10', 'rkteams', 1, NULL, 4, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (11, 10, 'SP/2024/02/0010', 2, 6, '2025-03-10', 'GPAY - 47749', 200.000, '', NULL, '103.237.57.160', '103.237.57.160', '05:54:09 pm', '2025-03-10', 'rkteams', 1, NULL, 4, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (12, 11, 'SP/2024/02/0011', 2, 7, '2025-03-10', 'CASH', 49000.000, '', NULL, '103.237.57.160', '103.237.57.160', '06:10:31 pm', '2025-03-10', 'rkteams', 1, NULL, 4, NULL, 5000.000, 0.000, 0.000, '', 0, 'Pending', '1', '', 0, ''), (13, 12, 'SP/2024/02/0012', 2, 8, '2025-03-11', 'CASH', 158250.000, '', NULL, '223.237.182.55', '223.237.182.55', '10:55:17 am', '2025-03-11', 'rkteams', 1, NULL, 3, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (14, 13, 'SP/2024/02/0013', 2, 5, '2025-03-11', 'CASH', 30000.000, '', NULL, '223.237.182.55', '223.237.182.55', '11:14:50 am', '2025-03-11', 'rkteams', 1, NULL, 1, NULL, NULL, 0.000, 0.000, NULL, NULL, NULL, '', NULL, 1, ''), (15, 14, 'SP/2024/02/0014', 2, 5, '2025-03-11', 'CASH', 8410.000, '', NULL, '223.237.182.55', '223.237.182.55', '11:15:04 am', '2025-03-11', 'rkteams', 1, NULL, 1, NULL, NULL, 0.000, 0.000, NULL, NULL, NULL, '', NULL, 1, ''), (16, 15, 'SP/2024/02/0015', 2, 9, '2025-03-11', 'CASH', 400.000, '', NULL, '223.237.182.55', '223.237.182.55', '11:17:00 am', '2025-03-11', 'rkteams', 1, NULL, 1, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (17, 16, 'SP/2024/02/0016', 2, 10, '2025-03-11', 'CASH', 56000.000, '', NULL, '223.237.182.55', '223.237.182.55', '11:27:14 am', '2025-03-11', 'rkteams', 1, NULL, 1, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (20, 17, 'SP/2024/02/0017', 2, 11, '2025-03-11', 'CASH', 30000.000, '', NULL, '103.148.33.236', '103.148.33.236', '03:00:10 pm', '2025-03-11', 'rkteams', 1, NULL, 5, NULL, 15000.000, 0.000, 0.000, '', 0, 'Pending', '2', '', 0, ''), (21, 18, 'SP/2024/02/0018', 2, 11, '2025-03-11', 'CASH', 2500.000, '', NULL, '103.148.33.236', '103.148.33.236', '03:01:04 pm', '2025-03-11', 'rkteams', 1, NULL, 5, NULL, NULL, 0.000, 0.000, NULL, NULL, NULL, '', NULL, 1, ''), (22, 19, 'SP/2024/02/0019', 2, 11, '2025-03-11', 'GPAY', 2000.000, '', NULL, '103.148.33.236', '103.148.33.236', '03:01:20 pm', '2025-03-11', 'rkteams', 1, NULL, 5, NULL, NULL, 0.000, 0.000, NULL, NULL, NULL, '', NULL, 1, ''), (23, 20, 'SP/2024/02/0020', 2, 12, '2025-03-11', 'CASH', 2750.000, '', NULL, '103.148.33.236', '103.148.33.236', '06:57:50 pm', '2025-03-11', 'rkteams', 1, NULL, 6, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (25, 21, 'SP/2024/02/0021', 2, 12, '2025-03-11', 'CASH', 2250.000, '', NULL, '103.148.33.236', '103.148.33.236', '07:07:43 pm', '2025-03-11', 'rkteams', 1, NULL, 6, NULL, NULL, 0.000, 0.000, NULL, NULL, NULL, '', NULL, 1, ''), (26, 22, 'SP/2024/02/0022', 2, 13, '2025-03-12', 'CASH', 35000.000, '', NULL, '103.148.33.236', '103.148.33.236', '01:02:57 pm', '2025-03-12', 'rkteams', 1, NULL, 5, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '3', '', 0, ''), (27, 23, 'SP/2024/02/0023', 2, 13, '2025-03-12', 'GPAY', 5000.000, '', NULL, '103.148.33.236', '103.148.33.236', '01:02:57 pm', '2025-03-12', 'rkteams', 1, NULL, 5, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '3', '', 0, ''), (28, 24, 'SP/2024/02/0024', 2, 13, '2025-03-12', 'GPAY', 7196.000, '', NULL, '103.148.33.236', '103.148.33.236', '01:06:57 pm', '2025-03-12', 'rkteams', 1, NULL, 5, NULL, NULL, 0.000, 0.000, NULL, NULL, NULL, '', NULL, 1, ''), (29, 25, 'SP/2024/02/0025', 2, 14, '2025-03-12', 'CASH', 100699.000, '', NULL, '103.148.33.236', '103.148.33.236', '03:37:19 pm', '2025-03-12', 'rkteams', 1, NULL, 5, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '3', '', 0, ''), (30, 26, 'SP/2024/02/0026', 2, 15, '2025-03-12', 'CASH', 17923.000, '', NULL, '103.148.33.236', '103.148.33.236', '06:20:59 pm', '2025-03-12', 'rkteams', 1, NULL, 5, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '3', '', 0, ''), (31, 27, 'SP/2024/02/0027', 2, 16, '2025-03-12', 'CASH', 538.000, '', NULL, '103.148.33.236', '103.148.33.236', '06:24:41 pm', '2025-03-12', 'rkteams', 1, NULL, 5, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '3', '', 0, ''), (32, 28, 'SP/2024/02/0028', 2, 17, '2025-03-12', 'CASH', 18461.000, '', NULL, '103.148.33.236', '103.148.33.236', '06:30:17 pm', '2025-03-12', 'rkteams', 1, NULL, 6, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (33, 29, 'SP/2024/02/0029', 2, 18, '2025-03-13', 'CASH', 2000.000, '', NULL, '103.148.33.236', '103.148.33.236', '06:47:06 pm', '2025-03-13', 'rkteams', 1, NULL, 8, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (35, 30, 'SP/2024/02/0030', 2, 19, '2025-03-18', 'CASH', 5000.000, '', NULL, '223.237.183.245', '223.237.183.245', '02:45:13 pm', '2025-03-18', 'rkteams', 1, NULL, 9, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (36, 31, 'SP/2024/02/0031', 2, 19, '2025-03-18', 'GPAY', 5500.000, '', NULL, '223.237.183.245', '223.237.183.245', '02:45:13 pm', '2025-03-18', 'rkteams', 1, NULL, 9, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (37, 32, 'SP/2024/02/0032', 2, 20, '2025-03-18', 'CASH', 13741.000, '', NULL, '223.237.185.81', '223.237.185.81', '02:54:37 pm', '2025-03-18', 'rkteams', 1, NULL, 9, NULL, 10000.000, 0.000, 0.000, '', 0, 'Pending', '4', '', 0, ''), (38, 33, 'SP/2024/02/0033', 2, 21, '2025-03-24', 'CASH', 102100.000, '', NULL, '122.179.242.134', '122.179.242.134', '12:22:07 pm', '2025-03-24', 'rkteams', 1, NULL, 1, NULL, 10000.000, 0.000, 0.000, '', 0, 'Pending', '5', '', 0, ''), (39, 34, 'SP/2024/02/0034', 2, 23, '2025-03-24', 'CASH', 100000.000, '', NULL, '36.255.17.196', 'ws196-17.255.36.rcil.gov.in', '04:01:59 pm', '2025-03-24', 'rkteams', 1, NULL, 1, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (40, 35, 'SP/2024/02/0035', 2, 23, '2025-03-24', 'GPAY', 36990.000, '', NULL, '36.255.17.196', 'ws196-17.255.36.rcil.gov.in', '04:01:59 pm', '2025-03-24', 'rkteams', 1, NULL, 1, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (45, 36, 'SP/2024/02/0036', 2, 24, '2025-03-24', 'CASH', 95000.000, '', NULL, '36.255.17.196', 'ws196-17.255.36.rcil.gov.in', '04:36:05 pm', '2025-03-24', 'rkteams', 1, NULL, 1, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (46, 37, 'SP/2024/02/0037', 2, 24, '2025-03-24', 'GPAY', 790.000, '', NULL, '36.255.17.196', 'ws196-17.255.36.rcil.gov.in', '04:36:05 pm', '2025-03-24', 'rkteams', 1, NULL, 1, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (47, 38, 'SP/2024/02/0038', 2, 9, '2025-03-24', 'CASH', 140.000, '', NULL, '122.179.242.134', '122.179.242.134', '06:38:56 pm', '2025-03-24', 'rkteams', 1, NULL, 1, NULL, NULL, 0.000, 0.000, NULL, NULL, NULL, '', NULL, 1, ''), (48, 39, 'SP/2024/02/0039', 2, 15, '2025-03-24', 'GPAY', 538.000, '', NULL, '122.179.242.134', '122.179.242.134', '06:40:24 pm', '2025-03-24', 'rkteams', 1, NULL, 5, NULL, NULL, 0.000, 0.000, NULL, NULL, NULL, '', NULL, 1, ''), (49, 40, 'SP/2024/02/0040', 2, 25, '2025-03-24', 'CASH', 77095.000, '', NULL, '122.179.242.134', '122.179.242.134', '07:01:52 pm', '2025-03-24', 'rkteams', 1, NULL, 2, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (52, 41, 'SP/2024/02/0041', 2, 29, '2025-03-27', 'CASH', 10000.000, '', NULL, '220.158.156.181', '220.158.156.181', '12:58:49 pm', '2025-03-27', 'rkteams', 1, NULL, 12, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (53, 42, 'SP/2024/02/0042', 2, 29, '2025-03-27', 'GPAY', 10000.000, '', NULL, '220.158.156.181', '220.158.156.181', '12:58:49 pm', '2025-03-27', 'rkteams', 1, NULL, 12, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (54, 43, 'SP/2024/02/0043', 2, 29, '2025-03-27', 'CASH', 3000.000, '', NULL, '220.158.156.181', '220.158.156.181', '01:00:12 pm', '2025-03-27', 'rkteams', 1, NULL, 12, NULL, NULL, 0.000, 0.000, NULL, NULL, NULL, '', NULL, 1, ''), (55, 44, 'SP/2024/02/0044', 2, 30, '2025-03-27', 'CASH', 100000.000, '', NULL, '220.158.156.181', '220.158.156.181', '01:14:52 pm', '2025-03-27', 'rkteams', 1, NULL, 12, NULL, 100000.000, 0.000, 0.000, '', 0, 'Pending', '6', '', 0, ''), (56, 45, 'SP/2526/0045', 2, 31, '2025-03-29', 'CASH', 1000.000, '', NULL, '122.173.103.164', 'abts-north-dynamic-164.103.173.122.airtelbroadband', '05:25:49 pm', '2025-03-29', 'rkteams', 1, NULL, 13, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (57, 46, 'SP/2526/0046', 2, 31, '2025-03-29', 'GPAY', 1000.000, '', NULL, '122.173.103.164', 'abts-north-dynamic-164.103.173.122.airtelbroadband', '05:25:49 pm', '2025-03-29', 'rkteams', 1, NULL, 13, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (58, 47, 'SP/2526/0047', 2, 34, '2025-04-05', 'CASH', 5000.000, '', NULL, '106.195.44.236', '106.195.44.236', '06:33:23 pm', '2025-04-05', 'rkteams', 1, NULL, 13, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (59, 48, 'SP/2526/0048', 2, 34, '2025-04-05', 'CASH', 2316.000, '', NULL, '106.195.44.236', '106.195.44.236', '06:35:51 pm', '2025-04-05', 'rkteams', 1, NULL, 13, NULL, NULL, 0.000, 0.000, NULL, NULL, NULL, '', NULL, 1, ''), (60, 49, 'SP/2526/0049', 2, 35, '2025-04-05', 'CASH', 184.000, '', NULL, '106.195.44.236', '106.195.44.236', '06:35:51 pm', '2025-04-05', 'rkteams', 1, NULL, 13, NULL, NULL, 0.000, 0.000, NULL, NULL, NULL, '', NULL, 1, ''), (61, 50, 'SP/2526/0050', 2, 36, '2025-04-14', 'CASH', 13647.000, '', NULL, '223.237.180.152', '223.237.180.152', '02:02:59 pm', '2025-04-14', 'rkteams', 1, NULL, 1, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '5,6,7,9,10', 0, ''), (62, 51, 'SP/2526/0051', 2, 37, '2025-04-14', 'CASH', 30710.000, '', NULL, '223.237.180.152', '223.237.180.152', '02:07:22 pm', '2025-04-14', 'rkteams', 1, NULL, 1, NULL, 0.000, 0.000, 30710.000, '', 0, 'Pending', '', '5,6,7,9,10', 0, ''), (63, 52, 'SP/2526/0052', 2, 37, '2025-04-14', 'CASH', 70017.000, '', NULL, '223.237.180.152', '223.237.180.152', '02:09:12 pm', '2025-04-14', 'rkteams', 1, NULL, 1, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '5,6,7,9,10', 0, ''), (64, 53, 'SP/2526/0053', 2, 38, '2025-04-21', 'CASH', 10000.000, '', NULL, '223.237.177.115', '223.237.177.115', '01:00:25 pm', '2025-04-21', 'rkteams', 1, NULL, 15, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (65, 54, 'SP/2526/0054', 2, 38, '2025-04-21', 'GPAY', 4250.000, '', NULL, '223.237.177.115', '223.237.177.115', '01:00:25 pm', '2025-04-21', 'rkteams', 1, NULL, 15, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (66, 55, 'SP/2526/0055', 2, 39, '2025-04-21', 'CASH', 19600.000, '', NULL, '223.237.177.115', '223.237.177.115', '01:08:13 pm', '2025-04-21', 'rkteams', 1, NULL, 15, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (68, 56, 'SP/2526/0056', 2, 40, '2025-04-28', 'CASH', 23038.350, '', NULL, '106.205.76.156', '106.205.76.156', '06:42:19 pm', '2025-04-28', 'rkteams', 1, NULL, 2, NULL, 0.000, 13038.350, 0.000, '', 0, 'Pending', '', '17', 0, ''), (69, 57, 'SP/2526/0057', 2, 40, '2025-04-28', 'GPAY', 10000.000, '', NULL, '106.205.76.156', '106.205.76.156', '06:42:19 pm', '2025-04-28', 'rkteams', 1, NULL, 2, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '17', 0, ''), (70, 58, 'SP/2526/0058', 2, 40, '2025-04-28', 'BANK', 1848.650, '', NULL, '106.205.76.156', '106.205.76.156', '06:42:19 pm', '2025-04-28', 'rkteams', 1, NULL, 2, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '17', 0, ''), (71, 59, 'SP/2526/0059', 2, 45, '2025-05-12', 'CASH', 10000.000, '', NULL, '122.178.105.217', 'abts-tn-dynamic-217.105.178.122.airtelbroadband.in', '04:22:00 pm', '2025-05-19', 'rkteams', 1, NULL, 20, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (72, 60, 'SP/2526/0060', 2, 45, '2025-05-12', 'GPAY', 6000.000, '', NULL, '122.178.105.217', 'abts-tn-dynamic-217.105.178.122.airtelbroadband.in', '04:22:00 pm', '2025-05-19', 'rkteams', 1, NULL, 20, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (73, 61, 'SP/2526/0061', 2, 45, '2025-05-12', 'BANK', 500.000, '', NULL, '122.178.105.217', 'abts-tn-dynamic-217.105.178.122.airtelbroadband.in', '04:22:00 pm', '2025-05-19', 'rkteams', 1, NULL, 20, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '', 0, ''), (74, 62, 'SP/2526/0062', 2, 46, '2025-05-23', 'CASH', 34355.241, '', NULL, '122.173.244.6', 'abts-north-dynamic-006.244.173.122.airtelbroadband', '04:07:19 pm', '2025-05-23', 'rkteams', 1, NULL, 1, NULL, 0.000, 12436.241, 0.000, '', 0, 'Pending', '', '10,29', 0, ''), (75, 63, 'SP/2526/0063', 2, 46, '2025-05-23', 'GPAY', 0.759, '', NULL, '122.173.244.6', 'abts-north-dynamic-006.244.173.122.airtelbroadband', '04:07:19 pm', '2025-05-23', 'rkteams', 1, NULL, 1, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '', '10,29', 0, ''), (76, 64, 'SP/2526/0064', 2, 27, '2025-05-23', 'CASH', 60.000, '', NULL, '122.173.244.6', 'abts-north-dynamic-006.244.173.122.airtelbroadband', '04:09:37 pm', '2025-05-23', 'rkteams', 1, NULL, 1, NULL, NULL, 0.000, 0.000, NULL, NULL, NULL, '', NULL, 1, ''), (77, 65, 'SP/2526/0065', 2, 46, '2025-05-23', 'CASH', 60.000, '', NULL, '122.173.244.6', 'abts-north-dynamic-006.244.173.122.airtelbroadband', '04:09:57 pm', '2025-05-23', 'rkteams', 1, NULL, 1, NULL, NULL, 0.000, 0.000, NULL, NULL, NULL, '', NULL, 1, ''), (78, 66, 'SP/2526/0066', 2, 51, '2025-05-26', 'CASH', 2791.000, '', NULL, '182.69.217.179', 'abts-north-dynamic-179.217.69.182.airtelbroadband.', '01:22:39 pm', '2025-05-26', 'rkteams', 1, NULL, 1, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '0', '0', 0, '0'), (79, 67, 'SP/2526/0067', 2, 52, '2025-05-26', 'CASH', 23046.000, '', NULL, '182.69.217.179', 'abts-north-dynamic-179.217.69.182.airtelbroadband.', '01:54:54 pm', '2025-05-26', 'rkteams', 1, NULL, 3, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', NULL, NULL, 0, NULL), (80, 68, 'SP/2526/0068', 2, 53, '2025-05-26', 'CASH', 17131.000, '', NULL, '182.69.217.179', 'abts-north-dynamic-179.217.69.182.airtelbroadband.', '02:51:18 pm', '2025-05-26', 'rkteams', 1, NULL, 2, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '0', '0', 0, '0'), (81, 69, 'SP/2526/0069', 2, 55, '2025-05-28', 'CASH', 16692.000, '', NULL, '117.98.181.199', '117.98.181.199', '05:02:35 pm', '2025-05-28', 'rkteams', 1, NULL, 24, NULL, 0.000, 2399.866, 0.000, '', 0, 'Pending', '0', '0', 0, '0'), (82, 70, 'SP/2526/0070', 2, 56, '2025-05-31', 'CASH', 1000.000, '', NULL, '103.160.240.171', '103.160.240.171', '06:28:36 pm', '2025-05-31', 'rkteams', 1, NULL, 26, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '0', '0', 0, '0'), (83, 71, 'SP/2526/0071', 2, 56, '2025-05-31', 'GPAY', 1900.000, '', NULL, '103.160.240.171', '103.160.240.171', '06:28:36 pm', '2025-05-31', 'rkteams', 1, NULL, 26, NULL, 0.000, 0.000, 0.000, '', 0, 'Pending', '0', '0', 0, '0'); -- -------------------------------------------------------- -- -- Table structure for table `db_salespaymentsreturn` -- CREATE TABLE `db_salespaymentsreturn` ( `id` int(11) NOT NULL, `count_id` int(11) DEFAULT NULL, `payment_code` varchar(50) DEFAULT NULL, `store_id` int(11) DEFAULT NULL, `sales_id` int(11) DEFAULT NULL, `return_id` int(11) DEFAULT NULL, `payment_date` date DEFAULT NULL, `payment_type` varchar(50) DEFAULT NULL, `payment` double(20,3) DEFAULT NULL, `payment_note` text DEFAULT NULL, `change_return` double(20,3) DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `created_time` time DEFAULT NULL, `created_date` date DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `status` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `customer_id` int(11) DEFAULT NULL, `short_code` varchar(50) DEFAULT NULL, `payment_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_salesreturn` -- CREATE TABLE `db_salesreturn` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `init_code` varchar(50) NOT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create Sales Return Code', `sales_id` int(11) DEFAULT NULL, `warehouse_id` int(11) DEFAULT NULL, `return_code` varchar(50) DEFAULT NULL, `reference_no` varchar(50) DEFAULT NULL, `return_date` date DEFAULT NULL, `return_status` varchar(50) DEFAULT NULL, `customer_id` int(11) DEFAULT NULL, `other_charges_input` double(20,3) DEFAULT NULL, `other_charges_tax_id` int(11) DEFAULT NULL, `other_charges_amt` double(20,3) DEFAULT NULL, `discount_to_all_input` double(20,3) DEFAULT NULL, `discount_to_all_type` varchar(50) DEFAULT NULL, `tot_discount_to_all_amt` double(20,3) DEFAULT NULL, `subtotal` double(20,3) DEFAULT NULL, `round_off` double(20,3) DEFAULT NULL, `grand_total` double(20,3) DEFAULT NULL, `return_note` text DEFAULT NULL, `tax_value` int(11) NOT NULL, `payment_status` varchar(50) DEFAULT NULL, `paid_amount` double(20,3) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `system_ip` varchar(100) DEFAULT NULL, `system_name` varchar(100) DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `pos` int(11) DEFAULT NULL COMMENT '1=yes 0=no', `status` int(11) DEFAULT NULL, `return_bit` int(11) DEFAULT NULL COMMENT 'Return raised or not 1 or null', `coupon_id` int(11) DEFAULT NULL, `coupon_amt` double(20,3) DEFAULT 0.000, `silver_rate` decimal(20,3) NOT NULL, `gold_rate` decimal(20,3) NOT NULL, `item_st_cost` decimal(20,3) NOT NULL, `item_st_wt` decimal(20,3) NOT NULL, `item_size` decimal(20,3) NOT NULL, `mc_value` decimal(20,3) NOT NULL, `mc_type` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_salesreturn` -- INSERT INTO `db_salesreturn` (`id`, `store_id`, `init_code`, `count_id`, `sales_id`, `warehouse_id`, `return_code`, `reference_no`, `return_date`, `return_status`, `customer_id`, `other_charges_input`, `other_charges_tax_id`, `other_charges_amt`, `discount_to_all_input`, `discount_to_all_type`, `tot_discount_to_all_amt`, `subtotal`, `round_off`, `grand_total`, `return_note`, `tax_value`, `payment_status`, `paid_amount`, `created_date`, `created_time`, `created_by`, `system_ip`, `system_name`, `company_id`, `pos`, `status`, `return_bit`, `coupon_id`, `coupon_amt`, `silver_rate`, `gold_rate`, `item_st_cost`, `item_st_wt`, `item_size`, `mc_value`, `mc_type`) VALUES (1, 2, 'SRX/2024/02/', 1, 3, 2, 'SRX/2024/02/1', '', '2025-03-07', 'Return', 1, NULL, 1, NULL, NULL, 'in_fixed', NULL, 2500.000, NULL, 2575.000, '', 1, 'Unpaid', 0.000, '2025-03-07', '04:24:04 pm', 'RK creators', '182.65.62.140', 'abts-tn-dynamic-140.62.65.182-airtelbroadband.in', NULL, NULL, 1, NULL, NULL, 0.000, 0.000, 8030.000, 0.000, 0.000, 0.000, 0.000, ''), (2, 2, 'SRX/2024/02/', 3, 4, 2, 'SRX/2024/02/2', '', '2025-03-07', 'Return', 3, NULL, 1, NULL, NULL, 'in_fixed', NULL, 7200.000, NULL, 7416.000, '', 1, 'Unpaid', 0.000, '2025-03-07', '04:37:44 pm', 'RK creators', '182.65.62.140', 'abts-tn-dynamic-140.62.65.182-airtelbroadband.in', NULL, NULL, 1, NULL, NULL, 0.000, 0.000, 8030.000, 0.000, 0.000, 0.000, 0.000, ''), (3, 2, 'SR/2024/02/', 1, 12, 2, 'SR/2024/02/1', '', '2025-03-13', 'Return', 6, NULL, 1, NULL, 26.000, 'in_fixed', 26.000, 22399.660, -0.130, 23045.000, '', 0, 'Unpaid', 0.000, '2025-03-13', '10:22:26 am', 'rkteams', '103.148.33.236', '103.148.33.236', NULL, NULL, 1, NULL, NULL, 0.000, 107.000, 8020.000, 0.000, 0.000, 0.000, 0.000, ''), (4, 2, 'SR/2526/', 1, 34, 2, 'SR/2526/1', '', '2025-04-05', 'Return', 13, NULL, 1, NULL, NULL, 'in_fixed', NULL, 7102.900, -0.013, 7316.000, '', 0, 'Unpaid', 0.000, '2025-04-05', '06:37:06 pm', 'rkteams', '106.195.44.236', '106.195.44.236', NULL, NULL, 1, NULL, NULL, 0.000, 103.000, 8310.000, 0.000, 0.000, 0.000, 0.000, ''), (5, 2, 'SR/2526/', 2, 57, 2, 'SR/2526/2', '', '2025-05-31', 'Return', 26, NULL, 1, NULL, NULL, 'in_fixed', NULL, 531.913, -0.130, 548.000, '', 0, 'Unpaid', 0.000, '2025-05-31', '07:29:16 pm', 'rkteams', '103.160.240.171', '103.160.240.171', NULL, NULL, 1, NULL, NULL, 0.000, 111.000, 8920.000, 0.000, 0.000, 0.000, 0.000, ''); -- -------------------------------------------------------- -- -- Table structure for table `db_sales_details` -- CREATE TABLE `db_sales_details` ( `id` int(11) NOT NULL, `sales_id` int(11) NOT NULL, `item_id` int(11) NOT NULL, `cards` varchar(150) NOT NULL, `size` varchar(150) NOT NULL, `piece` varchar(150) NOT NULL, `weight` varchar(150) NOT NULL, `melting` varchar(150) NOT NULL, `mel_touch` varchar(150) NOT NULL, `rate` varchar(150) NOT NULL, `pure` varchar(150) NOT NULL, `group_id` int(11) NOT NULL, `group_status` int(11) NOT NULL, `group_val` int(11) NOT NULL, `row_id` int(11) NOT NULL, `access` int(11) NOT NULL, `store_id` int(11) NOT NULL, `status_id` int(11) NOT NULL, `created_at` datetime NOT NULL, `created_by` int(11) NOT NULL, `updated_at` datetime NOT NULL, `updated_by` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_sales_old_gold` -- CREATE TABLE `db_sales_old_gold` ( `id` int(11) NOT NULL, `sales_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `olpurchase_id` int(11) NOT NULL, `item_id` int(11) NOT NULL DEFAULT 184, `olpurchaseitem_id` int(11) NOT NULL, `sales_old_gold_gross_weight` decimal(20,3) NOT NULL, `sales_old_gold_purity` decimal(20,3) NOT NULL, `sales_old_gold_weight` decimal(20,3) NOT NULL, `sales_old_gold_less` decimal(20,3) NOT NULL, `sales_old_gold_rate` decimal(20,3) NOT NULL, `sales_old_gold_amount` decimal(20,3) NOT NULL, `sales_old_gold_final_weight` decimal(20,3) NOT NULL, `created_by` int(11) NOT NULL, `created_at` datetime NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime NOT NULL, `ol_pur_gold_id` int(11) NOT NULL, `status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `db_sales_old_gold` -- INSERT INTO `db_sales_old_gold` (`id`, `sales_id`, `store_id`, `warehouse_id`, `olpurchase_id`, `item_id`, `olpurchaseitem_id`, `sales_old_gold_gross_weight`, `sales_old_gold_purity`, `sales_old_gold_weight`, `sales_old_gold_less`, `sales_old_gold_rate`, `sales_old_gold_amount`, `sales_old_gold_final_weight`, `created_by`, `created_at`, `updated_by`, `updated_at`, `ol_pur_gold_id`, `status`) VALUES (1, 1, 2, 2, 1, 2, 1, 5.000, 80.000, 4.500, 0.500, 7500.000, 27000.000, 3.600, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 3, 1), (2, 2, 2, 2, 2, 2, 2, 3.000, 0.000, 2.900, 0.100, 7000.000, 20300.000, 2.900, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, 1), (3, 8, 2, 2, 4, 2, 4, 10.000, 0.000, 8.500, 1.500, 6500.000, 55250.000, 8.500, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, 1), (5, 12, 2, 2, 6, 2, 6, 3.120, 75.000, 3.000, 0.120, 8020.000, 18045.000, 2.250, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, 1), (6, 13, 2, 2, 7, 2, 7, 16.000, 80.000, 16.000, 0.000, 8065.000, 103232.000, 12.800, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, 1), (7, 18, 2, 2, 8, 2, 8, 3.000, 0.000, 2.850, 0.150, 8120.000, 23142.000, 2.850, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 10, 1), (8, 19, 2, 2, 9, 2, 9, 0.750, 80.000, 0.750, 0.000, 6300.000, 3780.000, 0.600, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, 1), (9, 24, 2, 2, 10, 2, 10, 3.350, 80.000, 3.000, 0.350, 8000.000, 19200.000, 2.400, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 14, 1), (10, 28, 2, 2, 11, 2, 11, 6.000, 0.000, 5.500, 0.500, 8300.000, 45650.000, 5.500, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, 1), (11, 31, 2, 2, 12, 2, 12, 0.500, 0.000, 0.480, 0.020, 2600.000, 1248.000, 0.480, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, 1), (12, 38, 2, 2, 13, 2, 13, 1.000, 0.000, 0.900, 0.100, 9015.000, 8113.500, 0.900, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, 1), (14, 40, 2, 2, 15, 2, 15, 1.000, 0.000, 1.000, 0.000, 9754.000, 9754.000, 1.000, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, 1), (17, 48, 2, 2, 17, 2, 17, 10.000, 0.000, 10.000, 0.000, 0.000, 0.000, 10.000, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, 1), (18, 49, 2, 2, 18, 2, 18, 10.000, 0.000, 10.000, 0.000, 9400.000, 94000.000, 10.000, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, 1), (20, 50, 2, 2, 20, 2, 20, 5.000, 0.000, 5.000, 0.000, 9000.000, 45000.000, 5.000, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, 1), (22, 56, 2, 2, 22, 2, 22, 2.000, 0.000, 1.950, 0.050, 8820.000, 17199.000, 1.950, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, 1); -- -------------------------------------------------------- -- -- Table structure for table `db_sales_old_silver` -- CREATE TABLE `db_sales_old_silver` ( `id` int(11) NOT NULL, `sales_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `item_id` int(11) NOT NULL DEFAULT 185, `olpurchaseitem_id` int(11) NOT NULL, `olpurchase_id` int(11) NOT NULL, `sales_old_silver_gross_weight` decimal(20,3) NOT NULL, `sales_old_silver_less` decimal(20,3) NOT NULL, `sales_old_silver_purity` decimal(20,3) NOT NULL, `ols_silver_net` decimal(20,3) NOT NULL, `sales_old_silver_weight` decimal(20,3) NOT NULL, `sales_old_silver_rate` decimal(20,3) NOT NULL, `sales_old_silver_amount` decimal(20,3) NOT NULL, `created_by` int(11) NOT NULL, `created_at` datetime NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime NOT NULL, `ol_pur_silver_id` int(11) NOT NULL, `status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `db_sales_old_silver` -- INSERT INTO `db_sales_old_silver` (`id`, `sales_id`, `store_id`, `warehouse_id`, `item_id`, `olpurchaseitem_id`, `olpurchase_id`, `sales_old_silver_gross_weight`, `sales_old_silver_less`, `sales_old_silver_purity`, `ols_silver_net`, `sales_old_silver_weight`, `sales_old_silver_rate`, `sales_old_silver_amount`, `created_by`, `created_at`, `updated_by`, `updated_at`, `ol_pur_silver_id`, `status`) VALUES (1, 6, 2, 2, 3, 3, 3, 1.000, 0.200, 60.000, 0.000, 0.480, 90.000, 43.200, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, 1), (2, 24, 2, 2, 3, 10, 10, 64.000, 19.200, 0.000, 0.000, 44.800, 103.000, 4614.400, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 15, 1), (4, 40, 2, 2, 3, 15, 15, 1.000, 0.000, 0.000, 0.000, 1.000, 111.000, 111.000, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, 1), (7, 48, 2, 2, 3, 17, 17, 10.000, 0.000, 0.000, 0.000, 10.000, 0.000, 0.000, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, 1); -- -------------------------------------------------------- -- -- Table structure for table `db_sales_partywise` -- CREATE TABLE `db_sales_partywise` ( `id` int(11) NOT NULL, `party_id` int(11) NOT NULL, `status_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `created_at` datetime NOT NULL, `created_by` int(11) NOT NULL, `updated_at` datetime NOT NULL, `updated_by` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_sales_partywise_details` -- CREATE TABLE `db_sales_partywise_details` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `sales_partywise_id` int(11) NOT NULL, `item_id` int(11) NOT NULL, `touch` varchar(150) NOT NULL, `status_id` int(11) NOT NULL, `created_at` date NOT NULL, `created_by` int(11) NOT NULL, `updated_at` date NOT NULL, `updated_by` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_scheme` -- CREATE TABLE `db_scheme` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` text NOT NULL, `scheme_name` varchar(100) NOT NULL, `reference_no` text NOT NULL, `scheme_amount` text NOT NULL, `installment` int(11) NOT NULL, `scheme_date` date NOT NULL, `description` text NOT NULL, `status` int(11) NOT NULL, `duration_type` text NOT NULL, `bonus` text NOT NULL, `terms_and_condition` text NOT NULL, `created_by` varchar(50) NOT NULL, `created_date` date NOT NULL, `created_time` varchar(50) NOT NULL, `updated_id` int(11) NOT NULL, `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `db_scheme` -- INSERT INTO `db_scheme` (`id`, `store_id`, `warehouse_id`, `scheme_name`, `reference_no`, `scheme_amount`, `installment`, `scheme_date`, `description`, `status`, `duration_type`, `bonus`, `terms_and_condition`, `created_by`, `created_date`, `created_time`, `updated_id`, `updated_at`) VALUES (1, 2, '2', 'Than mahal', '', '500,1000', 0, '2025-02-26', '', 1, '', '', '', 'RK creators', '2025-02-26', '12:34:42 pm', 0, '2025-02-26 07:04:42'), (2, 2, '2', 'diwali', '', '1000', 0, '2025-03-24', '', 1, '', '', '', 'rkteams', '2025-03-24', '04:51:40 pm', 0, '2025-03-24 11:21:40'), (3, 2, '2', 'DIWALI SCHEME', '', '1000,2000,5000,10000', 0, '2025-03-27', '', 1, '', '', '', 'rkteams', '2025-03-27', '01:20:57 pm', 0, '2025-03-27 07:50:57'), (4, 2, '2', 'weekly scheme', '', '500', 0, '2025-04-09', '', 1, '', '', '', 'rkteams', '2025-04-09', '08:22:08 pm', 0, '2025-04-09 14:52:08'), (5, 2, '2', 'none', '', '1000', 0, '2025-04-12', '', 1, '', '', '', 'rkteams', '2025-04-12', '01:23:43 pm', 0, '2025-04-12 07:53:43'), (6, 2, '2', 'Amount type', '', '2000', 0, '2025-04-19', '', 1, '', '', '', 'rkteams', '2025-04-19', '05:59:55 pm', 0, '2025-04-19 12:29:55'), (7, 2, '2', 'SEMIPPU THITTAM', '', '500,1000', 0, '2025-04-21', '', 1, '', '', '', 'rkteams', '2025-04-21', '04:28:21 pm', 0, '2025-04-21 10:58:21'), (8, 2, '2', 'om', '', '1000,2000', 0, '2025-04-29', '', 1, '', '', '', 'rkteams', '2025-04-29', '08:22:27 pm', 0, '2025-04-29 14:52:27'), (9, 2, '2', 'SWARN YOGAM', '', '500,1000,2000,5000', 0, '2025-05-14', '', 1, '', '', '', 'rkteams', '2025-05-14', '04:59:28 pm', 0, '2025-05-14 11:29:28'), (10, 2, '2', 'new swarna yoga', '', '1000,2000', 0, '2025-05-17', '', 1, '', '', '', 'rkteams', '2025-05-17', '07:44:59 pm', 0, '2025-05-17 14:14:59'), (11, 2, '2', 'CHIT TEST', '', '1000,5000', 0, '2025-05-23', '', 1, '', '', '', 'rkteams', '2025-05-23', '03:29:12 pm', 0, '2025-05-23 09:59:12'), (12, 2, '2', 'maharaja', '', '1000,2000', 0, '2025-05-28', '', 1, '', '', '', 'rkteams', '2025-05-28', '04:49:10 pm', 0, '2025-05-28 11:19:10'); -- -------------------------------------------------------- -- -- Table structure for table `db_schemeamount` -- CREATE TABLE `db_schemeamount` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `scheme_amount` varchar(50) NOT NULL, `description` text NOT NULL, `created_date` date NOT NULL, `created_time` time NOT NULL, `created_by` varchar(50) NOT NULL, `status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `db_schemeamount` -- INSERT INTO `db_schemeamount` (`id`, `store_id`, `scheme_amount`, `description`, `created_date`, `created_time`, `created_by`, `status`) VALUES (1, 2, '500', '', '2025-02-26', '12:34:35', 'RK creators', 1), (2, 2, '1000', '', '2025-02-26', '12:34:40', 'RK creators', 1), (3, 2, '2000', '', '2025-03-27', '01:20:40', 'rkteams', 1), (4, 2, '5000', '', '2025-03-27', '01:20:45', 'rkteams', 1), (5, 2, '10000', '', '2025-03-27', '01:20:52', 'rkteams', 1), (6, 2, '7000', '', '2025-04-21', '04:27:49', 'rkteams', 1); -- -------------------------------------------------------- -- -- Table structure for table `db_scheme_group` -- CREATE TABLE `db_scheme_group` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `group_name` varchar(100) NOT NULL, `scheme_id` int(11) NOT NULL, `reference_no` text NOT NULL, `scheme_amount` text NOT NULL, `installment` int(11) DEFAULT NULL, `group_type` int(11) NOT NULL, `scheme_date` date NOT NULL, `description` text NOT NULL, `gold_rate` decimal(20,3) NOT NULL, `gold_rate24` decimal(20,3) NOT NULL, `silver_rate` decimal(20,3) NOT NULL, `status` int(11) NOT NULL, `duration_type` text NOT NULL, `bonus` text NOT NULL, `terms_and_condition` text NOT NULL, `payment_type` varchar(100) NOT NULL, `created_by` varchar(50) NOT NULL, `created_date` date NOT NULL, `created_time` varchar(50) NOT NULL, `updated_id` int(11) NOT NULL, `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `db_scheme_group` -- INSERT INTO `db_scheme_group` (`id`, `store_id`, `warehouse_id`, `group_name`, `scheme_id`, `reference_no`, `scheme_amount`, `installment`, `group_type`, `scheme_date`, `description`, `gold_rate`, `gold_rate24`, `silver_rate`, `status`, `duration_type`, `bonus`, `terms_and_condition`, `payment_type`, `created_by`, `created_date`, `created_time`, `updated_id`, `updated_at`) VALUES (3, 2, 2, 'A', 3, '', '1000', 11, 1, '2025-03-27', '', 8300.000, 0.000, 105.000, 1, 'Month', 'Amount', '', 'CASH', 'rkteams', '2025-03-27', '01:23:26 pm', 0, '2025-03-27 07:53:26'), (5, 2, 2, 'DS', 3, '', '5000', 11, 1, '2025-02-01', '', 8285.000, 0.000, 103.000, 1, 'Month', 'Gram Rate', '', 'CASH', 'rkteams', '2025-04-08', '02:19:45 pm', 0, '2025-04-08 08:49:45'), (6, 2, 2, 'AB', 4, '', '500', 20, 1, '2025-03-24', '', 8410.000, 0.000, 104.000, 1, 'Week', 'Gram Rate', '', 'CASH', 'rkteams', '2025-04-09', '08:24:38 pm', 0, '2025-04-09 14:54:38'), (7, 2, 2, 'ABC', 5, '', '1000', 0, 1, '2025-04-12', '', 8770.000, 0.000, 110.000, 1, 'None', 'Gram Rate', '', 'CASH', 'rkteams', '2025-04-12', '01:26:23 pm', 0, '2025-04-12 07:56:23'), (8, 2, 2, 'amount type ', 6, '', '2000', 11, 1, '2025-03-01', '', 8945.000, 0.000, 110.000, 1, 'Month', 'Amount', '', 'CASH', 'rkteams', '2025-04-19', '06:01:28 pm', 0, '2025-04-19 12:31:28'), (9, 2, 2, 'A', 7, '', '500', 48, 1, '2025-02-01', '', 9015.000, 0.000, 111.000, 1, 'None', 'Gram Rate', '', 'CASH', 'rkteams', '2025-04-21', '04:44:17 pm', 0, '2025-04-21 11:14:17'), (10, 2, 2, 'B', 8, '', '1000', 15, 1, '2025-04-29', '', 8890.000, 0.000, 110.000, 1, 'Month', 'Gram Rate', '', 'CASH', 'rkteams', '2025-04-29', '08:25:57 pm', 0, '2025-05-14 11:31:48'), (11, 2, 2, '', 9, '', '2000', 13, 1, '2025-01-01', '', 8805.000, 0.000, 109.000, 1, 'None', 'Amount', '', 'CASH', 'rkteams', '2025-05-14', '05:00:24 pm', 0, '2025-05-14 13:26:13'), (12, 2, 2, 'ABC', 10, '', '1000', 12, 1, '2025-04-01', '', 8720.000, 0.000, 108.000, 1, 'Month', 'Amount', '', 'CASH', 'rkteams', '2025-05-17', '07:46:46 pm', 0, '2025-05-17 14:16:46'), (13, 2, 2, '5 MONTHS CHIT', 11, '', '1000', 5, 1, '2025-01-01', '', 8000.000, 0.000, 111.000, 1, 'Month', 'Gram Rate', '', 'CASH', 'rkteams', '2025-05-23', '03:30:15 pm', 0, '2025-05-23 10:05:17'), (14, 2, 2, 'A', 12, '', '1000', 2, 1, '2025-04-01', '', 8510.000, 0.000, 110.000, 1, 'Month', 'Gram Rate', '', 'CASH', 'rkteams', '2025-05-28', '04:51:06 pm', 0, '2025-05-28 11:28:23'), (15, 2, 2, 'Abcd', 12, '', '1000', 11, 1, '2024-01-01', '', 8000.000, 0.000, 110.000, 1, 'Month', 'Gram Rate', '', 'CASH', 'rkteams', '2025-05-28', '05:10:42 pm', 0, '2025-05-28 11:40:42'), (16, 2, 2, '132', 12, '', '1000', 11, 1, '2024-01-01', '', 8995.000, 0.000, 110.000, 1, 'Month', 'Gram Rate', '', 'CASH', 'rkteams', '2025-05-28', '05:19:19 pm', 0, '2025-05-28 11:49:19'); -- -------------------------------------------------------- -- -- Table structure for table `db_shippingaddress` -- CREATE TABLE `db_shippingaddress` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `country_id` int(11) DEFAULT NULL, `state_id` int(11) DEFAULT NULL, `city` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `postcode` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `address` text CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `status` int(11) DEFAULT NULL, `customer_id` int(11) DEFAULT NULL, `location_link` text CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_shippingaddress` -- INSERT INTO `db_shippingaddress` (`id`, `store_id`, `country_id`, `state_id`, `city`, `postcode`, `address`, `status`, `customer_id`, `location_link`) VALUES (1, 2, 79, 46, 'Coimbatore', '641012', '203/1,3rd Floor, 9th Street, Cross cut road, Gandhipuram', 1, 1, ''), (2, 2, 0, 0, '', '', '', 1, 6, ''), (3, 2, 0, 0, '', '', '', 1, 11, ''), (4, 2, 79, 46, 'coimbaotre', '654654', 'aa, bbb, cccc', 1, 16, ''), (5, 2, 0, 0, '', '', '', 1, 17, ''), (6, 2, 0, 0, '', '', '', 1, 18, ''), (7, 2, 0, 0, '', '', '', 1, 19, ''), (8, 2, 0, 0, '', '', '', 1, 20, ''); -- -------------------------------------------------------- -- -- Table structure for table `db_silverrate` -- CREATE TABLE `db_silverrate` ( `id` int(11) NOT NULL, `silver_rate` varchar(225) NOT NULL, `rate_date` date NOT NULL, `created_by` int(11) NOT NULL, `created_at` datetime NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_sitesettings` -- CREATE TABLE `db_sitesettings` ( `id` int(11) NOT NULL, `version` varchar(10) DEFAULT NULL, `site_name` varchar(100) DEFAULT NULL, `logo` mediumtext DEFAULT NULL COMMENT 'path', `machine_id` text DEFAULT NULL, `domain` text DEFAULT NULL, `unique_code` text DEFAULT NULL, `anual_year` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_sitesettings` -- INSERT INTO `db_sitesettings` (`id`, `version`, `site_name`, `logo`, `machine_id`, `domain`, `unique_code`, `anual_year`) VALUES (1, '3.5', 'Nezlan', '/uploads/site/300x3001.png', '1', 'localhost', 'nqxyje615cfvas04kz9bp23dtwigo7', 2025); -- -------------------------------------------------------- -- -- Table structure for table `db_smith` -- CREATE TABLE `db_smith` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create smith Code', `smith_code` varchar(20) DEFAULT NULL, `smith_name` varchar(50) DEFAULT NULL, `mobile` varchar(15) DEFAULT NULL, `phone` varchar(15) DEFAULT NULL, `email` varchar(50) DEFAULT NULL, `country_id` int(11) DEFAULT NULL, `state_id` int(11) DEFAULT NULL, `city` varchar(50) DEFAULT NULL, `postcode` varchar(10) DEFAULT NULL, `address` varchar(250) DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(30) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `status` int(11) DEFAULT NULL, `smith_type` int(11) NOT NULL DEFAULT 0, `issue_due` decimal(20,3) DEFAULT NULL, `receipt_due` decimal(20,3) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_smith` -- INSERT INTO `db_smith` (`id`, `store_id`, `count_id`, `smith_code`, `smith_name`, `mobile`, `phone`, `email`, `country_id`, `state_id`, `city`, `postcode`, `address`, `system_ip`, `system_name`, `created_date`, `created_time`, `created_by`, `company_id`, `status`, `smith_type`, `issue_due`, `receipt_due`) VALUES (1, 2, 1, NULL, 'aabb', '987654231', '', '', 0, 0, '', '', '', '223.237.183.245', '223.237.183.245', '2025-03-18', '12:56:28 pm', 'rkteams', NULL, 1, 0, 0.000, 515.000); -- -------------------------------------------------------- -- -- Table structure for table `db_smith_works` -- CREATE TABLE `db_smith_works` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `sales_id` int(11) DEFAULT NULL, `warehouse_id` int(11) DEFAULT NULL, `init_code` varchar(50) NOT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create smith_works Code', `smith_works_code` varchar(50) DEFAULT NULL, `reference_no` varchar(50) DEFAULT NULL, `smith_works_date` date DEFAULT NULL, `smith_works_status` varchar(50) DEFAULT NULL, `smith_id` int(11) DEFAULT NULL, `other_charges_input` double(20,3) DEFAULT NULL, `other_charges_tax_id` int(11) DEFAULT NULL, `other_charges_amt` double(20,3) DEFAULT NULL, `discount_to_all_input` double(20,3) DEFAULT NULL, `discount_to_all_type` varchar(50) DEFAULT NULL, `tot_discount_to_all_amt` double(20,3) DEFAULT NULL, `subtotal` double(20,3) DEFAULT NULL, `round_off` double(20,3) DEFAULT NULL, `grand_total` double(20,3) DEFAULT NULL, `smith_works_note` text DEFAULT NULL, `payment_status` varchar(50) DEFAULT NULL, `paid_amount` double(20,3) DEFAULT NULL, `gold_rate` double(20,3) DEFAULT NULL, `silver_rate` double(20,3) DEFAULT NULL, `gross_weight` decimal(20,3) DEFAULT NULL, `wastage` decimal(20,3) DEFAULT NULL, `st_cost` decimal(20,3) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `system_ip` varchar(100) DEFAULT NULL, `system_name` varchar(100) DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `status` int(11) DEFAULT NULL, `return_bit` int(11) DEFAULT NULL COMMENT 'smith_works return raised' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_smith_works` -- INSERT INTO `db_smith_works` (`id`, `store_id`, `sales_id`, `warehouse_id`, `init_code`, `count_id`, `smith_works_code`, `reference_no`, `smith_works_date`, `smith_works_status`, `smith_id`, `other_charges_input`, `other_charges_tax_id`, `other_charges_amt`, `discount_to_all_input`, `discount_to_all_type`, `tot_discount_to_all_amt`, `subtotal`, `round_off`, `grand_total`, `smith_works_note`, `payment_status`, `paid_amount`, `gold_rate`, `silver_rate`, `gross_weight`, `wastage`, `st_cost`, `created_date`, `created_time`, `created_by`, `system_ip`, `system_name`, `company_id`, `status`, `return_bit`) VALUES (1, 2, 0, 2, 'SM/02/0001', 1, 'SM/02/00011', '', '2025-03-18', 'Received', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.000, NULL, NULL, NULL, 0.000, 0.000, 0.000, 0.000, 0.000, '2025-03-18', '01:01:15 pm', 'rkteams', '223.237.183.245', '223.237.183.245', NULL, 1, NULL); -- -------------------------------------------------------- -- -- Table structure for table `db_smith_worksitems` -- CREATE TABLE `db_smith_worksitems` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `smith_works_id` int(11) DEFAULT NULL, `smith_works_status` varchar(50) DEFAULT NULL, `item_id` int(11) DEFAULT NULL, `smith_works_qty` double(20,3) DEFAULT NULL, `price_per_unit` double(20,3) DEFAULT NULL, `tax_type` varchar(50) DEFAULT NULL, `tax_id` int(11) DEFAULT NULL, `tax_amt` double(20,3) DEFAULT NULL, `st_cost` decimal(20,3) DEFAULT NULL, `wastage` decimal(20,3) DEFAULT NULL, `wastage_type` varchar(100) NOT NULL, `gross_weight` decimal(20,3) DEFAULT NULL, `discount_type` varchar(50) DEFAULT NULL, `discount_input` double(20,3) DEFAULT NULL, `discount_amt` double(20,3) DEFAULT NULL, `unit_total_cost` double(20,3) DEFAULT NULL, `total_cost` double(20,3) DEFAULT NULL, `profit_margin_per` double(20,3) DEFAULT NULL, `unit_sales_price` double(20,3) DEFAULT NULL, `status` int(11) DEFAULT NULL, `description` text DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_smith_worksitems` -- INSERT INTO `db_smith_worksitems` (`id`, `store_id`, `smith_works_id`, `smith_works_status`, `item_id`, `smith_works_qty`, `price_per_unit`, `tax_type`, `tax_id`, `tax_amt`, `st_cost`, `wastage`, `wastage_type`, `gross_weight`, `discount_type`, `discount_input`, `discount_amt`, `unit_total_cost`, `total_cost`, `profit_margin_per`, `unit_sales_price`, `status`, `description`) VALUES (1, 2, 1, 'Received', 9, 15.000, NULL, NULL, NULL, NULL, 0.000, 0.000, 'Fixed', 15.000, 'Percentage', NULL, 0.000, NULL, NULL, NULL, NULL, 1, ''); -- -------------------------------------------------------- -- -- Table structure for table `db_smsapi` -- CREATE TABLE `db_smsapi` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `info` varchar(150) DEFAULT NULL, `key` varchar(600) DEFAULT NULL, `key_value` varchar(600) DEFAULT NULL, `delete_bit` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_smstemplates` -- CREATE TABLE `db_smstemplates` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `template_name` varchar(100) DEFAULT NULL, `content` text DEFAULT NULL, `variables` text DEFAULT NULL, `status` int(11) DEFAULT NULL, `undelete_bit` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_sobpayments` -- CREATE TABLE `db_sobpayments` ( `id` int(11) NOT NULL, `supplier_id` int(11) DEFAULT NULL, `payment_date` date DEFAULT NULL, `payment_type` varchar(50) DEFAULT NULL, `payment` double(20,3) DEFAULT NULL, `payment_note` mediumtext DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `created_time` time DEFAULT NULL, `created_date` date DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_states` -- CREATE TABLE `db_states` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `state_code` varchar(10) DEFAULT NULL, `state` varchar(4050) DEFAULT NULL, `country_code` varchar(15) DEFAULT NULL, `country_id` int(11) DEFAULT NULL, `country` varchar(15) DEFAULT NULL, `added_on` date DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_states` -- INSERT INTO `db_states` (`id`, `store_id`, `state_code`, `state`, `country_code`, `country_id`, `country`, `added_on`, `company_id`, `status`) VALUES (23, 1, 'ST0001', 'Karnataka', 'CNT0001', NULL, 'India', '2017-07-10', 1, 1), (24, 1, 'ST0024', 'Maharashtra', 'CNT0001', NULL, 'India', '2018-04-13', 1, 1), (25, 2, 'ST0025', 'Andhra Pradesh', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (26, 1, 'ST0026', 'Arunachal Pradesh', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (27, 1, 'ST0027', 'Assam', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (28, 1, 'ST0028', 'Bihar', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (29, 1, 'ST0029', 'Chhattisgarh', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (30, 1, 'ST0030', 'Goa', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (31, 1, 'ST0031', 'Gujarat', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (32, 1, 'ST0032', 'Haryana', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (33, 1, 'ST0033', 'Himachal Pradesh', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (34, 1, 'ST0034', 'Jammu and Kashmir', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (35, 1, 'ST0035', 'Jharkhand', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (36, 1, 'ST0036', 'Kerala', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (37, 1, 'ST0037', 'Madhya Pradesh', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (38, 1, 'ST0038', 'Manipur', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (39, 1, 'ST0039', 'Meghalaya', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (40, 1, 'ST0040', 'Mizoram', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (41, 1, 'ST0041', 'Nagaland', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (42, 1, 'ST0042', 'Odisha', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (43, 1, 'ST0043', 'Punjab', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (44, 1, 'ST0044', 'Rajasthan', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (45, 1, 'ST0045', 'Sikkim', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (46, 1, 'ST0046', 'Tamil Nadu', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (47, 1, 'ST0047', 'Telangana', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (48, 1, 'ST0048', 'Tripura', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (49, 1, 'ST0049', 'Uttar Pradesh', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (50, 1, 'ST0050', 'Uttarakhand', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (51, 1, 'ST0051', 'West Bengal', 'CNT0001', NULL, 'India', '2018-11-02', NULL, 1), (52, 1, NULL, 'New York', NULL, NULL, 'USA', NULL, NULL, 1), (53, 1, NULL, 'Delhi', NULL, NULL, 'India', NULL, NULL, 1), (63, 2, NULL, 'Karnataka', NULL, 79, 'India', NULL, NULL, 1); -- -------------------------------------------------------- -- -- Table structure for table `db_stockadjustment` -- CREATE TABLE `db_stockadjustment` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `warehouse_id` int(11) DEFAULT NULL, `adjustment_code` varchar(100) NOT NULL, `init_code` varchar(100) NOT NULL, `count_id` varchar(10) NOT NULL, `reference_no` varchar(50) DEFAULT NULL, `adjustment_date` date DEFAULT NULL, `adjustment_note` mediumtext DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `system_ip` varchar(100) DEFAULT NULL, `system_name` varchar(100) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_stockadjustment` -- INSERT INTO `db_stockadjustment` (`id`, `store_id`, `warehouse_id`, `adjustment_code`, `init_code`, `count_id`, `reference_no`, `adjustment_date`, `adjustment_note`, `created_date`, `created_time`, `created_by`, `system_ip`, `system_name`, `status`) VALUES (1, 2, 2, 'ST/2024/02/0001', 'ST/2024/02/', '1', '', '2025-03-07', '', '2025-03-07', '02:47:55 pm', 'RK creators', '182.65.62.140', 'abts-tn-dynamic-140.62.65.182-airtelbroadband.in', 1), (2, 2, 2, 'ST/2024/02/0002', 'ST/2024/02/', '2', '', '2025-03-10', '', '2025-03-10', '06:00:03 pm', 'rkteams', '103.237.57.160', '103.237.57.160', 1), (3, 2, 2, 'ST/2024/02/0003', 'ST/2024/02/', '3', '', '2025-03-11', '', '2025-03-11', '10:48:53 am', 'rkteams', '223.237.182.55', '223.237.182.55', 1), (4, 2, 2, 'ST/2024/02/0004', 'ST/2024/02/', '4', '', '2025-03-11', '', '2025-03-11', '02:14:16 pm', 'rkteams', '103.148.33.236', '103.148.33.236', 1), (5, 2, 2, 'ST/2024/02/0005', 'ST/2024/02/', '5', NULL, '2025-03-11', 'Tagged Item', '2025-03-11', '02:48:37 pm', 'rkteams', '103.148.33.236', '103.148.33.236', 1), (6, 2, 2, 'ST/2024/02/0006', 'ST/2024/02/', '6', '', '2025-03-11', '', '2025-03-11', '03:06:52 pm', 'rkteams', '103.148.33.236', '103.148.33.236', 1), (7, 2, 2, 'ST/2024/02/0007', 'ST/2024/02/', '7', '', '2025-03-11', 'Tagged Item', '2025-03-11', '03:36:30 pm', 'rkteams', '106.205.112.96', '106.205.112.96', 1), (8, 2, 2, 'ST/2024/02/0008', 'ST/2024/02/', '8', '', '2025-03-11', '', '2025-03-11', '06:05:09 pm', 'rkteams', '103.148.33.236', '103.148.33.236', 1), (9, 2, 2, 'ST/2024/02/0009', 'ST/2024/02/', '9', '', '2025-03-12', '', '2025-03-12', '09:52:18 am', 'rkteams', '103.148.33.236', '103.148.33.236', 1), (10, 2, 2, 'ST/2024/02/0010', 'ST/2024/02/', '10', '', '2025-03-12', '', '2025-03-12', '10:48:11 am', 'rkteams', '103.148.33.236', '103.148.33.236', 1), (11, 2, 2, 'ST/2024/02/0010', 'ST/2024/02/', '10', '', '2025-03-12', 'Tagged Item', '2025-03-12', '11:37:36 am', 'rkteams', '103.148.33.236', '103.148.33.236', 1), (12, 2, 2, 'ST/2024/02/0010', 'ST/2024/02/', '10', NULL, '2025-03-12', 'Tagged Item', '2025-03-12', '11:38:22 am', 'rkteams', '103.148.33.236', '103.148.33.236', 1), (13, 2, 2, 'ST/2024/02/0010', 'ST/2024/02/', '10', NULL, '2025-03-12', 'Tagged Item', '2025-03-12', '12:57:10 pm', 'rkteams', '103.148.33.236', '103.148.33.236', 1), (14, 2, 2, 'ST/2024/02/0010', 'ST/2024/02/', '10', NULL, '2025-03-12', 'Tagged Item', '2025-03-12', '01:16:31 pm', 'rkteams', '103.148.33.236', '103.148.33.236', 1), (15, 2, 2, 'ST/2024/02/0010', 'ST/2024/02/', '10', '', '2025-03-12', 'Tagged Item', '2025-03-12', '04:34:01 pm', 'rkteams', '122.173.248.37', 'abts-north-dynamic-037.248.173.122.airtelbroadband.in', 1), (16, 2, 2, 'ST/2024/02/0010', 'ST/2024/02/', '10', '', '2025-03-12', '', '2025-03-12', '05:28:12 pm', 'rkteams', '122.173.248.37', 'abts-north-dynamic-037.248.173.122.airtelbroadband.in', 1), (17, 2, 2, 'ST/2024/02/0010', 'ST/2024/02/', '10', '', '2025-03-12', '', '2025-03-12', '06:08:15 pm', 'rkteams', '103.148.33.236', '103.148.33.236', 1), (18, 2, 2, 'ST/2024/02/0010', 'ST/2024/02/', '10', NULL, '2025-03-12', 'Tagged Item', '2025-03-12', '06:17:09 pm', 'rkteams', '103.148.33.236', '103.148.33.236', 1), (19, 2, 2, 'ST/2024/02/0010', 'ST/2024/02/', '10', NULL, '2025-03-12', 'Tagged Item', '2025-03-12', '06:28:16 pm', 'rkteams', '103.148.33.236', '103.148.33.236', 1), (20, 2, 2, 'ST/2024/02/0010', 'ST/2024/02/', '10', NULL, '2025-03-13', 'Tagged Item', '2025-03-13', '06:38:50 pm', 'rkteams', '103.148.33.236', '103.148.33.236', 1), (21, 2, 2, 'ST/2024/02/0010', 'ST/2024/02/', '10', '', '2025-03-14', 'Tagged Item', '2025-03-14', '03:40:32 pm', 'rkteams', '103.148.33.236', '103.148.33.236', 1), (22, 2, 2, 'ST/2024/02/0010', 'ST/2024/02/', '10', NULL, '2025-03-17', 'Tagged Item', '2025-03-17', '10:38:47 am', 'rkteams', '223.237.178.15', '223.237.178.15', 1), (23, 2, 2, 'ST/2024/02/0010', 'ST/2024/02/', '10', '', '2025-03-17', '', '2025-03-17', '10:39:54 am', 'rkteams', '223.237.178.15', '223.237.178.15', 1), (24, 2, 2, 'ST/2024/02/0010', 'ST/2024/02/', '10', NULL, '2025-03-19', 'Tagged Item', '2025-03-19', '12:17:24 pm', 'rkteams', '103.148.33.236', '103.148.33.236', 1), (25, 2, 2, 'ST/2024/02/0010', 'ST/2024/02/', '10', '', '2025-03-25', '', '2025-03-25', '12:44:04 pm', 'rkteams', '106.212.16.240', '106.212.16.240', 1), (26, 2, 2, 'ST/2024/02/0010', 'ST/2024/02/', '10', '', '2025-03-27', '', '2025-03-27', '01:44:55 pm', 'rkteams', '220.158.156.181', '220.158.156.181', 1), (27, 2, 2, 'ST/2024/02/0010', 'ST/2024/02/', '10', '', '2025-03-27', '', '2025-03-27', '06:36:12 pm', 'rkteams', '106.195.39.35', '106.195.39.35', 1), (28, 2, 2, 'ST/2526/0010', 'ST/2526/', '10', '', '2025-03-29', '', '2025-03-29', '05:12:51 pm', 'rkteams', '122.173.103.164', 'abts-north-dynamic-164.103.173.122.airtelbroadband.in', 1), (29, 2, 2, 'ST/2526/0010', 'ST/2526/', '10', '', '2025-04-01', '', '2025-04-01', '08:23:56 pm', 'rkteams', '122.178.156.110', 'abts-tn-dynamic-110.156.178.122.airtelbroadband.in', 1), (30, 2, 2, 'ST/2526/0010', 'ST/2526/', '10', '', '2025-04-12', '', '2025-04-12', '10:51:58 am', 'rkteams', '117.98.171.80', '117.98.171.80', 1), (31, 2, 2, 'ST/2526/0010', 'ST/2526/', '10', '', '2025-04-12', '', '2025-04-12', '10:53:01 am', 'rkteams', '117.98.171.80', '117.98.171.80', 1), (32, 2, 2, 'ST/2526/0010', 'ST/2526/', '10', '', '2025-04-21', '', '2025-04-21', '12:52:47 pm', 'rkteams', '223.237.177.115', '223.237.177.115', 1), (33, 2, 2, 'ST/2526/0010', 'ST/2526/', '10', '', '2025-04-26', '', '2025-04-26', '07:02:30 pm', 'rkteams', '122.178.219.80', 'abts-kk-dynamic-080.219.178.122.airtelbroadband.in', 1), (34, 2, 2, 'ST/2526/0010', 'ST/2526/', '10', NULL, '2025-05-09', 'Tagged Item', '2025-05-09', '04:47:48 pm', 'rkteams', '171.76.102.201', 'abts-kk-dynamic-201.102.76.171.airtelbroadband.in', 1), (35, 2, 2, 'ST/2526/0010', 'ST/2526/', '10', '', '2025-05-12', '', '2025-05-12', '01:22:29 pm', 'rkteams', '122.178.51.10', 'abts-tn-dynamic-010.51.178.122.airtelbroadband.in', 1), (36, 2, 2, 'ST/2526/0010', 'ST/2526/', '10', NULL, '2025-05-19', 'Tagged Item', '2025-05-19', '08:16:58 pm', 'rkteams', '117.98.191.134', '117.98.191.134', 1), (37, 2, 2, 'ST/2526/0010', 'ST/2526/', '10', '', '2025-05-23', '', '2025-05-23', '06:14:20 pm', 'rkteams', '103.141.51.142', '103.141.51.142', 1), (38, 2, 2, 'ST/2526/0010', 'ST/2526/', '10', '', '2025-05-24', '', '2025-05-24', '11:40:09 am', 'rkteams', '122.174.37.130', 'abts-tn-dynamic-130.37.174.122.airtelbroadband.in', 1), (39, 2, 2, 'ST/2526/0010', 'ST/2526/', '10', '', '2025-05-24', '', '2025-05-24', '08:00:01 pm', 'rkteams', '122.179.253.232', '122.179.253.232', 1), (40, 2, 2, 'ST/2526/0010', 'ST/2526/', '10', '', '2025-05-30', '', '2025-05-30', '06:21:11 pm', 'rkteams', '223.237.190.79', '223.237.190.79', 1), (41, 2, 2, 'ST/2526/0010', 'ST/2526/', '10', '', '2025-05-30', '', '2025-05-30', '07:14:17 pm', 'rkteams', '122.173.106.5', 'abts-north-dynamic-005.106.173.122.airtelbroadband.in', 1); -- -------------------------------------------------------- -- -- Table structure for table `db_stockadjustmentitems` -- CREATE TABLE `db_stockadjustmentitems` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `warehouse_id` int(11) DEFAULT NULL, `adjustment_id` int(11) DEFAULT NULL, `item_id` int(11) DEFAULT NULL, `adjustment_qty` double(20,3) DEFAULT NULL, `adjustment_piece` int(11) NOT NULL, `status` int(11) DEFAULT NULL, `description` text DEFAULT NULL, `pending_piece` int(11) NOT NULL, `pending_wgt` decimal(20,3) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_stockadjustmentitems` -- INSERT INTO `db_stockadjustmentitems` (`id`, `store_id`, `warehouse_id`, `adjustment_id`, `item_id`, `adjustment_qty`, `adjustment_piece`, `status`, `description`, `pending_piece`, `pending_wgt`) VALUES (1, 2, 2, 1, 10, 0.000, 20, 1, '', 14, 0.000), (2, 2, 2, 2, 11, 3.000, 1, 1, '', 0, 0.000), (3, 2, 2, 3, 14, 80.000, 5, 1, '', 0, 0.000), (4, 2, 2, 4, 15, 20.000, 6, 1, '', 4, 1.880), (5, 2, 2, 5, 15, 3.500, 1, 1, NULL, -1, -5.000), (6, 2, 2, 6, 16, 3.130, 1, 1, '', 0, 0.010), (7, 2, 2, 7, 16, 12.100, 1, 1, '', 0, 0.100), (8, 2, 2, 8, 17, 2.420, 2, 1, '', 0, 0.000), (9, 2, 2, 9, 15, 4.500, 4, 1, '', 4, 4.500), (10, 2, 2, 10, 18, 1.170, 2, 1, '', 1, 0.000), (11, 2, 2, 11, 19, 8.500, 1, 1, '', 0, 0.500), (12, 2, 2, 12, 19, 8.000, 1, 1, NULL, 0, 0.000), (13, 2, 2, 13, 20, 16.450, 1, 1, NULL, 0, 0.000), (14, 2, 2, 14, 21, 11.000, 1, 1, NULL, 0, 0.000), (15, 2, 2, 15, 13, 5.560, 1, 1, '', 0, 0.000), (16, 2, 2, 16, 22, 88.000, 10, 1, '', 3, 84.649), (17, 2, 2, 17, 23, 2.000, 1, 1, '', 0, 0.000), (18, 2, 2, 18, 23, 2.000, 1, 1, NULL, 0, 0.000), (19, 2, 2, 19, 22, 2.000, 1, 1, NULL, 0, 0.000), (20, 2, 2, 20, 17, 2.740, 1, 1, NULL, 0, 0.000), (21, 2, 2, 21, 25, 10.570, 1, 1, '', 0, 0.000), (22, 2, 2, 22, 21, 0.250, 1, 1, NULL, 0, 0.000), (23, 2, 2, 22, 26, 0.250, 1, 1, NULL, 0, 0.000), (24, 2, 2, 23, 26, 0.450, 1, 1, '', 1, 0.450), (25, 2, 2, 24, 19, 15.950, 1, 1, NULL, 0, 0.000), (26, 2, 2, 25, 32, 5.500, 1, 1, '', 0, 5.000), (27, 2, 2, 26, 33, 35.600, 15, 1, '', 15, 35.600), (28, 2, 2, 27, 34, 32.950, 2, 1, '', 1, 16.100), (29, 2, 2, 28, 35, 25.000, 10, 1, '', 8, 24.200), (30, 2, 2, 29, 36, 4.500, 2, 1, '', 2, 4.500), (31, 2, 2, 30, 31, 3.000, 1, 1, '', 1, 3.000), (32, 2, 2, 31, 37, 3.000, 1, 1, '', 1, 3.000), (33, 2, 2, 32, 40, 10.000, 5, 1, '', 2, 4.200), (34, 2, 2, 33, 41, 0.000, 4, 1, '', 4, 0.000), (35, 2, 2, 34, 9, 5.000, 1, 1, NULL, 0, 0.000), (36, 2, 2, 35, 28, 80.000, 20, 1, '', 20, 80.000), (37, 2, 2, 36, 33, 1.730, 1, 1, NULL, 0, 0.000), (38, 2, 2, 37, 43, 10.000, 1, 1, '', 1, 10.000), (39, 2, 2, 38, 44, 5.000, 1, 1, '', 0, 0.000), (40, 2, 2, 39, 16, 20.000, 5, 1, '', 5, 20.000), (41, 2, 2, 40, 47, 5.000, 1, 1, '', 0, 0.000), (42, 2, 2, 41, 48, 10.000, 2, 1, '', 2, 10.000); -- -------------------------------------------------------- -- -- Table structure for table `db_stockentry` -- CREATE TABLE `db_stockentry` ( `id` int(11) NOT NULL, `entry_date` date DEFAULT NULL, `item_id` int(11) DEFAULT NULL, `qty` int(11) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_stocktransfer` -- CREATE TABLE `db_stocktransfer` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL COMMENT 'from store', `to_store_id` int(11) DEFAULT NULL COMMENT 'to store transfer', `warehouse_from` int(11) DEFAULT NULL, `warehouse_to` int(11) DEFAULT NULL, `transfer_date` date DEFAULT NULL, `note` text CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `created_by` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `system_ip` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `system_name` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_stocktransferitems` -- CREATE TABLE `db_stocktransferitems` ( `id` int(11) NOT NULL, `stocktransfer_id` int(11) DEFAULT NULL, `store_id` int(11) DEFAULT NULL COMMENT 'from store', `to_store_id` int(11) DEFAULT NULL COMMENT 'to store', `warehouse_from` int(11) DEFAULT NULL COMMENT 'warehouse ids', `warehouse_to` int(11) DEFAULT NULL COMMENT 'warehouse ids', `item_id` int(11) DEFAULT NULL, `transfer_qty` double(20,3) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_store` -- CREATE TABLE `db_store` ( `id` int(11) NOT NULL, `store_code` varchar(150) DEFAULT NULL, `store_name` varchar(150) DEFAULT NULL, `store_website` varchar(150) DEFAULT NULL, `mobile` varchar(150) DEFAULT NULL, `phone` varchar(150) DEFAULT NULL, `email` varchar(100) DEFAULT NULL, `website` varchar(250) DEFAULT NULL, `store_logo` text DEFAULT NULL, `logo` mediumtext DEFAULT NULL, `upi_id` varchar(50) DEFAULT NULL, `upi_code` text DEFAULT NULL, `country` varchar(150) DEFAULT NULL, `state` varchar(150) DEFAULT NULL, `city` varchar(220) DEFAULT NULL, `address` text DEFAULT NULL, `postcode` varchar(50) DEFAULT NULL, `gst_no` varchar(50) DEFAULT NULL, `vat_no` varchar(50) DEFAULT NULL, `pan_no` varchar(50) DEFAULT NULL, `bank_details` mediumtext DEFAULT NULL, `cid` int(11) DEFAULT NULL, `category_init` varchar(50) DEFAULT NULL, `item_init` varchar(50) DEFAULT NULL COMMENT 'INITAL CODE', `tag_init` varchar(50) NOT NULL, `supplier_init` varchar(50) DEFAULT NULL COMMENT 'INITAL CODE', `smith_init` varchar(50) NOT NULL, `purchase_init` varchar(50) DEFAULT NULL COMMENT 'INITAL CODE', `purchase_init1` varchar(100) NOT NULL, `purchase_return_init` varchar(50) DEFAULT NULL, `purchase_return_init1` varchar(100) NOT NULL DEFAULT 'PRX/2024/02/', `ol_purchase_init` text NOT NULL, `ol_purchase_return_init` text NOT NULL, `payment_voucher_init` text NOT NULL, `payment_voucher_init1` varchar(100) NOT NULL, `customer_init` varchar(50) DEFAULT NULL COMMENT 'INITAL CODE', `sales_init` varchar(50) DEFAULT NULL COMMENT 'INITAL CODE', `sales_init1` varchar(100) NOT NULL, `sales_return_init1` varchar(50) NOT NULL, `sales_return_init` varchar(50) DEFAULT NULL, `expense_init` varchar(50) DEFAULT NULL, `accounts_init` varchar(50) DEFAULT NULL, `journal_init` varchar(50) DEFAULT NULL, `lot_init` varchar(100) NOT NULL, `cust_advance_init` varchar(50) DEFAULT NULL, `stock_init` varchar(100) DEFAULT 'ST/2024/02/', `invoice_view` int(11) DEFAULT NULL COMMENT '1=Standard,2=Indian GST', `sms_status` int(11) DEFAULT NULL COMMENT '1=Enable 0=Disable', `status` int(11) DEFAULT NULL, `language_id` int(11) DEFAULT NULL, `currency_id` int(11) DEFAULT NULL, `currency_placement` varchar(50) DEFAULT NULL, `timezone` varchar(50) DEFAULT NULL, `date_format` varchar(50) DEFAULT NULL, `time_format` int(11) DEFAULT NULL, `sales_discount` double(20,3) DEFAULT NULL, `currencysymbol_id` int(11) DEFAULT NULL, `regno_key` varchar(50) DEFAULT NULL, `fav_icon` text DEFAULT NULL, `purchase_code` text DEFAULT NULL, `change_return` int(11) DEFAULT NULL, `sales_invoice_format_id` int(11) DEFAULT NULL, `pos_invoice_format_id` int(11) DEFAULT NULL, `sales_invoice_footer_text` text DEFAULT NULL, `round_off` int(11) DEFAULT NULL, `system_gold_status` varchar(100) NOT NULL DEFAULT '''gold_rate,1''', `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `quotation_init` varchar(50) DEFAULT NULL, `decimals` int(11) DEFAULT 2, `money_transfer_init` varchar(50) DEFAULT NULL, `sales_payment_init` varchar(50) DEFAULT NULL, `sales_return_payment_init` varchar(50) DEFAULT NULL, `purchase_payment_init` varchar(50) DEFAULT NULL, `purchase_return_payment_init` varchar(50) DEFAULT NULL, `expense_payment_init` varchar(50) DEFAULT NULL, `chit_payment_init` text NOT NULL, `current_subscriptionlist_id` int(11) DEFAULT 0, `smtp_host` varchar(250) DEFAULT NULL, `smtp_port` varchar(250) DEFAULT NULL, `smtp_user` varchar(250) DEFAULT NULL, `smtp_pass` varchar(250) DEFAULT NULL, `smtp_status` int(11) DEFAULT 0, `sms_url` text DEFAULT NULL, `user_id` int(11) NOT NULL, `mrp_column` int(11) DEFAULT 0, `qty_decimals` int(11) DEFAULT 2, `invoice_terms` text DEFAULT NULL, `previous_balance_bit` int(11) DEFAULT 1 COMMENT '1=Show, 0=Hide - Shows on sales invoice', `t_and_c_status` int(11) DEFAULT 1 COMMENT '1=Show, 0=Hide - Shows on sales invoice', `t_and_c_status_pos` int(11) DEFAULT 1, `number_to_words` varchar(250) DEFAULT 'Default', `print_huid` int(11) NOT NULL DEFAULT 0, `print_gm` int(11) DEFAULT 0, `user_limit` int(11) NOT NULL, `warehouse_limit` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `old_gold_weight` decimal(20,3) NOT NULL, `old_silver_weight` decimal(20,3) NOT NULL, `old_gold_id` int(11) NOT NULL, `old_silver_id` int(11) NOT NULL, `chitpayment_date_edit_option` int(11) NOT NULL, `print_warehouse_logo` text NOT NULL, `print_warehouse_address` text NOT NULL, `print_gold_rate` text NOT NULL, `print_supplier_address` text NOT NULL, `purchase_outstanding` varchar(100) NOT NULL DEFAULT 'Total Rate', `store_tag` varchar(100) NOT NULL DEFAULT 'Qrcode', `sales_print` text DEFAULT NULL, `print_tagging` text NOT NULL, `pure_gold_id` int(11) NOT NULL, `pure_silver_id` int(11) NOT NULL, `katcha_gold_id` int(11) NOT NULL, `katcha_silver_id` int(11) NOT NULL, `quotation_init1` varchar(100) NOT NULL, `qr_id` int(11) NOT NULL, `special_access` text NOT NULL, `store_data` text NOT NULL, `print_access` text NOT NULL, `order_init` varchar(100) NOT NULL DEFAULT 'OR/2024/02/', `order_init1` varchar(100) NOT NULL DEFAULT 'ORX/2024/02/', `store_stocks` text NOT NULL, `ol_purchase_init1` text NOT NULL, `issue_init` varchar(100) NOT NULL, `issue_init1` varchar(100) NOT NULL, `receipt_init` varchar(100) NOT NULL, `receipt_init1` varchar(100) NOT NULL, `scheme_month` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_store` -- INSERT INTO `db_store` (`id`, `store_code`, `store_name`, `store_website`, `mobile`, `phone`, `email`, `website`, `store_logo`, `logo`, `upi_id`, `upi_code`, `country`, `state`, `city`, `address`, `postcode`, `gst_no`, `vat_no`, `pan_no`, `bank_details`, `cid`, `category_init`, `item_init`, `tag_init`, `supplier_init`, `smith_init`, `purchase_init`, `purchase_init1`, `purchase_return_init`, `purchase_return_init1`, `ol_purchase_init`, `ol_purchase_return_init`, `payment_voucher_init`, `payment_voucher_init1`, `customer_init`, `sales_init`, `sales_init1`, `sales_return_init1`, `sales_return_init`, `expense_init`, `accounts_init`, `journal_init`, `lot_init`, `cust_advance_init`, `stock_init`, `invoice_view`, `sms_status`, `status`, `language_id`, `currency_id`, `currency_placement`, `timezone`, `date_format`, `time_format`, `sales_discount`, `currencysymbol_id`, `regno_key`, `fav_icon`, `purchase_code`, `change_return`, `sales_invoice_format_id`, `pos_invoice_format_id`, `sales_invoice_footer_text`, `round_off`, `system_gold_status`, `created_date`, `created_time`, `created_by`, `system_ip`, `system_name`, `quotation_init`, `decimals`, `money_transfer_init`, `sales_payment_init`, `sales_return_payment_init`, `purchase_payment_init`, `purchase_return_payment_init`, `expense_payment_init`, `chit_payment_init`, `current_subscriptionlist_id`, `smtp_host`, `smtp_port`, `smtp_user`, `smtp_pass`, `smtp_status`, `sms_url`, `user_id`, `mrp_column`, `qty_decimals`, `invoice_terms`, `previous_balance_bit`, `t_and_c_status`, `t_and_c_status_pos`, `number_to_words`, `print_huid`, `print_gm`, `user_limit`, `warehouse_limit`, `warehouse_id`, `old_gold_weight`, `old_silver_weight`, `old_gold_id`, `old_silver_id`, `chitpayment_date_edit_option`, `print_warehouse_logo`, `print_warehouse_address`, `print_gold_rate`, `print_supplier_address`, `purchase_outstanding`, `store_tag`, `sales_print`, `print_tagging`, `pure_gold_id`, `pure_silver_id`, `katcha_gold_id`, `katcha_silver_id`, `quotation_init1`, `qr_id`, `special_access`, `store_data`, `print_access`, `order_init`, `order_init1`, `store_stocks`, `ol_purchase_init1`, `issue_init`, `issue_init1`, `receipt_init`, `receipt_init1`, `scheme_month`) VALUES (1, 'ST0001', 'SAAS ADMIN', '', '+919999999999', '', 'admin@example.com', 'www', 'uploads/store/company_logo.png', NULL, NULL, NULL, 'India', 'Karnataka', 'Bengalore', 'Gandhi Road', '', '', '', '', '', NULL, 'CT/01/', 'IT01', 'TA01', 'SU/01/', 'SM/01/', 'PU/2024/01/', 'PUX/2024/01/', 'PR/2024/01/', 'PRX/2024/02/', 'OP/2024/01/', 'POR/2024/01/', 'PV/2024/01/', 'PVX/2024/01/', 'CU/01/', 'SL/2024/01/', 'SLX/2024/01/', 'SRX/2024/01/', 'SR/2024/01/', 'EX/2024/01/', 'AC/01/', '', '', 'ADV', 'ST/2024/02/', 1, 0, 1, 1, 1, 'Left', 'Asia/Kolkata\r\n', 'dd-mm-yyyy', 12, 0.000, NULL, NULL, NULL, NULL, 1, 3, 1, 'Its Footer, You can change it from Store Settings.', 0, 'gold_rate24,22k Gold Rate,0', NULL, NULL, NULL, NULL, NULL, 'QT/2024/01/', 2, 'MT/01/', 'SP/2024/01/', 'SP/2024/01/', 'PP/2024/01/', 'PRP/2024/01/', 'XP/2024/01/', '', 26, '', '', '', '', 1, '', 0, 0, 2, NULL, 1, 1, 1, 'Default', 0, 0, 0, 0, 2, 0.000, 0.000, 30, 31, 0, '', '', '', '', 'Metal,Mc', 'Qrcode', '', '', 32, 33, 34, 35, '', 2, '', '{\"sales_print_format\":\"\",\"edit_sales_amount\":0,\"estimation_tax\":0,\"tag_delete_option\":0,\"default_tax\":\"0\",\"tax_item_options\":\"1\",\"delete_password\":0,\"delete_password_access\":\"1\",\"chit_date_month\":\"1\",\"chit_date_week\":\"Monday\",\"nagotation_format\":\"Discount\",\"metal_rate_popup\":0,\"print_paper_header\":0,\"print_paper_footer\":0,\"print_paper_water_mark\":0,\"print_paper_water_mark_text\":\" \",\"print_paper_header_height\":\"\",\"print_paper_footer_height\":\"\",\"print_paper_water_mark_height\":\"\",\"print_paper_water_mark_rotation\":\"\",\"print_paper_default\":0,\"chit_gold_rate_option\":\"0\",\"print_A5_paper_header\":0,\"print_A5_paper_footer\":0,\"print_A5_paper_water_mark\":0,\"print_A5_paper_water_mark_text\":\" \",\"print_A5_paper_header_height\":\"\",\"print_A5_paper_footer_height\":\"\",\"print_A5_paper_water_mark_height\":\"\",\"print_A5_paper_water_mark_rotation\":\"\",\"print_A5_paper_default\":null}', '{\"gold_exchange_gross\":0,\"gold_exchange_purity\":0,\"gold_exchange_purity_weight\":0,\"gold_exchange_less_weight\":0,\"gold_exchange_net_weight\":0,\"gold_exchange_rate\":0,\"gold_exchange_total_amount\":0,\"silver_exchange_gross\":0,\"silver_exchange_purity\":0,\"silver_exchange_purity_weight\":0,\"silver_exchange_less_weight\":0,\"silver_exchange_net_weight\":0,\"silver_exchange_rate\":0,\"silver_exchange_total_amount\":0,\"purchase_payment_type\":0,\"sales_payment_type\":0,\"payment_voucher_payment_type\":0,\"chit_paymnet_type\":0,\"t_estimate_paymnet_type\":0,\"customer_advance_paymnet_type\":0,\"estimate_paymnet_type\":0,\"purchase_company_name\":0,\"purchase_warehouse_address\":0,\"sales_company_name\":0,\"payment_voucher_company_name\":0,\"chit_company_name\":0,\"t_estimate_company_name\":0,\"customer_advance_company_name\":0,\"estimate_company_name\":0,\"purchase_phone_number\":0,\"sales_phone_number\":0,\"payment_voucher_phone_number\":0,\"chit_phone_number\":0,\"t_estimate_phone_number\":0,\"customer_advance_phone_number\":0,\"estimate_phone_number\":0,\"advance_supplier_address\":0,\"advance_warehouse_logo\":0,\"advance_warehouse_address\":0,\"advance_gold_rate\":0,\"advance_payment_type\":0,\"advance_company_name\":0,\"advance_phone_number\":0,\"p_estimate_warehouse_logo\":0,\"p_estimate_warehouse_address\":0,\"p_estimate_gold_rate\":0,\"p_estimate_supplier_address\":0,\"p_estimate_company_name\":0,\"p_estimate_phone_number\":0,\"p_estimate_payment_type\":0,\"quot_warehouse_logo\":0,\"quot_warehouse_address\":0,\"quot_gold_rate\":0,\"quot_supplier_address\":0,\"quot_company_name\":0,\"quot_phone_number\":0,\"quot_payment_type\":0,\"q_estimate_warehouse_logo\":0,\"q_estimate_warehouse_address\":0,\"q_estimate_gold_rate\":0,\"q_estimate_supplier_address\":0,\"q_estimate_company_name\":0,\"q_estimate_phone_number\":0,\"q_estimate_payment_type\":0}', 'OR/2024/02/', 'ORX/2024/02/', '{\"old_gold_id\":\"30\",\"old_silver_id\":\"31\",\"pure_gold_id\":\"32\",\"pure_silver_id\":\"33\",\"katcha_gold_id\":\"34\",\"katcha_silver_id\":\"35\",\"coin_id\":\"36\"}', '', '', '', '', '', ''), (2, 'ST0002', 'NEZLAN', '', '8870047749', '', 'hr.rkcreators@gmail.com', NULL, 'uploads/store/300x3001.png', NULL, NULL, NULL, 'India', 'Tamil Nadu', 'Coimbatore', '203/1, 3rd floor, 7th street, crosscut road, gandhipuram', '641012', '33AKKPV0942J1ZW', '', '', '', NULL, 'CT/02/', 'IT02', 'A', 'SU/', 'SM/02/', 'PU/2526/', 'PUX/2526/', 'PR/2526/', 'PRX/2526/', 'OP/2526/', 'POR/2526/', 'PV/2526/', 'PVX/2526/', 'CU/02/', 'SL/2526/', 'SLX/2526/', 'SRX/2526/', 'SR/2526/', 'EX/2024/', 'AC/02/', '', 'LA/02/', 'ADV', 'ST/2526/', 1, 0, 1, 1, 35, 'Left', 'Asia/Kolkata\r\n', 'dd-mm-yyyy', 12, 0.000, NULL, NULL, NULL, NULL, 1, 4, 1, '- Credit/Debit Card/UPI Amount.\r\n- Thank you for your purchase. We look forward to serving you again. \r\n- If you have any questions, feel free to contact us at the provided phone number.', 1, 'gold_rate,22k Gold Rate,1', '2021-02-12', '05:53:37 pm', '', '127.0.0.1', 'LAPTOP-I5OUIM4R', 'QT/2526/', 3, 'MT/02/', 'SP/2526/', 'SP/2526/', 'PP/2526/', 'PRP/2526/', 'XP/2526/', 'CH/2526/', 28, NULL, NULL, NULL, NULL, 0, NULL, 0, 0, 2, NULL, 1, 1, 1, 'Default', 0, 1, 4, 3, 2, 7.000, 0.000, 2, 3, 1, 'purchase_warehouse_logo,sales_warehouse_logo,estimate_warehouse_logo,paymentvoucher_warehouse_logo,t_estimate_warehouse_logo', 'sales_warehouse_address,estimate_warehouse_address,paymentvoucher_warehouse_address', 'purchase_gold_rate,p_estimate_gold_rate,sales_gold_rate,estimate_gold_rate,paymentvoucher_gold_rate,t_estimate_gold_rate', 'purchase_supplier_address,sales_supplier_address,estimate_supplier_address,paymentvoucher_supplier_address', 'Metal,Mc', 'Qrcode', 'va_value,Mc,payment_datails,va_value_tagging,mc_tagging,tagging_payment_details', 'stamp,item_name,item_weight,item_va,item_mc', 4, 5, 6, 7, 'QTX/2526/', 3, '{\"counter_flow\":\"1\",\"loyal_points\":\"1\",\"table_export_button\":\"1\",\"counter_limit\":\"10\",\"invoice_flow\":\"Store Wise\",\"sales_init_count\":\"-\",\"sales_estimation_count\":\"-\",\"sales_wastage_flow\":\"Tag Data\",\"order_init_count\":\"-\"}', '{\"sales_print_format\":\"A4\",\"edit_sales_amount\":\"1\",\"estimation_tax\":0,\"tag_delete_option\":\"1\",\"default_tax\":\"0\",\"tax_item_options\":\"1\",\"delete_password\":0,\"delete_password_access\":\"1\",\"chit_date_month\":\"1\",\"chit_date_week\":\"Monday\",\"nagotation_format\":\"Discount\",\"metal_rate_popup\":0,\"print_paper_header\":0,\"print_paper_footer\":0,\"print_paper_water_mark\":0,\"print_paper_water_mark_text\":\" THANK YOU \",\"print_paper_header_height\":\"30\",\"print_paper_footer_height\":\"10\",\"print_paper_water_mark_height\":\"30\",\"print_paper_water_mark_rotation\":\"-2\",\"print_paper_default\":1,\"chit_gold_rate_option\":\"1\",\"print_A5_paper_header\":1,\"print_A5_paper_footer\":1,\"print_A5_paper_water_mark\":1,\"print_A5_paper_water_mark_text\":\" \",\"print_A5_paper_header_height\":\"10\",\"print_A5_paper_footer_height\":\"10\",\"print_A5_paper_water_mark_height\":\"\",\"print_A5_paper_water_mark_rotation\":\"\",\"print_A5_paper_default\":null}', '{\"gold_exchange_gross\":\"1\",\"gold_exchange_purity\":\"1\",\"gold_exchange_purity_weight\":\"1\",\"gold_exchange_less_weight\":\"1\",\"gold_exchange_net_weight\":\"1\",\"gold_exchange_rate\":\"1\",\"gold_exchange_total_amount\":\"1\",\"silver_exchange_gross\":\"1\",\"silver_exchange_purity\":\"1\",\"silver_exchange_purity_weight\":\"1\",\"silver_exchange_less_weight\":\"1\",\"silver_exchange_net_weight\":\"1\",\"silver_exchange_rate\":\"1\",\"silver_exchange_total_amount\":\"1\",\"purchase_payment_type\":\"1\",\"sales_payment_type\":\"1\",\"payment_voucher_payment_type\":\"1\",\"chit_paymnet_type\":0,\"t_estimate_paymnet_type\":0,\"customer_advance_paymnet_type\":0,\"estimate_paymnet_type\":\"1\",\"purchase_company_name\":\"1\",\"purchase_warehouse_address\":\"1\",\"sales_company_name\":\"1\",\"payment_voucher_company_name\":\"1\",\"chit_company_name\":0,\"t_estimate_company_name\":0,\"customer_advance_company_name\":0,\"estimate_company_name\":\"1\",\"purchase_phone_number\":\"1\",\"sales_phone_number\":\"1\",\"payment_voucher_phone_number\":\"1\",\"chit_phone_number\":0,\"t_estimate_phone_number\":0,\"customer_advance_phone_number\":0,\"estimate_phone_number\":\"1\",\"advance_supplier_address\":\"1\",\"advance_warehouse_logo\":0,\"advance_warehouse_address\":\"1\",\"advance_gold_rate\":0,\"advance_payment_type\":0,\"advance_company_name\":\"1\",\"advance_phone_number\":\"1\",\"p_estimate_warehouse_logo\":\"1\",\"p_estimate_warehouse_address\":\"1\",\"p_estimate_gold_rate\":0,\"p_estimate_supplier_address\":\"1\",\"p_estimate_company_name\":\"1\",\"p_estimate_phone_number\":\"1\",\"p_estimate_payment_type\":\"1\",\"quot_warehouse_logo\":\"1\",\"quot_warehouse_address\":\"1\",\"quot_gold_rate\":\"1\",\"quot_supplier_address\":\"1\",\"quot_company_name\":\"1\",\"quot_phone_number\":\"1\",\"quot_payment_type\":\"1\",\"q_estimate_warehouse_logo\":0,\"q_estimate_warehouse_address\":\"1\",\"q_estimate_gold_rate\":\"1\",\"q_estimate_supplier_address\":\"1\",\"q_estimate_company_name\":\"1\",\"q_estimate_phone_number\":\"1\",\"q_estimate_payment_type\":\"1\"}', 'OR/2526/', 'ORX/2526/', '{\"old_gold_id\":\"2\",\"old_silver_id\":\"3\",\"pure_gold_id\":\"4\",\"pure_silver_id\":\"5\",\"katcha_gold_id\":\"6\",\"katcha_silver_id\":\"7\",\"coin_id\":\"8\",\"coin_silver_id\":\"39\"}', 'OPX/2526/', 'IS/2526/02/', 'ISX/2526/', 'IR/2526/', 'IRX/2526/', 'Jun-2025'); -- -------------------------------------------------------- -- -- Table structure for table `db_store_qr` -- CREATE TABLE `db_store_qr` ( `id` int(11) NOT NULL, `label_name` varchar(250) NOT NULL, `store_id` int(11) NOT NULL, `qr_content` text NOT NULL, `status` int(11) NOT NULL, `df` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `db_store_qr` -- INSERT INTO `db_store_qr` (`id`, `label_name`, `store_id`, `qr_content`, `status`, `df`) VALUES (1, 'QR123', 2, '{\"\":\"\",\"parent_tab\":\"width:70mm; display:flex; align-items:center;justify-content:start;height:10mm;margin-top:1px\",\"printable_area\":\"width:50mm;display:flex; align-items:center;height:auto;justify-content:start; margin-left:13px;border-right:1px solid #fff;\",\"left-sides\":\"width:50%;order:2;height: 100%;\",\"shop_right\":\"font-size: 10px;font-weight:900;transform: rotate(-90deg); -webkit-transform: rotate(-90deg); text-align: start; -moz-transform: rotate(-90deg); position: relative; top: 1px;line-height: ;right: -5px;\",\"qr_image_1\":\"width: 30px;height: 30px;min-width:30%;max-width:95%;aspect-ratio: 1;object-fit: contain;align-items:center;display:flex\",\"shop_left\":\"font-size: 8px;font-weight:600;display:none\",\"text_left_grp\":\"display:flex;flex-direction:column;align-items:center;justify-content: center;\",\"item_name_select\":\"font-size:7px;font-weight:600;display:none \",\"tag_name_select\":\"font-size:7px;font-weight:800;line-height: 8px;\",\"type_select\":\"font-size:7px;font-weight:800;line-height: 9px;\",\"huid_code_select\":\"font-size:7px;font-weight:800;line-height: 8px;\",\"size_select\":\"font-size: 6px;font-weight:800;width:100%;order:5;text-align:center\",\"page_body3\":\"order:3;width:50%;font-size:15px;display:flex;text-align:left;\\/ flex-direction:column; \\/height: 100%;flex-wrap: wrap;justify-content: start;position:relative\",\"item_name_select1\":\"font-size:8px;font-weight:900;width:100%\",\"wt_select\":\"font-size:7px;font-weight:800;width:auto;order:1\",\"mc_select\":\"font-size:7px;font-weight:800;width:auto;order:3;\",\"ws_select\":\"font-size:7px;font-weight:800;width:auto;order:2;\",\"rate_select\":\"font-size: 7px;font-weight:800;width:auto;order:4;line-height:7px;margin-block:auto;color:green\",\"st_cost_select\":\"font-size: 7px;font-weight:800;width:auto;order:5;line-height:7px;margin-block:auto;display:block\",\"st_wt_select\":\"font-size: 7px;font-weight:800;width:auto;order:6;line-height:7px;margin-block:auto;display:block\",\"counter_select\":\"font-size: 5px;font-weight:900;transform: rotate(-90deg); -webkit-transform: rotate(-90deg); text-align: start; -moz-transform: rotate(-90deg); position: absolute; top: 50% ;right: 0px;order:112;display:block\",\"chit_tag\":\"\",\"GroupTag\":\"\",\"chit_customer_code\":\"\",\"chit_group_name1\":\"\",\"chit_customer_\":\"\",\"chit_PaymentTag\":\"\",\"chit_group_name2\":\"\",\"chit_date_\":\"\",\"chit_amount_\":\"\",\"chit_receipt_number\":\"\",\"chit_installment_number\":\"\",\"chit_weight\":\"\"}', 0, 0), (2, 'New Label', 1, '{\"\":\"\",\"parent_tab\":\"width:2.75591in; display:flex; align-items:center;justify-content:start;height:0.3937in;margin-top:1px\",\"printable_area\":\"width:1.968504in;display:flex; align-items:center;height:auto;justify-content:start; margin-left:13px;border-right:1px solid #fff;\",\"left-sides\":\"width:50%;order:2;height: 100%;\",\"shop_right\":\"font-size: 10px;font-weight:900;transform: rotate(-90deg); -webkit-transform: rotate(-90deg); text-align: start; -moz-transform: rotate(-90deg); position: relative; top: 1px;line-height: ;right: -5px;\",\"qr_image_1\":\"width: 30px;height: 30px;min-width:30%;max-width:95%;aspect-ratio: 1;object-fit: contain;align-items:center;display:flex\",\"shop_left\":\"font-size: 8px;font-weight:600;display:none\",\"text_left_grp\":\"display:flex;flex-direction:column;align-items:center;justify-content: center;\",\"item_name_select\":\"font-size:7px;font-weight:600;display:none \",\"tag_name_select\":\"font-size:7px;font-weight:800;line-height: 8px;\",\"type_select\":\"font-size:7px;font-weight:800;line-height: 9px;\",\"huid_code_select\":\"font-size:7px;font-weight:800;line-height: 8px;\",\"size_select\":\"font-size: 6px;font-weight:800;width:50%;order:5;\",\"page_body3\":\"order:3;width:50%;font-size:15px;display:flex;text-align:left;\\/ flex-direction:column; \\/height: 100%;flex-wrap: wrap;justify-content: start;position:relative\",\"item_name_select1\":\"font-size:8px;font-weight:900;width:100%\",\"wt_select\":\"font-size:7px;font-weight:800;width:auto;order:1\",\"mc_select\":\"font-size:7px;font-weight:800;width:auto;order:3;\",\"ws_select\":\"font-size:7px;font-weight:800;width:auto;order:2;\",\"rate_select\":\"font-size: 7px;font-weight:800;width:auto;order:4;line-height:7px;margin-block:auto\",\"st_cost_select\":\"font-size: 7px;font-weight:800;width:auto;order:5;line-height:7px;margin-block:auto;display:block\",\"st_wt_select\":\"font-size: 7px;font-weight:800;width:auto;order:6;line-height:7px;margin-block:auto;display:block\",\"counter_select\":\"font-size: 5px;font-weight:900;transform: rotate(-90deg); -webkit-transform: rotate(-90deg); text-align: start; -moz-transform: rotate(-90deg); position: absolute; top: 50% ;right: 0px;order:112;display:block\",\"chit_tag\":\"\",\"GroupTag\":\"\",\"chit_customer_code\":\"\",\"chit_group_name1\":\"\",\"chit_customer_\":\"\",\"chit_PaymentTag\":\"\",\"chit_group_name2\":\"\",\"chit_date_\":\"\",\"chit_amount_\":\"\",\"chit_receipt_number\":\"\",\"chit_installment_number\":\"\",\"chit_weight\":\"\"}', 0, 0), (3, '92mm x 15mm', 2, '{\"\":\"\",\"parent_tab\":\"width:80mm; display:flex; align-items:center;justify-content:start;height:15mm;margin-top:0px;justify-content:start\",\"printable_area\":\"width:55mm;display:flex; align-items:center;height:auto;justify-content:start; margin-left:0;border-right:1px solid #fff;\",\"left-sides\":\"width:50%;order:2;height: 100%;\",\"shop_right\":\"font-size: 10px;font-weight:900;transform: rotate(-90deg); -webkit-transform: rotate(-90deg); text-align: start; -moz-transform: rotate(-90deg); position: relative; top: 1px;line-height: ;right: -5px;\",\"qr_image_1\":\"width: 30px;height: 30px;min-width:30%;max-width:95%;aspect-ratio: 1;object-fit: contain;align-items:center;display:flex;\",\"shop_left\":\"font-size: 8px;font-weight:600;display:none\",\"text_left_grp\":\"display:flex;flex-direction:column;align-items:center;justify-content: center;\",\"item_name_select\":\"font-size:8px;font-weight:600;display:none \",\"tag_name_select\":\"font-size:7px;font-weight:800;line-height: 8px;\",\"type_select\":\"font-size:7px;font-weight:800;line-height: 9px;\",\"huid_code_select\":\"font-size:7px;font-weight:800;line-height: 8px;\",\"size_select\":\"font-size: 6px;font-weight:800;width:50%;order:5;\",\"page_body3\":\"order:3;width:50%;font-size:15px;display:flex;text-align:left;\\/ flex-direction:column; \\/height: 100%;flex-wrap: wrap;justify-content: start;position:relative; padding-left:4px\",\"item_name_select1\":\"font-size:8px;font-weight:900;width:100%\",\"wt_select\":\"font-size:8px;font-weight:800;width:auto;order:1\",\"mc_select\":\"font-size:7px;font-weight:800;width:auto;order:3;\",\"ws_select\":\"font-size:7px;font-weight:800;width:auto;order:2;\",\"rate_select\":\"font-size: 7px;font-weight:800;width:auto;order:4;line-height:7px;margin-block:auto\",\"st_cost_select\":\"font-size: 7px;font-weight:800;width:auto;order:5;line-height:7px;margin-block:auto;display:block\",\"st_wt_select\":\"font-size: 7px;font-weight:800;width:auto;order:6;line-height:7px;margin-block:auto;display:block\",\"counter_select\":\"font-size: 5px;font-weight:900;transform: rotate(-90deg); -webkit-transform: rotate(-90deg); text-align: start; -moz-transform: rotate(-90deg); position: absolute; top: 50% ;right: 0px;order:112;display:block\",\"chit_tag\":\"\",\"GroupTag\":\"\",\"chit_customer_code\":\"\",\"chit_group_name1\":\"\",\"chit_customer_\":\"\",\"chit_PaymentTag\":\"\",\"chit_group_name2\":\"\",\"chit_date_\":\"\",\"chit_amount_\":\"\",\"chit_receipt_number\":\"\",\"chit_installment_number\":\"\",\"chit_weight\":\"\"}', 0, 0), (4, '63mm x 21mm', 2, '{\"\":\"\",\"parent_tab\":\"width:63mm !important; padding:1px 2px;display:inline-block; align-items:center;justify-content:space-between;height:20mm;\",\"printable_area\":\"width:28mm;display:inline-block; align-items:center;justify-content:start;margin-block:auto;border-right:1px solid #fff;height:20mm;padding-left:6px\",\"left-sides\":\"width:100%;order:2;position:relative;height:50%;\",\"shop_right\":\"font-size: 10px;font-weight:900; -webkit-transform: rotate(-90deg); text-align: start; -moz-transform: rotate(-90deg); position: absolute; bottom: 0px;line-height: ;left: -2px;transform: rotate(-90deg) translate(50%,-20%);display:none\",\"qr_image_1\":\"width: auto;height: 90%;min-width:30%;max-width:33px;aspect-ratio: 1;object-fit: contain;align-items:center;display:flex;margin-block:auto;margin-left:0px\",\"shop_left\":\"font-size: 8px;font-weight:600;display:none\",\"text_left_grp\":\"display:flex;flex-direction:column;align-items:center;justify-content: center;padding-left:3px;\",\"item_name_select\":\"font-size:7px;font-weight:600;display:block;line-height:8px\",\"tag_name_select\":\"font-size:7px;font-weight:800;\",\"type_select\":\"font-size:7px;font-weight:800;line-height: 1;\",\"huid_code_select\":\"font-size:7px;font-weight:800;line-height: 1;\",\"size_select\":\"font-size: 8px;font-weight:800;width:100%;order:5;line-height:8px\",\"page_body3\":\"order:3;width:100%;font-size:15px;display:flex;text-align:left; flex-wrap: wrap;align-items:center;justify-content: start;position:relative;height:50%; padding-top:1px;margin-block: auto;\",\"item_name_select1\":\"font-size:8px;font-weight:800;width:100%;padding-top:1px\",\"wt_select\":\"font-size:8px;font-weight:800;width:100%;order:1;line-height:1\",\"mc_select\":\"font-size:7px;font-weight:800;width:auto;order:3;\",\"ws_select\":\"font-size:7px;font-weight:700;width:auto;order:2;\",\"rate_select\":\"font-size: 7px;font-weight:800;width:auto;order:4;\",\"st_cost_select\":\"font-size: 7px;font-weight:800;width:auto;order:5;line-height:7px;margin-block:auto;display:block;display:none\",\"st_wt_select\":\"font-size: 7px;font-weight:800;width:auto;order:6;line-height:7px;margin-block:auto;display:none\",\"counter_select\":\"font-size: 5px;font-weight:900;transform: rotate(-90deg); -webkit-transform: rotate(-90deg); text-align: start; -moz-transform: rotate(-90deg); position: absolute; bottom: 40%; right:15px; order:1; display:flex;\",\"chit_tag\":\"\",\"GroupTag\":\"\",\"chit_customer_code\":\"\",\"chit_group_name1\":\"\",\"chit_customer_\":\"\",\"chit_PaymentTag\":\"\",\"chit_group_name2\":\"\",\"chit_date_\":\"\",\"chit_amount_\":\"\",\"chit_receipt_number\":\"\",\"chit_installment_number\":\"\",\"chit_weight\":\"\"}', 0, 0), (5, '85mm x 15mm', 2, '{\"\":\"\",\"parent_tab\":\"width:85mm; display:flex; align-items:center;justify-content:start;height:15mm;margin-block:0px 2px;\",\"printable_area\":\"width:54mm;display:flex; align-items:center;height:98%;justify-content:start; margin-left:1px;border-right:1px solid #fff;\",\"left-sides\":\"width:60%;order:2;height: 100%;position:relative\",\"shop_right\":\"font-size: 12px;font-weight:600;transform: rotate(-90deg); -webkit-transform: rotate(-90deg); text-align: start; -moz-transform: rotate(-90deg); position: absolute; bottom: 20px;line-height: 10px;left: -3px;\",\"qr_image_1\":\"width: auto; height: 87%;min-width:30%;max-width:95%;aspect-ratio: 1;object-fit: contain;align-items:center;display:flex;margin-block:auto;margin-left:22px;max-width:33px\",\"shop_left\":\"font-size: 8px;font-weight:600;display:none\",\"text_left_grp\":\"display:flex;flex-direction:column;align-items:center;justify-content: center;\",\"item_name_select\":\"font-size:14px;font-weight:800;line-height:14px;display:none\",\"tag_name_select\":\"font-size:12px;font-weight:700;line-height:14px;\",\"type_select\":\"font-size:12px;font-weight:700;line-height:12px;\",\"huid_code_select\":\"font-size:7px;font-weight:800;line-height: 8px;display:none\",\"size_select\":\"font-size:12px;font-weight:700;line-height:14px;\",\"page_body3\":\"order:3;width:50%;font-size:15px;display:flex;text-align:left;\\/ flex-direction:column; \\/height: 100%;flex-wrap: wrap;justify-content: start;position:relative\",\"item_name_select1\":\"font-size:8px;font-weight:900;width:100%;display:none;\",\"wt_select\":\"font-size:12px;font-weight:600;width:100%;line-height:14px;\",\"mc_select\":\"font-size:12px;font-weight:600;width:100%;line-height:14px;display:none\",\"ws_select\":\"font-size:12px;font-weight:600;width:100%;line-height:14px;display:none\",\"rate_select\":\"font-size:12px;font-weight:600;width:100%;line-height:14px\",\"st_cost_select\":\"font-size:12px;font-weight:600;width:100%;line-height:14px\",\"st_wt_select\":\"font-size: 7px;font-weight:800;width:auto;order:6;line-height:7px;margin-block:auto;display:none\",\"counter_select\":\"font-size: 5px;font-weight:900;transform: rotate(-90deg); -webkit-transform: rotate(-90deg); text-align: start; -moz-transform: rotate(-90deg); position: absolute; top: 50% ;right: 0px;order:112;display:none\"}', 0, 0), (8, '50mm x 50mm', 2, '{\"\":\"\",\"parent_tab\":\"width:2.75591in; display:flex; align-items:center;justify-content:start;height:0.3937in;margin-top:1px\",\"printable_area\":\"width:1.968504in;display:flex; align-items:center;height:auto;justify-content:start; ;border-right:1px solid #fff;position:relative\",\"left-sides\":\"width:50%;order:2;height: 100%;\",\"shop_right\":\"font-size: 10px;font-weight:900;transform: rotate(-90deg); -webkit-transform: rotate(-90deg); text-align: start; -moz-transform: rotate(-90deg); position: absolute; bottom: 11px;line-height: ;left: -5px;\",\"qr_image_1\":\"width: 30px;height: 30px;min-width:30%;max-width:95%;aspect-ratio: 1;object-fit: contain;align-items:center;display:flex;margin-left:13px\",\"shop_left\":\"font-size: 8px;font-weight:600;display:none\",\"text_left_grp\":\"display:flex;flex-direction:column;align-items:center;justify-content: center;\",\"item_name_select\":\"font-size:7px;font-weight:600;display:none \",\"tag_name_select\":\"font-size:7px;font-weight:800;line-height: 8px;\",\"type_select\":\"font-size:7px;font-weight:800;line-height: 9px;\",\"huid_code_select\":\"font-size:7px;font-weight:800;line-height: 8px;\",\"size_select\":\"font-size: 6px;font-weight:800;width:50%;order:5;\",\"page_body3\":\"order:3;width:50%;font-size:15px;display:flex;text-align:left;\\/ flex-direction:column; \\/height: 100%;flex-wrap: wrap;justify-content: start;position:relative\",\"item_name_select1\":\"font-size:8px;font-weight:900;width:100%\",\"wt_select\":\"font-size:7px;font-weight:800;width:auto;order:1\",\"mc_select\":\"font-size:7px;font-weight:800;width:auto;order:3;\",\"ws_select\":\"font-size:7px;font-weight:800;width:auto;order:2;\",\"rate_select\":\"font-size: 7px;font-weight:800;width:auto;order:4;line-height:7px;margin-block:auto\",\"st_cost_select\":\"font-size: 7px;font-weight:800;width:auto;order:5;line-height:7px;margin-block:auto;display:block\",\"st_wt_select\":\"font-size: 7px;font-weight:800;width:auto;order:6;line-height:7px;margin-block:auto;display:block\",\"counter_select\":\"font-size: 5px;font-weight:900;transform: rotate(-90deg); -webkit-transform: rotate(-90deg); text-align: start; -moz-transform: rotate(-90deg); position: absolute; top: 50% ;right: 0px;order:112;display:block\",\"chit_tag\":\"\",\"GroupTag\":\"\",\"chit_customer_code\":\"\",\"chit_group_name1\":\"\",\"chit_customer_\":\"\",\"chit_PaymentTag\":\"\",\"chit_group_name2\":\"\",\"chit_date_\":\"\",\"chit_amount_\":\"\",\"chit_receipt_number\":\"\",\"chit_installment_number\":\"\",\"chit_weight\":\"\"}', 0, 0); -- -------------------------------------------------------- -- -- Table structure for table `db_stripe` -- CREATE TABLE `db_stripe` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `sandbox` int(11) DEFAULT NULL, `publishable_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `api_secret` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `updated_at` date DEFAULT NULL, `updated_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_stripepayments` -- CREATE TABLE `db_stripepayments` ( `id` int(11) NOT NULL, `product_id` int(11) NOT NULL, `buyer_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL, `buyer_email` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL, `paid_amount` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL, `paid_amount_currency` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL, `txn_id` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL, `payment_status` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL, `created` datetime NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_subscription` -- CREATE TABLE `db_subscription` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `payment_id` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `package_id` int(11) DEFAULT NULL, `package_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `package_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `subscription_date` date DEFAULT NULL, `expire_date` date DEFAULT NULL, `trial_days` int(11) DEFAULT NULL, `max_users` int(11) DEFAULT NULL, `max_warehouses` int(11) DEFAULT NULL, `max_items` int(11) DEFAULT NULL, `max_invoices` int(11) DEFAULT NULL, `payment_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `txn_id` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `payment_gross` double(20,3) DEFAULT NULL, `currency_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `payer_email` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `payment_status` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `system_ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `system_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `package_status` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `payment_type` varchar(250) DEFAULT NULL COMMENT 'manual subscription only', `package_count` int(11) DEFAULT NULL COMMENT 'manual subscription only' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_suppliers` -- CREATE TABLE `db_suppliers` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `count_id` int(11) DEFAULT NULL COMMENT 'Use to create supplier Code', `supplier_code` varchar(20) DEFAULT NULL, `supplier_name` varchar(50) DEFAULT NULL, `mobile` varchar(15) DEFAULT NULL, `phone` varchar(15) DEFAULT NULL, `email` varchar(50) DEFAULT NULL, `gstin` varchar(100) DEFAULT NULL, `tax_number` varchar(50) DEFAULT NULL, `vatin` varchar(100) DEFAULT NULL, `opening_balance` double(20,3) DEFAULT NULL, `opening_gold_balance` decimal(20,3) NOT NULL, `opening_silver_balance` decimal(20,3) NOT NULL, `purchase_due` double(20,3) DEFAULT NULL, `purchase_return_due` double(20,3) DEFAULT NULL, `country_id` int(11) DEFAULT NULL, `state_id` int(11) DEFAULT NULL, `city` varchar(50) DEFAULT NULL, `postcode` varchar(10) DEFAULT NULL, `address` varchar(250) DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(30) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `status` int(11) DEFAULT NULL, `pur_gold` decimal(20,3) NOT NULL, `paid_gold` decimal(20,3) NOT NULL, `pending_gold` decimal(20,3) NOT NULL, `pending_silver` decimal(20,3) NOT NULL, `paid_silver` decimal(20,3) NOT NULL, `pur_silver` decimal(20,3) NOT NULL, `cash_balance` decimal(20,3) NOT NULL, `paid_cash_balance` decimal(20,3) NOT NULL, `pending_cash_balance` decimal(20,3) NOT NULL, `supplier_type` int(11) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_suppliers` -- INSERT INTO `db_suppliers` (`id`, `store_id`, `count_id`, `supplier_code`, `supplier_name`, `mobile`, `phone`, `email`, `gstin`, `tax_number`, `vatin`, `opening_balance`, `opening_gold_balance`, `opening_silver_balance`, `purchase_due`, `purchase_return_due`, `country_id`, `state_id`, `city`, `postcode`, `address`, `system_ip`, `system_name`, `created_date`, `created_time`, `created_by`, `company_id`, `status`, `pur_gold`, `paid_gold`, `pending_gold`, `pending_silver`, `paid_silver`, `pur_silver`, `cash_balance`, `paid_cash_balance`, `pending_cash_balance`, `supplier_type`) VALUES (1, 2, 1, 'SU/02/0001', 'test suplier', '', '', '', '', '', NULL, 0.000, 0.000, 0.000, 0.000, NULL, 0, 0, '', '', '', '171.79.49.36', '171.79.49.36', '2025-02-23', '08:27:53 am', 'RK creators', NULL, 1, 58.680, 0.000, 58.680, 60.000, 0.000, 60.000, 0.000, 0.000, 0.000, 0), (2, 2, 2, 'SU/02/0002', 'GOLDEN', '', '', '', '', '', NULL, 0.000, 0.000, 0.000, 0.000, NULL, 0, 0, '', '', '', '49.206.112.64', '49.206.112.64.actcorp.in', '2025-02-27', '03:09:07 pm', 'RK creators', NULL, 1, 48.000, 0.000, 48.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (3, 2, 3, 'SU/02/0003', 'saravana ', '', '', '', '', '', NULL, 0.000, 0.000, 0.000, 260.000, NULL, 0, 0, '', '', '', '103.237.57.160', '103.237.57.160', '2025-03-10', '05:42:43 pm', 'rkteams', NULL, 1, 0.000, 0.000, 0.000, 38.080, 0.000, 38.080, 10.000, 0.000, 10.000, 0), (4, 2, 4, 'SU/02/0004', 'GURU', '', '', '', '', '', NULL, 0.000, 0.000, 0.000, 515.000, NULL, 0, 0, '', '', '', '223.237.183.245', '223.237.183.245', '2025-03-18', '02:03:30 pm', 'rkteams', NULL, 1, 28.500, 0.000, 28.500, 0.000, 0.000, 0.000, 515.000, 0.000, 515.000, 0), (5, 2, 5, 'SU/02/0005', 'DINESH', '', '', '', '', '', NULL, 0.000, 0.000, 0.000, 206.000, NULL, 0, 0, '', '', '', '103.237.57.160', '103.237.57.160', '2025-03-18', '04:06:00 pm', 'rkteams', NULL, 1, 0.000, 0.000, -0.280, 669.080, 0.000, 669.080, 206.000, 0.000, 206.000, 0), (6, 2, 6, 'SU/02/0006', 'gents bangles supplier', '', '', '', '', '', NULL, 0.000, 0.000, 0.000, 0.000, NULL, 0, 0, '', '', '', '122.174.195.251', 'abts-tn-dynamic-251.195.174.122.airtelbroadband.in', '2025-03-19', '02:30:51 pm', 'rkteams', NULL, 1, 43.680, 0.000, 4.378, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (7, 2, 7, 'SU/02/0007', 'SANTHOSH', '', '', '', '', '', NULL, 0.000, 0.000, 0.000, 0.000, NULL, 0, 0, '', '', '', '220.158.156.181', '220.158.156.181', '2025-03-27', '12:43:46 pm', 'rkteams', NULL, 1, 1.997, 0.000, 1.997, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (8, 2, 8, 'SU/0008', 'RAMESH ', '', '', '', '', '', NULL, 0.000, 0.000, 0.000, 0.000, NULL, 0, 0, '', '', '', '183.83.148.40', '183.83.148.40.actcorp.in', '2025-05-06', '05:29:46 pm', 'rkteams', NULL, 1, 94.000, 0.000, 94.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (9, 2, 9, 'SU/0009', 'ERODE SUPPLIIER', '', '', '', '', '', NULL, 0.000, 0.000, 0.000, NULL, NULL, 0, 0, '', '', '', '103.237.57.160', '103.237.57.160', '2025-05-09', '04:27:24 pm', 'rkteams', NULL, 1, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (10, 2, 10, 'SU/0010', 'RK SMITH ', '', '', '', '', '', NULL, 0.000, 0.000, 0.000, NULL, NULL, 0, 0, '', '', '', '223.237.183.21', '223.237.183.21', '2025-05-13', '09:20:54 am', 'rkteams', NULL, 1, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (11, 2, 11, 'SU/0011', 'SKT', '', '', '', '', '', NULL, 0.000, 0.000, 0.000, 0.000, NULL, 0, 0, '', '', '', '120.60.29.178', 'triband-mum-120.60.29.178.mtnl.net.in', '2025-05-27', '12:32:27 pm', 'rkteams', NULL, 1, 48.000, 0.000, 48.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (12, 2, 12, 'SU/0012', 'SL', '', '', '', '', '', NULL, 0.000, 0.000, 0.000, 0.000, 0.000, 0, 0, '', '', '', '103.160.240.171', '103.160.240.171', '2025-05-31', '06:10:34 pm', 'rkteams', NULL, 1, -24.000, 0.000, -24.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0), (13, 2, 13, 'SU/0013', 'EL', '', '', '', '', '', NULL, 0.000, 0.000, 0.000, 0.000, NULL, 0, 0, '', '', '', '103.160.240.171', '103.160.240.171', '2025-05-31', '07:11:34 pm', 'rkteams', NULL, 1, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0); -- -------------------------------------------------------- -- -- Table structure for table `db_supplier_payments` -- CREATE TABLE `db_supplier_payments` ( `id` int(11) NOT NULL, `purchasepayment_id` int(11) DEFAULT NULL, `supplier_id` int(11) DEFAULT NULL, `payment_date` date DEFAULT NULL, `payment_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `payment` double(20,3) DEFAULT NULL, `payment_note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `system_ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `system_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `created_time` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `created_date` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_tagging` -- CREATE TABLE `db_tagging` ( `tag_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `item_huid_id` varchar(100) NOT NULL, `purchaseitems_id` int(11) NOT NULL, `tag_code` varchar(50) NOT NULL, `tag_init` varchar(100) NOT NULL, `count_id` int(11) NOT NULL, `item_id` text NOT NULL, `item_name` varchar(50) NOT NULL, `huid` text NOT NULL, `item_qty` decimal(20,3) DEFAULT 1.000, `item_weight` decimal(20,3) NOT NULL, `rate` decimal(20,3) NOT NULL, `item_mc` decimal(20,3) DEFAULT NULL, `mc_type` varchar(100) NOT NULL DEFAULT 'Total Amount', `item_st_wt` decimal(20,3) NOT NULL, `item_size` varchar(100) NOT NULL, `item_st_cost` decimal(20,3) NOT NULL, `item_wastage` decimal(20,3) DEFAULT NULL, `item_wastage_type` varchar(50) NOT NULL, `sts` int(11) NOT NULL, `df` tinyint(4) NOT NULL, `tag_status` varchar(50) NOT NULL DEFAULT 'Tagged', `type_value` varchar(50) NOT NULL DEFAULT 'Stocks', `adjustmentitem_id` int(11) DEFAULT NULL, `lot_id` int(11) NOT NULL, `counter_id` int(11) NOT NULL, `counter_type` varchar(225) DEFAULT NULL, `sales_status` int(11) NOT NULL DEFAULT 0, `description` text NOT NULL, `created_date` date NOT NULL, `created_time` time NOT NULL, `created_by` varchar(50) NOT NULL, `edit_description` text NOT NULL, `edit_status` int(11) NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime DEFAULT NULL, `system_ip` varchar(50) NOT NULL, `system_name` varchar(50) NOT NULL, `dia_qty` decimal(20,3) DEFAULT NULL, `dia_qlty` varchar(100) DEFAULT NULL, `dia_wt` decimal(20,3) DEFAULT NULL, `color` varchar(100) DEFAULT NULL, `igi_no` text DEFAULT NULL, `style_no` text DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `db_tagging` -- INSERT INTO `db_tagging` (`tag_id`, `store_id`, `warehouse_id`, `item_huid_id`, `purchaseitems_id`, `tag_code`, `tag_init`, `count_id`, `item_id`, `item_name`, `huid`, `item_qty`, `item_weight`, `rate`, `item_mc`, `mc_type`, `item_st_wt`, `item_size`, `item_st_cost`, `item_wastage`, `item_wastage_type`, `sts`, `df`, `tag_status`, `type_value`, `adjustmentitem_id`, `lot_id`, `counter_id`, `counter_type`, `sales_status`, `description`, `created_date`, `created_time`, `created_by`, `edit_description`, `edit_status`, `updated_by`, `updated_at`, `system_ip`, `system_name`, `dia_qty`, `dia_qlty`, `dia_wt`, `color`, `igi_no`, `style_no`) VALUES (1, 2, 2, '', 1, 'A0001', 'A', 1, '1', '', '', 1.000, 5.500, 0.000, 100.000, 'Total Amount', 0.000, '0', 0.000, 15.000, 'Percentage', 0, 0, 'Saled', 'purchase', 0, 0, 0, 'BOX', 0, '', '2025-02-23', '10:57:47', 'RK creators', '', 1, 2, '2025-02-23 10:59:44', '171.79.48.36', '171.79.48.36', NULL, NULL, NULL, NULL, NULL, NULL), (2, 2, 2, '', 1, 'A0002', 'A', 2, '1', '', '', 1.000, 10.500, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 15.000, 'Percentage', 0, 0, 'Saled', 'purchase', 0, 0, 0, 'BOX', 1, '[{\"sales_delete\":{\"sales_date\":\"2025-03-10\",\"sales_code\":\"SL\\/2024\\/02\\/\",\"sales_id\":6,\"deleted_date\":\"2025-03-10 05:54:09\",\"deleted_by\":\"rkteams\",\"deleted_id\":\"2\"}}]', '2025-02-26', '10:49:00', 'RK creators', '[{\"update_data\":{\"old_item_weight\":\"10.000\",\"new_item_weight\":\"10.5\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-03-10 05:59:22\"}}]', 1, 2, '2025-03-10 05:59:22', '122.178.255.6', 'abts-kk-static-006.255.178.122.airtelbroadband.in', NULL, NULL, NULL, NULL, NULL, NULL), (3, 2, 2, '', 2, 'A0003', 'A', 3, '9', '', '', 1.000, 4.300, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 8.000, 'Percentage', 0, 0, 'Saled', 'purchase', 0, 0, 0, 'BOX', 1, '', '2025-02-27', '03:18:20', 'RK creators', '', 0, 0, NULL, '49.206.112.64', '49.206.112.64.actcorp.in', NULL, NULL, NULL, NULL, NULL, NULL), (4, 2, 2, '', 2, 'A0004', 'A', 4, '9', '', '', 1.000, 5.400, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 8.000, 'Percentage', 0, 0, 'Saled', 'purchase', 0, 0, 0, 'BOX', 1, '[{\"sales_delete\":{\"sales_date\":\"2025-03-10\",\"sales_code\":\"SLX\\/2024\\/02\\/\",\"sales_id\":7,\"deleted_date\":\"2025-03-10 06:10:32\",\"deleted_by\":\"rkteams\",\"deleted_id\":\"2\"}}]', '2025-02-27', '03:18:20', 'RK creators', '', 1, 2, '2025-02-27 03:20:42', '49.206.112.64', '49.206.112.64.actcorp.in', NULL, NULL, NULL, NULL, NULL, NULL), (5, 2, 2, '', 2, 'A0005', 'A', 5, '9', '', '', 1.000, 6.000, 0.000, 0.000, 'Total Amount', 0.300, '9', 500.000, 8.000, 'Percentage', 0, 0, 'Saled', 'purchase', 0, 0, 0, 'BOX', 1, '', '2025-02-27', '03:18:20', 'RK creators', '[{\"update_data\":{\"old_item_st_wt\":\"0.000\",\"new_item_st_wt\":\"0.300\",\"old_item_size\":\"0\",\"new_item_size\":\"9\",\"old_item_st_cost\":\"0.000\",\"new_item_st_cost\":\"500\",\"user_name\":\"RK creators\",\"updated_at\":\"2025-02-27 03:20:42\"}}]', 1, 2, '2025-02-27 03:20:42', '49.206.112.64', '49.206.112.64.actcorp.in', NULL, NULL, NULL, NULL, NULL, NULL), (8, 2, 2, '', 3, 'A0006', 'A', 6, '11', '', '', 1.000, 2.000, 0.000, 500.000, 'Total Amount', 0.000, '0', 0.000, 0.000, 'Fixed', 0, 0, 'Saled', 'purchase', 0, 0, 0, 'BOX', 1, '', '2025-03-10', '05:49:26', 'rkteams', '', 0, 0, NULL, '103.237.57.160', '103.237.57.160', NULL, NULL, NULL, NULL, NULL, NULL), (9, 2, 2, '', 4, 'A0007', 'A', 7, '12', '', '', 1.000, 2.500, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 0.000, 'Fixed', 0, 0, 'Saled', 'purchase', 0, 1, 0, 'BOX', 1, '', '2025-03-10', '08:30:11', 'rkteams', '', 0, 0, NULL, '106.205.112.96', '106.205.112.96', NULL, NULL, NULL, NULL, NULL, NULL), (10, 2, 2, '', 4, 'A0008', 'A', 8, '12', '', '', 1.000, 3.500, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 0.000, 'Fixed', 0, 0, 'Saled', 'purchase', 0, 1, 0, 'BOX', 1, '[{\"sales_delete\":{\"sales_date\":\"2025-04-01\",\"sales_code\":\"SL\\/2526\\/3\",\"sales_id\":\"34\",\"deleted_date\":\"2025-04-01 08:09:47\",\"deleted_by\":\"rkteams\",\"deleted_id\":\"2\"}}]', '2025-03-10', '08:30:11', 'rkteams', '', 0, 0, NULL, '106.205.112.96', '106.205.112.96', NULL, NULL, NULL, NULL, NULL, NULL), (11, 2, 2, '', 0, 'A0009', 'A', 9, '14', '', '', 1.000, 25.000, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 0.000, 'Fixed', 0, 0, 'Saled', 'stocks', 3, 0, 0, 'BOX', 1, '', '2025-03-11', '10:52:32', 'rkteams', '', 0, 0, NULL, '223.237.182.55', '223.237.182.55', NULL, NULL, NULL, NULL, NULL, NULL), (12, 2, 2, '', 0, 'A0010', 'A', 10, '14', '', '', 1.000, 20.000, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 0.000, 'Fixed', 0, 0, 'Saled', 'stocks', 3, 0, 0, 'BOX', 1, '', '2025-03-11', '10:52:32', 'rkteams', '', 0, 0, NULL, '223.237.182.55', '223.237.182.55', NULL, NULL, NULL, NULL, NULL, NULL), (13, 2, 2, '', 0, 'A0011', 'A', 11, '14', '', '', 1.000, 15.000, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 0.000, 'Fixed', 0, 0, 'Saled', 'stocks', 3, 0, 0, 'BOX', 1, '', '2025-03-11', '10:52:32', 'rkteams', '', 0, 0, NULL, '223.237.182.55', '223.237.182.55', NULL, NULL, NULL, NULL, NULL, NULL), (14, 2, 2, '', 0, 'A0012', 'A', 12, '14', '', '', 1.000, 10.000, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 0.000, 'Fixed', 0, 0, 'Saled', 'stocks', 3, 0, 0, 'BOX', 1, '', '2025-03-11', '11:22:43', 'rkteams', '', 0, 0, NULL, '223.237.182.55', '223.237.182.55', NULL, NULL, NULL, NULL, NULL, NULL), (15, 2, 2, '', 0, 'A0013', 'A', 13, '14', '', '', 1.000, 10.000, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 0.000, 'Fixed', 0, 0, 'Saled', 'stocks', 3, 0, 0, 'BOX', 1, '', '2025-03-11', '11:22:43', 'rkteams', '', 0, 0, NULL, '223.237.182.55', '223.237.182.55', NULL, NULL, NULL, NULL, NULL, NULL), (16, 2, 2, '', 2, 'A0014', 'A', 14, '9', '', '', 1.000, 4.500, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 8.000, 'Percentage', 0, 0, 'Saled', 'purchase', 0, 0, 0, 'BOX', 1, '[{\"sales_return\":\"{\\\"Order_code\\\":\\\"OR\\\\\\/2024\\\\\\/02\\\\\\/2\\\",\\\"order_id\\\":3,\\\"order_date\\\":\\\"2025-03-27\\\"}\"}]', '2025-03-11', '11:23:42', 'rkteams', '', 0, 0, NULL, '223.237.182.55', '223.237.182.55', NULL, NULL, NULL, NULL, NULL, NULL), (17, 2, 2, '', 2, 'A0015', 'A', 15, '9', '', '', 1.000, 8.350, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 8.000, 'Percentage', 0, 0, 'Saled', 'purchase', 0, 0, 0, 'BOX', 1, '', '2025-03-11', '11:23:42', 'rkteams', '', 0, 0, NULL, '223.237.182.55', '223.237.182.55', NULL, NULL, NULL, NULL, NULL, NULL), (18, 2, 2, '', 2, 'A0016', 'A', 16, '9', '', '', 1.000, 9.100, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 8.000, 'Percentage', 0, 0, 'Saled', 'purchase', 0, 0, 0, 'BOX', 1, '[{\"sales_delete\":{\"sales_date\":\"2025-05-10\",\"sales_code\":\"SL\\/2526\\/11\",\"sales_id\":\"43\",\"deleted_date\":\"2025-05-10 06:49:04\",\"deleted_by\":\"rkteams\",\"deleted_id\":\"2\"}}]', '2025-03-11', '11:23:42', 'rkteams', '', 0, 0, NULL, '223.237.182.55', '223.237.182.55', NULL, NULL, NULL, NULL, NULL, NULL), (19, 2, 2, '', 2, 'A0017', 'A', 17, '9', '', '', 1.000, 6.500, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 3800.000, 'Fixed Amount', 0, 0, 'Saled', 'purchase', 0, 0, 0, 'BOX', 1, '', '2025-03-11', '11:26:17', 'rkteams', '', 0, 0, NULL, '223.237.182.55', '223.237.182.55', NULL, NULL, NULL, NULL, NULL, NULL), (20, 2, 2, '', 0, 'A0018', 'A', 18, '15', '', '', 1.000, 3.120, 0.000, 500.000, 'Total Amount', 0.000, '0', 0.000, 18.000, 'Percentage', 0, 0, 'Saled', 'stocks', 4, 0, 0, 'BOX', 1, '[{\"sales_delete\":{\"sales_date\":\"2025-03-11\",\"sales_code\":\"SL\\/2024\\/02\\/3\",\"sales_id\":\"11\",\"deleted_date\":\"2025-03-11 02:42:02\",\"deleted_by\":\"rkteams\",\"deleted_id\":\"2\"}}]', '2025-03-11', '02:15:54', 'rkteams', '[{\"update_data\":{\"old_item_weight\":\"3.000\",\"new_item_weight\":\"3.12\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-03-11 02:44:29\"}}]', 1, 2, '2025-03-11 02:44:29', '103.148.33.236', '103.148.33.236', NULL, NULL, NULL, NULL, NULL, NULL), (21, 2, 2, '', 0, 'A0019', 'A', 19, '15', '', '', 1.000, 3.500, 0.000, 600.000, 'Total Amount', 0.000, '0', 0.000, 17.000, 'Percentage', 0, 0, 'Saled', 'Adjust Item', 5, 0, 0, 'BOX', 1, '', '2025-03-11', '02:48:37', 'rkteams', '', 0, 0, NULL, '103.148.33.236', '103.148.33.236', NULL, NULL, NULL, NULL, NULL, NULL), (22, 2, 2, '', 0, 'A0020', 'A', 20, '16', '', '', 1.000, 3.120, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 0.000, 'Fixed', 0, 0, 'Saled', 'stocks', 6, 0, 0, 'BOX', 0, '[{\"return_delete\":{\"return_date\":\"2025-04-14\",\"return_code\":\"SR\\/2526\\/2\",\"return_id\":\"5\",\"deleted_date\":\"2025-04-14 06:46:50\",\"deleted_by\":\"rkteams\",\"deleted_id\":\"2\"}}]', '2025-03-11', '03:07:07', 'rkteams', '', 0, 0, NULL, '103.148.33.236', '103.148.33.236', NULL, NULL, NULL, NULL, NULL, NULL), (23, 2, 2, '', 0, 'A0021', 'A', 21, '16', '', '', 1.000, 12.000, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 0.000, 'Fixed', 0, 0, 'Saled', 'Adjust Item', 7, 0, 0, 'BOX', 0, '', '2025-03-11', '03:36:30', 'rkteams', '', 0, 0, NULL, '106.205.112.96', '106.205.112.96', NULL, NULL, NULL, NULL, NULL, NULL), (24, 2, 2, '', 0, 'A0022', 'A', 22, '17', '', '', 1.000, 0.000, 0.000, 80.000, 'Total Amount', 0.000, '0', 0.000, 10.000, 'Percentage', 0, 0, 'Saled', 'stocks', 8, 0, 0, 'BOX', 1, '', '2025-03-11', '06:31:59', 'rkteams', '', 0, 0, NULL, '103.148.33.236', '103.148.33.236', NULL, NULL, NULL, NULL, NULL, NULL), (25, 2, 2, 'HSHY2312CX', 0, 'A0023', 'A', 23, '18', '', 'HSHY2312CX', 1.000, 1.170, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 10.000, 'Fixed', 0, 0, 'Saled', 'stocks', 10, 0, 0, 'BOX', 1, '', '2025-03-12', '10:53:13', 'rkteams', '', 1, 2, '2025-03-12 11:04:02', '103.148.33.236', '103.148.33.236', NULL, NULL, NULL, NULL, NULL, NULL), (26, 2, 2, 'BEXZ567', 0, 'A0024', 'A', 24, '19', '', 'BEXZ567', 1.000, 8.000, 0.000, 180.000, 'Total Amount', 0.000, '0', 0.000, 10.000, 'Percentage', 0, 0, 'Saled', 'Adjust Item', 11, 0, 0, 'DISPLAY', 1, '', '2025-03-12', '11:37:36', 'rkteams', '', 0, 0, NULL, '103.148.33.236', '103.148.33.236', NULL, NULL, NULL, NULL, NULL, NULL), (27, 2, 2, '', 0, 'A0025', 'A', 25, '19', '', '', 1.000, 8.000, 0.000, 180.000, 'Total Amount', 0.000, '0', 0.000, 10.000, 'Percentage', 0, 0, 'Saled', 'Adjust Item', 12, 0, 0, 'DISPLAY', 1, '', '2025-03-12', '11:38:22', 'rkteams', '', 0, 0, NULL, '103.148.33.236', '103.148.33.236', NULL, NULL, NULL, NULL, NULL, NULL), (28, 2, 2, 'BCTS245CXZ', 0, 'A0026', 'A', 26, '20', '', 'BCTS245CXZ', 1.000, 16.450, 0.000, 110.000, 'Total Amount', 0.000, '0', 0.000, 10.000, 'Percentage', 0, 0, 'Saled', 'Adjust Item', 13, 0, 0, 'BOX', 0, '', '2025-03-12', '12:57:10', 'rkteams', '', 0, 0, NULL, '103.148.33.236', '103.148.33.236', NULL, NULL, NULL, NULL, NULL, NULL), (29, 2, 2, 'GDGFSG23', 0, 'A0027', 'A', 27, '21', '', 'GDGFSG23', 1.000, 11.000, 0.000, 180.000, 'Total Amount', 0.000, '0', 0.000, 10.000, 'Percentage', 0, 0, 'Saled', 'Adjust Item', 14, 0, 0, 'BOX', 1, '', '2025-03-12', '01:16:31', 'rkteams', '', 0, 0, NULL, '103.148.33.236', '103.148.33.236', NULL, NULL, NULL, NULL, NULL, NULL), (30, 2, 2, '', 0, 'A0028', 'A', 28, '13', '', '', 1.000, 5.560, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 0.000, 'Fixed', 0, 0, 'Saled', 'Adjust Item', 15, 0, 0, 'BOX', 1, '', '2025-03-12', '04:34:01', 'rkteams', '{\"update_data\":{\"old_item_weight\":\"5.500\",\"new_item_weight\":\"5.560\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-03-12 04:35:04\"}}', 1, 2, '2025-03-12 04:35:04', '122.173.248.37', 'abts-north-dynamic-037.248.173.122.airtelbroadband', NULL, NULL, 0.000, NULL, '', ''), (31, 2, 2, 'zxcv', 2, 'A0029', 'A', 29, '9', '', 'zxcv', 1.000, 2.500, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 2800.000, 'Fixed Amount', 0, 0, 'Saled', 'purchase', 0, 0, 0, 'BOX', 1, '', '2025-03-12', '05:10:13', 'rkteams', '', 0, 0, NULL, '122.173.248.37', 'abts-north-dynamic-037.248.173.122.airtelbroadband', NULL, NULL, 0.000, NULL, '', ''), (32, 2, 2, '', 0, 'A0030', 'A', 30, '22', '', '', 1.000, 0.250, 0.000, 100.000, 'Gram', 0.000, '0', 0.000, 12.000, 'Percentage', 0, 0, 'Saled', 'stocks', 16, 0, 0, 'BOX', 1, '', '2025-03-12', '05:29:36', 'rkteams', '{\"wastage_master\":[{\"old_item_wastage\":\"18.000\",\"new_item_wastage\":\"20.000\",\"old_mc_type\":\"Total Amount\",\"new_mc_type\":\"Gram\",\"old_item_mc\":\"500.000\",\"new_item_mc\":\"100.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-12 01:21:43\"},{\"old_item_wastage\":\"20.000\",\"new_item_wastage\":\"12\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-28 11:29:09\"}]}', 1, 0, NULL, '122.173.248.37', 'abts-north-dynamic-037.248.173.122.airtelbroadband', NULL, NULL, 0.000, NULL, '', ''), (33, 2, 2, '', 0, 'A0031', 'A', 31, '22', '', '', 1.000, 0.501, 0.000, 100.000, 'Gram', 0.000, '0', 700.000, 12.000, 'Percentage', 0, 0, 'Tagged', 'stocks', 16, 0, 0, 'BOX', 0, '', '2025-03-12', '05:29:36', 'rkteams', '{\"wastage_master\":[{\"old_item_wastage\":\"16.000\",\"new_item_wastage\":\"20.000\",\"old_mc_type\":\"Total Amount\",\"new_mc_type\":\"Gram\",\"old_item_mc\":\"700.000\",\"new_item_mc\":\"100.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-12 01:21:43\"},{\"old_item_wastage\":\"20.000\",\"new_item_wastage\":\"12\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-28 11:29:09\"}]}', 1, 2, '2025-03-14 02:21:42', '122.173.248.37', 'abts-north-dynamic-037.248.173.122.airtelbroadband', NULL, NULL, 0.000, NULL, '', ''), (34, 2, 2, '', 0, 'A0032', 'A', 32, '22', '', '', 1.000, 1.600, 0.000, 700.000, 'Total Amount', 0.000, '0', 700.000, 0.800, 'Fixed', 0, 0, 'Saled', 'stocks', 16, 0, 0, 'BOX', 1, '', '2025-03-12', '05:29:36', 'rkteams', '{\"update_data\":{\"old_item_weight\":\"1.500\",\"new_item_weight\":\"1.6\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-03-13 05:23:53\"}}', 1, 2, '2025-03-14 02:20:04', '122.173.248.37', 'abts-north-dynamic-037.248.173.122.airtelbroadband', NULL, NULL, 0.000, NULL, '', ''), (35, 2, 2, 'HSHY2312CX', 0, 'A0033', 'A', 33, '23', '', 'HSHY2312CX', 1.000, 2.000, 0.000, 180.000, 'Total Amount', 0.000, '0', 0.000, 10.000, 'Percentage', 0, 0, 'Saled', 'Adjust Item', 18, 0, 0, 'BOX', 1, '', '2025-03-12', '06:17:09', 'rkteams', '', 0, 0, NULL, '103.148.33.236', '103.148.33.236', NULL, NULL, 0.000, NULL, '', ''), (36, 2, 2, 'HSHY2312CX', 0, 'A0034', 'A', 34, '22', '', 'HSHY2312CX', 1.000, 2.000, 0.000, 180.000, 'Total Amount', 0.000, '0', 0.000, 10.000, 'Percentage', 0, 0, 'Saled', 'Adjust Item', 19, 0, 0, 'BOX', 1, '', '2025-03-12', '06:28:16', 'rkteams', '', 0, 0, NULL, '103.148.33.236', '103.148.33.236', NULL, NULL, 0.000, NULL, '', ''), (37, 2, 2, 'HSHY2312CX', 0, 'A0035', 'A', 35, '17', '', 'HSHY2312CX', 1.000, 2.740, 0.000, 120.000, 'Total Amount', 0.000, '0', 0.000, 10.000, 'Percentage', 0, 0, 'Saled', 'Adjust Item', 20, 0, 0, 'BOX', 1, '', '2025-03-13', '06:38:50', 'rkteams', '', 0, 0, NULL, '103.148.33.236', '103.148.33.236', NULL, NULL, 0.000, NULL, '', ''), (38, 2, 2, '', 0, 'A0036', 'A', 36, '25', '', '', 1.000, 10.570, 0.000, 380.000, 'Total Amount', 0.000, '0', 0.000, 10.000, 'Percentage', 0, 0, 'Saled', 'Adjust Item', 21, 0, 0, 'BOX', 1, '', '2025-03-14', '03:40:32', 'rkteams', '', 1, 2, '2025-03-14 05:08:57', '103.148.33.236', '103.148.33.236', NULL, NULL, 0.000, NULL, '', ''), (39, 2, 2, '', 2, 'A0037', 'A', 37, '9', '', '', 1.000, 1.500, 0.000, 100.000, 'Gram', 0.000, '0', 0.000, 19.000, 'Percentage', 0, 0, 'Saled', 'purchase', 0, 0, 0, 'BOX', 1, '', '2025-03-14', '08:00:17', 'rkteams', '{\"update_data\":{\"old_item_wastage\":\"0.90\",\"new_item_wastage\":\"0.100\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-03-14 08:03:15\"},\"wastage_master\":[{\"old_item_wastage_type\":\"Fixed\",\"new_item_wastage_type\":\"Percentage\",\"old_item_wastage\":\"0.100\",\"new_item_wastage\":\"19\",\"old_mc_type\":\"Total Amount\",\"new_mc_type\":\"Gram\",\"old_item_mc\":\"800.000\",\"new_item_mc\":\"100\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-12 01:21:42\"}]}', 1, 2, '2025-03-14 08:03:15', '122.174.231.19', 'abts-tn-dynamic-019.231.174.122.airtelbroadband.in', NULL, NULL, 0.000, NULL, '', ''), (40, 2, 2, '', 0, 'A0038', 'A', 38, '21', '', '', 1.000, 0.250, 0.000, 0.500, 'Gram', 0.000, '0', 0.000, 10.000, 'Percentage', 0, 0, 'Tagged', 'Adjust Item', 22, 0, 0, 'BOX', 0, '', '2025-03-17', '10:38:47', 'rkteams', '', 0, 0, NULL, '223.237.178.15', '223.237.178.15', NULL, NULL, 0.000, NULL, '', ''), (41, 2, 2, '', 0, 'A0039', 'A', 39, '26', '', '', 1.000, 0.250, 0.000, 500.000, 'Total Amount', 0.000, '0', 0.000, 15.000, 'Percentage', 0, 0, 'Tagged', 'Adjust Item', 23, 0, 0, 'BOX', 0, '[{\"sales_return\":\"{\\\"return_init_code\\\":\\\"SR\\\\\\/2526\\\\\\/2\\\",\\\"return_id\\\":5,\\\"return_date\\\":\\\"2025-05-31\\\",\\\"sales_code\\\":\\\"SL\\\\\\/2526\\\\\\/25\\\",\\\"sales_id\\\":\\\"57\\\"}\"}]', '2025-03-17', '10:38:47', 'rkteams', '', 0, 0, NULL, '223.237.178.15', '223.237.178.15', NULL, NULL, 0.000, NULL, '', ''), (42, 2, 2, '', 8, 'A0040', 'A', 40, '28', '', '', 1.000, 1.250, 0.000, 100.000, 'Gram', 0.000, '0', 0.000, 19.000, 'Percentage', 0, 0, 'Saled', 'purchase', 0, 0, 0, 'BOX', 1, '', '2025-03-18', '02:09:13', 'rkteams', '{\"wastage_master\":[{\"old_item_wastage_type\":\"Fixed\",\"new_item_wastage_type\":\"Percentage\",\"old_item_wastage\":\"0.350\",\"new_item_wastage\":\"19.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-28 11:29:09\"}]}', 1, 0, NULL, '223.237.183.245', '223.237.183.245', NULL, NULL, 0.000, NULL, '', ''), (43, 2, 2, '', 8, 'A0041', 'A', 41, '28', '', '', 1.000, 0.400, 0.000, 100.000, 'Gram', 0.000, '0', 0.000, 12.000, 'Percentage', 0, 0, 'Tagged', 'purchase', 0, 0, 0, 'BOX', 0, '', '2025-03-18', '02:09:13', 'rkteams', '{\"wastage_master\":[{\"old_item_wastage_type\":\"Fixed\",\"new_item_wastage_type\":\"Percentage\",\"old_item_wastage\":\"0.000\",\"new_item_wastage\":\"20.000\",\"old_mc_type\":\"Total Amount\",\"new_mc_type\":\"Gram\",\"old_item_mc\":\"0.000\",\"new_item_mc\":\"100.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-12 01:21:43\"},{\"old_item_wastage\":\"20.000\",\"new_item_wastage\":\"12\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-28 11:29:09\"}]}', 1, 0, NULL, '223.237.183.245', '223.237.183.245', NULL, NULL, 0.000, NULL, '', ''), (44, 2, 2, '', 8, 'A0042', 'A', 42, '28', '', '', 1.000, 1.400, 0.000, 100.000, 'Gram', 0.000, '0', 0.000, 19.000, 'Percentage', 0, 0, 'Saled', 'purchase', 0, 0, 0, 'BOX', 1, '', '2025-03-18', '02:09:13', 'rkteams', '{\"update_tag\":[{\"old_item_mc\":\"100.00\",\"new_item_mc\":\"100.00 \\/PG\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-03-18 02:37:18\"}],\"wastage_master\":[{\"old_item_wastage_type\":\"Fixed\",\"new_item_wastage_type\":\"Percentage\",\"old_item_wastage\":\"0.360\",\"new_item_wastage\":\"19.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-28 11:29:09\"}]}', 1, 2, '2025-03-18 02:37:18', '223.237.183.245', '223.237.183.245', NULL, NULL, 0.000, NULL, '', ''), (45, 2, 2, '', 8, 'A0043', 'A', 43, '28', '', '', 1.000, 1.300, 0.000, 100.000, 'Gram', 0.000, '0', 0.000, 19.000, 'Percentage', 0, 0, 'Saled', 'purchase', 0, 0, 0, 'BOX', 1, '', '2025-03-18', '03:19:51', 'rkteams', '{\"wastage_master\":[{\"old_item_wastage_type\":\"Fixed\",\"new_item_wastage_type\":\"Percentage\",\"old_item_wastage\":\"0.350\",\"new_item_wastage\":\"19.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-28 11:29:09\"}]}', 1, 0, NULL, '122.173.254.174', 'abts-north-dynamic-174.254.173.122.airtelbroadband', NULL, NULL, 0.000, NULL, '', ''), (46, 2, 2, '', 0, 'A0044', 'A', 44, '19', '', '', 1.000, 15.950, 0.000, 180.000, 'Total Amount', 0.000, '0', 0.000, 10.000, 'Percentage', 0, 0, 'Tagged', 'Adjust Item', 25, 0, 0, 'BOX', 0, '', '2025-03-19', '12:17:24', 'rkteams', '{\"wastage_master\":[{\"old_item_wastage\":\"15.000\",\"new_item_wastage\":\"10.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-25 09:27:59\"}]}', 1, 0, NULL, '103.148.33.236', '103.148.33.236', NULL, NULL, 0.000, NULL, '', ''), (47, 2, 2, '', 0, 'A0045', 'A', 45, '22', '', '', 1.000, 0.000, 0.000, 100.000, 'Gram', 0.000, '0', 0.000, 12.000, 'Percentage', 0, 0, 'Tagged', 'stocks', 16, 0, 0, 'BOX', 0, '', '2025-03-24', '04:48:01', 'rkteams', '{\"wastage_master\":[{\"old_item_wastage\":\"10.000\",\"new_item_wastage\":\"20.000\",\"old_mc_type\":\"Total Amount\",\"new_mc_type\":\"Gram\",\"old_item_mc\":\"180.000\",\"new_item_mc\":\"100.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-12 01:21:43\"},{\"old_item_wastage\":\"20.000\",\"new_item_wastage\":\"12\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-28 11:29:09\"}]}', 1, 0, NULL, '36.255.17.196', 'ws196-17.255.36.rcil.gov.in', NULL, NULL, 0.000, NULL, '', ''), (48, 2, 2, '', 0, 'A0046', 'A', 46, '22', '', '', 1.000, 0.000, 0.000, 100.000, 'Gram', 0.000, '0', 0.000, 12.000, 'Percentage', 0, 0, 'Tagged', 'stocks', 16, 0, 0, 'BOX', 0, '', '2025-03-24', '04:48:01', 'rkteams', '{\"wastage_master\":[{\"old_item_wastage\":\"10.000\",\"new_item_wastage\":\"20.000\",\"old_mc_type\":\"Total Amount\",\"new_mc_type\":\"Gram\",\"old_item_mc\":\"180.000\",\"new_item_mc\":\"100.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-12 01:21:43\"},{\"old_item_wastage\":\"20.000\",\"new_item_wastage\":\"12\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-28 11:29:09\"}]}', 1, 0, NULL, '36.255.17.196', 'ws196-17.255.36.rcil.gov.in', NULL, NULL, 0.000, NULL, '', ''), (50, 2, 2, '', 8, 'A0047', 'A', 47, '28', '', '', 1.000, 4.300, 0.000, 400.000, 'Total Amount', 0.000, '0', 0.000, 0.950, 'Fixed', 0, 0, 'Saled', 'purchase', 0, 0, 0, 'BOX', 1, '', '2025-03-27', '12:33:07', 'rkteams', '', 0, 0, NULL, '220.158.156.181', '220.158.156.181', NULL, NULL, 0.000, NULL, '', ''), (51, 2, 2, '', 11, 'A0048', 'A', 48, '33', '', '', 1.000, 2.080, 0.000, 100.000, 'Gram', 0.000, '0', 0.000, 0.650, 'Fixed', 0, 0, 'Saled', 'purchase', 0, 0, 0, 'BOX', 1, '', '2025-03-27', '12:52:28', 'rkteams', '', 0, 0, NULL, '220.158.156.181', '220.158.156.181', NULL, NULL, 0.000, NULL, '', ''), (52, 2, 2, 'A6G7A9', 0, 'A0049', 'A', 49, '34', '', 'A6G7A9', 1.000, 16.850, 0.000, 50.000, 'Gram', 0.000, '0', 0.000, 12.500, 'Percentage', 0, 0, 'Tagged', 'stocks', 28, 0, 0, 'BOX', 0, '', '2025-03-27', '06:37:34', 'rkteams', '', 0, 0, NULL, '106.195.39.35', '106.195.39.35', NULL, NULL, 0.000, NULL, '', ''), (53, 2, 2, '', 0, 'A0050', 'A', 50, '35', '', '', 1.000, 0.500, 0.000, 100.000, 'Gram', 0.000, '0', 0.000, 12.000, 'Percentage', 0, 0, 'Tagged', 'stocks', 29, 0, 0, 'BOX', 0, '', '2025-03-29', '05:14:31', 'rkteams', '{\"wastage_master\":[{\"old_item_wastage\":\"23.000\",\"new_item_wastage\":\"20.000\",\"old_item_mc\":\"200.000\",\"new_item_mc\":\"100.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-12 01:21:43\"},{\"old_item_wastage\":\"20.000\",\"new_item_wastage\":\"12\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-28 11:29:09\"}]}', 1, 0, NULL, '122.173.103.164', 'abts-north-dynamic-164.103.173.122.airtelbroadband', NULL, NULL, 0.000, NULL, '', ''), (54, 2, 2, '', 0, 'A0051', 'A', 51, '35', '', '', 1.000, 0.300, 0.000, 100.000, 'Gram', 0.000, '0', 0.000, 12.000, 'Percentage', 0, 0, 'Saled', 'stocks', 29, 0, 0, 'BOX', 1, '', '2025-03-29', '05:14:31', 'rkteams', '{\"wastage_master\":[{\"old_item_wastage\":\"25.000\",\"new_item_wastage\":\"12\",\"old_item_mc\":\"200.000\",\"new_item_mc\":\"100.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-28 11:29:09\"}]}', 1, 0, NULL, '122.173.103.164', 'abts-north-dynamic-164.103.173.122.airtelbroadband', NULL, NULL, 0.000, NULL, '', ''), (55, 2, 2, '', 0, 'A0052', 'A', 52, '22', '', '', 1.000, 0.300, 0.000, 100.000, 'Gram', 0.000, '0', 0.000, 12.000, 'Percentage', 0, 0, 'Tagged', 'stocks', 16, 0, 0, 'BOX', 0, '', '2025-04-05', '06:28:24', 'rkteams', '{\"wastage_master\":[{\"old_item_wastage\":\"25.000\",\"new_item_wastage\":\"20.000\",\"old_item_mc\":\"200.000\",\"new_item_mc\":\"100.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-12 01:21:43\"},{\"old_item_wastage\":\"20.000\",\"new_item_wastage\":\"12\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-28 11:29:09\"}]}', 1, 0, NULL, '106.195.44.236', '106.195.44.236', NULL, NULL, 0.000, NULL, '', ''), (56, 2, 2, '', 0, 'A0053', 'A', 53, '22', '', '', 1.000, 0.700, 0.000, 100.000, 'Gram', 0.000, '0', 0.000, 12.000, 'Percentage', 0, 0, 'Tagged', 'stocks', 16, 0, 0, 'BOX', 0, '[{\"sales_return\":\"{\\\"return_init_code\\\":\\\"SR\\\\\\/2526\\\\\\/1\\\",\\\"return_id\\\":4,\\\"return_date\\\":\\\"2025-04-05\\\",\\\"sales_code\\\":\\\"SL\\\\\\/2526\\\\\\/3\\\",\\\"sales_id\\\":\\\"34\\\"}\"}]', '2025-04-05', '06:28:24', 'rkteams', '{\"wastage_master\":[{\"old_item_mc\":\"175.000\",\"new_item_mc\":\"100.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-12 01:21:43\"},{\"old_item_wastage\":\"20.000\",\"new_item_wastage\":\"12\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-28 11:29:09\"}]}', 1, 0, NULL, '106.195.44.236', '106.195.44.236', NULL, NULL, 0.000, NULL, '', ''), (57, 2, 2, '', 0, 'A0054', 'A', 54, '40', '', '', 1.000, 2.000, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 0.000, 'Fixed', 0, 0, 'Tagged', 'stocks', 33, 0, 0, 'BOX', 0, '', '2025-04-21', '01:10:29', 'rkteams', '', 0, 0, NULL, '223.237.177.115', '223.237.177.115', NULL, NULL, 0.000, NULL, '', ''), (58, 2, 2, '', 2, 'A0055', 'A', 55, '9', '', '', 1.000, 1.000, 0.000, 100.000, 'Gram', 0.000, '0', 0.000, 12.000, 'Percentage', 0, 0, 'Tagged', 'purchase', 0, 0, 0, 'BOX', 0, '', '2025-04-24', '04:14:13', 'rkteams', '{\"wastage_master\":[{\"old_item_wastage\":\"25.000\",\"new_item_wastage\":\"20.000\",\"old_item_mc\":\"200.000\",\"new_item_mc\":\"100.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-12 01:21:43\"},{\"old_item_wastage\":\"20.000\",\"new_item_wastage\":\"12\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-28 11:29:09\"}]}', 1, 0, NULL, '122.178.41.203', 'abts-tn-dynamic-203.41.178.122.airtelbroadband.in', NULL, NULL, 0.000, NULL, '', ''), (59, 2, 2, '', 8, 'A0056', 'A', 56, '28', '', '', 1.000, 0.950, 0.000, 100.000, 'Gram', 0.100, '0', 0.000, 12.000, 'Percentage', 0, 0, 'Tagged', 'purchase', 0, 0, 0, 'BOX', 0, '', '2025-04-24', '04:55:41', 'rkteams', '{\"update_tag\":[{\"old_item_mc\":\"200.000\",\"new_item_mc\":\"200 \\/PCS\",\"old_item_st_wt\":\"0.000\",\"new_item_st_wt\":\"0.100\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-05 07:11:49\"}],\"wastage_master\":[{\"old_item_wastage\":\"25.000\",\"new_item_wastage\":\"20.000\",\"old_item_mc\":\"200.000\",\"new_item_mc\":\"100.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-12 01:21:43\"},{\"old_item_wastage\":\"20.000\",\"new_item_wastage\":\"12\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-28 11:29:09\"}]}', 1, 2, '2025-05-05 07:11:49', '122.178.41.203', 'abts-tn-dynamic-203.41.178.122.airtelbroadband.in', NULL, NULL, 0.000, NULL, '', ''), (60, 2, 2, '', 1, 'A0057', 'A', 57, '1', '', '', 1.000, 29.500, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 15.000, '', 0, 0, 'Tagged', 'purchase', 0, 0, 0, 'BOX', 0, '', '2025-05-09', '04:46:16', 'rkteams', '', 0, 0, NULL, '103.237.57.160', '103.237.57.160', NULL, NULL, 0.000, NULL, '', ''), (61, 2, 2, '', 0, 'A0058', 'A', 58, '9', '', '', 1.000, 5.000, 0.000, 0.000, 'Total Amount', 0.000, '0', 0.000, 8.000, '', 0, 0, 'Saled', 'Adjust Item', 35, 0, 0, 'BOX', 1, '', '2025-05-09', '04:47:48', 'rkteams', '', 0, 0, NULL, '171.76.102.201', 'abts-kk-dynamic-201.102.76.171.airtelbroadband.in', NULL, NULL, 0.000, NULL, '', ''), (62, 2, 2, '', 8, 'A0059', 'A', 59, '28', '', '', 1.000, 0.000, 0.000, 100.000, 'Gram', 0.000, '0', 0.000, 12.000, 'Percentage', 0, 0, 'Tagged', 'purchase', 0, 0, 0, 'BOX', 0, '', '2025-05-09', '04:50:46', 'rkteams', '{\"wastage_master\":[{\"old_item_wastage\":\"0.000\",\"new_item_wastage\":\"20.000\",\"old_mc_type\":\"Total Amount\",\"new_mc_type\":\"Gram\",\"old_item_mc\":\"0.000\",\"new_item_mc\":\"100.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-12 01:21:43\"},{\"old_item_wastage\":\"20.000\",\"new_item_wastage\":\"12\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-28 11:29:09\"}]}', 1, 0, NULL, '171.76.102.201', 'abts-kk-dynamic-201.102.76.171.airtelbroadband.in', NULL, NULL, 0.000, NULL, '', ''), (63, 2, 2, '', 8, 'A0060', 'A', 60, '28', '', '', 1.000, 0.000, 0.000, 100.000, 'Gram', 0.000, '0', 0.000, 12.000, 'Percentage', 0, 0, 'Tagged', 'purchase', 0, 0, 0, 'BOX', 0, '', '2025-05-09', '04:52:44', 'rkteams', '{\"wastage_master\":[{\"old_item_wastage\":\"0.000\",\"new_item_wastage\":\"20.000\",\"old_mc_type\":\"Total Amount\",\"new_mc_type\":\"Gram\",\"old_item_mc\":\"0.000\",\"new_item_mc\":\"100.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-12 01:21:43\"},{\"old_item_wastage\":\"20.000\",\"new_item_wastage\":\"12\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-28 11:29:09\"}]}', 1, 0, NULL, '171.76.102.201', 'abts-kk-dynamic-201.102.76.171.airtelbroadband.in', NULL, NULL, 0.000, NULL, '', ''), (64, 2, 2, '', 0, 'A0061', 'A', 61, '33', '', '', 1.000, 1.730, 0.000, 200.000, 'Total Amount', 0.000, '0', 0.000, 500.000, 'Amount per Gram', 0, 0, 'Tagged', 'Adjust Item', 37, 0, 0, 'BOX', 0, '', '2025-05-19', '08:16:58', 'rkteams', '{\"update_tag\":[{\"old_item_wastage\":\"5.000\",\"new_item_wastage\":\"500\",\"old_item_wastage_type\":\"Gram\",\"new_item_wastage_type\":\"Amount per Gram\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-19 08:43:49\"}]}', 1, 2, '2025-05-19 08:43:49', '117.98.191.134', '117.98.191.134', NULL, NULL, 0.000, NULL, '', ''), (65, 2, 2, '', 0, 'A0062', 'A', 62, '44', '', '', 1.000, 5.000, 0.000, 1500.000, 'Total Amount', 0.000, '0', 0.000, 30.000, 'Percentage', 0, 0, 'Tagged', 'stocks', 39, 0, 0, 'BOX', 0, '', '2025-05-24', '11:41:00', 'rkteams', '{\"wastage_master\":[{\"old_item_wastage\":\"2.000\",\"new_item_wastage\":\"5\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-24 11:43:24\"},{\"old_item_mc\":\"200.000\",\"new_item_mc\":\"300\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-24 11:43:46\"},{\"old_item_wastage_type\":\"Fixed\",\"new_item_wastage_type\":\"Fixed Amount\",\"old_item_wastage\":\"5.000\",\"new_item_wastage\":\"500\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-24 11:44:58\"},{\"old_item_wastage_type\":\"Fixed Amount\",\"new_item_wastage_type\":\"Percentage\",\"old_item_wastage\":\"500.000\",\"new_item_wastage\":\"15\",\"old_mc_type\":\"Total Amount\",\"new_mc_type\":\"Gram\",\"old_item_mc\":\"300.000\",\"new_item_mc\":\"10\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-24 11:46:00\"},{\"old_item_wastage\":\"18.000\",\"new_item_wastage\":\"0\",\"old_mc_type\":\"Total Amount\",\"new_mc_type\":\"Gram\",\"old_item_mc\":\"500.000\",\"new_item_mc\":\"0.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-24 11:52:19\"},{\"old_item_wastage\":\"0.000\",\"new_item_wastage\":\"15\",\"old_item_mc\":\"0.000\",\"new_item_mc\":\"10\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-24 11:52:59\"},{\"old_mc_type\":\"Gram\",\"new_mc_type\":\"Total Amount\",\"old_item_mc\":\"10.000\",\"new_item_mc\":\"500\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-24 11:54:30\"},{\"old_item_wastage\":\"18.000\",\"new_item_wastage\":\"20\",\"old_item_mc\":\"1000.000\",\"new_item_mc\":\"500.000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-24 11:56:39\"},{\"old_item_wastage\":\"22.000\",\"new_item_wastage\":\"25\",\"old_item_mc\":\"500.000\",\"new_item_mc\":\"1000\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-24 11:58:58\"}],\"update_tag\":[{\"old_item_mc\":\"1000.000\",\"new_item_mc\":\"1500.000 \",\"old_item_wastage\":\"25.000\",\"new_item_wastage\":\"30\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-24 11:59:38\"}]}', 1, 2, '2025-05-24 11:59:38', '122.174.37.130', 'abts-tn-dynamic-130.37.174.122.airtelbroadband.in', NULL, NULL, 0.000, NULL, '', ''), (66, 2, 2, '', 14, 'A0063', 'A', 63, '45', '', '', 1.000, 2.000, 0.000, 500.000, 'Total Amount', 0.000, '0', 0.000, 15.000, 'Percentage', 0, 0, 'Tagged', 'purchase', 0, 0, 0, 'BOX', 0, '', '2025-05-27', '12:47:51', 'rkteams', '', 0, 0, NULL, '120.60.29.178', 'triband-mum-120.60.29.178.mtnl.net.in', NULL, NULL, 0.000, NULL, '', ''), (67, 2, 2, '', 14, 'A0064', 'A', 64, '45', '', '', 1.000, 2.500, 0.000, 500.000, 'Total Amount', 0.000, '0', 0.000, 15.000, 'Percentage', 0, 0, 'Tagged', 'purchase', 0, 0, 0, 'BOX', 0, '', '2025-05-27', '12:47:51', 'rkteams', '', 0, 0, NULL, '120.60.29.178', 'triband-mum-120.60.29.178.mtnl.net.in', NULL, NULL, 0.000, NULL, '', ''), (68, 2, 2, '', 14, 'A0065', 'A', 65, '45', '', '', 1.000, 3.500, 0.000, 500.000, 'Total Amount', 0.000, '0', 0.000, 15.000, 'Percentage', 0, 0, 'Tagged', 'purchase', 0, 0, 0, 'BOX', 0, '[{\"sales_return\":\"{\\\"Order_code\\\":\\\"OR\\\\\\/2526\\\\\\/2\\\",\\\"order_id\\\":2,\\\"order_date\\\":\\\"2025-05-29\\\"}\"}]', '2025-05-27', '12:47:51', 'rkteams', '', 0, 0, NULL, '120.60.29.178', 'triband-mum-120.60.29.178.mtnl.net.in', NULL, NULL, 0.000, NULL, '', ''), (69, 2, 2, '', 0, 'A0066', 'A', 66, '47', '', '', 1.000, 5.000, 0.000, 600.000, 'Total Amount', 0.000, '0', 0.000, 19.000, 'Percentage', 0, 0, 'Tagged', 'stocks', 41, 0, 0, 'BOX', 0, '', '2025-05-30', '06:21:36', 'rkteams', '', 0, 0, NULL, '223.237.190.79', '223.237.190.79', NULL, NULL, 0.000, NULL, '', ''), (70, 2, 2, '', 15, 'A0067', 'A', 67, '49', '', '', 1.000, 1.500, 0.000, 100.000, 'Total Amount', 0.000, '0', 0.000, 13.000, 'Percentage', 0, 0, 'Tagged', 'purchase', 0, 0, 0, 'BOX', 0, '', '2025-05-31', '06:14:33', 'rkteams', '', 0, 0, NULL, '103.160.240.171', '103.160.240.171', NULL, NULL, 0.000, NULL, '', ''), (71, 2, 2, '', 15, 'A0068', 'A', 68, '49', '', '', 1.000, 2.000, 0.000, 100.000, 'Total Amount', 0.000, '0', 0.000, 15.000, 'Percentage', 0, 0, 'Tagged', 'purchase', 0, 0, 0, 'BOX', 0, '', '2025-05-31', '06:14:33', 'rkteams', '', 0, 0, NULL, '103.160.240.171', '103.160.240.171', NULL, NULL, 0.000, NULL, '', ''), (72, 2, 2, '', 15, 'A0069', 'A', 69, '49', '', '', 1.000, 2.500, 0.000, 150.000, 'Total Amount', 0.000, '0', 0.000, 16.000, 'Percentage', 0, 0, 'Tagged', 'purchase', 0, 0, 0, 'DISPLAY', 0, '', '2025-05-31', '06:14:33', 'rkteams', '', 1, 2, '2025-05-31 07:18:26', '103.160.240.171', '103.160.240.171', NULL, NULL, 0.000, NULL, '', ''), (73, 2, 2, '', 15, 'A0070', 'A', 70, '49', '', 'P3I24R', 1.000, 1.970, 0.000, 200.000, 'Total Amount', 0.000, '0', 0.000, 12.000, 'Percentage', 0, 0, 'Saled', 'purchase', 0, 0, 0, 'BOX', 0, '[{\"return_delete\":{\"return_date\":\"2025-05-31\",\"return_code\":\"SR\\/2526\\/2\",\"return_id\":\"5\",\"deleted_date\":\"2025-05-31 06:34:25\",\"deleted_by\":\"rkteams\",\"deleted_id\":\"2\"}}]', '2025-05-31', '06:14:33', 'rkteams', '{\"update_tag\":[{\"old_huid\":\"\",\"new_huid\":\"P3I24R\",\"old_item_weight\":\"3.000\",\"new_item_weight\":\"1.970\",\"old_item_wastage\":\"17.000\",\"new_item_wastage\":\"12\",\"user_name\":\"rkteams\",\"updated_at\":\"2025-05-31 06:17:08\"}]}', 1, 2, '2025-05-31 06:17:08', '103.160.240.171', '103.160.240.171', NULL, NULL, 0.000, NULL, '', ''); -- -------------------------------------------------------- -- -- Table structure for table `db_tagging_diamond` -- CREATE TABLE `db_tagging_diamond` ( `id` int(11) NOT NULL, `Style_No` varchar(512) DEFAULT NULL, `Sr_No` int(11) DEFAULT NULL, `Category` varchar(512) DEFAULT NULL, `IGI_No` varchar(512) DEFAULT NULL, `PO_No` varchar(512) DEFAULT NULL, `HUID` varchar(512) DEFAULT NULL, `KT` varchar(512) DEFAULT NULL, `Colour` varchar(512) DEFAULT NULL, `Gross_Wt` decimal(20,3) DEFAULT NULL, `Dia_Wt_Ct` decimal(20,3) DEFAULT NULL, `Dia_Qlty` decimal(20,3) DEFAULT NULL, `Dia_Qty` decimal(20,3) DEFAULT NULL, `Net_Wt` decimal(20,3) DEFAULT NULL, `Qty` int(11) DEFAULT NULL, `CGST` decimal(20,3) DEFAULT NULL, `SGST` decimal(20,3) DEFAULT NULL, `IGST` decimal(20,3) DEFAULT NULL, `New_MRP` decimal(20,3) DEFAULT NULL, `status_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_tagging_group` -- CREATE TABLE `db_tagging_group` ( `id` int(11) NOT NULL, `group_name` varchar(50) NOT NULL, `status` int(11) NOT NULL, `system_ip` text NOT NULL, `system_name` text NOT NULL, `created_time` date NOT NULL, `created_date` time NOT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime NOT NULL, `created_by` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_tagging_items` -- CREATE TABLE `db_tagging_items` ( `id` int(11) NOT NULL, `group_id` int(11) NOT NULL, `item_id` int(11) NOT NULL, `print_qty` text NOT NULL, `weight` decimal(20,3) DEFAULT NULL, `mc` int(11) NOT NULL, `wastage` decimal(20,3) DEFAULT NULL, `wastage_type` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_tagging_old` -- CREATE TABLE `db_tagging_old` ( `id` int(11) NOT NULL, `barcode_no` varchar(512) DEFAULT NULL, `category` varchar(512) DEFAULT NULL, `product_name` varchar(255) DEFAULT NULL, `gross_wt` double(20,3) DEFAULT NULL, `net_wt` double(20,3) DEFAULT NULL, `labour_amt` text DEFAULT NULL, `wastage` double(20,3) DEFAULT NULL, `hsn_code` text DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_tagtransfer` -- CREATE TABLE `db_tagtransfer` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL COMMENT 'from store', `to_store_id` int(11) DEFAULT NULL COMMENT 'to store transfer', `warehouse_from` int(11) DEFAULT NULL, `warehouse_to` int(11) DEFAULT NULL, `transfer_date` date DEFAULT NULL, `note` text CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `created_by` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `system_ip` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `system_name` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_tagtransferitems` -- CREATE TABLE `db_tagtransferitems` ( `id` int(11) NOT NULL, `tagtransfer_id` int(11) DEFAULT NULL, `store_id` int(11) DEFAULT NULL COMMENT 'from store', `to_store_id` int(11) DEFAULT NULL COMMENT 'to store', `warehouse_from` int(11) DEFAULT NULL COMMENT 'warehouse ids', `warehouse_to` int(11) DEFAULT NULL COMMENT 'warehouse ids', `item_id` int(11) DEFAULT NULL, `tag_id` int(11) NOT NULL, `transfer_qty` double(20,3) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_tag_stock_check` -- CREATE TABLE `db_tag_stock_check` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `item_id` int(11) NOT NULL, `category_id` int(11) NOT NULL, `draft_name` varchar(100) NOT NULL, `tag_id` text NOT NULL, `selected_id` text NOT NULL, `created_by` int(11) NOT NULL, `created_date` date DEFAULT NULL, `created_time` time DEFAULT NULL, `updated_by` int(11) NOT NULL, `updated_at` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_tag_stock_check` -- INSERT INTO `db_tag_stock_check` (`id`, `store_id`, `warehouse_id`, `item_id`, `category_id`, `draft_name`, `tag_id`, `selected_id`, `created_by`, `created_date`, `created_time`, `updated_by`, `updated_at`) VALUES (1, 2, 0, 0, 82, 'RING STOCK', '[\"17\",\"18\",\"31\",\"32\",\"33\",\"34\",\"39\",\"43\",\"45\"]', '[\"4\",\"47\",\"48\",\"16\"]', 0, NULL, NULL, 0, NULL); -- -------------------------------------------------------- -- -- Table structure for table `db_tax` -- CREATE TABLE `db_tax` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `tax_name` varchar(50) DEFAULT NULL, `tax` double(20,3) DEFAULT NULL, `group_bit` int(11) DEFAULT NULL COMMENT '1=Yes, 0=No', `subtax_ids` varchar(10) DEFAULT NULL COMMENT 'Tax groups IDs', `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_tax` -- INSERT INTO `db_tax` (`id`, `store_id`, `tax_name`, `tax`, `group_bit`, `subtax_ids`, `status`) VALUES (1, 2, 'Gst 3%', 3.000, NULL, NULL, 1); -- -------------------------------------------------------- -- -- Table structure for table `db_timezone` -- CREATE TABLE `db_timezone` ( `id` int(11) NOT NULL, `timezone` varchar(100) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_timezone` -- INSERT INTO `db_timezone` (`id`, `timezone`, `status`) VALUES (1, 'Africa/Abidjan\r', 1), (2, 'Africa/Accra\r', 1), (3, 'Africa/Addis_Ababa\r', 1), (4, 'Africa/Algiers\r', 1), (5, 'Africa/Asmara\r', 1), (6, 'Africa/Asmera\r', 1), (7, 'Africa/Bamako\r', 1), (8, 'Africa/Bangui\r', 1), (9, 'Africa/Banjul\r', 1), (10, 'Africa/Bissau\r', 1), (11, 'Africa/Blantyre\r', 1), (12, 'Africa/Brazzaville\r', 1), (13, 'Africa/Bujumbura\r', 1), (14, 'Africa/Cairo\r', 1), (15, 'Africa/Casablanca\r', 1), (16, 'Africa/Ceuta\r', 1), (17, 'Africa/Conakry\r', 1), (18, 'Africa/Dakar\r', 1), (19, 'Africa/Dar_es_Salaam\r', 1), (20, 'Africa/Djibouti\r', 1), (21, 'Africa/Douala\r', 1), (22, 'Africa/El_Aaiun\r', 1), (23, 'Africa/Freetown\r', 1), (24, 'Africa/Gaborone\r', 1), (25, 'Africa/Harare\r', 1), (26, 'Africa/Johannesburg\r', 1), (27, 'Africa/Juba\r', 1), (28, 'Africa/Kampala\r', 1), (29, 'Africa/Khartoum\r', 1), (30, 'Africa/Kigali\r', 1), (31, 'Africa/Kinshasa\r', 1), (32, 'Africa/Lagos\r', 1), (33, 'Africa/Libreville\r', 1), (34, 'Africa/Lome\r', 1), (35, 'Africa/Luanda\r', 1), (36, 'Africa/Lubumbashi\r', 1), (37, 'Africa/Lusaka\r', 1), (38, 'Africa/Malabo\r', 1), (39, 'Africa/Maputo\r', 1), (40, 'Africa/Maseru\r', 1), (41, 'Africa/Mbabane\r', 1), (42, 'Africa/Mogadishu\r', 1), (43, 'Africa/Monrovia\r', 1), (44, 'Africa/Nairobi\r', 1), (45, 'Africa/Ndjamena\r', 1), (46, 'Africa/Niamey\r', 1), (47, 'Africa/Nouakchott\r', 1), (48, 'Africa/Ouagadougou\r', 1), (49, 'Africa/Porto-Novo\r', 1), (50, 'Africa/Sao_Tome\r', 1), (51, 'Africa/Timbuktu\r', 1), (52, 'Africa/Tripoli\r', 1), (53, 'Africa/Tunis\r', 1), (54, 'Africa/Windhoek\r', 1), (55, 'AKST9AKDT\r', 1), (56, 'America/Adak\r', 1), (57, 'America/Anchorage\r', 1), (58, 'America/Anguilla\r', 1), (59, 'America/Antigua\r', 1), (60, 'America/Araguaina\r', 1), (61, 'America/Argentina/Buenos_Aires\r', 1), (62, 'America/Argentina/Catamarca\r', 1), (63, 'America/Argentina/ComodRivadavia\r', 1), (64, 'America/Argentina/Cordoba\r', 1), (65, 'America/Argentina/Jujuy\r', 1), (66, 'America/Argentina/La_Rioja\r', 1), (67, 'America/Argentina/Mendoza\r', 1), (68, 'America/Argentina/Rio_Gallegos\r', 1), (69, 'America/Argentina/Salta\r', 1), (70, 'America/Argentina/San_Juan\r', 1), (71, 'America/Argentina/San_Luis\r', 1), (72, 'America/Argentina/Tucuman\r', 1), (73, 'America/Argentina/Ushuaia\r', 1), (74, 'America/Aruba\r', 1), (75, 'America/Asuncion\r', 1), (76, 'America/Atikokan\r', 1), (77, 'America/Atka\r', 1), (78, 'America/Bahia\r', 1), (79, 'America/Bahia_Banderas\r', 1), (80, 'America/Barbados\r', 1), (81, 'America/Belem\r', 1), (82, 'America/Belize\r', 1), (83, 'America/Blanc-Sablon\r', 1), (84, 'America/Boa_Vista\r', 1), (85, 'America/Bogota\r', 1), (86, 'America/Boise\r', 1), (87, 'America/Buenos_Aires\r', 1), (88, 'America/Cambridge_Bay\r', 1), (89, 'America/Campo_Grande\r', 1), (90, 'America/Cancun\r', 1), (91, 'America/Caracas\r', 1), (92, 'America/Catamarca\r', 1), (93, 'America/Cayenne\r', 1), (94, 'America/Cayman\r', 1), (95, 'America/Chicago\r', 1), (96, 'America/Chihuahua\r', 1), (97, 'America/Coral_Harbour\r', 1), (98, 'America/Cordoba\r', 1), (99, 'America/Costa_Rica\r', 1), (100, 'America/Creston\r', 1), (101, 'America/Cuiaba\r', 1), (102, 'America/Curacao\r', 1), (103, 'America/Danmarkshavn\r', 1), (104, 'America/Dawson\r', 1), (105, 'America/Dawson_Creek\r', 1), (106, 'America/Denver\r', 1), (107, 'America/Detroit\r', 1), (108, 'America/Dominica\r', 1), (109, 'America/Edmonton\r', 1), (110, 'America/Eirunepe\r', 1), (111, 'America/El_Salvador\r', 1), (112, 'America/Ensenada\r', 1), (113, 'America/Fort_Wayne\r', 1), (114, 'America/Fortaleza\r', 1), (115, 'America/Glace_Bay\r', 1), (116, 'America/Godthab\r', 1), (117, 'America/Goose_Bay\r', 1), (118, 'America/Grand_Turk\r', 1), (119, 'America/Grenada\r', 1), (120, 'America/Guadeloupe\r', 1), (121, 'America/Guatemala\r', 1), (122, 'America/Guayaquil\r', 1), (123, 'America/Guyana\r', 1), (124, 'America/Halifax\r', 1), (125, 'America/Havana\r', 1), (126, 'America/Hermosillo\r', 1), (127, 'America/Indiana/Indianapolis\r', 1), (128, 'America/Indiana/Knox\r', 1), (129, 'America/Indiana/Marengo\r', 1), (130, 'America/Indiana/Petersburg\r', 1), (131, 'America/Indiana/Tell_City\r', 1), (132, 'America/Indiana/Vevay\r', 1), (133, 'America/Indiana/Vincennes\r', 1), (134, 'America/Indiana/Winamac\r', 1), (135, 'America/Indianapolis\r', 1), (136, 'America/Inuvik\r', 1), (137, 'America/Iqaluit\r', 1), (138, 'America/Jamaica\r', 1), (139, 'America/Jujuy\r', 1), (140, 'America/Juneau\r', 1), (141, 'America/Kentucky/Louisville\r', 1), (142, 'America/Kentucky/Monticello\r', 1), (143, 'America/Knox_IN\r', 1), (144, 'America/Kralendijk\r', 1), (145, 'America/La_Paz\r', 1), (146, 'America/Lima\r', 1), (147, 'America/Los_Angeles\r', 1), (148, 'America/Louisville\r', 1), (149, 'America/Lower_Princes\r', 1), (150, 'America/Maceio\r', 1), (151, 'America/Managua\r', 1), (152, 'America/Manaus\r', 1), (153, 'America/Marigot\r', 1), (154, 'America/Martinique\r', 1), (155, 'America/Matamoros\r', 1), (156, 'America/Mazatlan\r', 1), (157, 'America/Mendoza\r', 1), (158, 'America/Menominee\r', 1), (159, 'America/Merida\r', 1), (160, 'America/Metlakatla\r', 1), (161, 'America/Mexico_City\r', 1), (162, 'America/Miquelon\r', 1), (163, 'America/Moncton\r', 1), (164, 'America/Monterrey\r', 1), (165, 'America/Montevideo\r', 1), (166, 'America/Montreal\r', 1), (167, 'America/Montserrat\r', 1), (168, 'America/Nassau\r', 1), (169, 'America/New_York\r', 1), (170, 'America/Nipigon\r', 1), (171, 'America/Nome\r', 1), (172, 'America/Noronha\r', 1), (173, 'America/North_Dakota/Beulah\r', 1), (174, 'America/North_Dakota/Center\r', 1), (175, 'America/North_Dakota/New_Salem\r', 1), (176, 'America/Ojinaga\r', 1), (177, 'America/Panama\r', 1), (178, 'America/Pangnirtung\r', 1), (179, 'America/Paramaribo\r', 1), (180, 'America/Phoenix\r', 1), (181, 'America/Port_of_Spain\r', 1), (182, 'America/Port-au-Prince\r', 1), (183, 'America/Porto_Acre\r', 1), (184, 'America/Porto_Velho\r', 1), (185, 'America/Puerto_Rico\r', 1), (186, 'America/Rainy_River\r', 1), (187, 'America/Rankin_Inlet\r', 1), (188, 'America/Recife\r', 1), (189, 'America/Regina\r', 1), (190, 'America/Resolute\r', 1), (191, 'America/Rio_Branco\r', 1), (192, 'America/Rosario\r', 1), (193, 'America/Santa_Isabel\r', 1), (194, 'America/Santarem\r', 1), (195, 'America/Santiago\r', 1), (196, 'America/Santo_Domingo\r', 1), (197, 'America/Sao_Paulo\r', 1), (198, 'America/Scoresbysund\r', 1), (199, 'America/Shiprock\r', 1), (200, 'America/Sitka\r', 1), (201, 'America/St_Barthelemy\r', 1), (202, 'America/St_Johns\r', 1), (203, 'America/St_Kitts\r', 1), (204, 'America/St_Lucia\r', 1), (205, 'America/St_Thomas\r', 1), (206, 'America/St_Vincent\r', 1), (207, 'America/Swift_Current\r', 1), (208, 'America/Tegucigalpa\r', 1), (209, 'America/Thule\r', 1), (210, 'America/Thunder_Bay\r', 1), (211, 'America/Tijuana\r', 1), (212, 'America/Toronto\r', 1), (213, 'America/Tortola\r', 1), (214, 'America/Vancouver\r', 1), (215, 'America/Virgin\r', 1), (216, 'America/Whitehorse\r', 1), (217, 'America/Winnipeg\r', 1), (218, 'America/Yakutat\r', 1), (219, 'America/Yellowknife\r', 1), (220, 'Antarctica/Casey\r', 1), (221, 'Antarctica/Davis\r', 1), (222, 'Antarctica/DumontDUrville\r', 1), (223, 'Antarctica/Macquarie\r', 1), (224, 'Antarctica/Mawson\r', 1), (225, 'Antarctica/McMurdo\r', 1), (226, 'Antarctica/Palmer\r', 1), (227, 'Antarctica/Rothera\r', 1), (228, 'Antarctica/South_Pole\r', 1), (229, 'Antarctica/Syowa\r', 1), (230, 'Antarctica/Vostok\r', 1), (231, 'Arctic/Longyearbyen\r', 1), (232, 'Asia/Aden\r', 1), (233, 'Asia/Almaty\r', 1), (234, 'Asia/Amman\r', 1), (235, 'Asia/Anadyr\r', 1), (236, 'Asia/Aqtau\r', 1), (237, 'Asia/Aqtobe\r', 1), (238, 'Asia/Ashgabat\r', 1), (239, 'Asia/Ashkhabad\r', 1), (240, 'Asia/Baghdad\r', 1), (241, 'Asia/Bahrain\r', 1), (242, 'Asia/Baku\r', 1), (243, 'Asia/Bangkok\r', 1), (244, 'Asia/Beirut\r', 1), (245, 'Asia/Bishkek\r', 1), (246, 'Asia/Brunei\r', 1), (247, 'Asia/Calcutta\r', 1), (248, 'Asia/Choibalsan\r', 1), (249, 'Asia/Chongqing\r', 1), (250, 'Asia/Chungking\r', 1), (251, 'Asia/Colombo\r', 1), (252, 'Asia/Dacca\r', 1), (253, 'Asia/Damascus\r', 1), (254, 'Asia/Dhaka\r', 1), (255, 'Asia/Dili\r', 1), (256, 'Asia/Dubai\r', 1), (257, 'Asia/Dushanbe\r', 1), (258, 'Asia/Gaza\r', 1), (259, 'Asia/Harbin\r', 1), (260, 'Asia/Hebron\r', 1), (261, 'Asia/Ho_Chi_Minh\r', 1), (262, 'Asia/Hong_Kong\r', 1), (263, 'Asia/Hovd\r', 1), (264, 'Asia/Irkutsk\r', 1), (265, 'Asia/Istanbul\r', 1), (266, 'Asia/Jakarta\r', 1), (267, 'Asia/Jayapura\r', 1), (268, 'Asia/Jerusalem\r', 1), (269, 'Asia/Kabul\r', 1), (270, 'Asia/Kamchatka\r', 1), (271, 'Asia/Karachi\r', 1), (272, 'Asia/Kashgar\r', 1), (273, 'Asia/Kathmandu\r', 1), (274, 'Asia/Katmandu\r', 1), (275, 'Asia/Kolkata\r', 1), (276, 'Asia/Krasnoyarsk\r', 1), (277, 'Asia/Kuala_Lumpur\r', 1), (278, 'Asia/Kuching\r', 1), (279, 'Asia/Kuwait\r', 1), (280, 'Asia/Macao\r', 1), (281, 'Asia/Macau\r', 1), (282, 'Asia/Magadan\r', 1), (283, 'Asia/Makassar\r', 1), (284, 'Asia/Manila\r', 1), (285, 'Asia/Muscat\r', 1), (286, 'Asia/Nicosia\r', 1), (287, 'Asia/Novokuznetsk\r', 1), (288, 'Asia/Novosibirsk\r', 1), (289, 'Asia/Omsk\r', 1), (290, 'Asia/Oral\r', 1), (291, 'Asia/Phnom_Penh\r', 1), (292, 'Asia/Pontianak\r', 1), (293, 'Asia/Pyongyang\r', 1), (294, 'Asia/Qatar\r', 1), (295, 'Asia/Qyzylorda\r', 1), (296, 'Asia/Rangoon\r', 1), (297, 'Asia/Riyadh\r', 1), (298, 'Asia/Saigon\r', 1), (299, 'Asia/Sakhalin\r', 1), (300, 'Asia/Samarkand\r', 1), (301, 'Asia/Seoul\r', 1), (302, 'Asia/Shanghai\r', 1), (303, 'Asia/Singapore\r', 1), (304, 'Asia/Taipei\r', 1), (305, 'Asia/Tashkent\r', 1), (306, 'Asia/Tbilisi\r', 1), (307, 'Asia/Tehran\r', 1), (308, 'Asia/Tel_Aviv\r', 1), (309, 'Asia/Thimbu\r', 1), (310, 'Asia/Thimphu\r', 1), (311, 'Asia/Tokyo\r', 1), (312, 'Asia/Ujung_Pandang\r', 1), (313, 'Asia/Ulaanbaatar\r', 1), (314, 'Asia/Ulan_Bator\r', 1), (315, 'Asia/Urumqi\r', 1), (316, 'Asia/Vientiane\r', 1), (317, 'Asia/Vladivostok\r', 1), (318, 'Asia/Yakutsk\r', 1), (319, 'Asia/Yekaterinburg\r', 1), (320, 'Asia/Yerevan\r', 1), (321, 'Atlantic/Azores\r', 1), (322, 'Atlantic/Bermuda\r', 1), (323, 'Atlantic/Canary\r', 1), (324, 'Atlantic/Cape_Verde\r', 1), (325, 'Atlantic/Faeroe\r', 1), (326, 'Atlantic/Faroe\r', 1), (327, 'Atlantic/Jan_Mayen\r', 1), (328, 'Atlantic/Madeira\r', 1), (329, 'Atlantic/Reykjavik\r', 1), (330, 'Atlantic/South_Georgia\r', 1), (331, 'Atlantic/St_Helena\r', 1), (332, 'Atlantic/Stanley\r', 1), (333, 'Australia/ACT\r', 1), (334, 'Australia/Adelaide\r', 1), (335, 'Australia/Brisbane\r', 1), (336, 'Australia/Broken_Hill\r', 1), (337, 'Australia/Canberra\r', 1), (338, 'Australia/Currie\r', 1), (339, 'Australia/Darwin\r', 1), (340, 'Australia/Eucla\r', 1), (341, 'Australia/Hobart\r', 1), (342, 'Australia/LHI\r', 1), (343, 'Australia/Lindeman\r', 1), (344, 'Australia/Lord_Howe\r', 1), (345, 'Australia/Melbourne\r', 1), (346, 'Australia/North\r', 1), (347, 'Australia/NSW\r', 1), (348, 'Australia/Perth\r', 1), (349, 'Australia/Queensland\r', 1), (350, 'Australia/South\r', 1), (351, 'Australia/Sydney\r', 1), (352, 'Australia/Tasmania\r', 1), (353, 'Australia/Victoria\r', 1), (354, 'Australia/West\r', 1), (355, 'Australia/Yancowinna\r', 1), (356, 'Brazil/Acre\r', 1), (357, 'Brazil/DeNoronha\r', 1), (358, 'Brazil/East\r', 1), (359, 'Brazil/West\r', 1), (360, 'Canada/Atlantic\r', 1), (361, 'Canada/Central\r', 1), (362, 'Canada/Eastern\r', 1), (363, 'Canada/East-Saskatchewan\r', 1), (364, 'Canada/Mountain\r', 1), (365, 'Canada/Newfoundland\r', 1), (366, 'Canada/Pacific\r', 1), (367, 'Canada/Saskatchewan\r', 1), (368, 'Canada/Yukon\r', 1), (369, 'CET\r', 1), (370, 'Chile/Continental\r', 1), (371, 'Chile/EasterIsland\r', 1), (372, 'CST6CDT\r', 1), (373, 'Cuba\r', 1), (374, 'EET\r', 1), (375, 'Egypt\r', 1), (376, 'Eire\r', 1), (377, 'EST\r', 1), (378, 'EST5EDT\r', 1), (379, 'Etc./GMT\r', 1), (380, 'Etc./GMT+0\r', 1), (381, 'Etc./UCT\r', 1), (382, 'Etc./Universal\r', 1), (383, 'Etc./UTC\r', 1), (384, 'Etc./Zulu\r', 1), (385, 'Europe/Amsterdam\r', 1), (386, 'Europe/Andorra\r', 1), (387, 'Europe/Athens\r', 1), (388, 'Europe/Belfast\r', 1), (389, 'Europe/Belgrade\r', 1), (390, 'Europe/Berlin\r', 1), (391, 'Europe/Bratislava\r', 1), (392, 'Europe/Brussels\r', 1), (393, 'Europe/Bucharest\r', 1), (394, 'Europe/Budapest\r', 1), (395, 'Europe/Chisinau\r', 1), (396, 'Europe/Copenhagen\r', 1), (397, 'Europe/Dublin\r', 1), (398, 'Europe/Gibraltar\r', 1), (399, 'Europe/Guernsey\r', 1), (400, 'Europe/Helsinki\r', 1), (401, 'Europe/Isle_of_Man\r', 1), (402, 'Europe/Istanbul\r', 1), (403, 'Europe/Jersey\r', 1), (404, 'Europe/Kaliningrad\r', 1), (405, 'Europe/Kiev\r', 1), (406, 'Europe/Lisbon\r', 1), (407, 'Europe/Ljubljana\r', 1), (408, 'Europe/London\r', 1), (409, 'Europe/Luxembourg\r', 1), (410, 'Europe/Madrid\r', 1), (411, 'Europe/Malta\r', 1), (412, 'Europe/Mariehamn\r', 1), (413, 'Europe/Minsk\r', 1), (414, 'Europe/Monaco\r', 1), (415, 'Europe/Moscow\r', 1), (416, 'Europe/Nicosia\r', 1), (417, 'Europe/Oslo\r', 1), (418, 'Europe/Paris\r', 1), (419, 'Europe/Podgorica\r', 1), (420, 'Europe/Prague\r', 1), (421, 'Europe/Riga\r', 1), (422, 'Europe/Rome\r', 1), (423, 'Europe/Samara\r', 1), (424, 'Europe/San_Marino\r', 1), (425, 'Europe/Sarajevo\r', 1), (426, 'Europe/Simferopol\r', 1), (427, 'Europe/Skopje\r', 1), (428, 'Europe/Sofia\r', 1), (429, 'Europe/Stockholm\r', 1), (430, 'Europe/Tallinn\r', 1), (431, 'Europe/Tirane\r', 1), (432, 'Europe/Tiraspol\r', 1), (433, 'Europe/Uzhgorod\r', 1), (434, 'Europe/Vaduz\r', 1), (435, 'Europe/Vatican\r', 1), (436, 'Europe/Vienna\r', 1), (437, 'Europe/Vilnius\r', 1), (438, 'Europe/Volgograd\r', 1), (439, 'Europe/Warsaw\r', 1), (440, 'Europe/Zagreb\r', 1), (441, 'Europe/Zaporozhye\r', 1), (442, 'Europe/Zurich\r', 1), (443, 'GB\r', 1), (444, 'GB-Eire\r', 1), (445, 'GMT\r', 1), (446, 'GMT+0\r', 1), (447, 'GMT0\r', 1), (448, 'GMT-0\r', 1), (449, 'Greenwich\r', 1), (450, 'Hong Kong\r', 1), (451, 'HST\r', 1), (452, 'Iceland\r', 1), (453, 'Indian/Antananarivo\r', 1), (454, 'Indian/Chagos\r', 1), (455, 'Indian/Christmas\r', 1), (456, 'Indian/Cocos\r', 1), (457, 'Indian/Comoro\r', 1), (458, 'Indian/Kerguelen\r', 1), (459, 'Indian/Mahe\r', 1), (460, 'Indian/Maldives\r', 1), (461, 'Indian/Mauritius\r', 1), (462, 'Indian/Mayotte\r', 1), (463, 'Indian/Reunion\r', 1), (464, 'Iran\r', 1), (465, 'Israel\r', 1), (466, 'Jamaica\r', 1), (467, 'Japan\r', 1), (468, 'JST-9\r', 1), (469, 'Kwajalein\r', 1), (470, 'Libya\r', 1), (471, 'MET\r', 1), (472, 'Mexico/BajaNorte\r', 1), (473, 'Mexico/BajaSur\r', 1), (474, 'Mexico/General\r', 1), (475, 'MST\r', 1), (476, 'MST7MDT\r', 1), (477, 'Navajo\r', 1), (478, 'NZ\r', 1), (479, 'NZ-CHAT\r', 1), (480, 'Pacific/Apia\r', 1), (481, 'Pacific/Auckland\r', 1), (482, 'Pacific/Chatham\r', 1), (483, 'Pacific/Chuuk\r', 1), (484, 'Pacific/Easter\r', 1), (485, 'Pacific/Efate\r', 1), (486, 'Pacific/Enderbury\r', 1), (487, 'Pacific/Fakaofo\r', 1), (488, 'Pacific/Fiji\r', 1), (489, 'Pacific/Funafuti\r', 1), (490, 'Pacific/Galapagos\r', 1), (491, 'Pacific/Gambier\r', 1), (492, 'Pacific/Guadalcanal\r', 1), (493, 'Pacific/Guam\r', 1), (494, 'Pacific/Honolulu\r', 1), (495, 'Pacific/Johnston\r', 1), (496, 'Pacific/Kiritimati\r', 1), (497, 'Pacific/Kosrae\r', 1), (498, 'Pacific/Kwajalein\r', 1), (499, 'Pacific/Majuro\r', 1), (500, 'Pacific/Marquesas\r', 1), (501, 'Pacific/Midway\r', 1), (502, 'Pacific/Nauru\r', 1), (503, 'Pacific/Niue\r', 1), (504, 'Pacific/Norfolk\r', 1), (505, 'Pacific/Noumea\r', 1), (506, 'Pacific/Pago_Pago\r', 1), (507, 'Pacific/Palau\r', 1), (508, 'Pacific/Pitcairn\r', 1), (509, 'Pacific/Pohnpei\r', 1), (510, 'Pacific/Ponape\r', 1), (511, 'Pacific/Port_Moresby\r', 1), (512, 'Pacific/Rarotonga\r', 1), (513, 'Pacific/Saipan\r', 1), (514, 'Pacific/Samoa\r', 1), (515, 'Pacific/Tahiti\r', 1), (516, 'Pacific/Tarawa\r', 1), (517, 'Pacific/Tongatapu\r', 1), (518, 'Pacific/Truk\r', 1), (519, 'Pacific/Wake\r', 1), (520, 'Pacific/Wallis\r', 1), (521, 'Pacific/Yap\r', 1), (522, 'Poland\r', 1), (523, 'Portugal\r', 1), (524, 'PRC\r', 1), (525, 'PST8PDT\r', 1), (526, 'ROC\r', 1), (527, 'ROK\r', 1), (528, 'Singapore\r', 1), (529, 'Turkey\r', 1), (530, 'UCT\r', 1), (531, 'Universal\r', 1), (532, 'US/Alaska\r', 1), (533, 'US/Aleutian\r', 1), (534, 'US/Arizona\r', 1), (535, 'US/Central\r', 1), (536, 'US/Eastern\r', 1), (537, 'US/East-Indiana\r', 1), (538, 'US/Hawaii\r', 1), (539, 'US/Indiana-Starke\r', 1), (540, 'US/Michigan\r', 1), (541, 'US/Mountain\r', 1), (542, 'US/Pacific\r', 1), (543, 'US/Pacific-New\r', 1), (544, 'US/Samoa\r', 1), (545, 'UTC\r', 1), (546, 'WET\r', 1), (547, 'W-SU\r', 1), (548, 'Zulu\r', 1); -- -------------------------------------------------------- -- -- Table structure for table `db_touchmapping` -- CREATE TABLE `db_touchmapping` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `count` int(11) NOT NULL, `aasari_id` int(11) NOT NULL, `created_at` datetime NOT NULL, `created_by` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_touchmapping_item` -- CREATE TABLE `db_touchmapping_item` ( `id` int(11) NOT NULL, `touch_mapping_id` int(11) NOT NULL, `item_id` int(11) NOT NULL, `wastage` varchar(150) NOT NULL, `touch` varchar(150) NOT NULL, `status_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `created_at` datetime NOT NULL, `created_by` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_twilio` -- CREATE TABLE `db_twilio` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `account_sid` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `auth_token` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `twilio_phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL, `status` int(11) DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_types` -- CREATE TABLE `db_types` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `type_code` varchar(50) NOT NULL, `type_name` varchar(100) NOT NULL, `rate_type` varchar(100) NOT NULL, `description` text NOT NULL, `status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `db_types` -- INSERT INTO `db_types` (`id`, `store_id`, `type_code`, `type_name`, `rate_type`, `description`, `status`) VALUES (1, 2, '', '916', 'gold_rate', '', 1), (2, 2, '', '99.8', 'gold_rate24', '', 1), (3, 2, '', '95.8', '', '', 1), (4, 2, '', '75', 'silver_rate', '', 1), (5, 2, '', '78', 'gold_rate18', '', 1), (6, 2, '', 'Po', 'gold_rate18', '', 1), (7, 2, '', '100', 'gold_rate24', '', 1), (8, 2, '', '80', 'silver_rate', '', 1), (9, 2, '', '22ct', 'gold_rate', '', 1), (10, 2, '', 'Silver Rate', 'silver_rate', '', 1), (11, 2, '', 'Old Silver Rate', 'old_silver_rate', '', 1), (12, 2, '', '92.8', 'others', '', 1), (13, 2, '', '92.5', 'others', '', 1), (14, 2, '', '84', 'silver_rate', '', 1), (15, 2, '', '92', 'silver_rate', '', 1), (16, 2, '', 'Silver Pure', 'silver_pure', '', 1); -- -------------------------------------------------------- -- -- Table structure for table `db_units` -- CREATE TABLE `db_units` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `unit_name` varchar(50) DEFAULT NULL, `description` mediumtext DEFAULT NULL, `company_id` int(11) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_units` -- INSERT INTO `db_units` (`id`, `store_id`, `unit_name`, `description`, `company_id`, `status`) VALUES (61, 2, 'Grams', '', NULL, 1), (62, 2, 'Pieces', '', NULL, 1), (63, 2, 'Gram to Piece', '', NULL, 1); -- -------------------------------------------------------- -- -- Table structure for table `db_users` -- CREATE TABLE `db_users` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `username` varchar(50) DEFAULT NULL, `first_name` varchar(100) DEFAULT NULL, `last_name` varchar(100) DEFAULT NULL, `password` varchar(100) NOT NULL, `member_of` varchar(50) DEFAULT NULL, `firstname` varchar(50) DEFAULT NULL, `lastname` varchar(50) DEFAULT NULL, `mobile` varchar(50) DEFAULT NULL, `email` varchar(50) DEFAULT NULL, `photo` blob DEFAULT NULL, `gender` varchar(50) DEFAULT NULL, `dob` date DEFAULT NULL, `country` varchar(50) DEFAULT NULL, `state` varchar(50) DEFAULT NULL, `city` varchar(50) DEFAULT NULL, `address` blob DEFAULT NULL, `postcode` varchar(50) DEFAULT NULL, `role_name` varchar(50) DEFAULT NULL, `role_id` int(11) DEFAULT NULL, `profile_picture` text DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `system_ip` varchar(100) DEFAULT NULL, `system_name` varchar(100) DEFAULT NULL, `status` double(20,3) DEFAULT NULL, `creater_id` int(11) DEFAULT NULL, `updater_id` int(11) DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_users` -- INSERT INTO `db_users` (`id`, `store_id`, `username`, `first_name`, `last_name`, `password`, `member_of`, `firstname`, `lastname`, `mobile`, `email`, `photo`, `gender`, `dob`, `country`, `state`, `city`, `address`, `postcode`, `role_name`, `role_id`, `profile_picture`, `created_date`, `created_time`, `created_by`, `system_ip`, `system_name`, `status`, `creater_id`, `updater_id`, `updated_at`) VALUES (1, 1, 'Admin', 'rkteams', 'admin', 'cd09533cfaf2d5419c4267b3f22058f5', '', NULL, NULL, '', 'hr.rkcreators@gmail.com', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 'uploads/users/admin.png', '2018-11-27', '::1', NULL, NULL, NULL, 1.000, NULL, NULL, NULL), (2, 2, 'rkteams', 'RK Creators', '', '21e401141d0e399b70cd2972c4972959', NULL, NULL, NULL, '7010670540', 'rkteams@gmail.com', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 'uploads/users/avatar1.png', '2021-02-12', '05:53:37 pm', '', '127.0.0.1', 'LAPTOP-I5OUIM4R', 1.000, NULL, NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `db_userswarehouses` -- CREATE TABLE `db_userswarehouses` ( `id` int(11) NOT NULL, `user_id` int(11) DEFAULT NULL, `warehouse_id` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_userswarehouses` -- INSERT INTO `db_userswarehouses` (`id`, `user_id`, `warehouse_id`) VALUES (1, 4, 2), (5, 5, 2); -- -------------------------------------------------------- -- -- Table structure for table `db_variants` -- CREATE TABLE `db_variants` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `variant_code` varchar(50) DEFAULT NULL, `variant_name` varchar(100) DEFAULT NULL, `description` mediumtext DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_voucher_cash_balance` -- CREATE TABLE `db_voucher_cash_balance` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `supplier_id` int(11) NOT NULL, `voucher_id` int(11) NOT NULL, `payment_type` varchar(100) NOT NULL, `amount` decimal(20,3) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_voucher_metal_cash` -- CREATE TABLE `db_voucher_metal_cash` ( `id` int(11) NOT NULL, `voucher_id` int(11) NOT NULL, `item_id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `voucher_date` date NOT NULL, `count_id` int(11) NOT NULL, `supplier_id` int(11) NOT NULL, `metal_gram` decimal(20,3) NOT NULL, `metal_touch` decimal(20,3) NOT NULL, `metal_pure` decimal(20,3) NOT NULL, `metal_rate` decimal(20,3) NOT NULL, `metal_amount` decimal(20,3) NOT NULL, `status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_voucher_old_gold` -- CREATE TABLE `db_voucher_old_gold` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `voucher_id` int(11) NOT NULL, `item_id` int(11) NOT NULL, `old_gold_weight` decimal(20,3) NOT NULL, `old_gold_touch` decimal(20,3) NOT NULL, `old_gold_pure` decimal(20,3) NOT NULL, `status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_voucher_old_silver` -- CREATE TABLE `db_voucher_old_silver` ( `id` int(11) NOT NULL, `store_id` int(11) NOT NULL, `warehouse_id` int(11) NOT NULL, `voucher_id` int(11) NOT NULL, `item_id` int(11) NOT NULL, `old_silver_weight` decimal(20,3) NOT NULL, `old_silver_touch` decimal(20,3) NOT NULL, `old_silver_pure` decimal(20,3) NOT NULL, `status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `db_warehouse` -- CREATE TABLE `db_warehouse` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `warehouse_type` varchar(50) DEFAULT NULL, `warehouse_name` varchar(50) DEFAULT NULL, `sub_name` varchar(4) NOT NULL, `mobile` varchar(20) DEFAULT NULL, `email` varchar(50) DEFAULT NULL, `status` int(11) DEFAULT NULL, `created_date` date DEFAULT NULL, `store_name` text NOT NULL, `website` text NOT NULL, `store_logo` text NOT NULL, `logo` text NOT NULL, `upi_id` text NOT NULL, `country` text NOT NULL, `state` text NOT NULL, `city` text NOT NULL, `address` text NOT NULL, `gst_no` text NOT NULL, `vat_no` text NOT NULL, `pan_no` text NOT NULL, `cid` text NOT NULL, `bank_details` text NOT NULL, `postcode` text NOT NULL, `phone` text NOT NULL, `print_access` text NOT NULL, `store_data` text NOT NULL, `special_access` text NOT NULL, `qr_id` int(11) NOT NULL DEFAULT 0, `katcha_silver_id` int(11) NOT NULL DEFAULT 0, `katcha_gold_id` int(11) NOT NULL DEFAULT 0, `pure_silver_id` int(11) NOT NULL DEFAULT 0, `pure_gold_id` int(11) NOT NULL DEFAULT 0, `print_tagging` text NOT NULL, `sales_print` text NOT NULL, `store_tag` varchar(100) NOT NULL DEFAULT '0', `purchase_outstanding` varchar(100) NOT NULL DEFAULT '0', `print_supplier_address` text NOT NULL, `print_gold_rate` text NOT NULL, `print_warehouse_address` text NOT NULL, `print_warehouse_logo` text NOT NULL, `chitpayment_date_edit_option` int(11) NOT NULL DEFAULT 0, `old_silver_id` int(11) NOT NULL DEFAULT 0, `old_gold_id` int(11) NOT NULL DEFAULT 0, `old_silver_weight` decimal(20,3) DEFAULT NULL, `old_gold_weight` decimal(20,3) DEFAULT NULL, `warehouse_id` int(11) NOT NULL DEFAULT 0, `warehouse_limit` int(11) NOT NULL DEFAULT 0, `user_limit` int(11) NOT NULL DEFAULT 0, `print_gm` int(11) NOT NULL DEFAULT 0, `print_huid` int(11) NOT NULL DEFAULT 0, `number_to_words` varchar(250) NOT NULL DEFAULT '0', `t_and_c_status_pos` int(11) NOT NULL DEFAULT 0, `t_and_c_status` int(11) NOT NULL DEFAULT 0, `previous_balance_bit` int(11) NOT NULL DEFAULT 0, `invoice_terms` text NOT NULL, `qty_decimals` int(11) NOT NULL DEFAULT 0, `mrp_column` int(11) NOT NULL DEFAULT 0, `user_id` int(11) NOT NULL DEFAULT 0, `sms_url` text NOT NULL, `smtp_status` int(11) NOT NULL DEFAULT 0, `smtp_pass` varchar(250) NOT NULL DEFAULT '0', `smtp_user` varchar(250) NOT NULL DEFAULT '0', `smtp_port` varchar(250) NOT NULL DEFAULT '0', `smtp_host` varchar(250) NOT NULL DEFAULT '0', `current_subscriptionlist_id` int(11) NOT NULL DEFAULT 0, `chit_payment_init` text NOT NULL, `expense_payment_init` varchar(50) NOT NULL DEFAULT '0', `purchase_return_payment_init` varchar(50) NOT NULL DEFAULT '0', `purchase_payment_init` varchar(50) NOT NULL DEFAULT '0', `sales_return_payment_init` varchar(50) NOT NULL DEFAULT '0', `sales_payment_init` varchar(50) NOT NULL DEFAULT '0', `money_transfer_init` varchar(50) NOT NULL DEFAULT '0', `decimals` int(11) NOT NULL DEFAULT 0, `quotation_init` varchar(50) NOT NULL DEFAULT '0', `system_name` varchar(50) NOT NULL DEFAULT '0', `system_ip` varchar(50) NOT NULL DEFAULT '0', `created_by` varchar(50) NOT NULL DEFAULT '0', `created_time` varchar(50) NOT NULL DEFAULT '0', `system_gold_status` varchar(100) NOT NULL DEFAULT '0', `round_off` int(11) NOT NULL DEFAULT 0, `sales_invoice_footer_text` text NOT NULL, `pos_invoice_format_id` int(11) NOT NULL DEFAULT 0, `sales_invoice_format_id` int(11) NOT NULL DEFAULT 0, `change_return` int(11) NOT NULL DEFAULT 0, `purchase_code` text NOT NULL, `fav_icon` text NOT NULL, `regno_key` varchar(50) NOT NULL DEFAULT '0', `currencysymbol_id` int(11) NOT NULL DEFAULT 0, `sales_discount` double(20,3) NOT NULL, `time_format` int(11) NOT NULL DEFAULT 0, `date_format` varchar(50) NOT NULL DEFAULT '0', `timezone` varchar(50) NOT NULL DEFAULT '0', `currency_placement` varchar(50) NOT NULL DEFAULT '0', `currency_id` int(11) NOT NULL DEFAULT 0, `language_id` int(11) NOT NULL DEFAULT 0, `sms_status` int(11) NOT NULL DEFAULT 0, `invoice_view` int(11) NOT NULL DEFAULT 0, `cust_advance_init` varchar(50) NOT NULL DEFAULT '0', `lot_init` varchar(100) NOT NULL DEFAULT '0', `journal_init` varchar(50) NOT NULL DEFAULT '0', `accounts_init` varchar(50) NOT NULL DEFAULT '0', `expense_init` varchar(50) NOT NULL DEFAULT '0', `sales_return_init` varchar(50) NOT NULL DEFAULT '0', `sales_return_init1` text NOT NULL, `sales_init1` varchar(100) NOT NULL DEFAULT '0', `sales_init` varchar(50) NOT NULL DEFAULT '0', `customer_init` varchar(50) NOT NULL DEFAULT '0', `payment_voucher_init1` varchar(100) NOT NULL DEFAULT '0', `payment_voucher_init` text NOT NULL, `ol_purchase_return_init` text NOT NULL, `ol_purchase_init` text NOT NULL, `purchase_return_init` varchar(50) NOT NULL DEFAULT '0', `purchase_init1` varchar(100) NOT NULL DEFAULT '0', `purchase_init` varchar(50) NOT NULL DEFAULT '0', `smith_init` varchar(50) NOT NULL DEFAULT '0', `supplier_init` varchar(50) NOT NULL DEFAULT '0', `tag_init` varchar(50) NOT NULL DEFAULT '0', `item_init` varchar(50) NOT NULL DEFAULT '0', `category_init` varchar(50) NOT NULL DEFAULT '0', `upi_code` text NOT NULL, `store_website` varchar(150) NOT NULL DEFAULT '0', `store_code` varchar(150) NOT NULL DEFAULT '0', `chit_payment_init_msg` text NOT NULL, `store_access` int(11) NOT NULL, `order_init` varchar(50) NOT NULL, `order_init1` varchar(50) NOT NULL, `purchase_return_init1` varchar(50) NOT NULL, `quotation_init1` varchar(50) NOT NULL, `stock_init` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_warehouse` -- INSERT INTO `db_warehouse` (`id`, `store_id`, `warehouse_type`, `warehouse_name`, `sub_name`, `mobile`, `email`, `status`, `created_date`, `store_name`, `website`, `store_logo`, `logo`, `upi_id`, `country`, `state`, `city`, `address`, `gst_no`, `vat_no`, `pan_no`, `cid`, `bank_details`, `postcode`, `phone`, `print_access`, `store_data`, `special_access`, `qr_id`, `katcha_silver_id`, `katcha_gold_id`, `pure_silver_id`, `pure_gold_id`, `print_tagging`, `sales_print`, `store_tag`, `purchase_outstanding`, `print_supplier_address`, `print_gold_rate`, `print_warehouse_address`, `print_warehouse_logo`, `chitpayment_date_edit_option`, `old_silver_id`, `old_gold_id`, `old_silver_weight`, `old_gold_weight`, `warehouse_id`, `warehouse_limit`, `user_limit`, `print_gm`, `print_huid`, `number_to_words`, `t_and_c_status_pos`, `t_and_c_status`, `previous_balance_bit`, `invoice_terms`, `qty_decimals`, `mrp_column`, `user_id`, `sms_url`, `smtp_status`, `smtp_pass`, `smtp_user`, `smtp_port`, `smtp_host`, `current_subscriptionlist_id`, `chit_payment_init`, `expense_payment_init`, `purchase_return_payment_init`, `purchase_payment_init`, `sales_return_payment_init`, `sales_payment_init`, `money_transfer_init`, `decimals`, `quotation_init`, `system_name`, `system_ip`, `created_by`, `created_time`, `system_gold_status`, `round_off`, `sales_invoice_footer_text`, `pos_invoice_format_id`, `sales_invoice_format_id`, `change_return`, `purchase_code`, `fav_icon`, `regno_key`, `currencysymbol_id`, `sales_discount`, `time_format`, `date_format`, `timezone`, `currency_placement`, `currency_id`, `language_id`, `sms_status`, `invoice_view`, `cust_advance_init`, `lot_init`, `journal_init`, `accounts_init`, `expense_init`, `sales_return_init`, `sales_return_init1`, `sales_init1`, `sales_init`, `customer_init`, `payment_voucher_init1`, `payment_voucher_init`, `ol_purchase_return_init`, `ol_purchase_init`, `purchase_return_init`, `purchase_init1`, `purchase_init`, `smith_init`, `supplier_init`, `tag_init`, `item_init`, `category_init`, `upi_code`, `store_website`, `store_code`, `chit_payment_init_msg`, `store_access`, `order_init`, `order_init1`, `purchase_return_init1`, `quotation_init1`, `stock_init`) VALUES (1, 1, 'System', 'Warehouse-A', '', '', 'warehouse_a@example.com', 1, NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '0', '0', '0', 0, 0, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', 0, 0, 0, 0.000, 0.000, 0, 0, 0, 0, 0, '0', 0, 0, 0, '0', 0, 0, 0, '0', 0, '0', '0', '0', '0', 0, '0', '0', '0', '0', '0', '0', '0', 0, '0', '0', '0', '0', '0', '0', 0, '0', 0, 0, 0, '0', '0', '0', 0, 0.000, 0, '0', '0', '0', 0, 0, 0, 0, '0', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '', 0, '', '', '', '', ''), (2, 2, 'System', 'System Branches', 'AAA', '8870047749', 'hr.rkcreators@gmail.com', 1, NULL, 'NEZLAN', '', '', '', '', 'India', 'Tamil Nadu', 'Coimbatore', '203/1, 3rd floor, 7th street, crosscut road, gandhipuram', '33AKKPV0942J1ZW', '', '', '', '', '641012', '', '0', '0', '0', 0, 0, 0, 0, 0, '0', '0', '0', 'Metal,Mc', '0', '0', '0', '0', 0, 0, 0, 0.000, 0.000, 0, 0, 0, 0, 0, '0', 0, 0, 0, '0', 0, 0, 0, '0', 0, '0', '0', '0', '0', 0, 'CH/2526/', 'XP/2526/', 'PRP/2526/', 'PP/2526/', 'SP/2526/', 'SP/2526/', 'MT/02/', 0, 'QT/2526/', '0', '0', '0', '0', '0', 0, '0', 0, 0, 0, '0', '0', '0', 0, 0.000, 0, '0', '0', '0', 0, 0, 0, 0, 'ADV', '0', '0', 'AC/02/', 'EX/2024/', 'SR/2526/', 'SLRX/2024/02', '0', 'SL/2526/', 'CU/02/', '0', 'PV/2526/', 'POR/2526/', 'OP/2526/', 'PR/2526/', '0', 'PU/2526/', 'SM/02/', 'SU/', 'A', 'IT02', 'CT/02/', '0', '0', '0', '', 1, '', '', '', '', ''), (95, 2, 'Custom', 'BRANCH 2', '', '', '', 1, NULL, 'BRANCH 2', '', '', '', '', 'India', 'Tamil Nadu', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, '', '', '0', '0', '', '', '', '', 0, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, '0', 0, 0, 0, '', 0, 0, 0, '', 0, '0', '0', '0', '0', 0, '', '', '', '', '', '', '', 0, '', '0', '0', '0', '0', '0', 0, '', 0, 0, 0, '', '', '0', 0, 0.000, 0, '0', '0', '0', 0, 0, 0, 0, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '0', '', '0', '', '', '', '0', '0', '', 0, '', '', '', '', ''); -- -------------------------------------------------------- -- -- Table structure for table `db_warehouseitems` -- CREATE TABLE `db_warehouseitems` ( `id` int(11) NOT NULL, `store_id` int(11) DEFAULT NULL, `warehouse_id` int(11) DEFAULT NULL, `item_id` int(11) DEFAULT NULL, `available_qty` double(20,3) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `db_warehouseitems` -- INSERT INTO `db_warehouseitems` (`id`, `store_id`, `warehouse_id`, `item_id`, `available_qty`) VALUES (204, 2, 2, 1, 85.000), (205, 2, 2, 11, 0.500), (206, 2, 2, 13, 55.000), (207, 2, 2, 14, 5.000), (208, 2, 2, 15, 6.380), (209, 2, 2, 16, 20.110), (210, 2, 2, 17, 2.420), (211, 2, 2, 19, 16.450), (212, 2, 2, 21, 0.250), (213, 2, 2, 22, 86.150), (215, 2, 2, 28, 99.250), (216, 2, 2, 29, 778.000), (217, 2, 2, 30, 45.500), (218, 2, 2, 31, 3.000), (219, 2, 2, 32, 5.000), (220, 2, 2, 33, 37.330), (221, 2, 2, 34, 32.950), (222, 2, 2, 35, 24.700), (223, 2, 2, 36, 4.500), (224, 2, 2, 37, 3.000), (225, 2, 2, 40, 6.200), (226, 2, 2, 42, 100.000), (227, 2, 2, 43, 10.000), (228, 2, 2, 44, 5.000), (229, 2, 2, 45, 50.000), (230, 2, 2, 47, 5.000), (231, 2, 2, 48, 10.000), (234, 2, 2, 26, 0.700); -- -------------------------------------------------------- -- -- Table structure for table `migrations` -- CREATE TABLE `migrations` ( `version` bigint(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `temp_holdinvoice` -- CREATE TABLE `temp_holdinvoice` ( `id` int(11) NOT NULL, `invoice_id` int(11) DEFAULT NULL, `invoice_date` date DEFAULT NULL, `reference_id` varchar(50) DEFAULT NULL, `item_id` int(11) DEFAULT NULL, `item_qty` int(11) DEFAULT NULL, `item_price` double(20,3) DEFAULT NULL, `tax` double(20,3) DEFAULT NULL, `created_date` date DEFAULT NULL, `created_time` varchar(50) DEFAULT NULL, `created_by` varchar(50) DEFAULT NULL, `system_ip` varchar(50) DEFAULT NULL, `system_name` varchar(50) DEFAULT NULL, `pos` int(11) DEFAULT NULL, `status` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Indexes for dumped tables -- -- -- Indexes for table `ac_accounts` -- ALTER TABLE `ac_accounts` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `paymenttypes_id` (`paymenttypes_id`), ADD KEY `customer_id` (`customer_id`), ADD KEY `supplier_id` (`supplier_id`), ADD KEY `expense_id` (`expense_id`); -- -- Indexes for table `ac_account_cash_balance` -- ALTER TABLE `ac_account_cash_balance` ADD PRIMARY KEY (`id`); -- -- Indexes for table `ac_moneydeposits` -- ALTER TABLE `ac_moneydeposits` ADD PRIMARY KEY (`id`), ADD KEY `from_account_id` (`debit_account_id`), ADD KEY `to_account_id` (`credit_account_id`), ADD KEY `db_moneydeposits_ibfk_3` (`store_id`); -- -- Indexes for table `ac_moneytransfer` -- ALTER TABLE `ac_moneytransfer` ADD PRIMARY KEY (`id`), ADD KEY `from_account_id` (`debit_account_id`), ADD KEY `to_account_id` (`credit_account_id`), ADD KEY `db_moneytransfer_ibfk_3` (`store_id`); -- -- Indexes for table `ac_transactions` -- ALTER TABLE `ac_transactions` ADD PRIMARY KEY (`id`), ADD KEY `journal_id` (`transaction_type`), ADD KEY `account_id` (`debit_account_id`), ADD KEY `store_id` (`store_id`), ADD KEY `ac_accounts_id` (`ref_accounts_id`), ADD KEY `ac_moneytransfer_id` (`ref_moneytransfer_id`), ADD KEY `ac_moneydeposits_id` (`ref_moneydeposits_id`), ADD KEY `customer_id` (`customer_id`), ADD KEY `ref_salespayments_id` (`ref_salespayments_id`), ADD KEY `ref_purchasepayments_id` (`ref_purchasepayments_id`), ADD KEY `ref_purchasepaymentsreturn_id` (`ref_purchasepaymentsreturn_id`), ADD KEY `ac_transactions_ibfk_9` (`ref_salespaymentsreturn_id`), ADD KEY `supplier_id` (`supplier_id`), ADD KEY `ref_expense_id` (`ref_expense_id`); -- -- Indexes for table `blog` -- ALTER TABLE `blog` ADD PRIMARY KEY (`blog_id`); -- -- Indexes for table `ci_sessions` -- ALTER TABLE `ci_sessions` ADD KEY `ci_sessions_timestamp` (`timestamp`); -- -- Indexes for table `db_bankdetails` -- ALTER TABLE `db_bankdetails` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_brands` -- ALTER TABLE `db_brands` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_category` -- ALTER TABLE `db_category` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `category_name` (`category_name`); -- -- Indexes for table `db_chitpayment` -- ALTER TABLE `db_chitpayment` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_cobpayments` -- ALTER TABLE `db_cobpayments` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_counter` -- ALTER TABLE `db_counter` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_country` -- ALTER TABLE `db_country` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_coupons` -- ALTER TABLE `db_coupons` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_currency` -- ALTER TABLE `db_currency` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_custadvance` -- ALTER TABLE `db_custadvance` ADD PRIMARY KEY (`id`), ADD KEY `customer_id` (`customer_id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_customers` -- ALTER TABLE `db_customers` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_customerscheme` -- ALTER TABLE `db_customerscheme` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_customer_coupons` -- ALTER TABLE `db_customer_coupons` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `customer_id` (`customer_id`), ADD KEY `coupon_id` (`coupon_id`); -- -- Indexes for table `db_customer_payments` -- ALTER TABLE `db_customer_payments` ADD PRIMARY KEY (`id`), ADD KEY `customer_id` (`customer_id`), ADD KEY `salespayment_id` (`salespayment_id`); -- -- Indexes for table `db_cust_adpayments` -- ALTER TABLE `db_cust_adpayments` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `cust_ad_id` (`cust_ad_id`), ADD KEY `customer_id` (`customer_id`); -- -- Indexes for table `db_cust_ad_old_gold` -- ALTER TABLE `db_cust_ad_old_gold` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_cust_ad_old_silver` -- ALTER TABLE `db_cust_ad_old_silver` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_emailtemplates` -- ALTER TABLE `db_emailtemplates` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_employees` -- ALTER TABLE `db_employees` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_estimation` -- ALTER TABLE `db_estimation` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `customer_id` (`customer_id`), ADD KEY `warehouse_id` (`warehouse_id`); -- -- Indexes for table `db_estimationitems` -- ALTER TABLE `db_estimationitems` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `quotation_id` (`quotation_id`); -- -- Indexes for table `db_expense` -- ALTER TABLE `db_expense` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `account_id` (`account_id`); -- -- Indexes for table `db_expense_category` -- ALTER TABLE `db_expense_category` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_fivemojo` -- ALTER TABLE `db_fivemojo` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_goldrate` -- ALTER TABLE `db_goldrate` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_hold` -- ALTER TABLE `db_hold` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `customer_id` (`customer_id`), ADD KEY `warehouse_id` (`warehouse_id`); -- -- Indexes for table `db_holditems` -- ALTER TABLE `db_holditems` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `sales_id` (`hold_id`), ADD KEY `item_id` (`item_id`); -- -- Indexes for table `db_instamojo` -- ALTER TABLE `db_instamojo` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_instamojopayments` -- ALTER TABLE `db_instamojopayments` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_issue` -- ALTER TABLE `db_issue` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `supplier_id` (`smith_id`), ADD KEY `issue_code` (`issue_code`), ADD KEY `issue_code_2` (`issue_code`); -- -- Indexes for table `db_issueitems` -- ALTER TABLE `db_issueitems` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `issue_id` (`issue_id`), ADD KEY `issue_unique_code` (`issue_unique_code`); -- -- Indexes for table `db_issuepayments` -- ALTER TABLE `db_issuepayments` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `issue_id` (`issue_id`), ADD KEY `supplier_id` (`supplier_id`); -- -- Indexes for table `db_issuereceipt` -- ALTER TABLE `db_issuereceipt` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `issue_id` (`issue_id`); -- -- Indexes for table `db_issuereceiptitems` -- ALTER TABLE `db_issuereceiptitems` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `receipt_id` (`receipt_id`), ADD KEY `issue_id` (`issue_id`); -- -- Indexes for table `db_issuereceiptpayments` -- ALTER TABLE `db_issuereceiptpayments` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_issue_metal_balance` -- ALTER TABLE `db_issue_metal_balance` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_issue_old_gold` -- ALTER TABLE `db_issue_old_gold` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_issue_old_silver` -- ALTER TABLE `db_issue_old_silver` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_items` -- ALTER TABLE `db_items` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `item_code` (`item_code`,`item_name`,`custom_barcode`), ADD KEY `item_code_2` (`item_code`,`item_name`,`custom_barcode`); -- -- Indexes for table `db_item_huid` -- ALTER TABLE `db_item_huid` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_item_wastage` -- ALTER TABLE `db_item_wastage` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_languages` -- ALTER TABLE `db_languages` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_lot` -- ALTER TABLE `db_lot` ADD PRIMARY KEY (`id`), ADD KEY `lot_name` (`lot_name`,`lot_code`); -- -- Indexes for table `db_lotitems` -- ALTER TABLE `db_lotitems` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_metal_balance` -- ALTER TABLE `db_metal_balance` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_ol_purchase` -- ALTER TABLE `db_ol_purchase` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `supplier_id` (`supplier_id`); -- -- Indexes for table `db_ol_purchaseitems` -- ALTER TABLE `db_ol_purchaseitems` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `purchase_id` (`purchase_id`); -- -- Indexes for table `db_ol_purchaseitemsreturn` -- ALTER TABLE `db_ol_purchaseitemsreturn` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `return_id` (`return_id`), ADD KEY `purchase_id` (`purchase_id`); -- -- Indexes for table `db_ol_purchasepayments` -- ALTER TABLE `db_ol_purchasepayments` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `purchase_id` (`purchase_id`), ADD KEY `supplier_id` (`supplier_id`); -- -- Indexes for table `db_ol_purchasepaymentsreturn` -- ALTER TABLE `db_ol_purchasepaymentsreturn` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `return_id` (`return_id`), ADD KEY `supplier_id` (`supplier_id`); -- -- Indexes for table `db_ol_purchasereturn` -- ALTER TABLE `db_ol_purchasereturn` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `purchase_id` (`purchase_id`); -- -- Indexes for table `db_order` -- ALTER TABLE `db_order` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `customer_id` (`customer_id`), ADD KEY `warehouse_id` (`warehouse_id`), ADD KEY `coupon_id` (`coupon_id`); -- -- Indexes for table `db_orderitems` -- ALTER TABLE `db_orderitems` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `order_id` (`order_id`); -- -- Indexes for table `db_orderpayments` -- ALTER TABLE `db_orderpayments` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `order_id` (`order_id`), ADD KEY `customer_id` (`customer_id`); -- -- Indexes for table `db_order_old_gold` -- ALTER TABLE `db_order_old_gold` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_order_old_silver` -- ALTER TABLE `db_order_old_silver` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_otherissues` -- ALTER TABLE `db_otherissues` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_otherissuesitems` -- ALTER TABLE `db_otherissuesitems` ADD PRIMARY KEY (`id`), ADD KEY `purchase_id` (`issue_id`), ADD KEY `item_id` (`item_id`), ADD KEY `store_id` (`store_id`), ADD KEY `warehouse_id` (`warehouse_id`); -- -- Indexes for table `db_package` -- ALTER TABLE `db_package` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_paymenttypes` -- ALTER TABLE `db_paymenttypes` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_paypal` -- ALTER TABLE `db_paypal` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_paypalpaylog` -- ALTER TABLE `db_paypalpaylog` ADD PRIMARY KEY (`payment_id`); -- -- Indexes for table `db_permissions` -- ALTER TABLE `db_permissions` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_purchase` -- ALTER TABLE `db_purchase` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `supplier_id` (`supplier_id`), ADD KEY `purchase_code` (`purchase_code`), ADD KEY `purchase_code_2` (`purchase_code`); -- -- Indexes for table `db_purchaseitems` -- ALTER TABLE `db_purchaseitems` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `purchase_id` (`purchase_id`), ADD KEY `purchase_unique_code` (`purchase_unique_code`); -- -- Indexes for table `db_purchaseitemsreturn` -- ALTER TABLE `db_purchaseitemsreturn` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `return_id` (`return_id`), ADD KEY `purchase_id` (`purchase_id`); -- -- Indexes for table `db_purchasepayments` -- ALTER TABLE `db_purchasepayments` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `purchase_id` (`purchase_id`), ADD KEY `supplier_id` (`supplier_id`); -- -- Indexes for table `db_purchasepaymentsreturn` -- ALTER TABLE `db_purchasepaymentsreturn` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_purchasereturn` -- ALTER TABLE `db_purchasereturn` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `purchase_id` (`purchase_id`); -- -- Indexes for table `db_purchase_old_gold` -- ALTER TABLE `db_purchase_old_gold` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_purchase_old_silver` -- ALTER TABLE `db_purchase_old_silver` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_purchase_voucher` -- ALTER TABLE `db_purchase_voucher` ADD PRIMARY KEY (`voucher_id`); -- -- Indexes for table `db_quotation` -- ALTER TABLE `db_quotation` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `customer_id` (`customer_id`), ADD KEY `warehouse_id` (`warehouse_id`); -- -- Indexes for table `db_quotationitems` -- ALTER TABLE `db_quotationitems` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `quotation_id` (`quotation_id`); -- -- Indexes for table `db_quotation_old_gold` -- ALTER TABLE `db_quotation_old_gold` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_quotation_old_silver` -- ALTER TABLE `db_quotation_old_silver` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_roles` -- ALTER TABLE `db_roles` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_sales` -- ALTER TABLE `db_sales` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `customer_id` (`customer_id`), ADD KEY `warehouse_id` (`warehouse_id`), ADD KEY `coupon_id` (`coupon_id`); -- -- Indexes for table `db_salesitems` -- ALTER TABLE `db_salesitems` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `sales_id` (`sales_id`); -- -- Indexes for table `db_salesitemsreturn` -- ALTER TABLE `db_salesitemsreturn` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `return_id` (`return_id`); -- -- Indexes for table `db_salespayments` -- ALTER TABLE `db_salespayments` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `sales_id` (`sales_id`), ADD KEY `customer_id` (`customer_id`); -- -- Indexes for table `db_salespaymentsreturn` -- ALTER TABLE `db_salespaymentsreturn` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `return_id` (`return_id`), ADD KEY `db_salespaymentsreturn_ibfk_3` (`customer_id`); -- -- Indexes for table `db_salesreturn` -- ALTER TABLE `db_salesreturn` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `sales_id` (`sales_id`), ADD KEY `coupon_id` (`coupon_id`); -- -- Indexes for table `db_sales_old_gold` -- ALTER TABLE `db_sales_old_gold` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_sales_old_silver` -- ALTER TABLE `db_sales_old_silver` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_scheme` -- ALTER TABLE `db_scheme` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_schemeamount` -- ALTER TABLE `db_schemeamount` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_scheme_group` -- ALTER TABLE `db_scheme_group` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_shippingaddress` -- ALTER TABLE `db_shippingaddress` ADD KEY `customer_id` (`customer_id`), ADD KEY `store_id` (`store_id`), ADD KEY `id` (`id`); -- -- Indexes for table `db_silverrate` -- ALTER TABLE `db_silverrate` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_sitesettings` -- ALTER TABLE `db_sitesettings` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_smith` -- ALTER TABLE `db_smith` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_smith_works` -- ALTER TABLE `db_smith_works` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `smith_id` (`smith_id`); -- -- Indexes for table `db_smith_worksitems` -- ALTER TABLE `db_smith_worksitems` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `smith_works_id` (`smith_works_id`); -- -- Indexes for table `db_smsapi` -- ALTER TABLE `db_smsapi` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_smstemplates` -- ALTER TABLE `db_smstemplates` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_sobpayments` -- ALTER TABLE `db_sobpayments` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_states` -- ALTER TABLE `db_states` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_stockadjustment` -- ALTER TABLE `db_stockadjustment` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_stockadjustmentitems` -- ALTER TABLE `db_stockadjustmentitems` ADD PRIMARY KEY (`id`), ADD KEY `purchase_id` (`adjustment_id`), ADD KEY `item_id` (`item_id`), ADD KEY `store_id` (`store_id`), ADD KEY `warehouse_id` (`warehouse_id`); -- -- Indexes for table `db_stockentry` -- ALTER TABLE `db_stockentry` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_stocktransfer` -- ALTER TABLE `db_stocktransfer` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `warehouse_id` (`warehouse_from`), ADD KEY `warehouse_to` (`warehouse_to`), ADD KEY `db_stocktransfer_ibfk_4` (`to_store_id`); -- -- Indexes for table `db_stocktransferitems` -- ALTER TABLE `db_stocktransferitems` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `warehouse_from` (`warehouse_from`), ADD KEY `warehouse_to` (`warehouse_to`), ADD KEY `stocktranfer_id` (`stocktransfer_id`), ADD KEY `item_id` (`item_id`), ADD KEY `db_stocktransferitems_ibfk_6` (`to_store_id`); -- -- Indexes for table `db_store` -- ALTER TABLE `db_store` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_store_qr` -- ALTER TABLE `db_store_qr` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_stripe` -- ALTER TABLE `db_stripe` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_stripepayments` -- ALTER TABLE `db_stripepayments` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_subscription` -- ALTER TABLE `db_subscription` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_suppliers` -- ALTER TABLE `db_suppliers` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_supplier_payments` -- ALTER TABLE `db_supplier_payments` ADD PRIMARY KEY (`id`), ADD KEY `supplier_id` (`supplier_id`), ADD KEY `purchasepayment_id` (`purchasepayment_id`); -- -- Indexes for table `db_tagging` -- ALTER TABLE `db_tagging` ADD PRIMARY KEY (`tag_id`), ADD KEY `tag_code` (`tag_code`), ADD KEY `item_id` (`item_id`(768)), ADD KEY `warehouse_id` (`warehouse_id`), ADD KEY `tag_code_2` (`tag_code`); -- -- Indexes for table `db_tagging_diamond` -- ALTER TABLE `db_tagging_diamond` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_tagging_group` -- ALTER TABLE `db_tagging_group` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_tagging_items` -- ALTER TABLE `db_tagging_items` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `id` (`id`); -- -- Indexes for table `db_tagging_old` -- ALTER TABLE `db_tagging_old` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_tagtransfer` -- ALTER TABLE `db_tagtransfer` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `warehouse_id` (`warehouse_from`), ADD KEY `warehouse_to` (`warehouse_to`), ADD KEY `db_tagtransfer_ibfk_4` (`to_store_id`); -- -- Indexes for table `db_tagtransferitems` -- ALTER TABLE `db_tagtransferitems` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `warehouse_from` (`warehouse_from`), ADD KEY `warehouse_to` (`warehouse_to`), ADD KEY `tagtranfer_id` (`tagtransfer_id`), ADD KEY `item_id` (`item_id`), ADD KEY `db_tagtransferitems_ibfk_6` (`to_store_id`); -- -- Indexes for table `db_tag_stock_check` -- ALTER TABLE `db_tag_stock_check` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_tax` -- ALTER TABLE `db_tax` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_timezone` -- ALTER TABLE `db_timezone` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_twilio` -- ALTER TABLE `db_twilio` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_types` -- ALTER TABLE `db_types` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_units` -- ALTER TABLE `db_units` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_users` -- ALTER TABLE `db_users` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_userswarehouses` -- ALTER TABLE `db_userswarehouses` ADD PRIMARY KEY (`id`), ADD KEY `user_id` (`user_id`), ADD KEY `warehouse_id` (`warehouse_id`); -- -- Indexes for table `db_variants` -- ALTER TABLE `db_variants` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_voucher_cash_balance` -- ALTER TABLE `db_voucher_cash_balance` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_voucher_metal_cash` -- ALTER TABLE `db_voucher_metal_cash` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_voucher_old_gold` -- ALTER TABLE `db_voucher_old_gold` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_voucher_old_silver` -- ALTER TABLE `db_voucher_old_silver` ADD PRIMARY KEY (`id`); -- -- Indexes for table `db_warehouse` -- ALTER TABLE `db_warehouse` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`); -- -- Indexes for table `db_warehouseitems` -- ALTER TABLE `db_warehouseitems` ADD PRIMARY KEY (`id`), ADD KEY `store_id` (`store_id`), ADD KEY `warehouse_id` (`warehouse_id`), ADD KEY `item_id` (`item_id`); -- -- Indexes for table `temp_holdinvoice` -- ALTER TABLE `temp_holdinvoice` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `ac_accounts` -- ALTER TABLE `ac_accounts` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `ac_account_cash_balance` -- ALTER TABLE `ac_account_cash_balance` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `ac_moneydeposits` -- ALTER TABLE `ac_moneydeposits` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `ac_moneytransfer` -- ALTER TABLE `ac_moneytransfer` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `ac_transactions` -- ALTER TABLE `ac_transactions` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `blog` -- ALTER TABLE `blog` MODIFY `blog_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_bankdetails` -- ALTER TABLE `db_bankdetails` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_brands` -- ALTER TABLE `db_brands` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=338; -- -- AUTO_INCREMENT for table `db_category` -- ALTER TABLE `db_category` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=153; -- -- AUTO_INCREMENT for table `db_chitpayment` -- ALTER TABLE `db_chitpayment` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=135; -- -- AUTO_INCREMENT for table `db_cobpayments` -- ALTER TABLE `db_cobpayments` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_counter` -- ALTER TABLE `db_counter` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_country` -- ALTER TABLE `db_country` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=210; -- -- AUTO_INCREMENT for table `db_coupons` -- ALTER TABLE `db_coupons` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_currency` -- ALTER TABLE `db_currency` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=60; -- -- AUTO_INCREMENT for table `db_custadvance` -- ALTER TABLE `db_custadvance` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT for table `db_customers` -- ALTER TABLE `db_customers` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27; -- -- AUTO_INCREMENT for table `db_customerscheme` -- ALTER TABLE `db_customerscheme` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=36; -- -- AUTO_INCREMENT for table `db_customer_coupons` -- ALTER TABLE `db_customer_coupons` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_customer_payments` -- ALTER TABLE `db_customer_payments` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_cust_adpayments` -- ALTER TABLE `db_cust_adpayments` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT for table `db_cust_ad_old_gold` -- ALTER TABLE `db_cust_ad_old_gold` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_cust_ad_old_silver` -- ALTER TABLE `db_cust_ad_old_silver` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_emailtemplates` -- ALTER TABLE `db_emailtemplates` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_employees` -- ALTER TABLE `db_employees` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `db_estimation` -- ALTER TABLE `db_estimation` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_estimationitems` -- ALTER TABLE `db_estimationitems` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_expense` -- ALTER TABLE `db_expense` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_expense_category` -- ALTER TABLE `db_expense_category` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_fivemojo` -- ALTER TABLE `db_fivemojo` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_goldrate` -- ALTER TABLE `db_goldrate` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=73; -- -- AUTO_INCREMENT for table `db_hold` -- ALTER TABLE `db_hold` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_holditems` -- ALTER TABLE `db_holditems` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_instamojo` -- ALTER TABLE `db_instamojo` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_instamojopayments` -- ALTER TABLE `db_instamojopayments` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_issue` -- ALTER TABLE `db_issue` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `db_issueitems` -- ALTER TABLE `db_issueitems` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `db_issuepayments` -- ALTER TABLE `db_issuepayments` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_issuereceipt` -- ALTER TABLE `db_issuereceipt` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `db_issuereceiptitems` -- ALTER TABLE `db_issuereceiptitems` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `db_issuereceiptpayments` -- ALTER TABLE `db_issuereceiptpayments` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_issue_metal_balance` -- ALTER TABLE `db_issue_metal_balance` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_issue_old_gold` -- ALTER TABLE `db_issue_old_gold` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_issue_old_silver` -- ALTER TABLE `db_issue_old_silver` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_items` -- ALTER TABLE `db_items` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=50; -- -- AUTO_INCREMENT for table `db_item_huid` -- ALTER TABLE `db_item_huid` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_item_wastage` -- ALTER TABLE `db_item_wastage` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=50; -- -- AUTO_INCREMENT for table `db_languages` -- ALTER TABLE `db_languages` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16; -- -- AUTO_INCREMENT for table `db_lot` -- ALTER TABLE `db_lot` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `db_lotitems` -- ALTER TABLE `db_lotitems` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `db_metal_balance` -- ALTER TABLE `db_metal_balance` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `db_ol_purchase` -- ALTER TABLE `db_ol_purchase` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23; -- -- AUTO_INCREMENT for table `db_ol_purchaseitems` -- ALTER TABLE `db_ol_purchaseitems` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=37; -- -- AUTO_INCREMENT for table `db_ol_purchaseitemsreturn` -- ALTER TABLE `db_ol_purchaseitemsreturn` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_ol_purchasepayments` -- ALTER TABLE `db_ol_purchasepayments` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `db_ol_purchasepaymentsreturn` -- ALTER TABLE `db_ol_purchasepaymentsreturn` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_ol_purchasereturn` -- ALTER TABLE `db_ol_purchasereturn` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_order` -- ALTER TABLE `db_order` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `db_orderitems` -- ALTER TABLE `db_orderitems` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `db_orderpayments` -- ALTER TABLE `db_orderpayments` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_order_old_gold` -- ALTER TABLE `db_order_old_gold` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_order_old_silver` -- ALTER TABLE `db_order_old_silver` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_otherissues` -- ALTER TABLE `db_otherissues` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `db_otherissuesitems` -- ALTER TABLE `db_otherissuesitems` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT for table `db_package` -- ALTER TABLE `db_package` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_paymenttypes` -- ALTER TABLE `db_paymenttypes` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `db_paypal` -- ALTER TABLE `db_paypal` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_paypalpaylog` -- ALTER TABLE `db_paypalpaylog` MODIFY `payment_id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_permissions` -- ALTER TABLE `db_permissions` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12171; -- -- AUTO_INCREMENT for table `db_purchase` -- ALTER TABLE `db_purchase` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; -- -- AUTO_INCREMENT for table `db_purchaseitems` -- ALTER TABLE `db_purchaseitems` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16; -- -- AUTO_INCREMENT for table `db_purchaseitemsreturn` -- ALTER TABLE `db_purchaseitemsreturn` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `db_purchasepayments` -- ALTER TABLE `db_purchasepayments` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_purchasepaymentsreturn` -- ALTER TABLE `db_purchasepaymentsreturn` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_purchasereturn` -- ALTER TABLE `db_purchasereturn` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `db_purchase_old_gold` -- ALTER TABLE `db_purchase_old_gold` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `db_purchase_old_silver` -- ALTER TABLE `db_purchase_old_silver` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_purchase_voucher` -- ALTER TABLE `db_purchase_voucher` MODIFY `voucher_id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_quotation` -- ALTER TABLE `db_quotation` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `db_quotationitems` -- ALTER TABLE `db_quotationitems` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `db_quotation_old_gold` -- ALTER TABLE `db_quotation_old_gold` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_quotation_old_silver` -- ALTER TABLE `db_quotation_old_silver` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_roles` -- ALTER TABLE `db_roles` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=42; -- -- AUTO_INCREMENT for table `db_sales` -- ALTER TABLE `db_sales` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=58; -- -- AUTO_INCREMENT for table `db_salesitems` -- ALTER TABLE `db_salesitems` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=78; -- -- AUTO_INCREMENT for table `db_salesitemsreturn` -- ALTER TABLE `db_salesitemsreturn` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT for table `db_salespayments` -- ALTER TABLE `db_salespayments` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=84; -- -- AUTO_INCREMENT for table `db_salespaymentsreturn` -- ALTER TABLE `db_salespaymentsreturn` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_salesreturn` -- ALTER TABLE `db_salesreturn` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `db_sales_old_gold` -- ALTER TABLE `db_sales_old_gold` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23; -- -- AUTO_INCREMENT for table `db_sales_old_silver` -- ALTER TABLE `db_sales_old_silver` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT for table `db_scheme` -- ALTER TABLE `db_scheme` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; -- -- AUTO_INCREMENT for table `db_schemeamount` -- ALTER TABLE `db_schemeamount` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT for table `db_scheme_group` -- ALTER TABLE `db_scheme_group` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; -- -- AUTO_INCREMENT for table `db_shippingaddress` -- ALTER TABLE `db_shippingaddress` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT for table `db_silverrate` -- ALTER TABLE `db_silverrate` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_sitesettings` -- ALTER TABLE `db_sitesettings` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `db_smith` -- ALTER TABLE `db_smith` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `db_smith_works` -- ALTER TABLE `db_smith_works` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `db_smith_worksitems` -- ALTER TABLE `db_smith_worksitems` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `db_smsapi` -- ALTER TABLE `db_smsapi` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_smstemplates` -- ALTER TABLE `db_smstemplates` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_sobpayments` -- ALTER TABLE `db_sobpayments` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_states` -- ALTER TABLE `db_states` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=64; -- -- AUTO_INCREMENT for table `db_stockadjustment` -- ALTER TABLE `db_stockadjustment` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=42; -- -- AUTO_INCREMENT for table `db_stockadjustmentitems` -- ALTER TABLE `db_stockadjustmentitems` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=43; -- -- AUTO_INCREMENT for table `db_stockentry` -- ALTER TABLE `db_stockentry` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_stocktransfer` -- ALTER TABLE `db_stocktransfer` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_stocktransferitems` -- ALTER TABLE `db_stocktransferitems` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_store` -- ALTER TABLE `db_store` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `db_store_qr` -- ALTER TABLE `db_store_qr` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT for table `db_stripe` -- ALTER TABLE `db_stripe` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_stripepayments` -- ALTER TABLE `db_stripepayments` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_subscription` -- ALTER TABLE `db_subscription` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_suppliers` -- ALTER TABLE `db_suppliers` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14; -- -- AUTO_INCREMENT for table `db_supplier_payments` -- ALTER TABLE `db_supplier_payments` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_tagging` -- ALTER TABLE `db_tagging` MODIFY `tag_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=74; -- -- AUTO_INCREMENT for table `db_tagging_diamond` -- ALTER TABLE `db_tagging_diamond` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=96; -- -- AUTO_INCREMENT for table `db_tagging_group` -- ALTER TABLE `db_tagging_group` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_tagging_items` -- ALTER TABLE `db_tagging_items` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_tagging_old` -- ALTER TABLE `db_tagging_old` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3172; -- -- AUTO_INCREMENT for table `db_tagtransfer` -- ALTER TABLE `db_tagtransfer` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_tagtransferitems` -- ALTER TABLE `db_tagtransferitems` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_tag_stock_check` -- ALTER TABLE `db_tag_stock_check` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `db_tax` -- ALTER TABLE `db_tax` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `db_timezone` -- ALTER TABLE `db_timezone` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=549; -- -- AUTO_INCREMENT for table `db_twilio` -- ALTER TABLE `db_twilio` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_types` -- ALTER TABLE `db_types` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; -- -- AUTO_INCREMENT for table `db_units` -- ALTER TABLE `db_units` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=64; -- -- AUTO_INCREMENT for table `db_users` -- ALTER TABLE `db_users` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `db_userswarehouses` -- ALTER TABLE `db_userswarehouses` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `db_variants` -- ALTER TABLE `db_variants` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_voucher_cash_balance` -- ALTER TABLE `db_voucher_cash_balance` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_voucher_metal_cash` -- ALTER TABLE `db_voucher_metal_cash` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_voucher_old_gold` -- ALTER TABLE `db_voucher_old_gold` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_voucher_old_silver` -- ALTER TABLE `db_voucher_old_silver` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `db_warehouse` -- ALTER TABLE `db_warehouse` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=96; -- -- AUTO_INCREMENT for table `db_warehouseitems` -- ALTER TABLE `db_warehouseitems` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=235; -- -- AUTO_INCREMENT for table `temp_holdinvoice` -- ALTER TABLE `temp_holdinvoice` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- Constraints for dumped tables -- -- -- Constraints for table `ac_accounts` -- ALTER TABLE `ac_accounts` ADD CONSTRAINT `ac_accounts_ibfk_1` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ac_accounts_ibfk_2` FOREIGN KEY (`paymenttypes_id`) REFERENCES `db_paymenttypes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ac_accounts_ibfk_3` FOREIGN KEY (`customer_id`) REFERENCES `db_customers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ac_accounts_ibfk_4` FOREIGN KEY (`supplier_id`) REFERENCES `db_suppliers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ac_accounts_ibfk_5` FOREIGN KEY (`expense_id`) REFERENCES `db_expense` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `ac_moneydeposits` -- ALTER TABLE `ac_moneydeposits` ADD CONSTRAINT `ac_moneydeposits_ibfk_1` FOREIGN KEY (`debit_account_id`) REFERENCES `ac_accounts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ac_moneydeposits_ibfk_2` FOREIGN KEY (`credit_account_id`) REFERENCES `ac_accounts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ac_moneydeposits_ibfk_3` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `ac_moneytransfer` -- ALTER TABLE `ac_moneytransfer` ADD CONSTRAINT `ac_moneytransfer_ibfk_1` FOREIGN KEY (`debit_account_id`) REFERENCES `ac_accounts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ac_moneytransfer_ibfk_2` FOREIGN KEY (`credit_account_id`) REFERENCES `ac_accounts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ac_moneytransfer_ibfk_3` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `ac_transactions` -- ALTER TABLE `ac_transactions` ADD CONSTRAINT `ac_transactions_ibfk_10` FOREIGN KEY (`ref_purchasepayments_id`) REFERENCES `db_purchasepayments` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ac_transactions_ibfk_11` FOREIGN KEY (`ref_purchasepaymentsreturn_id`) REFERENCES `db_purchasepaymentsreturn` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ac_transactions_ibfk_12` FOREIGN KEY (`supplier_id`) REFERENCES `db_suppliers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ac_transactions_ibfk_13` FOREIGN KEY (`ref_expense_id`) REFERENCES `db_expense` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ac_transactions_ibfk_3` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ac_transactions_ibfk_4` FOREIGN KEY (`ref_accounts_id`) REFERENCES `ac_accounts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ac_transactions_ibfk_5` FOREIGN KEY (`ref_moneytransfer_id`) REFERENCES `ac_moneytransfer` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ac_transactions_ibfk_6` FOREIGN KEY (`ref_moneydeposits_id`) REFERENCES `ac_moneydeposits` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ac_transactions_ibfk_7` FOREIGN KEY (`customer_id`) REFERENCES `db_customers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ac_transactions_ibfk_8` FOREIGN KEY (`ref_salespayments_id`) REFERENCES `db_salespayments` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `ac_transactions_ibfk_9` FOREIGN KEY (`ref_salespaymentsreturn_id`) REFERENCES `db_salespaymentsreturn` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `db_bankdetails` -- ALTER TABLE `db_bankdetails` ADD CONSTRAINT `db_bankdetails_ibfk_1` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON UPDATE CASCADE; -- -- Constraints for table `db_brands` -- ALTER TABLE `db_brands` ADD CONSTRAINT `db_brands_ibfk_1` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `db_brands_ibfk_2` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `db_category` -- ALTER TABLE `db_category` ADD CONSTRAINT `db_category_ibfk_1` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `db_coupons` -- ALTER TABLE `db_coupons` ADD CONSTRAINT `db_coupons_ibfk_1` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `db_coupons_ibfk_2` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `db_customers` -- ALTER TABLE `db_customers` ADD CONSTRAINT `db_customers_ibfk_1` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `db_customer_coupons` -- ALTER TABLE `db_customer_coupons` ADD CONSTRAINT `db_customer_coupons_ibfk_1` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `db_customer_coupons_ibfk_2` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `db_customer_coupons_ibfk_3` FOREIGN KEY (`customer_id`) REFERENCES `db_customers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `db_customer_coupons_ibfk_4` FOREIGN KEY (`coupon_id`) REFERENCES `db_coupons` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `db_customer_payments` -- ALTER TABLE `db_customer_payments` ADD CONSTRAINT `db_customer_payments_ibfk_1` FOREIGN KEY (`customer_id`) REFERENCES `db_customers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `db_customer_payments_ibfk_2` FOREIGN KEY (`salespayment_id`) REFERENCES `db_salespayments` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `db_emailtemplates` -- ALTER TABLE `db_emailtemplates` ADD CONSTRAINT `db_emailtemplates_ibfk_1` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `db_employees` -- ALTER TABLE `db_employees` ADD CONSTRAINT `db_employees_ibfk_1` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `db_estimationitems` -- ALTER TABLE `db_estimationitems` ADD CONSTRAINT `db_estimationitems_ibfk_1` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `db_estimationitems_ibfk_2` FOREIGN KEY (`quotation_id`) REFERENCES `db_estimation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `db_expense` -- ALTER TABLE `db_expense` ADD CONSTRAINT `db_expense_ibfk_1` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `db_expense_ibfk_2` FOREIGN KEY (`account_id`) REFERENCES `ac_accounts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `db_expense_category` -- ALTER TABLE `db_expense_category` ADD CONSTRAINT `db_expense_category_ibfk_1` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `db_fivemojo` -- ALTER TABLE `db_fivemojo` ADD CONSTRAINT `db_fivemojo_ibfk_1` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `db_hold` -- ALTER TABLE `db_hold` ADD CONSTRAINT `db_hold_ibfk_1` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `db_hold_ibfk_2` FOREIGN KEY (`customer_id`) REFERENCES `db_customers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `db_hold_ibfk_3` FOREIGN KEY (`warehouse_id`) REFERENCES `db_warehouse` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `db_holditems` -- ALTER TABLE `db_holditems` ADD CONSTRAINT `db_holditems_ibfk_1` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `db_holditems_ibfk_2` FOREIGN KEY (`hold_id`) REFERENCES `db_hold` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `db_holditems_ibfk_3` FOREIGN KEY (`item_id`) REFERENCES `db_items` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `db_instamojo` -- ALTER TABLE `db_instamojo` ADD CONSTRAINT `db_instamojo_ibfk_1` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `db_items` -- ALTER TABLE `db_items` ADD CONSTRAINT `db_items_ibfk_1` FOREIGN KEY (`store_id`) REFERENCES `db_store` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;