-- https://www.phpmyadmin.net/
--

START TRANSACTION;



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

--
-- Table structure for table `admin_documents`
--

CREATE TABLE `admin_documents` (
  `id` int(11) NOT NULL,
  `admin_id` int(11) NOT NULL,
  `document` varchar(255) NOT NULL,
  `document_name` varchar(255) NOT NULL,
  `doc_note` text NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `admin_documents`
--

INSERT INTO `admin_documents` (`id`, `admin_id`, `document`, `document_name`, `doc_note`, `created_by`, `created_on`, `updated_by`, `updated_on`) VALUES
(9, 2, '8585_1_1770193812.pdf', 'pdf (1) (1).pdf', 'test ', 1, '2026-02-04 08:30:12', 1, '2026-02-05 06:12:29'),
(15, 1, '8732_1_1770290774.pdf', 'pdf (1).pdf', 'test ', 1, '2026-02-05 11:26:14', 1, '2026-02-05 11:26:14');

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

--
-- Table structure for table `admin_group_delete`
--

CREATE TABLE `admin_group_delete` (
  `id` int(11) NOT NULL,
  `group_id` int(11) NOT NULL,
  `module_id` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `admin_module_delete`
--

CREATE TABLE `admin_module_delete` (
  `id` int(11) NOT NULL,
  `admin_id` int(11) NOT NULL,
  `module_id` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `audit_logs`
--

CREATE TABLE `audit_logs` (
  `id` int(11) NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `action` varchar(100) DEFAULT NULL,
  `table_name` varchar(50) DEFAULT NULL,
  `record_id` int(11) DEFAULT NULL,
  `old_values` text DEFAULT NULL,
  `new_values` text DEFAULT NULL,
  `ip_address` varchar(45) DEFAULT NULL,
  `user_agent` text DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `cal_event_details`
--

CREATE TABLE `cal_event_details` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `job_id` int(11) NOT NULL,
  `event_title` varchar(2000) NOT NULL,
  `event_start_date` datetime NOT NULL,
  `event_end_date` datetime NOT NULL,
  `all_day_event` tinyint(4) NOT NULL DEFAULT 1,
  `description` varchar(1500) NOT NULL,
  `created_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `cal_event_details`
--

INSERT INTO `cal_event_details` (`id`, `user_id`, `job_id`, `event_title`, `event_start_date`, `event_end_date`, `all_day_event`, `description`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(1, 27, 0, 'Event Adi', '2026-02-03 01:00:00', '2026-02-03 02:00:00', 0, 'Test', '0000-00-00 00:00:00', 0, '2026-02-26 08:34:33', 0),
(2, 11, 0, 'wewefewfe', '2026-02-18 01:00:00', '2026-02-18 06:30:00', 0, 'treytryrtyrt', '2026-02-26 09:11:23', 1, '2026-02-27 14:20:23', 1),
(3, 28, 0, 'Test', '2026-02-10 01:00:00', '2026-02-12 02:30:00', 0, 'Test', '2026-02-26 09:16:07', 1, '2026-02-26 14:32:20', 1),
(6, 24, 0, 'test', '2026-02-11 01:00:00', '2026-02-11 03:45:00', 0, '', '2026-02-26 14:38:06', 1, '2026-02-26 15:00:14', 1),
(7, 19, 0, 'test', '2026-09-15 00:00:00', '2026-09-15 00:00:00', 0, '', '2026-02-26 14:39:14', 1, '2026-02-26 14:39:14', 1),
(8, 17, 0, 'test', '2027-01-03 00:00:00', '2027-01-03 00:00:00', 0, '', '2026-02-26 14:40:17', 1, '2026-02-26 14:40:17', 1),
(9, 22, 0, 'test', '2026-12-16 00:00:00', '2026-12-16 00:00:00', 0, '', '2026-02-26 14:52:20', 1, '2026-02-26 14:52:20', 1),
(10, 28, 0, 'Test27', '2026-02-27 01:00:00', '2026-02-27 02:15:00', 0, 'qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq', '2026-02-27 06:59:12', 1, '2026-03-02 09:56:48', 1),
(11, 21, 0, 'Sample Add New Event', '2026-02-05 01:00:00', '2026-02-06 06:30:00', 0, 'test', '2026-02-28 07:30:25', 1, '2026-02-28 07:30:25', 1),
(12, 24, 0, 'Event in the month of May', '2025-12-30 01:30:00', '2025-12-31 03:30:00', 0, 'Test', '2026-03-02 13:11:52', 1, '2026-03-02 13:11:52', 1),
(13, 24, 0, 'Event in the month of May', '2025-02-28 00:45:00', '2025-03-05 05:15:00', 0, 'yrdy', '2026-03-05 12:52:01', 1, '2026-03-05 12:53:24', 1),
(14, 22, 0, 'test', '2026-01-28 00:00:00', '2026-01-28 00:00:00', 0, '', '2026-03-05 13:30:57', 1, '2026-03-05 13:30:57', 1),
(15, 17, 0, 'testtttt#\'\'\'', '2026-01-29 00:00:00', '2026-01-29 00:00:00', 0, '', '2026-03-05 13:31:16', 1, '2026-03-05 13:31:16', 1),
(17, 22, 0, 'test', '2026-11-05 00:00:00', '2026-11-05 00:00:00', 0, '', '2026-03-05 14:06:33', 1, '2026-03-05 14:06:33', 1),
(18, 17, 0, 'test', '2026-10-20 00:00:00', '2026-10-20 00:00:00', 0, '', '2026-03-05 14:07:08', 1, '2026-03-05 14:07:08', 1),
(19, 22, 0, 'test', '2026-09-30 00:00:00', '2026-09-30 00:00:00', 0, '', '2026-03-05 14:07:23', 1, '2026-03-05 14:07:23', 1),
(20, 22, 0, 'test', '2026-08-18 00:00:00', '2026-08-18 00:00:00', 0, ';\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'\'', '2026-03-05 14:08:30', 1, '2026-03-05 14:09:01', 1),
(21, 22, 0, 'test', '2026-09-10 00:00:00', '2026-09-10 00:00:00', 0, '', '2026-03-05 14:09:34', 1, '2026-03-05 14:09:34', 1),
(22, 22, 0, 'test', '2026-07-09 00:00:00', '2026-07-09 00:00:00', 0, '', '2026-03-05 14:12:25', 1, '2026-03-05 14:12:25', 1),
(23, 27, 0, 'Test 060326', '2026-03-03 00:45:00', '2026-03-03 06:15:00', 0, 'Test', '2026-03-06 06:58:14', 1, '2026-03-06 06:58:25', 1),
(24, 21, 0, 'test rak', '2026-02-27 00:00:00', '2026-03-03 00:00:00', 1, 'For testing', '2026-03-10 06:28:16', 1, '2026-03-10 06:28:52', 1),
(25, 21, 0, 'test1223', '2026-02-27 00:00:00', '2026-03-10 00:00:00', 1, 'test', '2026-03-10 06:48:49', 1, '2026-03-10 08:06:40', 1),
(26, 27, 0, 'on leave', '2026-03-25 00:00:00', '2026-04-22 00:00:00', 1, '', '2026-03-16 13:51:03', 1, '2026-03-16 13:51:42', 1),
(27, 21, 0, 'on leave', '2024-12-20 00:00:00', '2025-01-20 00:00:00', 1, '', '2026-03-16 14:15:19', 1, '2026-03-16 14:15:19', 1),
(28, 29, 0, 'Project A', '2026-03-31 00:00:00', '2026-03-31 00:00:00', 1, '', '2026-04-01 10:32:14', 1, '2026-04-01 09:32:14', 1),
(29, 25, 0, 'PROJECT 123', '2026-04-01 00:00:00', '2026-04-15 00:00:00', 1, '', '2026-04-01 10:34:52', 1, '2026-04-01 09:34:52', 1);

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

--
-- Table structure for table `cal_event_details-260226`
--

CREATE TABLE `cal_event_details-260226` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `event_title` varchar(2000) NOT NULL,
  `event_start_date` datetime NOT NULL,
  `event_end_date` datetime NOT NULL,
  `all_day_event` tinyint(4) NOT NULL DEFAULT 1,
  `description` varchar(1500) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `cal_event_details-260226`
--

INSERT INTO `cal_event_details-260226` (`id`, `user_id`, `event_title`, `event_start_date`, `event_end_date`, `all_day_event`, `description`) VALUES
(1, 21, 'Aditya Event Test123', '2026-02-03 09:00:00', '2026-02-03 09:00:00', 0, 'Test'),
(2, 24, 'Test200226', '2026-02-03 09:00:00', '2026-02-04 09:00:00', 0, 'test'),
(4, 24, '200226', '2026-02-03 12:00:00', '2026-02-03 12:00:00', 0, 'r43543jj'),
(5, 26, 'test', '2026-02-21 12:00:00', '2026-02-22 12:00:00', 0, 'eewe'),
(6, 27, 'Event in the month of May', '2026-02-11 12:00:00', '2026-02-11 12:00:00', 0, 'htdhgf'),
(7, 21, 'swerfretrer', '2026-02-10 00:00:00', '2026-02-10 00:00:00', 0, 'rererewr'),
(8, 27, 'Test 180226 21', '2026-01-27 00:15:00', '2026-01-27 01:00:00', 0, 'ddd');

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

--
-- Table structure for table `comp_company_details`
--

CREATE TABLE `comp_company_details` (
  `id` int(11) NOT NULL,
  `company_name` varchar(512) NOT NULL,
  `first_name` varchar(256) NOT NULL,
  `last_name` varchar(256) NOT NULL,
  `primary_email` varchar(512) NOT NULL,
  `secondary_email` varchar(512) NOT NULL,
  `primary_phone` varchar(50) NOT NULL,
  `secondary_phone` varchar(50) NOT NULL,
  `address_line_1` varchar(512) NOT NULL,
  `address_line_2` varchar(512) NOT NULL,
  `address_line_3` varchar(512) NOT NULL,
  `address_line_4` varchar(256) NOT NULL,
  `town` varchar(256) NOT NULL,
  `county` varchar(25) NOT NULL,
  `postcode` varchar(25) NOT NULL,
  `country` varchar(25) NOT NULL,
  `billing_same_comp_address` tinyint(4) NOT NULL DEFAULT 0,
  `billing_address_line_1` varchar(512) NOT NULL,
  `billing_address_line_2` varchar(512) NOT NULL,
  `billing_address_line_3` varchar(512) NOT NULL,
  `billing_address_line_4` varchar(256) NOT NULL,
  `billing_town` varchar(256) NOT NULL,
  `billing_county` varchar(25) NOT NULL,
  `billing_postcode` varchar(25) NOT NULL,
  `billing_country` varchar(25) NOT NULL,
  `is_archive` tinyint(4) NOT NULL DEFAULT 0,
  `archived_on` datetime DEFAULT NULL,
  `archived_by` int(11) DEFAULT NULL,
  `created_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` int(11) DEFAULT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `comp_company_details`
--

INSERT INTO `comp_company_details` (`id`, `company_name`, `first_name`, `last_name`, `primary_email`, `secondary_email`, `primary_phone`, `secondary_phone`, `address_line_1`, `address_line_2`, `address_line_3`, `address_line_4`, `town`, `county`, `postcode`, `country`, `billing_same_comp_address`, `billing_address_line_1`, `billing_address_line_2`, `billing_address_line_3`, `billing_address_line_4`, `billing_town`, `billing_county`, `billing_postcode`, `billing_country`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(68, 'test', 'asv', 'aaa', 'WALL_NSomNRUuLiovI3YpOiA=', 'WALL_NSomNRUuLiovI3YpOiA=', 'WALL_YH1wZ2N6cXh0fWo=', 'WALL_', '', '', '', '', '', '', '', '', 0, '', '', '', '', '', '', '', '', 0, '2026-03-03 16:18:40', 0, '2026-02-27 10:20:02', 1, '2026-02-27 10:20:02', 1),
(71, 'Brighton Tech Solutions Ltd', 'Sarah', 'Johnson', 'WALL_XCcpNzA9ZykkLiErJTsNMj0/XCI6IFwnKzgkOTFqLCh6PS4=', 'WALL_XCdmLz49XCcwJCgPOjg8Kjg7OSsmMSstYlwiNXcxJA==', 'WALL_f3xxcWR7dHhmfmp5YXhm', 'WALL_f3xxcWR7dHhmeW1+Zn9h', '15 Innovation Drive', 'Tech Park', '', '', 'Brighton', '', 'BN1 2AB', '', 1, '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-03 15:06:57', 1, '2026-03-03 15:13:49', 1),
(87, 'Greenfield tech pvt ltd', 'james', 'cartweight', 'WALL_PikoNCYqXCI5Mjg9IzIlJHxiBTU5KSwgbzk2KQ==', 'WALL_', 'WALL_YHxwZ2Jxenhyem4=', 'WALL_', '2 Tile Farm Rd', 'Kent County', '', '', 'Orpington', 'Cambridgeshire', 'BR6 9RZ', 'Guinea', 1, '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-12 07:31:38', 1, '2026-04-01 10:16:33', 1),
(88, 'wawa new', 'james', 'cartweight', 'WALL_PikoNCYqXCI5Mjg9IzIlJHxiBTU5KSwgbzk2KQ==', '', 'WALL_YHxwZ2Jxenhyem4=', '', '2 Tile Farm Rd', 'Kent County', '', '', 'Orpington', 'Cambridgeshire', 'BR6 9RZ', 'Guinea', 0, '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-13 08:57:54', 1, '2026-03-13 08:57:54', 1),
(89, 'synergy 1', 'james', 'winget', 'WALL_XCcxKzRcJy46CyM3OVwnJSE1YSMu', 'WALL_FQkFNC0oLjsqKnY/Pg==', 'WALL_YX5wZGN8dH1xeQ==', 'WALL_LCs/Mi0zXCctXCIpPy0=', 'down street1', '', '', '', 'northampton', 'Northamptonshire', 'NN 234', 'United Kingdom', 0, 'new street 1', '', '', '', 'northamton', 'Northamptonshire', 'NN 22', 'United Kingdom', 0, NULL, NULL, '2026-03-13 12:19:30', 1, '2026-03-13 12:35:47', 1),
(90, 'BrightWave Solutions Ltd', 'Oliver', 'Smith', 'oliver.smith@brightwave.co.uk', 'contact@brightwave.co.uk', '+44 20 7946 0958', '+44 7700 900111', '12 King Street', 'Suite 5', '', '', 'London', 'Greater London', 'SW1A 1AA', 'UK', 1, '12 King Street', 'Suite 5', '', '', 'London', 'Greater London', 'SW1A 1AA', 'UK', 1, '2026-03-25 05:36:44', 1, '2026-03-17 10:43:47', 1, '2026-03-17 10:43:47', 1),
(91, 'GreenField Technologies Ltd', 'Amelia', 'Johnson', 'amelia.johnson@greenfield.co.uk', 'support@greenfield.co.uk', '+44 161 850 2233', '+44 7700 900222', '45 Meadow Lane', '', '', '', 'Manchester', 'Greater Manchester', 'M1 2AB', 'UK', 1, '45 Meadow Lane', '', '', '', 'Manchester', 'Greater Manchester', 'M1 2AB', 'UK', 0, NULL, NULL, '2026-03-17 10:43:47', 1, '2026-03-17 10:43:47', 1),
(92, 'SilverOak Consulting Ltd', 'Harry', 'Brown', 'harry.brown@silveroak.co.uk', 'info@silveroak.co.uk', '+44 121 496 0112', '+44 7700 900333', '78 High Street', 'Floor 2', '', '', 'Birmingham', 'West Midlands', 'B1 1AA', 'UK', 1, '78 High Street', 'Floor 2', '', '', 'Birmingham', 'West Midlands', 'B1 1AA', 'UK', 0, NULL, NULL, '2026-03-17 10:43:47', 1, '2026-03-17 10:43:47', 1),
(93, 'BluePeak Innovations Ltd', 'Jack', 'Taylor', 'jack.taylor@bluepeak.co.uk', 'help@bluepeak.co.uk', '+44 151 705 3344', '+44 7700 900444', '9 Harbour Road', '', '', '', 'Liverpool', 'Merseyside', 'L1 8JQ', 'UK', 1, '9 Harbour Road', '', '', '', 'Liverpool', 'Merseyside', 'L1 8JQ', 'UK', 0, NULL, NULL, '2026-03-17 10:43:47', 1, '2026-03-17 10:43:47', 1),
(94, 'RedStone Marketing Ltd', 'Emily', 'Wilson', 'emily.wilson@redstone.co.uk', 'sales@redstone.co.uk', '+44 131 226 7788', '+44 7700 900555', '22 Castle Street', '', '', '', 'Edinburgh', 'Scotland', 'EH2 3AT', 'UK', 1, '22 Castle Street', '', '', '', 'Edinburgh', 'Scotland', 'EH2 3AT', 'UK', 0, NULL, NULL, '2026-03-17 10:43:47', 1, '2026-03-17 10:43:47', 1),
(95, 'Anurag WA', 'anurag', 'mishra', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_ZH52aWJ+cXhxfGA=', 'WALL_', 'LONDON', 'Raebareli utter Pradesh', '', 'Lucknow D-1 41', 'anuragamity330@gmail.com', '', '226001', 'India', 1, '', '', '', '', '', '', '', '', 0, '2026-04-07 14:18:30', 1, '2026-03-28 03:23:36', 1, '2026-04-01 07:52:59', 1),
(96, 'rosteryculture', 'jemmy', 'willam', 'WALL_JlwnNhEwMVwiJjYjPWQgJg==', 'WALL_', 'WALL_YHxwZGB/dn9w', 'WALL_', 'downtown', 'street12', '', '', 'surrey', 'Surrey', 'NN2344', '', 1, '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-04-07 09:46:44', 1, '2026-04-07 09:46:44', 1),
(97, 'infoline', 'Jaykumar', 'Nimbalkar', 'WALL_Pik8OiAkXCI5aCExXCc3LDwkNzcSMyUkJS10OitcIg==', '', 'WALL_ZHF8Z2V+dXhyeW4=', '', 'At Yeliv Post Purandawade', 'Tal Malshiras Dist Solapur', '', '', 'Yeliv', 'Cornwall', '413111', 'India', 0, '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-04-08 15:46:15', 1, '2026-04-08 15:46:15', 1),
(98, 'infoline', 'Jaykumar', 'Nimbalkar', 'WALL_Pik8OiAkXCI5aCExXCc3LDwkNzcSMyUkJS10OitcIg==', '', 'WALL_ZHF8Z2V+dXhyeW4=', '', 'At Yeliv Post Purandawade', 'Tal Malshiras Dist Solapur', '', '', 'Yeliv', 'Cornwall', '413111', 'India', 0, '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-04-08 15:46:38', 1, '2026-04-08 15:46:38', 1),
(99, 'spacetime technology', 'Jaykumar', 'Nimbalkar', 'WALL_Pik8OiAkXCI5aCExXCc3LDwkNzcSMyUkJS10OitcIg==', '', 'WALL_ZHF8Z2V+dXhyeW4=', '', 'At Yeliv Post Purandawade', 'Tal Malshiras Dist Solapur', '', '', 'Yeliv', 'Clwyd', '413111', 'India', 0, '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-04-08 16:44:16', 1, '2026-04-08 16:44:16', 1);

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

--
-- Table structure for table `comp_company_details_history`
--

CREATE TABLE `comp_company_details_history` (
  `id` int(11) NOT NULL,
  `his_id` int(11) NOT NULL,
  `company_name` varchar(512) NOT NULL,
  `first_name` varchar(256) NOT NULL,
  `last_name` varchar(256) NOT NULL,
  `primary_email` varchar(512) NOT NULL,
  `secondary_email` varchar(512) NOT NULL,
  `primary_phone` varchar(50) NOT NULL,
  `secondary_phone` varchar(50) NOT NULL,
  `address_line_1` varchar(512) NOT NULL,
  `address_line_2` varchar(512) NOT NULL,
  `address_line_3` varchar(512) NOT NULL,
  `address_line_4` varchar(256) NOT NULL,
  `town` varchar(256) NOT NULL,
  `county` varchar(25) NOT NULL,
  `postcode` varchar(25) NOT NULL,
  `country` varchar(25) NOT NULL,
  `billing_same_comp_address` tinyint(4) NOT NULL DEFAULT 0,
  `billing_address_line_1` varchar(512) NOT NULL,
  `billing_address_line_2` varchar(512) NOT NULL,
  `billing_address_line_3` varchar(512) NOT NULL,
  `billing_address_line_4` varchar(256) NOT NULL,
  `billing_town` varchar(256) NOT NULL,
  `billing_county` varchar(25) NOT NULL,
  `billing_postcode` varchar(25) NOT NULL,
  `billing_country` varchar(25) NOT NULL,
  `is_archive` tinyint(4) NOT NULL DEFAULT 0,
  `archived_on` datetime DEFAULT NULL,
  `archived_by` int(11) DEFAULT NULL,
  `created_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` int(11) DEFAULT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) DEFAULT NULL,
  `action_type` varchar(255) NOT NULL,
  `history_created_by` int(11) NOT NULL,
  `history_created_on` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `comp_company_details_history`
--

INSERT INTO `comp_company_details_history` (`id`, `his_id`, `company_name`, `first_name`, `last_name`, `primary_email`, `secondary_email`, `primary_phone`, `secondary_phone`, `address_line_1`, `address_line_2`, `address_line_3`, `address_line_4`, `town`, `county`, `postcode`, `country`, `billing_same_comp_address`, `billing_address_line_1`, `billing_address_line_2`, `billing_address_line_3`, `billing_address_line_4`, `billing_town`, `billing_county`, `billing_postcode`, `billing_country`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`, `action_type`, `history_created_by`, `history_created_on`) VALUES
(87, 68, 'test', 'asv', 'aaa', 'WALL_NSomNRUuLiovI3YpOiA=', 'WALL_NSomNRUuLiovI3YpOiA=', 'WALL_YH1wZ2N6cXh0fWo=', 'WALL_', '', '', '', '', '', '', '', '', 0, '', '', '', '', '', '', '', '', 1, '2026-03-02 09:06:49', 1, '2026-02-27 10:20:02', 1, '2026-02-27 10:20:02', 1, 'ARCHIVE', 1, '2026-03-02 09:06:49'),
(90, 68, 'test', 'asv', 'aaa', 'WALL_NSomNRUuLiovI3YpOiA=', 'WALL_NSomNRUuLiovI3YpOiA=', 'WALL_YH1wZ2N6cXh0fWo=', 'WALL_', '', '', '', '', '', '', '', '', 0, '', '', '', '', '', '', '', '', 1, '2026-03-02 09:06:50', 1, '2026-02-27 10:20:02', 1, '2026-02-27 10:20:02', 1, 'ARCHIVE', 1, '2026-03-02 09:06:50'),
(102, 68, 'test', 'asv', 'aaa', 'WALL_NSomNRUuLiovI3YpOiA=', 'WALL_NSomNRUuLiovI3YpOiA=', 'WALL_YH1wZ2N6cXh0fWo=', 'WALL_', '', '', '', '', '', '', '', '', 0, '', '', '', '', '', '', '', '', 1, '2026-03-02 09:06:50', 1, '2026-02-27 10:20:02', 1, '2026-02-27 10:20:02', 1, 'UNARCHIVE', 1, '2026-03-03 10:01:12'),
(109, 68, 'test', 'asv', 'aaa', 'WALL_NSomNRUuLiovI3YpOiA=', 'WALL_NSomNRUuLiovI3YpOiA=', 'WALL_YH1wZ2N6cXh0fWo=', 'WALL_', '', '', '', '', '', '', '', '', 0, '', '', '', '', '', '', '', '', 0, '2026-03-03 10:01:12', 1, '2026-02-27 10:20:02', 1, '2026-02-27 10:20:02', 1, 'UNARCHIVE', 1, '2026-03-03 10:01:13'),
(111, 71, 'Brighton Tech Solutions Ltd', 'Sarah', 'Johnson', 'sarah.johnson@brightontech.co.uk', 's.johnson@brightontech.co.uk', '+44 1273 123456', '+44 1273 654321', '15 Innovation Drive', 'Tech Park', '', '', 'Brighton', '', 'BN1 2AB', '', 1, '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-03 15:06:57', NULL, '2026-03-03 15:06:57', NULL, 'UPDATE', 1, '2026-03-03 15:13:49'),
(112, 68, 'test', 'asv', 'aaa', 'WALL_NSomNRUuLiovI3YpOiA=', 'WALL_NSomNRUuLiovI3YpOiA=', 'WALL_YH1wZ2N6cXh0fWo=', 'WALL_', '', '', '', '', '', '', '', '', 0, '', '', '', '', '', '', '', '', 1, '2026-03-03 16:18:40', 1, '2026-02-27 10:20:02', 1, '2026-02-27 10:20:02', 1, 'ARCHIVE', 1, '2026-03-03 16:18:40'),
(141, 89, 'synergy', 'james', 'winget', 'WALL_XCcxKzRcJy46CyM3OVwnJSE1YSMu', 'WALL_', 'WALL_YX5wZGN8dH1xeQ==', 'WALL_LCs/Mi0zXCc=', 'down town', '', '', '', 'Northamptonshire', 'Northamptonshire', 'NN 234', 'United Kingdom', 0, 'new street 1', '', '', '', 'northamton', 'Northamptonshire', 'NN 22', 'United Kingdom', 0, NULL, NULL, '2026-03-13 12:19:30', 1, '2026-03-13 12:19:30', 1, 'UPDATE', 1, '2026-03-13 12:26:57'),
(142, 89, 'synergy', 'james', 'winget', 'WALL_XCcxKzRcJy46CyM3OVwnJSE1YSMu', 'WALL_FQkFNC0oLjsqKnY/Pg==', 'WALL_YX5wZGN8dH1xeQ==', 'WALL_LCs/Mi0zXCctXCIpPy0=', 'down town', '', '', '', 'Northamptonshire', 'Northamptonshire', 'NN 234', 'United Kingdom', 0, 'new street 1', '', '', '', 'northamton', 'Northamptonshire', 'NN 22', 'United Kingdom', 0, NULL, NULL, '2026-03-13 12:19:30', 1, '2026-03-13 12:26:57', 1, 'UPDATE', 1, '2026-03-13 12:31:19'),
(143, 89, 'synergy 1', 'james', 'winget', 'WALL_XCcxKzRcJy46CyM3OVwnJSE1YSMu', 'WALL_FQkFNC0oLjsqKnY/Pg==', 'WALL_YX5wZGN8dH1xeQ==', 'WALL_LCs/Mi0zXCctXCIpPy0=', 'down town', '', '', '', 'Northamptonshire', 'Northamptonshire', 'NN 234', 'United Kingdom', 0, 'new street 1', '', '', '', 'northamton', 'Northamptonshire', 'NN 22', 'United Kingdom', 0, NULL, NULL, '2026-03-13 12:19:30', 1, '2026-03-13 12:31:19', 1, 'UPDATE', 1, '2026-03-13 12:35:09'),
(144, 89, 'synergy 1', 'james', 'winget', 'WALL_XCcxKzRcJy46CyM3OVwnJSE1YSMu', 'WALL_FQkFNC0oLjsqKnY/Pg==', 'WALL_YX5wZGN8dH1xeQ==', 'WALL_LCs/Mi0zXCctXCIpPy0=', 'down street1', '', '', '', 'northampton', 'Northamptonshire', 'NN 234', 'United Kingdom', 0, 'new street 1', '', '', '', 'northamton', 'Northamptonshire', 'NN 22', 'United Kingdom', 0, NULL, NULL, '2026-03-13 12:19:30', 1, '2026-03-13 12:35:09', 1, 'UPDATE', 1, '2026-03-13 12:35:47'),
(147, 90, 'BrightWave Solutions Ltd', 'Oliver', 'Smith', 'oliver.smith@brightwave.co.uk', 'contact@brightwave.co.uk', '+44 20 7946 0958', '+44 7700 900111', '12 King Street', 'Suite 5', '', '', 'London', 'Greater London', 'SW1A 1AA', 'UK', 1, '12 King Street', 'Suite 5', '', '', 'London', 'Greater London', 'SW1A 1AA', 'UK', 1, '2026-03-25 05:36:44', 1, '2026-03-17 10:43:47', 1, '2026-03-17 10:43:47', 1, 'ARCHIVE', 1, '2026-03-25 05:36:44'),
(148, 95, 'Anurag WA', 'anurag', 'mishra', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_ZH52aWJ+cXhxfGA=', 'WALL_', 'LONDON', 'Raebareli utter Pradesh', '', 'Lucknow D-1 41', 'anuragamity330@gmail.com', '', '226001', 'India', 1, '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-28 03:23:36', 1, '2026-03-28 03:23:36', 1, 'UPDATE', 1, '2026-03-30 08:27:10'),
(149, 95, 'Anurag WA', 'anurag', 'mishra', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_ZH52aWJ+cXhxfGA=', 'WALL_', 'LONDON', 'Raebareli utter Pradesh', '', 'Lucknow D-1 41', 'anuragamity330@gmail.com', '', '226001', 'India', 1, '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-28 03:23:36', 1, '2026-03-30 08:27:10', 1, 'UPDATE', 1, '2026-04-01 07:52:12'),
(150, 95, 'Anurag WA1', 'anurag', 'mishra', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_ZH52aWJ+cXhxfGA=', 'WALL_', 'LONDON', 'Raebareli utter Pradesh', '', 'Lucknow D-1 41', 'anuragamity330@gmail.com', '', '226001', 'India', 1, '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-28 03:23:36', 1, '2026-04-01 07:52:12', 1, 'UPDATE', 1, '2026-04-01 07:52:59'),
(151, 87, 'Greenfield tech pvt ltd', 'james', 'cartweight', 'WALL_PikoNCYqXCI5Mjg9IzIlJHxiBTU5KSwgbzk2KQ==', '', 'WALL_YHxwZ2Jxenhyem4=', '', '2 Tile Farm Rd', 'Kent County', '', '', 'Orpington', 'Cambridgeshire', 'BR6 9RZ', 'Guinea', 0, '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-12 07:31:38', 1, '2026-03-12 07:31:38', 1, 'UPDATE', 1, '2026-04-01 10:16:33'),
(152, 95, 'Anurag WA', 'anurag', 'mishra', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_ZH52aWJ+cXhxfGA=', 'WALL_', 'LONDON', 'Raebareli utter Pradesh', '', 'Lucknow D-1 41', 'anuragamity330@gmail.com', '', '226001', 'India', 1, '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-28 03:23:36', 1, '2026-04-01 07:52:59', 1, 'UNARCHIVE', 1, '2026-04-07 13:18:29'),
(153, 95, 'Anurag WA', 'anurag', 'mishra', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_ZH52aWJ+cXhxfGA=', 'WALL_', 'LONDON', 'Raebareli utter Pradesh', '', 'Lucknow D-1 41', 'anuragamity330@gmail.com', '', '226001', 'India', 1, '', '', '', '', '', '', '', '', 0, '2026-04-07 14:18:29', 1, '2026-03-28 03:23:36', 1, '2026-04-01 07:52:59', 1, 'UNARCHIVE', 1, '2026-04-07 13:18:30');

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

--
-- Table structure for table `comp_contact_details`
--

CREATE TABLE `comp_contact_details` (
  `id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `contact_type` int(11) NOT NULL,
  `title` int(11) DEFAULT NULL,
  `first_name` varchar(256) NOT NULL,
  `last_name` varchar(256) NOT NULL,
  `job_title` int(11) NOT NULL,
  `department` int(11) NOT NULL,
  `email` varchar(256) NOT NULL,
  `phone` varchar(25) NOT NULL,
  `info` text NOT NULL,
  `main_contact` tinyint(1) NOT NULL,
  `is_archive` tinyint(1) NOT NULL,
  `archived_on` datetime NOT NULL,
  `archived_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL,
  `updated_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `comp_contact_details`
--

INSERT INTO `comp_contact_details` (`id`, `company_id`, `contact_type`, `title`, `first_name`, `last_name`, `job_title`, `department`, `email`, `phone`, `info`, `main_contact`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(1, 5, 15, 1, 'First Name 1', 'Last Name 1', 34, 24, '', '', '', 1, 0, '2026-01-19 11:09:00', 0, '2026-01-19 11:09:00', 0, '2026-01-19 11:09:00', 0),
(2, 5, 15, 2, 'First Name 2', 'Last Name 2', 36, 25, '', '', '', 0, 1, '2026-01-19 11:13:03', 0, '2026-01-19 11:13:03', 0, '2026-01-19 11:13:03', 0),
(3, 5, 15, 3, 'First Name 3', 'Last Name 3', 37, 26, '', '', '', 0, 0, '2026-01-19 11:13:03', 0, '2026-01-19 11:13:03', 0, '2026-01-19 11:13:03', 0),
(4, 5, 15, 3, 'First Name 4', 'Last Name 4', 38, 27, '', '', '', 0, 0, '2026-01-19 11:13:03', 0, '2026-01-19 11:13:03', 0, '2026-01-19 11:13:03', 0),
(5, 5, 16, 4, 'First Name 1', 'Last Name 1', 39, 32, '', '', '', 0, 0, '2026-01-19 11:13:03', 0, '2026-01-19 11:13:03', 0, '2026-01-19 11:13:03', 0),
(6, 5, 16, 5, 'First Name 3', 'Last Name 3', 40, 25, '', '', '', 0, 1, '2026-02-18 10:30:59', 1, '2026-01-19 11:13:03', 0, '2026-01-19 11:13:03', 0),
(7, 5, 16, 2, 'First Name 2', 'Last Name 2', 41, 25, '', '', '', 0, 0, '2026-01-19 11:13:03', 0, '2026-01-19 11:13:03', 0, '2026-01-19 11:13:03', 0),
(8, 5, 18, 1, 'test.....', 'ets...', 33, 27, 'WALL_XCcsIxEyZyAkKw==', 'WALL_ZXp2YGd6', 'sample....', 0, 0, '0000-00-00 00:00:00', 0, '2026-01-22 11:11:22', 1, '2026-01-23 10:49:26', 1),
(10, 2, 16, 1, 'sdfas....', 'sdf', 37, 25, 'WALL_IC02JRUuLlwiKmE7JTg=', 'WALL_Izo0JjA7MTwj', 'wqerwqer', 0, 0, '0000-00-00 00:00:00', 0, '2026-01-22 13:57:48', 1, '2026-01-22 13:58:11', 1),
(11, 28, 16, 0, 'Akanksha', 'Khare', 36, 26, 'WALL_NSMkPz46KyoxKjorOSE5LjgmNxQvKC0oNndcJyAq', 'WALL_ZHl3YmF8dXx+dg==', '<script>alert(\"hello\")</script>', 0, 0, '0000-00-00 00:00:00', 0, '2026-01-22 14:12:07', 1, '2026-02-06 08:53:52', 1),
(12, 28, 18, 5, 'test', '', 0, 0, 'WALL_Iy0yIBUoMC9cJ2E7JTg=', 'WALL_XCcpITAmLTAqNS48OTQ=', '', 0, 1, '2026-01-22 14:38:36', 1, '2026-01-22 14:17:02', 1, '2026-01-22 14:17:02', 1),
(13, 33, 45, 1, 'Ashish\'s', 'Kumar', 37, 28, 'WALL_NTstOCYhAykjPCglPigzPTskPDAtNzwyNT8wOCYmLWsyOmc2IA==', 'WALL_ZHB1YWN+dHpxd2h6', 'test\'ss', 0, 0, '0000-00-00 00:00:00', 0, '2026-01-22 14:17:35', 1, '2026-01-22 14:17:35', 1),
(14, 33, 19, 1, 'Ashish\'t', 'Kumar', 37, 26, 'WALL_NTstOCYhAykjPCglPigzPTskPDAtNzwyNT8wOCYmLWsyOmc2IA==', 'WALL_ZHB1YWN+dHpxd24=', 'testttttttt', 0, 0, '0000-00-00 00:00:00', 0, '2026-01-22 14:18:42', 1, '2026-01-22 14:18:42', 1),
(15, 39, 19, 0, 'aaa', 'Sibb', 0, 0, 'WALL_a2JkJTA6NzguJi4rFTl+LDko', 'WALL_MDwhNjEv', 'test', 0, 0, '0000-00-00 00:00:00', 0, '2026-01-22 14:21:15', 1, '2026-01-22 14:21:15', 1),
(16, 46, 19, 1, 'www', 'www', 33, 26, 'WALL_Iz8yJlwiCTQ8MTh2KTog', 'WALL_Iz8yJg==', 'wwwwww', 0, 1, '2026-01-22 14:26:27', 1, '2026-01-22 14:26:14', 1, '2026-01-22 14:26:24', 1),
(17, 46, 18, 1, 'www', 'www', 33, 24, 'WALL_Iz8yEVwiPjRlJSA1', 'WALL_Iz8yJg==', 'wwwwwwww', 0, 0, '0000-00-00 00:00:00', 0, '2026-01-22 14:27:10', 1, '2026-01-22 14:27:35', 1),
(18, 36, 16, 2, 'abhi', 'kumar', 34, 25, 'WALL_IC02JTxcJyQLIVwiOSM5', 'WALL_YXB8Z2B8dn1yew==', 'this is testing records', 0, 1, '2026-01-22 15:12:42', 1, '2026-01-22 14:37:58', 1, '2026-01-22 14:38:15', 1),
(19, 39, 19, 0, 'nbb', '', 0, 0, 'WALL_IC02JRU9JjgyYTslOA==', 'WALL_IC02JRU9JjgyYTslOA==', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-01-22 14:57:41', 1, '2026-01-22 14:57:41', 1),
(20, 39, 16, 0, 'ghfghfh', '', 0, 0, 'WALL_IC02JRU9JjgyYTslOA==', 'WALL_IC02JRU9JjgyYTslOA==', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-01-22 14:58:03', 1, '2026-01-22 14:58:03', 1),
(21, 39, 18, 0, 'yututuytu', '', 0, 0, 'WALL_IC02JRU9JjgyYTslOA==', 'WALL_IC02JRU9JjgyYTslOA==', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-01-22 14:58:45', 1, '2026-01-22 14:58:45', 1),
(22, 39, 45, 0, 'drtdrgdtdrg', '', 0, 0, 'WALL_IC02JRU9JjgyYTslOA==', 'WALL_IC02JRU9JjgyYTslOA==', 'fgfdfgdghgh', 0, 0, '0000-00-00 00:00:00', 0, '2026-01-22 14:59:14', 1, '2026-01-22 14:59:14', 1),
(23, 39, 15, 0, 'fgghfhgfh', '', 0, 0, 'WALL_IC02JRU9JjgyYTslOA==', 'WALL_IC02JRU9JjgyYTslOA==', 'gdgfhfgh', 0, 0, '0000-00-00 00:00:00', 0, '2026-01-22 14:59:54', 1, '2026-01-22 14:59:54', 1),
(24, 36, 19, 13, 'test\'s', 'wa\'', 35, 26, 'WALL_Iy1cJw1yOgMsKy4xJnsuP1wi', 'WALL_YX18aA==', 'this is fine. it\'s workoing', 0, 1, '2026-01-22 15:12:49', 1, '2026-01-22 15:10:31', 1, '2026-01-22 15:11:52', 1),
(25, 19, 19, 0, 'anurag', 'mishra', 0, 0, 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_ZH52aWJ+cXhxfGA=', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-02-02 08:44:30', 1, '2026-02-02 10:18:27', 1),
(26, 19, 19, 13, 'anurag', 'mishra', 34, 24, 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_ZH52aWJ+cXhxfGA=', 'wa', 0, 0, '0000-00-00 00:00:00', 0, '2026-02-02 08:44:44', 1, '2026-02-02 08:44:44', 1),
(27, 19, 45, 5, 'anurag', 'mishra', 36, 24, 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_ZH52aWJ+cXhxfGA=', 'wa', 1, 0, '0000-00-00 00:00:00', 0, '2026-02-02 08:45:28', 1, '2026-02-02 10:05:40', 1),
(28, 19, 45, 0, 'anurag', 'mishra', 0, 0, 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_ZH52aWJ+cXhxfGA=', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-02-03 09:26:31', 1, '2026-02-03 09:26:31', 1),
(29, 36, 19, 0, '<script>alert(\"hello\");</script>', '', 0, 0, 'WALL_IC02JRUuLiovI3YpOiA=', 'WALL_ZXp2ZWB/dHN/', '<script>alert(\"hello\")</script>', 0, 0, '0000-00-00 00:00:00', 0, '2026-02-06 08:23:10', 1, '2026-02-06 08:23:10', 1),
(30, 36, 19, 5, 'anurag', 'mishra', 0, 0, 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_ZH52aWJ+cXhxfGA=', '<script>alert(\"hello\")</script>', 1, 0, '0000-00-00 00:00:00', 0, '2026-02-06 08:35:06', 1, '2026-02-06 08:35:06', 1),
(31, 35, 17, 2, 'anurag', 'mishra', 0, 0, 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_ZH52aWJ+cXhxfGA=', 'scriptalerthelloscrip', 1, 1, '2026-02-06 09:25:07', 1, '2026-02-06 09:18:12', 1, '2026-02-06 09:18:12', 1),
(32, 6, 19, 2, 'anurag', 'mishra', 0, 24, 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_ZH52aWJ+cXhxfGA=', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-02-06 09:36:34', 1, '2026-02-06 09:36:43', 1),
(33, 45, 17, 0, 'barn', 'doe', 0, 0, 'WALL_Nik3PzEmJnp0fBgtOCw5I3gmPTk=', 'WALL_ZHp2ZWB/dHN/e20=', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-02-20 13:58:17', 1, '2026-02-20 13:58:17', 1),
(34, 62, 17, 5, 'anurag', 'mishra', 0, 0, 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_Ynt9ZmJ7cHx1dw==', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-02-24 08:25:09', 1, '2026-02-24 08:25:20', 1),
(35, 66, 17, 0, 'test', 'Alin', 0, 46, 'WALL_NSQsP3ssLSolXCc9ClwiKDJiNyk+PSkrLyR0OithMj8=', 'WALL_ZXp2ZWB/dn1xdw==', '', 0, 1, '2026-02-26 10:00:18', 1, '2026-02-26 10:00:14', 1, '2026-02-26 10:00:14', 1),
(36, 67, 16, 3, 'elly', 'kale', 40, 29, 'WALL_MSQpKBUuLiovI3YpOiA=', 'WALL_YX5xZ2N/dnxwem8=', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-02-27 10:26:46', 1, '2026-02-27 10:26:46', 1),
(37, 67, 18, 0, 'elly', '', 0, 0, 'WALL_NSomNRUuLiovI3YpOiA=', 'WALL_YH1wZ2N6cXh0fWo=', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-02-27 10:27:15', 1, '2026-02-27 10:27:15', 1),
(38, 66, 16, 1, 'abc', 'zxc', 38, 24, 'WALL_NSkkMBU6MGUhXCc=', 'WALL_ZXp2ZWB/dHN/', 'test', 1, 0, '0000-00-00 00:00:00', 0, '2026-02-28 05:07:35', 1, '2026-02-28 05:07:35', 1),
(39, 70, 143, 103, 'Sarah', 'Johnson', 33, 138, 'sarah.johnson@brightontech.co.uk', '+44 1273 123456', 'Founder and CEO', 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(40, 70, 144, 1, 'James', 'Roberts', 34, 28, 'james.roberts@brightontech.co.uk', '+44 1273 654321', 'Technical lead', 0, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(41, 71, 143, 1, 'David', 'Williams', 126, 138, 'david.williams@manchesterdigital.co.uk', '+44 161 2345678', 'Agency founder', 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(42, 71, 144, 103, 'Lisa', 'Chen', 127, 139, 'lisa.chen@manchesterdigital.co.uk', '+44 161 8765432', 'Design lead', 0, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(43, 72, 143, 103, 'Emma', 'Thompson', 128, 138, 'emma.thompson@londonfintech.co.uk', '+44 20 71234567', 'Financial services expert', 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(44, 72, 144, 1, 'Daniel', 'Patel', 129, 28, 'daniel.patel@londonfintech.co.uk', '+44 20 77654321', 'Blockchain specialist', 0, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(45, 73, 143, 1, 'Michael', 'Brown', 38, 138, 'michael.brown@bristolgreen.co.uk', '+44 117 9876543', 'Renewable energy expert', 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(46, 73, 144, 103, 'Rebecca', 'Smith', 39, 27, 'rebecca.smith@bristolgreen.co.uk', '+44 117 4567890', 'Sustainability coordinator', 0, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(47, 74, 143, 103, 'Jennifer', 'Davis', 130, 141, 'jennifer.davis@edinburghdata.co.uk', '+44 131 2223334', 'AI research specialist', 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(48, 74, 144, 1, 'Andrew', 'Wilson', 131, 140, 'andrew.wilson@edinburghdata.co.uk', '+44 131 4445556', 'Business intelligence expert', 0, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(49, 75, 143, 1, 'Robert', 'Wilson', 33, 138, 'robert.wilson@leedssoftware.co.uk', '+44 113 3456789', 'Software development leader', 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(50, 75, 144, 103, 'Claire', 'Taylor', 132, 27, 'claire.taylor@leedssoftware.co.uk', '+44 113 9876543', 'Agile methodology expert', 0, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(51, 76, 143, 103, 'Olivia', 'Taylor', 38, 138, 'olivia.taylor@liverpoolcreative.co.uk', '+44 151 4567890', 'Creative strategy lead', 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(52, 76, 144, 1, 'Thomas', 'Harris', 133, 139, 'thomas.harris@liverpoolcreative.co.uk', '+44 151 0987654', 'Visual design specialist', 0, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(53, 77, 143, 1, 'Thomas', 'Moore', 34, 138, 'thomas.moore@newcastleai.co.uk', '+44 191 2345678', 'AI systems architect', 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(54, 77, 144, 103, 'Emma', 'Garcia', 134, 31, 'emma.garcia@newcastleai.co.uk', '+44 191 8765432', 'Machine learning researcher', 0, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(55, 78, 143, 103, 'Sophia', 'Anderson', 135, 142, 'sophia.anderson@cardiffcyber.co.uk', '+44 29 20123456', 'Cybersecurity expert', 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(56, 78, 144, 1, 'Matthew', 'Jones', 136, 142, 'matthew.jones@cardiffcyber.co.uk', '+44 29 20654321', 'Ethical hacking specialist', 0, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(57, 79, 143, 1, 'James', 'Thomas', 38, 138, 'james.thomas@oxfordbiotech.co.uk', '+44 1865 123456', 'Biotechnology specialist', 1, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(58, 79, 144, 103, 'Rachel', 'Lee', 137, 31, 'rachel.lee@oxfordbiotech.co.uk', '+44 1865 654321', 'Genomics laboratory lead', 0, 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0),
(59, 82, 16, 105, 'jennet', 'pol', 40, 28, 'WALL_Pi0rPxUsOyorPzQvezg7', 'WALL_f3xxcWZ9cH5yfG5/YXo=', 'information tech', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-07 07:05:24', 1, '2026-03-07 07:07:18', 1),
(60, 82, 18, 103, 'jennifer', 'winget', 126, 29, 'WALL_IyErNjA9Ay4+LjU6OSh+Oj0=', 'WALL_f3xxcWF6enhzd2F/bXQ=', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-07 07:06:21', 1, '2026-03-07 07:06:35', 1),
(61, 84, 16, 105, 'Ariba', 'testing', 33, 138, 'WALL_Fw0Kfy8mLSQGKDUrPCF+LDko', 'WALL_bXl2ZmN6d3Nxf2g=', 'ceo of zeno labs', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-10 14:41:39', 1, '2026-03-10 14:41:39', 1),
(62, 85, 17, 13, 'Ariba', 'testing', 42, 50, 'WALL_JiAkXCI9JCp6dHwYLTgsOSN4Jj05', 'WALL_ZXp2ZWB/e3lyfGw=', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-10 18:28:25', 1, '2026-03-10 18:28:25', 1),
(63, 85, 18, 105, 'test', '', 0, 46, 'WALL_PiMyNTMjKi4uKS0kFSo9Lj8pfDdcJyg=', 'WALL_Z3x9ZWJ6cXNyeA==', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-10 18:29:05', 1, '2026-03-10 18:29:05', 1),
(64, 89, 16, 1, 'joe', 'will', 37, 46, 'WALL_PlwnBTQtKC47Kip2Pz4=', 'WALL_YHxwZWB/dn1zeW98YA==', 'company contact', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-13 12:22:11', 1, '2026-03-13 12:24:06', 1),
(65, 89, 17, 1, 'james', 'wilson', 43, 29, 'WALL_NSkFNC0oLjsqKnY/Pg==', 'WALL_YH1xYmB9dn9wem4=', 'contact info', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-13 12:25:11', 1, '2026-03-13 12:25:11', 1),
(66, 301, 1, 1, 'Emma', 'Williams', 2, 3, 'emma.williams@londonbeautylabs.co.uk', '+447911100101', 'Manages distribution of premium skincare products in the UK market', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:50:55', 1, '0000-00-00 00:00:00', 0),
(67, 302, 1, 1, 'James', 'Taylor', 3, 2, 'james.taylor@pureglowcosmetics.co.uk', '+447911100102', 'Marketing manager for organic makeup and beauty products', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:50:55', 1, '0000-00-00 00:00:00', 0),
(68, 303, 2, 2, 'Olivia', 'Davies', 4, 4, 'olivia.davies@radiantskinuk.co.uk', '+447911100103', 'Quality assurance specialist for cosmetic formulations', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:50:55', 1, '0000-00-00 00:00:00', 0),
(69, 304, 1, 1, 'George', 'Brown', 5, 3, 'george.brown@velvetmakeup.co.uk', '+447911100104', 'Sales lead for lipstick and beauty accessories', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:50:55', 1, '0000-00-00 00:00:00', 0),
(70, 305, 2, 1, 'Ava', 'Wilson', 3, 2, 'ava.wilson@herbalbeautyuk.co.uk', '+447911100105', 'Coordinates herbal skincare product marketing campaigns', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:50:55', 1, '0000-00-00 00:00:00', 0),
(71, 306, 1, 2, 'Harry', 'Evans', 2, 1, 'harry.evans@skinessenceuk.co.uk', '+447911100106', 'Business development manager for skincare product partnerships', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:50:55', 1, '0000-00-00 00:00:00', 0),
(72, 307, 1, 1, 'Sophia', 'Thomas', 4, 4, 'sophia.thomas@beautyblenduk.co.uk', '+447911100107', 'Research and development for cosmetic creams and lotions', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:50:55', 1, '0000-00-00 00:00:00', 0),
(73, 308, 2, 2, 'Jack', 'Roberts', 3, 3, 'jack.roberts@naturalsheen.co.uk', '+447911100108', 'Handles retail relationships for beauty product suppliers', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:50:55', 1, '0000-00-00 00:00:00', 0),
(74, 309, 1, 1, 'Mia', 'Johnson', 5, 2, 'mia.johnson@luxebeautylondon.co.uk', '+447911100109', 'Brand manager for luxury cosmetic collections', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:50:55', 1, '0000-00-00 00:00:00', 0),
(75, 310, 2, 2, 'Noah', 'Clark', 2, 1, 'noah.clark@organicskinlab.co.uk', '+447911100110', 'Oversees sourcing of organic ingredients for skincare products', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:50:55', 1, '0000-00-00 00:00:00', 0),
(76, 311, 1, 1, 'Lily', 'Harris', 3, 2, 'lily.harris@britishbeautyhub.co.uk', '+447911100111', 'Marketing executive promoting organic skincare products', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:54:11', 1, '0000-00-00 00:00:00', 0),
(77, 312, 2, 1, 'Charlie', 'Walker', 2, 1, 'charlie.walker@purelondoncosmetics.co.uk', '+447911100112', 'Business development for luxury cosmetic retailers', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:54:11', 1, '0000-00-00 00:00:00', 0),
(78, 313, 1, 2, 'Grace', 'Hall', 4, 4, 'grace.hall@skinreviveuk.co.uk', '+447911100113', 'Research analyst for anti-aging skincare formulas', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:54:11', 1, '0000-00-00 00:00:00', 0),
(79, 314, 1, 1, 'Alfie', 'Allen', 5, 3, 'alfie.allen@glambeauty.co.uk', '+447911100114', 'Sales supervisor for makeup and beauty kits', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:54:11', 1, '0000-00-00 00:00:00', 0),
(80, 315, 2, 1, 'Freya', 'Young', 3, 2, 'freya.young@herbalradiance.co.uk', '+447911100115', 'Digital marketing for herbal cosmetic products', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:54:11', 1, '0000-00-00 00:00:00', 0),
(81, 316, 1, 2, 'Oscar', 'King', 2, 1, 'oscar.king@skincareinnovations.co.uk', '+447911100116', 'Handles partnerships for dermatology skincare brands', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:54:11', 1, '0000-00-00 00:00:00', 0),
(82, 317, 1, 1, 'Ella', 'Wright', 4, 4, 'ella.wright@beautyscienceuk.co.uk', '+447911100117', 'Product developer for natural cosmetic creams', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:54:11', 1, '0000-00-00 00:00:00', 0),
(83, 318, 2, 2, 'Henry', 'Scott', 3, 3, 'henry.scott@naturalskincarestore.co.uk', '+447911100118', 'Retail account manager for beauty product chains', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:54:11', 1, '0000-00-00 00:00:00', 0),
(84, 319, 1, 1, 'Isabella', 'Green', 5, 2, 'isabella.green@luxecosmeticslondon.co.uk', '+447911100119', 'Brand strategist for luxury makeup lines', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:54:11', 1, '0000-00-00 00:00:00', 0),
(85, 320, 2, 2, 'Leo', 'Adams', 2, 1, 'leo.adams@organicherbalbeauty.co.uk', '+447911100120', 'Supply chain coordinator for organic cosmetic ingredients', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-17 10:54:11', 1, '0000-00-00 00:00:00', 0),
(86, 96, 16, 103, 'jemmy', 'willam', 39, 26, 'WALL_Pi0oPCwJJjNcJ1wiKCYwYyUk', 'WALL_YHxwZGN/dHNxdg==', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-04-07 10:47:56', 1, '2026-04-07 10:47:56', 1);

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

--
-- Table structure for table `country`
--

CREATE TABLE `country` (
  `id` int(11) NOT NULL,
  `country` varchar(255) NOT NULL,
  `country_code` varchar(255) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) NOT NULL,
  `update_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `country`
--

INSERT INTO `country` (`id`, `country`, `country_code`, `created_by`, `created_on`, `updated_by`, `update_on`) VALUES
(1, 'Afghanistan', 'AF', 1, '2026-03-01 09:29:06', 1, '2026-03-01 09:41:05'),
(2, 'Åland Islands', 'AX', 1, '2026-03-01 09:29:06', 1, '2026-03-01 09:41:05'),
(3, 'Albania', 'AL', 1, '2026-03-01 09:29:06', 1, '2026-03-01 09:41:05'),
(4, 'Algeria', 'DZ', 1, '2026-03-01 09:29:06', 1, '2026-03-01 09:41:05'),
(5, 'American Samoa', 'AS', 1, '2026-03-01 09:29:06', 1, '2026-03-01 09:41:05'),
(6, 'Andorra', 'AD', 1, '2026-03-01 09:29:06', 1, '2026-03-01 09:41:05'),
(7, 'Angola', 'AO', 1, '2026-03-01 09:29:06', 1, '2026-03-01 09:41:05'),
(8, 'Anguilla', 'AI', 1, '2026-03-01 09:29:06', 1, '2026-03-01 09:41:05'),
(9, 'Antarctica', 'AQ', 1, '2026-03-01 09:29:06', 1, '2026-03-01 09:41:05'),
(10, 'Antigua and Barbuda', 'AG', 1, '2026-03-01 09:29:06', 1, '2026-03-01 09:41:05'),
(11, 'Argentina', 'AR', 1, '2026-03-01 09:29:06', 1, '2026-03-01 09:41:05'),
(12, 'Armenia', 'AM', 1, '2026-03-01 09:29:45', 1, '2026-03-01 09:41:05'),
(13, 'Aruba', 'AW', 1, '2026-03-01 09:29:45', 1, '2026-03-01 09:41:05'),
(14, 'Australia', 'AU', 1, '2026-03-01 09:29:45', 1, '2026-03-01 09:41:05'),
(15, 'Austria', 'AT', 1, '2026-03-01 09:29:45', 1, '2026-03-01 09:41:05'),
(16, 'Azerbaijan', 'AZ', 1, '2026-03-01 09:29:45', 1, '2026-03-01 09:41:05'),
(17, 'Bahamas', 'BS', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(18, 'Bahrain', 'BH', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(19, 'Bangladesh', 'BD', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(20, 'Barbados', 'BB', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(21, 'Belarus', 'BY', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(22, 'Belgium', 'BE', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(23, 'Belize', 'BZ', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(24, 'Benin', 'BJ', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(25, 'Bermuda', 'BM', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(26, 'Bhutan', 'BT', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(27, 'Bolivia, Plurinational State of', 'BO', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(28, 'Bonaire, Sint Eustatius and Saba', 'BQ', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(29, 'Bosnia and Herzegovina', 'BA', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(30, 'Botswana', 'BW', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(31, 'Bouvet Island', 'BV', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(32, 'Brazil', 'BR', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(33, 'British Indian Ocean Territory', 'IO', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(34, 'Brunei Darussalam', 'BN', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(35, 'Bulgaria', 'BG', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(36, 'Burkina Faso', 'BF', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(37, 'Burundi', 'BI', 1, '2026-03-01 09:29:46', 1, '2026-03-01 09:41:05'),
(38, 'Cabo Verde', 'CV', 1, '2026-03-01 09:34:44', 1, '2026-03-01 09:41:05'),
(39, 'Cambodia', 'KH', 1, '2026-03-01 09:34:44', 1, '2026-03-01 09:41:05'),
(40, 'Cameroon', 'CM', 1, '2026-03-01 09:34:44', 1, '2026-03-01 09:41:05'),
(41, 'Canada', 'CA', 1, '2026-03-01 09:34:44', 1, '2026-03-01 09:41:05'),
(42, 'Cayman Islands', 'KY', 1, '2026-03-01 09:34:44', 1, '2026-03-01 09:41:05'),
(43, 'Central African Republic', 'CF', 1, '2026-03-01 09:34:44', 1, '2026-03-01 09:41:05'),
(44, 'Chad', 'TD', 1, '2026-03-01 09:34:44', 1, '2026-03-01 09:41:05'),
(45, 'Chile', 'CL', 1, '2026-03-01 09:34:44', 1, '2026-03-01 09:41:05'),
(46, 'China', 'CN', 1, '2026-03-01 09:34:44', 1, '2026-03-01 09:41:05'),
(47, 'Christmas Island', 'CX', 1, '2026-03-01 09:34:44', 1, '2026-03-01 09:41:05'),
(48, 'Cocos (Keeling) Islands', 'CC', 1, '2026-03-01 09:34:44', 1, '2026-03-01 09:41:05'),
(49, 'Colombia', 'CO', 1, '2026-03-01 09:34:44', 1, '2026-03-01 09:41:05'),
(50, 'Comoros', 'KM', 1, '2026-03-01 09:34:44', 1, '2026-03-01 09:41:05'),
(51, 'Congo', 'CG', 1, '2026-03-01 09:34:44', 1, '2026-03-01 09:41:05'),
(52, 'Congo, Democratic Republic of the', 'CD', 1, '2026-03-01 09:34:44', 1, '2026-03-01 09:41:05'),
(53, 'Cook Islands', 'CK', 1, '2026-03-01 09:34:44', 1, '2026-03-01 09:41:05'),
(54, 'Costa Rica', 'CR', 1, '2026-03-01 09:34:44', 1, '2026-03-01 09:41:05'),
(55, 'Croatia', 'HR', 1, '2026-03-01 09:37:15', 1, '2026-03-01 09:41:05'),
(56, 'Cuba', 'CU', 1, '2026-03-01 09:37:15', 1, '2026-03-01 09:41:05'),
(57, 'Cyprus', 'CY', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(58, 'Czechia', 'CZ', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(59, 'Denmark', 'DK', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(60, 'Djibouti', 'DJ', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(61, 'Dominica', 'DM', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(62, 'Dominican Republic', 'DO', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(63, 'Ecuador', 'EC', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(64, 'Egypt', 'EG', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(65, 'El Salvador', 'SV', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(66, 'Equatorial Guinea', 'GQ', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(67, 'Eritrea', 'ER', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(68, 'Estonia', 'EE', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(69, 'Eswatini', 'SZ', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(70, 'Ethiopia', 'ET', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(71, 'Falkland Islands (Malvinas)', 'FK', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(72, 'Faroe Islands', 'FO', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(73, 'Fiji', 'FJ', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(74, 'Finland', 'FI', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(75, 'France', 'FR', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(76, 'French Guiana', 'GF', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(77, 'French Polynesia', 'PF', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(78, 'French Southern Territories', 'TF', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(79, 'Gabon', 'GA', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(80, 'Gambia', 'GM', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(81, 'Georgia', 'GE', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(82, 'Germany', 'DE', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(83, 'Ghana', 'GH', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(84, 'Gibraltar', 'GI', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(85, 'Greece', 'GR', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(86, 'Greenland', 'GL', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(87, 'Grenada', 'GD', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(88, 'Guadeloupe', 'GP', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(89, 'Guam', 'GU', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(90, 'Guatemala', 'GT', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(91, 'Guernsey', 'GG', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(92, 'Guinea', 'GN', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(93, 'Guinea-Bissau', 'GW', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(94, 'Guyana', 'GY', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(95, 'Haiti', 'HT', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(96, 'Heard Island and McDonald Islands', 'HM', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(97, 'Holy See', 'VA', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(98, 'Honduras', 'HN', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(99, 'Hong Kong', 'HK', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(100, 'Hungary', 'HU', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(101, 'Iceland', 'IS', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(102, 'India', 'IN', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(103, 'Indonesia', 'ID', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(104, 'Iran, Islamic Republic of', 'IR', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(105, 'Iraq', 'IQ', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(106, 'Ireland', 'IE', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(107, 'Isle of Man', 'IM', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(108, 'Israel', 'IL', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(109, 'Italy', 'IT', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(110, 'Jamaica', 'JM', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(111, 'Japan', 'JP', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(112, 'Jersey', 'JE', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(113, 'Jordan', 'JO', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(114, 'Kazakhstan', 'KZ', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(115, 'Kenya', 'KE', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(116, 'Kiribati', 'KI', 1, '2026-03-01 09:37:48', 1, '2026-03-01 09:41:05'),
(117, 'Korea, Democratic People\'s Republic of', 'KP', 1, '2026-03-01 09:38:58', 1, '2026-03-01 09:41:05'),
(118, 'Kuwait', 'KW', 1, '2026-03-01 09:39:14', 1, '2026-03-01 09:41:05'),
(119, 'Kyrgyzstan', 'KG', 1, '2026-03-01 09:39:14', 1, '2026-03-01 09:41:05'),
(120, 'Lao People\'s Democratic Republic', 'LA', 1, '2026-03-01 09:39:14', 1, '2026-03-01 09:41:05'),
(121, 'Latvia', 'LV', 1, '2026-03-01 09:39:14', 1, '2026-03-01 09:41:05'),
(122, 'Lebanon', 'LB', 1, '2026-03-01 09:39:14', 1, '2026-03-01 09:41:05'),
(123, 'Lesotho', 'LS', 1, '2026-03-01 09:39:14', 1, '2026-03-01 09:41:05'),
(124, 'Liberia', 'LR', 1, '2026-03-01 09:39:14', 1, '2026-03-01 09:41:05'),
(125, 'Libya', 'LY', 1, '2026-03-01 09:39:15', 1, '2026-03-01 09:41:05'),
(126, 'Liechtenstein', 'LI', 1, '2026-03-01 09:39:46', 1, '2026-03-01 09:41:05'),
(127, 'Lithuania', 'LT', 1, '2026-03-01 09:39:46', 1, '2026-03-01 09:41:05'),
(128, 'Luxembourg', 'LU', 1, '2026-03-01 09:39:46', 1, '2026-03-01 09:41:05'),
(129, 'Macao', 'MO', 1, '2026-03-01 09:39:46', 1, '2026-03-01 09:41:05'),
(130, 'Madagascar', 'MG', 1, '2026-03-01 09:39:46', 1, '2026-03-01 09:41:05'),
(131, 'Malawi', 'MW', 1, '2026-03-01 09:39:46', 1, '2026-03-01 09:41:05'),
(132, 'Malaysia', 'MY', 1, '2026-03-01 09:39:46', 1, '2026-03-01 09:41:05'),
(133, 'Maldives', 'MV', 1, '2026-03-01 09:39:46', 1, '2026-03-01 09:41:05'),
(134, 'Mali', 'ML', 1, '2026-03-01 09:39:46', 1, '2026-03-01 09:41:05'),
(135, 'Malta', 'MT', 1, '2026-03-01 09:39:46', 1, '2026-03-01 09:41:05'),
(136, 'Marshall Islands', 'MH', 1, '2026-03-01 09:39:46', 1, '2026-03-01 09:41:05'),
(137, 'Martinique', 'MQ', 1, '2026-03-01 09:39:46', 1, '2026-03-01 09:41:05'),
(138, 'Mauritania', 'MR', 1, '2026-03-01 09:39:46', 1, '2026-03-01 09:41:05'),
(139, 'Mauritius', 'MU', 1, '2026-03-01 09:39:46', 1, '2026-03-01 09:41:05'),
(140, 'Mayotte', 'YT', 1, '2026-03-01 09:39:46', 1, '2026-03-01 09:41:05'),
(141, 'Mexico', 'MX', 1, '2026-03-01 09:39:46', 1, '2026-03-01 09:41:05'),
(142, 'Micronesia, Federated States of', 'FM', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(143, 'Moldova, Republic of', 'MD', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(144, 'Monaco', 'MC', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(145, 'Mongolia', 'MN', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(146, 'Montenegro', 'ME', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(147, 'Montserrat', 'MS', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(148, 'Morocco', 'MA', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(149, 'Mozambique', 'MZ', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(150, 'Myanmar', 'MM', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(151, 'Namibia', 'NA', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(152, 'Nauru', 'NR', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(153, 'Nepal', 'NP', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(154, 'Netherlands, Kingdom of the', 'NL', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(155, 'New Caledonia', 'NC', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(156, 'New Zealand', 'NZ', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(157, 'Nicaragua', 'NI', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(158, 'Niger', 'NE', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(159, 'Nigeria', 'NG', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(160, 'Niue', 'NU', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(161, 'Norfolk Island', 'NF', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(162, 'North Macedonia', 'MK', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(163, 'Northern Mariana Islands', 'MP', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(164, 'Norway', 'NO', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(165, 'Oman', 'OM', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(166, 'Pakistan', 'PK', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(167, 'Palau', 'PW', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(168, 'Palestine, State of', 'PS', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(169, 'Panama', 'PA', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(170, 'Papua New Guinea', 'PG', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(171, 'Paraguay', 'PY', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(172, 'Peru', 'PE', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(173, 'Philippines', 'PH', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(174, 'Pitcairn', 'PN', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(175, 'Poland', 'PL', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(176, 'Portugal', 'PT', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(177, 'Puerto Rico', 'PR', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(178, 'Qatar', 'QA', 1, '2026-03-01 09:39:47', 1, '2026-03-01 09:41:05'),
(179, 'Romania', 'RO', 1, '2026-03-01 09:40:01', 1, '2026-03-01 09:41:05'),
(180, 'Russian Federation', 'RU', 1, '2026-03-01 09:40:01', 1, '2026-03-01 09:41:05'),
(181, 'Rwanda', 'RW', 1, '2026-03-01 09:40:01', 1, '2026-03-01 09:41:05'),
(182, 'Saint Helena, Ascension and Tristan da Cunha', 'SH', 1, '2026-03-01 09:40:26', 1, '2026-03-01 09:41:05'),
(183, 'Saint Kitts and Nevis', 'KN', 1, '2026-03-01 09:40:26', 1, '2026-03-01 09:41:05'),
(184, 'Saint Lucia', 'LC', 1, '2026-03-01 09:40:26', 1, '2026-03-01 09:41:05'),
(185, 'Saint Martin (French part)', 'MF', 1, '2026-03-01 09:40:26', 1, '2026-03-01 09:41:05'),
(186, 'Saint Pierre and Miquelon', 'PM', 1, '2026-03-01 09:40:26', 1, '2026-03-01 09:41:05'),
(187, 'Saint Vincent and the Grenadines', 'VC', 1, '2026-03-01 09:40:26', 1, '2026-03-01 09:41:05'),
(188, 'Samoa', 'WS', 1, '2026-03-01 09:40:26', 1, '2026-03-01 09:41:05'),
(189, 'San Marino', 'SM', 1, '2026-03-01 09:40:26', 1, '2026-03-01 09:41:05'),
(190, 'Sao Tome and Principe', 'ST', 1, '2026-03-01 09:40:26', 1, '2026-03-01 09:41:05'),
(191, 'Saudi Arabia', 'SA', 1, '2026-03-01 09:40:26', 1, '2026-03-01 09:41:05'),
(192, 'Senegal', 'SN', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(193, 'Serbia', 'RS', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(194, 'Seychelles', 'SC', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(195, 'Sierra Leone', 'SL', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(196, 'Singapore', 'SG', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(197, 'Sint Maarten (Dutch part)', 'SX', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(198, 'Slovakia', 'SK', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(199, 'Slovenia', 'SI', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(200, 'Solomon Islands', 'SB', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(201, 'Somalia', 'SO', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(202, 'South Africa', 'ZA', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(203, 'South Georgia and the South Sandwich Islands', 'GS', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(204, 'South Sudan', 'SS', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(205, 'Spain', 'ES', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(206, 'Sri Lanka', 'LK', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(207, 'Sudan', 'SD', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(208, 'Suriname', 'SR', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(209, 'Svalbard and Jan Mayen', 'SJ', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(210, 'Sweden', 'SE', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(211, 'Switzerland', 'CH', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(212, 'Syrian Arab Republic', 'SY', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(213, 'Taiwan, Province of China', 'TW', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(214, 'Tajikistan', 'TJ', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(215, 'Tanzania, United Republic of', 'TZ', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(216, 'Thailand', 'TH', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(217, 'Timor-Leste', 'TL', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(218, 'Togo', 'TG', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(219, 'Tokelau', 'TK', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(220, 'Tonga', 'TO', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(221, 'Trinidad and Tobago', 'TT', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(222, 'Tunisia', 'TN', 1, '2026-03-01 09:40:27', 1, '2026-03-01 09:41:05'),
(223, 'Turkmenistan', 'TM', 1, '2026-03-01 09:40:42', 1, '2026-03-01 09:41:05'),
(224, 'Turks and Caicos Islands', 'TC', 1, '2026-03-01 09:40:42', 1, '2026-03-01 09:41:05'),
(225, 'Tuvalu', 'TV', 1, '2026-03-01 09:40:42', 1, '2026-03-01 09:41:05'),
(226, 'Uganda', 'UG', 1, '2026-03-01 09:40:42', 1, '2026-03-01 09:41:05'),
(227, 'Ukraine', 'UA', 1, '2026-03-01 09:40:42', 1, '2026-03-01 09:41:05'),
(228, 'United Arab Emirates', 'AE', 1, '2026-03-01 09:40:42', 1, '2026-03-01 09:41:05'),
(229, 'United Kingdom', 'GB', 1, '2026-03-01 09:40:42', 1, '2026-03-12 17:16:17'),
(230, 'United States of America', 'US', 1, '2026-03-01 09:40:42', 1, '2026-03-01 09:41:05'),
(231, 'United States Minor Outlying Islands', 'UM', 1, '2026-03-01 09:40:42', 1, '2026-03-01 09:41:05'),
(232, 'Uruguay', 'UY', 1, '2026-03-01 09:40:42', 1, '2026-03-01 09:41:05'),
(233, 'Uzbekistan', 'UZ', 1, '2026-03-01 09:40:43', 1, '2026-03-01 09:41:05'),
(234, 'Vanuatu', 'VU', 1, '2026-03-01 09:40:43', 1, '2026-03-01 09:41:05'),
(235, 'Venezuela, Bolivarian Republic of', 'VE', 1, '2026-03-01 09:40:43', 1, '2026-03-01 09:41:05'),
(236, 'Viet Nam', 'VN', 1, '2026-03-01 09:40:43', 1, '2026-03-01 09:41:05'),
(237, 'Virgin Islands (British)', 'VG', 1, '2026-03-01 09:40:43', 1, '2026-03-01 09:41:05'),
(238, 'Virgin Islands (U.S.)', 'VI', 1, '2026-03-01 09:40:43', 1, '2026-03-01 09:41:05'),
(239, 'Wallis and Futuna', 'WF', 1, '2026-03-01 09:40:43', 1, '2026-03-01 09:41:05'),
(240, 'Western Sahara', 'EH', 1, '2026-03-01 09:40:43', 1, '2026-03-01 09:41:05'),
(241, 'Yemen', 'YE', 1, '2026-03-01 09:40:43', 1, '2026-03-01 09:41:05'),
(242, 'Zambia', 'ZM', 1, '2026-03-01 09:40:43', 1, '2026-03-01 09:41:05'),
(243, 'Zimbabwe', 'ZW', 1, '2026-03-01 09:40:43', 1, '2026-03-01 09:41:05');

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

--
-- Table structure for table `county`
--

CREATE TABLE `county` (
  `id` int(11) NOT NULL,
  `county` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `county`
--

INSERT INTO `county` (`id`, `county`) VALUES
(2, 'Angus'),
(3, 'Avon'),
(4, 'Ayrshire'),
(5, 'Bedfordshire'),
(6, 'Berkshire'),
(7, 'Buckinghamshire'),
(8, 'Cambridgeshire'),
(9, 'Cheshire'),
(10, 'Clackmannanshire'),
(11, 'Cleveland'),
(12, 'Clwyd'),
(13, 'County Down'),
(14, 'County Durham'),
(15, 'County Londonderry'),
(16, 'County Tyrone'),
(17, 'Cornwall'),
(18, 'Cumbria'),
(19, 'Derbyshire'),
(20, 'Devon'),
(21, 'Dorset'),
(22, 'Dunbartonshire'),
(23, 'Dyfed'),
(24, 'East Lothian'),
(25, 'East Sussex'),
(26, 'Essex'),
(27, 'Fife'),
(28, 'Glamorgen'),
(29, 'Gloucestershire'),
(30, 'Guernsey'),
(31, 'Gwent'),
(32, 'Gwynedd'),
(33, 'Hampshire'),
(35, 'Herefordshire'),
(36, 'Hertfordshire'),
(37, 'North Lincolnshire'),
(38, 'Inverness-Shire'),
(39, 'Isle Of Bute'),
(40, 'Isle Of Shetland'),
(41, 'Isle Of Wight'),
(42, 'Jersey'),
(43, 'Kent'),
(44, 'Kincardineshire'),
(45, 'Lanarkshire'),
(46, 'Lancashire'),
(47, 'Leicestershire'),
(48, 'Lincolnshire'),
(49, 'London'),
(50, 'Merseyside'),
(51, 'Mid Glamorgan'),
(52, 'Midlothian'),
(53, 'Middlesex'),
(54, 'Morayshire'),
(55, 'Norfolk'),
(56, 'North Humberside'),
(57, 'North Yorkshire'),
(58, 'Northamptonshire'),
(59, 'Northumberland'),
(60, 'Nottinghamshire'),
(61, 'Orkney'),
(62, 'Oxfordshire'),
(63, 'Perthshire'),
(64, 'Powys'),
(65, 'Renfrewshire'),
(66, 'Ross-Shire'),
(67, 'Roxburghshire'),
(69, 'Shropshire'),
(70, 'Somerset'),
(71, 'South Glamorgan'),
(72, 'South Yorkshire'),
(73, 'Staffordshire'),
(74, 'Stirlingshire'),
(75, 'Suffolk'),
(76, 'Surrey'),
(77, 'Tyne And Wear'),
(78, 'Warwickshire'),
(79, 'West Glamorgan'),
(80, 'West Lothian'),
(81, 'West Midlands'),
(82, 'West Sussex'),
(83, 'West Yorkshire'),
(84, 'Wiltshire'),
(85, 'Worcestershire'),
(107, 'Aberdeenshire'),
(108, 'County Antrim'),
(110, 'Argyll'),
(111, 'County Armagh'),
(112, 'Banffshire'),
(113, 'County Fermanagh'),
(114, 'Dumfriesshire'),
(115, 'Kirkcudbrightshire'),
(116, 'North East Lincolnshire'),
(117, 'Greater Manchester'),
(118, 'Wales'),
(119, 'South West England'),
(120, 'East Riding Of Yorkshire'),
(121, 'Ireland'),
(122, 'East Midlands'),
(123, 'Calderdale'),
(124, 'Maidstone'),
(125, 'Glamorgan'),
(126, 'Scotland'),
(127, 'Portsmouth South'),
(128, 'Greater London'),
(129, 'Bristol'),
(130, 'Humberside'),
(131, 'Hereford and South Herefordshire'),
(132, 'Inner London'),
(133, 'Corby'),
(134, 'West Northampton'),
(135, 'Channel Islands'),
(136, 'Swindon'),
(137, 'South Northamptonshire'),
(138, 'Outer London'),
(139, 'Hexham'),
(140, 'Reading East'),
(141, 'Bedford'),
(142, 'Macclesfield'),
(143, 'Weaver Vale'),
(144, 'Bracknell'),
(145, 'Crewe and Nantwich'),
(146, 'Devizes'),
(147, 'Kettering'),
(148, 'Poole'),
(149, 'Rossendale and Darwen'),
(150, 'The Wrekin'),
(151, 'North West Cambridgeshire'),
(152, 'Wellingborough'),
(153, 'Blackburn'),
(154, 'Ellesmere Port and Neston'),
(155, 'Ludlow'),
(156, 'Congleton'),
(157, 'North Shropshire'),
(158, 'Stoke-on-Trent Central'),
(159, 'Daventry'),
(160, 'Wycombe'),
(161, 'North Swindon'),
(162, 'Southampton, Itchen'),
(163, 'Telford'),
(164, 'Chesham and Amersham'),
(165, 'Bishop Auckland'),
(166, 'Darlington'),
(167, 'Tatton'),
(168, 'Windsor'),
(169, 'Newbury'),
(170, 'North East Somerset'),
(171, 'Peterborough'),
(172, 'Stoke-on-Trent South'),
(173, 'Stoke-on-Trent North'),
(174, 'City of Chester'),
(175, 'Thornbury and Yate'),
(176, 'Sedgefield'),
(177, ''),
(178, 'Lothian'),
(179, 'Islington'),
(180, 'Brent'),
(181, 'Trafford'),
(182, 'Cheshire East'),
(183, 'Lambeth'),
(184, 'City Of London'),
(185, 'Aberdeen City'),
(186, 'Southwark'),
(187, 'Barnet'),
(188, 'Kensington And Chelsea'),
(189, 'South Gloucestershire'),
(190, 'Flintshire'),
(191, 'Hillingdon'),
(192, 'Central Bedfordshire'),
(193, 'Telford And Wrekin'),
(194, 'Lancanshire'),
(195, 'Bracknell Forest'),
(196, 'Windsor And Maidenhead'),
(197, 'Tyne & Wear'),
(198, 'Northants'),
(199, 'North Somerset'),
(200, 'West Berkshire'),
(201, 'Gloucesteshire'),
(202, 'Hammersmith And Fulham'),
(203, 'Salford'),
(204, 'Westminster'),
(205, 'West Thurrock'),
(206, 'Hackney'),
(207, 'Hants'),
(208, 'Tower Hamlets');

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

--
-- Table structure for table `enq_enquiry_details`
--

CREATE TABLE `enq_enquiry_details` (
  `id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `enquiry_code` varchar(255) NOT NULL,
  `company_name` varchar(512) NOT NULL,
  `first_name` varchar(256) NOT NULL,
  `last_name` varchar(256) NOT NULL,
  `address` varchar(512) NOT NULL,
  `email` varchar(512) NOT NULL,
  `phone_number` varchar(50) NOT NULL,
  `address_line_1` varchar(512) NOT NULL,
  `address_line_2` varchar(512) NOT NULL,
  `town` varchar(256) NOT NULL,
  `county` varchar(25) NOT NULL,
  `postcode` varchar(25) NOT NULL,
  `country` varchar(25) NOT NULL,
  `enquiry` text NOT NULL,
  `site_address_line_1` varchar(100) DEFAULT NULL,
  `site_address_line_2` varchar(100) DEFAULT NULL,
  `site_town` varchar(50) DEFAULT NULL,
  `site_county` varchar(50) DEFAULT NULL,
  `site_country` varchar(100) DEFAULT NULL,
  `site_postcode` varchar(20) DEFAULT NULL,
  `invoice_address_line_1` varchar(100) DEFAULT NULL,
  `invoice_address_line_2` varchar(100) DEFAULT NULL,
  `invoice_town` varchar(50) DEFAULT NULL,
  `invoice_county` varchar(50) DEFAULT NULL,
  `invoice_postcode` varchar(20) DEFAULT NULL,
  `invoice_country` varchar(100) DEFAULT NULL,
  `organization` varchar(50) DEFAULT NULL,
  `client_type` varchar(50) DEFAULT NULL,
  `tender_vs_direct_enquiry` varchar(50) DEFAULT NULL,
  `project_type` varchar(50) DEFAULT NULL,
  `rough_budget` varchar(50) DEFAULT NULL,
  `funding` varchar(100) DEFAULT NULL,
  `award_date` date DEFAULT NULL,
  `location` varchar(100) DEFAULT NULL,
  `lead_source` varchar(50) DEFAULT NULL,
  `is_archive` tinyint(4) NOT NULL,
  `archived_on` datetime NOT NULL,
  `archived_by` int(11) NOT NULL,
  `created_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` int(11) DEFAULT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `enq_enquiry_details`
--

INSERT INTO `enq_enquiry_details` (`id`, `company_id`, `enquiry_code`, `company_name`, `first_name`, `last_name`, `address`, `email`, `phone_number`, `address_line_1`, `address_line_2`, `town`, `county`, `postcode`, `country`, `enquiry`, `site_address_line_1`, `site_address_line_2`, `site_town`, `site_county`, `site_country`, `site_postcode`, `invoice_address_line_1`, `invoice_address_line_2`, `invoice_town`, `invoice_county`, `invoice_postcode`, `invoice_country`, `organization`, `client_type`, `tender_vs_direct_enquiry`, `project_type`, `rough_budget`, `funding`, `award_date`, `location`, `lead_source`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(1, 99, 'E-08042026-SPA-01', '', 'Jaykumar', 'Nimbalkar', '', 'WALL_Pik8OiAkXCI5aCExXCc3LDwkNzcSMyUkJS10OitcIg==', 'WALL_ZHF8Z2V+dXhyeW4=', 'At Yeliv Post Purandawade', 'Tal Malshiras Dist Solapur', 'Yeliv', 'Clwyd', '413111', 'India', 'jhgjhg hjgjhg', 'At Yeliv Post Purandawade', 'Tal Malshiras Dist Solapur', 'Yeliv', 'Bedfordshire', 'India', '413111', 'At Yeliv Post Purandawade', 'Tal Malshiras Dist Solapur', 'Yeliv', 'County Down', '413111', 'India', 'Council', 'Contractor', 'Tender', 'Gym', '8000', 'Fully Funded', '2026-04-08', 'London', 'Phone calls', 0, '0000-00-00 00:00:00', 0, '2026-04-08 16:44:16', 1, '2026-04-08 16:44:16', 1),
(2, 87, 'E-08042026-GRE-02', '', 'james', 'cartweight', '', 'WALL_PikoNCYqXCI5Mjg9IzIlJHxiBTU5KSwgbzk2KQ==', 'WALL_YHxwZ2Jxenhyem4=', '2 Tile Farm Rd', 'Kent County', 'Orpington', 'Cambridgeshire', 'BR6 9RZ', 'Guinea', 'lkj lkj ;lk', 'At Yeliv Post Purandawade', 'Tal Malshiras Dist Solapur', 'Yeliv', 'County Down', 'India', '413111', 'At Yeliv Post Purandawade', 'Tal Malshiras Dist Solapur', 'pune', 'County Down', '413111', 'India', 'School', 'Council', 'Tender', 'Playground', '89090', 'Part', '2026-04-09', 'pune', 'Website enquiries', 0, '0000-00-00 00:00:00', 0, '2026-04-08 19:22:22', 1, '2026-04-08 20:10:03', 1);

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

--
-- Table structure for table `enq_enquiry_details_3`
--

CREATE TABLE `enq_enquiry_details_3` (
  `id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `enquiry_code` varchar(255) NOT NULL,
  `company_name` varchar(512) NOT NULL,
  `first_name` varchar(256) NOT NULL,
  `last_name` varchar(256) NOT NULL,
  `address` varchar(512) NOT NULL,
  `email` varchar(512) NOT NULL,
  `phone_number` varchar(50) NOT NULL,
  `address_line_1` varchar(512) NOT NULL,
  `address_line_2` varchar(512) NOT NULL,
  `town` varchar(256) NOT NULL,
  `county` varchar(25) NOT NULL,
  `postcode` varchar(25) NOT NULL,
  `country` varchar(25) NOT NULL,
  `enquiry` text NOT NULL,
  `is_archive` tinyint(4) NOT NULL,
  `archived_on` datetime NOT NULL,
  `archived_by` int(11) NOT NULL,
  `created_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` int(11) DEFAULT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `enq_enquiry_details_3`
--

INSERT INTO `enq_enquiry_details_3` (`id`, `company_id`, `enquiry_code`, `company_name`, `first_name`, `last_name`, `address`, `email`, `phone_number`, `address_line_1`, `address_line_2`, `town`, `county`, `postcode`, `country`, `enquiry`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(30, 89, 'E-310326-SYN-02', '', 'james', 'winget', '', 'WALL_XCcxKzRcJy46CyM3OVwnJSE1YSMu', 'WALL_YX5wZGN8dH1xeQ==', 'down street1', '', 'northampton', 'Northamptonshire', 'NN 234', 'United Kingdom', 'enquiry for products', 0, '0000-00-00 00:00:00', 0, '2026-03-31 14:21:23', 1, '2026-04-01 08:02:44', 1),
(31, 87, 'E-010426-GRE-01', '', 'james', 'cartweight', '', 'WALL_PikoNCYqXCI5Mjg9IzIlJHxiBTU5KSwgbzk2KQ==', 'WALL_YHxwZ2Jxenhyem4=', '2 Tile Farm Rd', 'Kent County', 'Orpington', 'Cambridgeshire', 'BR6 9RZ', 'Guinea', 'product enquiry', 1, '2026-04-02 15:34:42', 1, '2026-04-01 09:57:40', 1, '2026-04-01 10:16:44', 1),
(35, 95, 'E-020426-ANU-03', '', 'anurag', 'mishra', '', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_ZH52aWJ+cXhxfGA=', 'LONDON', 'Raebareli utter Pradesh', 'anuragamity330@gmail.com', '', '226001', 'India', 'AAAAAAAA', 0, '0000-00-00 00:00:00', 0, '2026-04-02 06:55:36', 1, '2026-04-02 06:55:36', 1),
(36, 95, 'E-070426-ANU-04', '', 'anurag', 'mishra', '', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_ZH52aWJ+cXhxfGA=', 'LONDON', 'Raebareli utter Pradesh', 'anuragamity330@gmail.com', 'County Tyrone', '226001', 'India', 'wwwwwwww', 0, '0000-00-00 00:00:00', 0, '2026-04-07 08:38:51', 1, '2026-04-07 08:38:51', 1),
(37, 96, 'E-070426-ROS-05', '', 'jemmy', 'willam', '', 'WALL_JlwnNhEwMVwiJjYjPWQgJg==', 'WALL_YHxwZGB/dn9w', 'downtown', 'street12', 'surrey', 'Surrey', 'NN2344', '', 'newenquiry', 0, '0000-00-00 00:00:00', 0, '2026-04-07 09:52:12', 1, '2026-04-07 09:52:26', 1);

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

--
-- Table structure for table `enq_enquiry_details_history`
--

CREATE TABLE `enq_enquiry_details_history` (
  `id` int(11) NOT NULL,
  `his_id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `enquiry_code` varchar(255) NOT NULL,
  `company_name` varchar(512) NOT NULL,
  `first_name` varchar(256) NOT NULL,
  `last_name` varchar(256) NOT NULL,
  `address` varchar(512) NOT NULL,
  `email` varchar(512) NOT NULL,
  `phone_number` varchar(50) NOT NULL,
  `address_line_1` varchar(512) NOT NULL,
  `address_line_2` varchar(512) NOT NULL,
  `town` varchar(256) NOT NULL,
  `county` varchar(25) NOT NULL,
  `postcode` varchar(25) NOT NULL,
  `country` varchar(25) NOT NULL,
  `enquiry` text NOT NULL,
  `is_archive` tinyint(4) NOT NULL DEFAULT 0,
  `archived_on` datetime DEFAULT NULL,
  `archived_by` int(11) DEFAULT NULL,
  `created_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` int(11) DEFAULT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) DEFAULT NULL,
  `action_type` varchar(255) NOT NULL,
  `history_created_by` int(11) NOT NULL,
  `history_created_on` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `enq_enquiry_details_history`
--

INSERT INTO `enq_enquiry_details_history` (`id`, `his_id`, `company_id`, `enquiry_code`, `company_name`, `first_name`, `last_name`, `address`, `email`, `phone_number`, `address_line_1`, `address_line_2`, `town`, `county`, `postcode`, `country`, `enquiry`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`, `action_type`, `history_created_by`, `history_created_on`) VALUES
(31, 30, 89, 'E-310326-SYN-02', '', 'james', 'winget', '', 'WALL_XCcxKzRcJy46CyM3OVwnJSE1YSMu', 'WALL_YX5wZGN8dH1xeQ==', 'down street1', '', 'northampton', 'Northamptonshire', 'NN 234', 'United Kingdom', 'enquiry for products', 0, '0000-00-00 00:00:00', 0, '2026-03-31 14:21:23', 1, '2026-03-31 14:21:23', 1, 'UPDATE', 1, '2026-03-31 14:46:23'),
(41, 30, 89, 'E-310326-SYN-02', '', 'james', 'winget', '', 'WALL_XCcxKzRcJy46CyM3OVwnJSE1YSMu', 'WALL_YX5wZGN8dH1xeQ==', 'down street1', '', 'northampton', 'Northamptonshire', 'NN 234', 'United Kingdom', 'enquiry for products', 0, '0000-00-00 00:00:00', 0, '2026-03-31 14:21:23', 1, '2026-03-31 14:46:23', 1, 'UPDATE', 1, '2026-03-31 15:15:43'),
(43, 30, 89, 'E-310326-SYN-02', '', 'james', 'winget', '', 'WALL_XCcxKzRcJy46CyM3OVwnJSE1YSMu', 'WALL_YX5wZGN8dH1xeQ==', 'down street1', '', 'northampton', 'Northamptonshire', 'NN 234', 'United Kingdom', 'enquiry for products', 0, '0000-00-00 00:00:00', 0, '2026-03-31 14:21:23', 1, '2026-03-31 15:15:43', 1, 'UPDATE', 1, '2026-03-31 15:19:52'),
(45, 30, 89, 'E-310326-SYN-02', '', 'james', 'winget', '', 'WALL_XCcxKzRcJy46CyM3OVwnJSE1YSMu', 'WALL_YX5wZGN8dH1xeQ==', 'down street1', '', 'northampton', 'Northamptonshire', 'NN 234', 'United Kingdom', 'enquiry for products', 0, '0000-00-00 00:00:00', 0, '2026-03-31 14:21:23', 1, '2026-03-31 15:19:52', 1, 'UPDATE', 1, '2026-04-01 07:53:51'),
(46, 30, 89, 'E-310326-SYN-02', '', 'james', 'winget', '', 'WALL_XCcxKzRcJy46CyM3OVwnJSE1YSMu', 'WALL_YX5wZGN8dH1xeQ==', 'down street1', '', 'northampton', 'Northamptonshire', 'NN 234', 'United Kingdom', 'enquiry for products', 0, '0000-00-00 00:00:00', 0, '2026-03-31 14:21:23', 1, '2026-04-01 07:53:51', 1, 'UPDATE', 1, '2026-04-01 08:02:44'),
(47, 31, 87, 'E-010426-GRE-01', '', 'james', 'cartweight', '', 'WALL_PikoNCYqXCI5Mjg9IzIlJHxiBTU5KSwgbzk2KQ==', 'WALL_YHxwZ2Jxenhyem4=', '2 Tile Farm Rd', 'Kent County', 'Orpington', 'Cambridgeshire', 'BR6 9RZ', 'Guinea', 'product enquiry', 0, '0000-00-00 00:00:00', 0, '2026-04-01 09:57:40', 1, '2026-04-01 09:57:40', 1, 'UPDATE', 1, '2026-04-01 09:57:51'),
(48, 31, 87, 'E-010426-GRE-01', '', 'james', 'cartweight', '', 'WALL_PikoNCYqXCI5Mjg9IzIlJHxiBTU5KSwgbzk2KQ==', 'WALL_YHxwZ2Jxenhyem4=', '2 Tile Farm Rd', 'Kent County', 'Orpington', 'Cambridgeshire', 'BR6 9RZ', 'Guinea', 'product enquiry', 0, '0000-00-00 00:00:00', 0, '2026-04-01 09:57:40', 1, '2026-04-01 09:57:51', 1, 'UPDATE', 1, '2026-04-01 10:16:44'),
(49, 31, 87, 'E-010426-GRE-01', '', 'james', 'cartweight', '', 'WALL_PikoNCYqXCI5Mjg9IzIlJHxiBTU5KSwgbzk2KQ==', 'WALL_YHxwZ2Jxenhyem4=', '2 Tile Farm Rd', 'Kent County', 'Orpington', 'Cambridgeshire', 'BR6 9RZ', 'Guinea', 'product enquiry', 0, '0000-00-00 00:00:00', 0, '2026-04-01 09:57:40', 1, '2026-04-01 10:16:44', 1, 'ARCHIVE', 1, '2026-04-02 14:34:42'),
(50, 37, 96, 'E-070426-ROS-05', '', 'jemmy', 'willam', '', 'WALL_JlwnNhEwMVwiJjYjPWQgJg==', 'WALL_YHxwZGB/dn9w', 'downtown', 'street12', 'surrey', 'Surrey', 'NN2344', '', 'newenquiry', 0, '0000-00-00 00:00:00', 0, '2026-04-07 09:52:12', 1, '2026-04-07 09:52:12', 1, 'UPDATE', 1, '2026-04-07 09:52:26'),
(51, 2, 87, '', '', 'james', 'cartweight', '', 'WALL_PikoNCYqXCI5Mjg9IzIlJHxiBTU5KSwgbzk2KQ==', 'WALL_YHxwZ2Jxenhyem4=', '2 Tile Farm Rd', 'Kent County', 'Orpington', 'Cambridgeshire', 'BR6 9RZ', 'Guinea', 'lkj lkj ;lk', 0, '0000-00-00 00:00:00', 0, '2026-04-08 19:22:22', 1, '2026-04-08 19:22:22', 1, 'UPDATE', 1, '2026-04-08 20:01:37'),
(52, 2, 87, '', '', 'james', 'cartweight', '', 'WALL_PikoNCYqXCI5Mjg9IzIlJHxiBTU5KSwgbzk2KQ==', 'WALL_YHxwZ2Jxenhyem4=', '2 Tile Farm Rd', 'Kent County', 'Orpington', 'Cambridgeshire', 'BR6 9RZ', 'Guinea', 'lkj lkj ;lk', 0, '0000-00-00 00:00:00', 0, '2026-04-08 19:22:22', 1, '2026-04-08 20:01:37', 1, 'UPDATE', 1, '2026-04-08 20:10:03');

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

--
-- Table structure for table `enq_notes_details`
--

CREATE TABLE `enq_notes_details` (
  `id` int(11) NOT NULL,
  `enquiry_id` int(11) NOT NULL,
  `notes` text NOT NULL,
  `is_archive` tinyint(4) NOT NULL,
  `archived_on` datetime NOT NULL,
  `archived_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL,
  `updated_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `enq_notes_details`
--

INSERT INTO `enq_notes_details` (`id`, `enquiry_id`, `notes`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(3, 23, 'new notes', 0, '0000-00-00 00:00:00', 0, '2026-03-13 13:38:50', 1, '2026-03-13 13:38:50', 1),
(6, 29, 'wa', 0, '0000-00-00 00:00:00', 0, '2026-04-01 08:06:10', 1, '0000-00-00 00:00:00', 0),
(7, 30, 'new notes1', 0, '0000-00-00 00:00:00', 0, '2026-04-01 08:53:51', 1, '2026-04-01 09:02:44', 1),
(8, 31, 'new notes', 0, '0000-00-00 00:00:00', 0, '2026-04-01 10:57:51', 1, '2026-04-01 11:16:44', 1),
(9, 37, 'newnotes1', 0, '0000-00-00 00:00:00', 0, '2026-04-07 10:52:26', 1, '2026-04-07 10:52:58', 1),
(10, 32, 'test noityr', 0, '0000-00-00 00:00:00', 0, '2026-04-08 21:16:15', 1, '2026-04-08 21:16:15', 1),
(11, 33, 'test noityr', 0, '0000-00-00 00:00:00', 0, '2026-04-08 21:16:38', 1, '2026-04-08 21:16:38', 1),
(12, 1, 'test jkl', 0, '0000-00-00 00:00:00', 0, '2026-04-08 22:14:16', 1, '2026-04-08 22:14:16', 1),
(13, 2, 'test mn k,', 0, '0000-00-00 00:00:00', 0, '2026-04-09 00:52:22', 1, '2026-04-09 00:52:22', 1);

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

--
-- Table structure for table `groups`
--

CREATE TABLE `groups` (
  `id` int(11) NOT NULL,
  `group_name` varchar(255) NOT NULL,
  `allow_delete` tinyint(4) NOT NULL DEFAULT 1,
  `is_archive` tinyint(4) NOT NULL DEFAULT 0,
  `archived_by` int(11) NOT NULL,
  `archive_date` datetime DEFAULT NULL,
  `created_on` datetime DEFAULT NULL,
  `created_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL,
  `updated_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `groups`
--

INSERT INTO `groups` (`id`, `group_name`, `allow_delete`, `is_archive`, `archived_by`, `archive_date`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(1, 'Admin', 0, 0, 0, NULL, NULL, 0, '0000-00-00 00:00:00', 0),
(2, 'User', 0, 0, 0, NULL, NULL, 0, '0000-00-00 00:00:00', 0),
(3, 'Operative', 1, 0, 0, NULL, NULL, 0, '2026-01-08 15:05:36', 1);

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

--
-- Table structure for table `groups_history`
--

CREATE TABLE `groups_history` (
  `id` int(11) NOT NULL,
  `his_id` int(11) NOT NULL,
  `group_name` varchar(255) NOT NULL,
  `allow_delete` tinyint(4) NOT NULL DEFAULT 1,
  `is_archive` tinyint(4) NOT NULL DEFAULT 0,
  `archived_by` int(11) NOT NULL,
  `archive_date` datetime DEFAULT NULL,
  `created_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `history_created_by` int(11) NOT NULL,
  `history_created_on` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `groups_history`
--

INSERT INTO `groups_history` (`id`, `his_id`, `group_name`, `allow_delete`, `is_archive`, `archived_by`, `archive_date`, `created_on`, `created_by`, `updated_on`, `updated_by`, `history_created_by`, `history_created_on`) VALUES
(1, 3, 'Manager', 1, 0, 0, NULL, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, 1, '2026-01-08 15:01:34'),
(2, 3, 'Manager..', 1, 0, 0, NULL, '0000-00-00 00:00:00', 0, '2026-01-08 15:01:34', 1, 1, '2026-01-08 15:05:36'),
(3, 6, 'test123', 1, 0, 0, NULL, '2026-01-07 18:04:53', 1, '2026-01-07 18:47:32', 1, 1, '2026-01-08 16:08:34'),
(4, 5, 'Staff', 1, 0, 0, NULL, '0000-00-00 00:00:00', 0, '2026-01-09 10:20:16', 1, 1, '2026-01-09 10:34:02'),
(5, 5, 'Staff', 1, 1, 1, '2026-01-09 10:34:02', '0000-00-00 00:00:00', 0, '2026-01-09 10:20:16', 1, 1, '2026-01-09 10:39:59'),
(6, 7, 'sample', 1, 0, 0, NULL, '2026-01-07 18:33:56', 1, '2026-01-07 18:33:56', 1, 1, '2026-01-22 14:22:39'),
(7, 7, 'sample', 1, 1, 1, '2026-01-22 14:22:39', '2026-01-07 18:33:56', 1, '2026-01-07 18:33:56', 1, 1, '2026-01-22 14:25:20'),
(8, 7, 'sample', 1, 0, 0, NULL, '2026-01-07 18:33:56', 1, '2026-01-22 14:25:20', 1, 1, '2026-03-02 14:19:01'),
(9, 8, 'sample 12345', 1, 0, 0, NULL, '2026-01-08 14:50:48', 1, '2026-01-08 14:50:48', 1, 1, '2026-03-02 14:19:27'),
(10, 5, 'Staff', 1, 0, 0, NULL, '0000-00-00 00:00:00', 0, '2026-01-09 10:39:59', 1, 1, '2026-03-02 14:20:07');

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

--
-- Table structure for table `inv_credit_mapping`
--

CREATE TABLE `inv_credit_mapping` (
  `id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `inv_credit_id` int(11) NOT NULL,
  `item_name` varchar(255) DEFAULT NULL,
  `qty` int(11) DEFAULT 0,
  `unit_price` decimal(10,2) DEFAULT 0.00
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `inv_credit_notes`
--

CREATE TABLE `inv_credit_notes` (
  `id` int(11) NOT NULL,
  `invoice_credit_number` varchar(100) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `reason` text DEFAULT NULL,
  `date` date DEFAULT NULL,
  `total_before_vat` decimal(10,2) DEFAULT 0.00,
  `vat_amount` decimal(10,2) DEFAULT 0.00,
  `total_after_vat` decimal(10,2) DEFAULT 0.00,
  `created_by` int(11) DEFAULT NULL,
  `created_on` datetime DEFAULT current_timestamp(),
  `updated_on` datetime DEFAULT current_timestamp(),
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `inv_invoices`
--

CREATE TABLE `inv_invoices` (
  `id` int(11) NOT NULL,
  `invoice_reference` varchar(255) NOT NULL,
  `invoice_date` date NOT NULL,
  `due_date` date NOT NULL,
  `payment_terms_days` varchar(250) NOT NULL DEFAULT '0',
  `status` varchar(250) NOT NULL DEFAULT '0',
  `customer_type` varchar(250) NOT NULL,
  `sales_order_id` int(11) DEFAULT NULL,
  `sub_total` decimal(10,2) NOT NULL DEFAULT 0.00,
  `vat_total` decimal(10,2) NOT NULL DEFAULT 0.00,
  `grand_total` decimal(10,2) NOT NULL DEFAULT 0.00,
  `is_archive` int(11) NOT NULL,
  `archived_by` int(11) NOT NULL,
  `archived_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `inv_invoices`
--

INSERT INTO `inv_invoices` (`id`, `invoice_reference`, `invoice_date`, `due_date`, `payment_terms_days`, `status`, `customer_type`, `sales_order_id`, `sub_total`, `vat_total`, `grand_total`, `is_archive`, `archived_by`, `archived_on`, `created_by`, `created_on`, `updated_by`, `updated_on`) VALUES
(19, 'I-020426-01', '2026-04-02', '0000-00-00', '', '3', '', 12, 0.00, 0.00, 0.00, 0, 0, '0000-00-00 00:00:00', 1, '2026-04-08 10:47:14', 1, '2026-04-08 09:47:14'),
(20, 'I-080426-02', '2026-04-08', '0000-00-00', '', '1', '', 8, 0.00, 0.00, 1852.60, 0, 0, '0000-00-00 00:00:00', 1, '2026-04-08 13:06:09', 1, '2026-04-08 12:06:09');

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

--
-- Table structure for table `inv_invoices_history`
--

CREATE TABLE `inv_invoices_history` (
  `id` int(11) NOT NULL,
  `his_id` int(11) NOT NULL,
  `invoice_reference` varchar(255) NOT NULL,
  `invoice_date` date NOT NULL,
  `due_date` date NOT NULL,
  `payment_terms_days` varchar(250) NOT NULL DEFAULT '0',
  `status` varchar(250) NOT NULL DEFAULT '0',
  `customer_type` varchar(250) NOT NULL,
  `company_id` varchar(250) DEFAULT NULL,
  `sub_total` decimal(10,2) NOT NULL DEFAULT 0.00,
  `vat_total` decimal(10,2) NOT NULL DEFAULT 0.00,
  `grand_total` decimal(10,2) NOT NULL DEFAULT 0.00,
  `is_archive` int(11) NOT NULL,
  `archived_by` int(11) NOT NULL,
  `archived_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `action_type` varchar(255) NOT NULL,
  `history_created_by` int(11) NOT NULL,
  `history_created_on` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `inv_invoices_history`
--

INSERT INTO `inv_invoices_history` (`id`, `his_id`, `invoice_reference`, `invoice_date`, `due_date`, `payment_terms_days`, `status`, `customer_type`, `company_id`, `sub_total`, `vat_total`, `grand_total`, `is_archive`, `archived_by`, `archived_on`, `created_by`, `created_on`, `updated_by`, `updated_on`, `action_type`, `history_created_by`, `history_created_on`) VALUES
(48, 19, 'I-020426-01', '2026-04-02', '0000-00-00', '', '5', '', '12', 0.00, 0.00, 40.06, 0, 0, '0000-00-00 00:00:00', 1, '2026-04-02 09:13:50', 1, '2026-04-02 08:13:50', 'UPDATE', 1, '2026-04-07 09:09:15'),
(49, 19, 'I-020426-01', '2026-04-02', '0000-00-00', '', '4', '', '12', 0.00, 0.00, 0.00, 0, 0, '0000-00-00 00:00:00', 1, '2026-04-07 10:09:15', 1, '2026-04-07 09:09:15', 'UPDATE', 1, '2026-04-08 09:47:14');

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

--
-- Table structure for table `inv_items`
--

CREATE TABLE `inv_items` (
  `id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `item_name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `quantity` int(11) NOT NULL DEFAULT 1,
  `unit_price` decimal(10,2) NOT NULL DEFAULT 0.00,
  `vat_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `vat_amount` decimal(10,2) NOT NULL DEFAULT 0.00,
  `line_total` decimal(10,2) NOT NULL DEFAULT 0.00,
  `created_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `inv_payment_history`
--

CREATE TABLE `inv_payment_history` (
  `id` int(10) UNSIGNED NOT NULL,
  `invoice_id` int(10) UNSIGNED NOT NULL,
  `payment_reference` varchar(255) NOT NULL,
  `payment_date` date NOT NULL,
  `payment_method` varchar(100) NOT NULL,
  `reference_no` varchar(150) DEFAULT NULL,
  `amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `notes` text DEFAULT NULL,
  `created_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `inv_payment_installments`
--

CREATE TABLE `inv_payment_installments` (
  `id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `percentage` double NOT NULL,
  `payment_amount` double NOT NULL,
  `payment_due_date` datetime NOT NULL,
  `payment_date` datetime DEFAULT NULL,
  `created_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `inv_payment_installments`
--

INSERT INTO `inv_payment_installments` (`id`, `invoice_id`, `percentage`, `payment_amount`, `payment_due_date`, `payment_date`, `created_on`, `updated_on`) VALUES
(1, 13, 0.04, 1, '2026-04-02 00:00:00', '2026-03-25 00:00:00', '2026-03-12 13:04:26', '2026-03-20 08:16:38'),
(2, 15, 20, 119.2, '2026-03-25 00:00:00', '2026-03-24 00:00:00', '2026-03-20 08:16:53', '2026-03-20 08:16:53');

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

--
-- Table structure for table `item_attributes`
--

CREATE TABLE `item_attributes` (
  `id` int(11) NOT NULL,
  `item_id` int(11) NOT NULL,
  `weight` varchar(50) DEFAULT NULL,
  `weight_unit` varchar(20) DEFAULT NULL,
  `length` varchar(50) DEFAULT NULL,
  `length_unit` varchar(20) DEFAULT NULL,
  `width` varchar(50) DEFAULT NULL,
  `width_unit` varchar(20) DEFAULT NULL,
  `height` varchar(50) DEFAULT NULL,
  `height_unit` varchar(20) DEFAULT NULL,
  `thickness` varchar(50) DEFAULT NULL,
  `thickness_unit` varchar(20) DEFAULT NULL,
  `pack_size` varchar(50) DEFAULT NULL,
  `pack_size_unit` varchar(20) DEFAULT NULL,
  `item_color` varchar(50) DEFAULT NULL,
  `created_on` datetime DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_on` datetime DEFAULT current_timestamp(),
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `item_attributes`
--

INSERT INTO `item_attributes` (`id`, `item_id`, `weight`, `weight_unit`, `length`, `length_unit`, `width`, `width_unit`, `height`, `height_unit`, `thickness`, `thickness_unit`, `pack_size`, `pack_size_unit`, `item_color`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(1, 6, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-06 10:27:57', 1, '2026-03-27 12:04:35', 1),
(2, 7, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-07 09:52:50', 1, '2026-03-07 09:53:05', 1),
(3, 13, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-09 10:44:40', 1, '2026-03-09 10:44:40', 1),
(4, 57, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-10 14:11:01', 1, '2026-03-10 14:24:24', 1),
(5, 58, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-10 14:33:42', 1, '2026-03-10 14:41:11', 1),
(6, 59, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-10 14:53:28', 1, '2026-03-10 15:08:49', 1),
(7, 60, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-10 15:25:22', 1, '2026-03-10 16:05:49', 1),
(8, 61, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-10 15:34:28', 1, '2026-03-10 16:05:13', 1),
(9, 62, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-10 15:58:38', 1, '2026-03-10 15:58:38', 1),
(10, 63, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-10 16:08:58', 1, '2026-03-10 16:08:58', 1),
(11, 64, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-10 16:23:10', 1, '2026-03-10 16:23:10', 1),
(12, 66, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-10 16:35:02', 1, '2026-03-10 16:35:02', 1),
(13, 67, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-11 05:05:14', 1, '2026-03-11 05:30:15', 1),
(14, 68, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-11 07:23:42', 1, '2026-03-11 07:24:24', 1),
(15, 69, '01', '66', '112', '67', '1', '67', '', '67', '1', '67', '12', '146', '#e36d6d', '2026-03-13 14:28:53', 1, '2026-03-13 14:30:24', 1),
(16, 16, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-26 11:41:41', 1, '2026-03-26 11:41:41', 1),
(17, 43, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-26 11:43:00', 1, '2026-03-26 11:43:00', 1),
(18, 19, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-27 12:02:12', 1, '2026-03-27 12:02:12', 1),
(19, 8, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-27 12:03:31', 1, '2026-03-27 12:03:31', 1),
(20, 37, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-03-27 12:05:04', 1, '2026-03-27 12:05:04', 1),
(21, 9, '', '', '', '', '', '', '', '', '', '', '1', '146', '#000000', '2026-04-07 11:11:06', 1, '2026-04-07 11:11:27', 1),
(22, 112, '', '', '', '', '', '', '', '', '', '', '1', '146', '#f2b1b1', '2026-04-08 14:17:47', 1, '2026-04-08 14:17:47', 1);

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

--
-- Table structure for table `item_documents`
--

CREATE TABLE `item_documents` (
  `id` int(11) NOT NULL,
  `item_id` int(11) NOT NULL,
  `doc_type` int(11) DEFAULT NULL COMMENT 'Linked to keycode.id',
  `document_name` varchar(255) DEFAULT NULL COMMENT 'Original File Name',
  `document_file` varchar(255) DEFAULT NULL COMMENT 'System File Name',
  `created_on` datetime DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `item_documents`
--

INSERT INTO `item_documents` (`id`, `item_id`, `doc_type`, `document_name`, `document_file`, `created_on`, `created_by`) VALUES
(3, 6, 68, 'Pending Order Report.xlsx', '1772448013_581.xlsx', '2026-03-02 10:40:13', 1),
(4, 6, 68, 'Roger.txt', '1772448013_958.txt', '2026-03-02 10:40:13', 1),
(5, 6, 68, 'Consumer Terms and Conditions - Freeths 18.12.25 (002).docx', '1772448013_799.docx', '2026-03-02 10:40:13', 1),
(6, 6, 68, '20260201_VATupdated_withalllines (2).xlsx', '1772448013_351.xlsx', '2026-03-02 10:40:13', 1),
(8, 6, 68, 'buddies.png', '1772448163_676.png', '2026-03-02 10:42:43', 1),
(9, 5, 53, 'file_example_XLSX_50.xlsx', '1772545450_514.xlsx', '2026-03-03 13:44:10', 1),
(10, 7, 96, 'AD..-2.50x2.50-r - Copy.jpg', '1773412575_486.jpg', '2026-03-13 14:36:15', 1),
(11, 69, 96, 'AD..-2.50x2.50-r - Copy.jpg', '1773412592_288.jpg', '2026-03-13 14:36:32', 1),
(12, 69, 96, 'test.jpg', '1773412609_258.jpg', '2026-03-13 14:36:49', 1);

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

--
-- Table structure for table `item_item_management`
--

CREATE TABLE `item_item_management` (
  `id` int(11) NOT NULL,
  `product_code` varchar(100) DEFAULT NULL,
  `product_name` varchar(255) DEFAULT NULL,
  `product_sku` varchar(100) DEFAULT NULL,
  `product_description` text DEFAULT NULL,
  `sales_price` varchar(50) DEFAULT NULL,
  `discount` varchar(50) DEFAULT NULL,
  `nominal_code` varchar(50) DEFAULT NULL,
  `vat_category` int(11) DEFAULT NULL,
  `currency` int(11) DEFAULT NULL,
  `QRCode` text DEFAULT NULL,
  `url_main_id` int(11) DEFAULT NULL,
  `image_main_id` int(11) DEFAULT NULL,
  `product_barcode_file` varchar(255) DEFAULT NULL,
  `barcode_text` varchar(100) DEFAULT NULL,
  `general_file` varchar(255) DEFAULT NULL,
  `is_archive` tinyint(1) DEFAULT 0,
  `archived_by` int(11) DEFAULT NULL,
  `archived_on` datetime DEFAULT NULL,
  `created_on` datetime DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_on` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `item_item_management`
--

INSERT INTO `item_item_management` (`id`, `product_code`, `product_name`, `product_sku`, `product_description`, `sales_price`, `discount`, `nominal_code`, `vat_category`, `currency`, `QRCode`, `url_main_id`, `image_main_id`, `product_barcode_file`, `barcode_text`, `general_file`, `is_archive`, `archived_by`, `archived_on`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(5, 'Test', 'Test', '', '', '222', '', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-02-26 15:33:59', 1, '2026-02-26 15:33:59', 1),
(6, '789789789789', 'Honey Bottle', 'HONBOT001', 'Honey with a hint of Cinnamon', '6.50', '0.00', '0112233445566778899', 61, 62, '', NULL, 1, '1825727701_Outlook-0fobfjsj.png', '', NULL, 0, 1, '2026-03-11 11:38:01', '2026-03-02 10:33:51', 1, '2026-03-27 12:04:35', 1),
(7, 'ST001', 'Ballpoint Pen Blue', 'SKU-ST-001', 'Blue medium ballpoint pen', '0.50', '0', 'ST4001', 0, 0, 'img1.jpg', NULL, NULL, 'bc1.png', '500000000001', 'file1.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-07 09:53:05', 1),
(8, 'ST002', 'Ballpoint Pen Black', 'SKU-ST-002', 'Black medium ballpoint pen', '0.50', '0', 'ST4001', 61, 71, 'img2.jpg', NULL, NULL, 'bc2.png', '500000000002', 'file2.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-27 12:03:31', 1),
(9, 'ST003', 'Gel Pen Red', 'SKU-ST-003', 'Red smooth gel pen', '0.75', '0', 'ST4001', 0, 0, 'img3.jpg', NULL, NULL, 'bc3.png', '500000000003', 'file3.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-04-07 11:11:27', 1),
(10, 'ST004', 'HB Pencil', 'SKU-ST-004', 'HB graphite pencil', '0.30', '0', 'ST4002', 0, 0, 'img4.jpg', NULL, NULL, 'bc4.png', '500000000004', 'file4.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(11, 'ST005', 'Notebook A4', 'SKU-ST-005', 'A4 ruled notebook 200 pages', '3.00', '5', 'ST4003', 0, 0, 'img5.jpg', NULL, NULL, 'bc5.png', '500000000005', 'file5.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(12, 'ST006', 'Notebook A5', 'SKU-ST-006', 'A5 ruled notebook 100 pages', '2.20', '0', 'ST4003', 0, 0, 'img6.jpg', NULL, NULL, 'bc6.png', '500000000006', 'file6.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(13, 'ST007', 'Sticky Notes Yellow', 'SKU-ST-007', '75x75mm sticky notes pad', '1.20', '0', 'ST4004', 0, 0, 'img7.jpg', NULL, NULL, 'bc7.png', '500000000007', 'file7.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-09 10:44:40', 1),
(14, 'ST008', 'Highlighter Assorted', 'SKU-ST-008', 'Assorted colour highlighters', '1.00', '0', 'ST4001', 0, 0, 'img8.jpg', NULL, NULL, 'bc8.png', '500000000008', 'file8.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(15, 'ST009', 'Permanent Marker Black', 'SKU-ST-009', 'Black chisel tip marker', '1.25', '0', 'ST4001', 0, 0, 'img9.jpg', NULL, NULL, 'bc9.png', '500000000009', 'file9.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(16, 'ST010', 'Whiteboard Marker Blue', 'SKU-ST-010', 'Blue dry wipe marker', '1.40', '0', 'ST4001', 0, 0, 'img10.jpg', NULL, NULL, 'bc10.png', '500000000010', 'file10.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-26 11:41:41', 1),
(17, 'ST011', 'Eraser Small', 'SKU-ST-011', 'Small rubber eraser', '0.25', '0', 'ST4002', 0, 0, 'img11.jpg', NULL, NULL, 'bc11.png', '500000000011', 'file11.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(18, 'ST012', 'Sharpener Metal', 'SKU-ST-012', 'Single hole metal sharpener', '0.40', '0', 'ST4002', 0, 0, 'img12.jpg', NULL, NULL, 'bc12.png', '500000000012', 'file12.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(19, 'ST013', 'Ruler 30cm', 'SKU-ST-013', 'Clear plastic ruler 30cm', '0.70', '0', 'ST4005', 0, 0, 'img13.jpg', NULL, NULL, 'bc13.png', '500000000013', 'file13.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-27 12:02:12', 1),
(20, 'ST014', 'Glue Stick 20g', 'SKU-ST-014', '20g glue stick', '0.90', '0', 'ST4006', 0, 0, 'img14.jpg', NULL, NULL, 'bc14.png', '500000000014', 'file14.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(21, 'ST015', 'Scissors 8inch', 'SKU-ST-015', '8 inch office scissors', '2.80', '0', 'ST4007', 0, 0, 'img15.jpg', NULL, NULL, 'bc15.png', '500000000015', 'file15.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(22, 'ST016', 'Paper Clips 33mm', 'SKU-ST-016', 'Box of 100 paper clips', '0.95', '0', 'ST4008', 0, 0, 'img16.jpg', NULL, NULL, 'bc16.png', '500000000016', 'file16.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(23, 'ST017', 'Stapler Standard', 'SKU-ST-017', 'Standard desktop stapler', '5.50', '5', 'ST4009', 0, 0, 'img17.jpg', NULL, NULL, 'bc17.png', '500000000017', 'file17.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(24, 'ST018', 'Staples 26/6', 'SKU-ST-018', 'Box of 1000 staples', '1.60', '0', 'ST4009', 0, 0, 'img18.jpg', NULL, NULL, 'bc18.png', '500000000018', 'file18.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(25, 'ST019', 'A4 Copier Paper', 'SKU-ST-019', '500 sheets A4 copier paper', '6.50', '0', 'ST4010', 0, 0, 'img19.jpg', NULL, NULL, 'bc19.png', '500000000019', 'file19.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(26, 'ST020', 'Lever Arch File', 'SKU-ST-020', 'A4 lever arch file', '3.90', '0', 'ST4011', 0, 0, 'img20.jpg', NULL, NULL, 'bc20.png', '500000000020', 'file20.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(27, 'ST021', 'Ring Binder A4', 'SKU-ST-021', 'A4 2-ring binder file', '3.20', '0', 'ST4011', 0, 0, 'img21.jpg', NULL, NULL, 'bc21.png', '500000000021', 'file21.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(28, 'ST022', 'Document Wallet', 'SKU-ST-022', 'Clear A4 document wallet', '0.70', '0', 'ST4012', 0, 0, 'img22.jpg', NULL, NULL, 'bc22.png', '500000000022', 'file22.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(29, 'ST023', 'Desk Organiser', 'SKU-ST-023', 'Plastic desk organiser tray', '6.50', '0', 'ST4013', 0, 0, 'img23.jpg', NULL, NULL, 'bc23.png', '500000000023', 'file23.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(30, 'ST024', 'Calculator Basic', 'SKU-ST-024', '12 digit desk calculator', '9.50', '5', 'ST4014', 0, 0, 'img24.jpg', NULL, NULL, 'bc24.png', '500000000024', 'file24.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(31, 'ST025', 'Correction Tape', 'SKU-ST-025', '5mm correction tape', '1.40', '0', 'ST4015', 0, 0, 'img25.jpg', NULL, NULL, 'bc25.png', '500000000025', 'file25.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(32, 'ST026', 'Envelope C4', 'SKU-ST-026', 'C4 brown envelope pack', '4.80', '0', 'ST4016', 0, 0, 'img26.jpg', NULL, NULL, 'bc26.png', '500000000026', 'file26.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(33, 'ST027', 'Envelope DL', 'SKU-ST-027', 'DL white envelope pack', '3.90', '0', 'ST4016', 0, 0, 'img27.jpg', NULL, NULL, 'bc27.png', '500000000027', 'file27.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(34, 'ST028', 'Packing Tape Clear', 'SKU-ST-028', '48mm clear packing tape', '2.20', '0', 'ST4017', 0, 0, 'img28.jpg', NULL, NULL, 'bc28.png', '500000000028', 'file28.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(35, 'ST029', 'Masking Tape', 'SKU-ST-029', '24mm masking tape roll', '1.80', '0', 'ST4017', 0, 0, 'img29.jpg', NULL, NULL, 'bc29.png', '500000000029', 'file29.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(36, 'ST030', 'Flipchart Pad', 'SKU-ST-030', 'A1 flipchart pad 40 sheets', '11.00', '5', 'ST4018', 0, 0, 'img30.jpg', NULL, NULL, 'bc30.png', '500000000030', 'file30.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(37, 'ST031', 'Clipboard A4', 'SKU-ST-031', 'A4 wooden clipboard', '3.50', '0', 'ST4019', 0, 0, 'img31.jpg', NULL, NULL, 'bc31.png', '500000000031', 'file31.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-27 12:05:04', 1),
(38, 'ST032', 'Index Dividers A4', 'SKU-ST-032', 'A4 coloured dividers set', '1.90', '0', 'ST4020', 0, 0, 'img32.jpg', NULL, NULL, 'bc32.png', '500000000032', 'file32.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(39, 'ST033', 'Binder Clips Large', 'SKU-ST-033', 'Large black binder clips', '1.50', '0', 'ST4008', 0, 0, 'img33.jpg', NULL, NULL, 'bc33.png', '500000000033', 'file33.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(40, 'ST034', 'Binder Clips Small', 'SKU-ST-034', 'Small black binder clips', '1.20', '0', 'ST4008', 0, 0, 'img34.jpg', NULL, NULL, 'bc34.png', '500000000034', 'file34.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(41, 'ST035', 'Desk Pad A2', 'SKU-ST-035', 'A2 desk writing pad', '8.50', '0', 'ST4021', 0, 0, 'img35.jpg', NULL, NULL, 'bc35.png', '500000000035', 'file35.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(42, 'ST036', 'Label Stickers', 'SKU-ST-036', 'Self adhesive label pack', '2.10', '0', 'ST4022', 0, 0, 'img36.jpg', NULL, NULL, 'bc36.png', '500000000036', 'file36.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(43, 'ST037', 'Whiteboard Eraser', 'SKU-ST-037', 'Magnetic whiteboard eraser', '2.80', '0', 'ST4023', 0, 0, 'img37.jpg', NULL, NULL, 'bc37.png', '500000000037', 'file37.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-26 11:43:00', 1),
(44, 'ST038', 'Push Pins', 'SKU-ST-038', 'Box of coloured push pins', '1.30', '0', 'ST4024', 0, 0, 'img38.jpg', NULL, NULL, 'bc38.png', '500000000038', 'file38.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(45, 'ST039', 'Drawing Compass', 'SKU-ST-039', 'Metal drawing compass set', '3.50', '0', 'ST4025', 0, 0, 'img39.jpg', NULL, NULL, 'bc39.png', '500000000039', 'file39.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(46, 'ST040', 'Protractor 180', 'SKU-ST-040', '180 degree plastic protractor', '0.90', '0', 'ST4025', 0, 0, 'img40.jpg', NULL, NULL, 'bc40.png', '500000000040', 'file40.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(47, 'ST041', 'Graph Paper Pad', 'SKU-ST-041', 'A4 graph paper pad', '3.90', '0', 'ST4018', 0, 0, 'img41.jpg', NULL, NULL, 'bc41.png', '500000000041', 'file41.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(48, 'ST042', 'Cash Book', 'SKU-ST-042', 'A4 petty cash book', '4.80', '0', 'ST4018', 0, 0, 'img42.jpg', NULL, NULL, 'bc42.png', '500000000042', 'file42.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(49, 'ST043', 'Visitor Book', 'SKU-ST-043', 'Hardcover visitor sign-in book', '6.80', '0', 'ST4018', 0, 0, 'img43.jpg', NULL, NULL, 'bc43.png', '500000000043', 'file43.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(50, 'ST044', 'Time Sheet Pad', 'SKU-ST-044', 'Employee time sheet pad', '3.20', '0', 'ST4018', 0, 0, 'img44.jpg', NULL, NULL, 'bc44.png', '500000000044', 'file44.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(51, 'ST045', 'Desk Calendar', 'SKU-ST-045', '2026 desk calendar', '6.00', '0', 'ST4026', 0, 0, 'img45.jpg', NULL, NULL, 'bc45.png', '500000000045', 'file45.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(52, 'ST046', 'Wall Calendar', 'SKU-ST-046', '2026 wall calendar', '7.00', '0', 'ST4026', 0, 0, 'img46.jpg', NULL, NULL, 'bc46.png', '500000000046', 'file46.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(53, 'ST047', 'Printer Labels A4', 'SKU-ST-047', 'A4 printer labels 100 sheets', '8.90', '0', 'ST4022', 0, 0, 'img47.jpg', NULL, NULL, 'bc47.png', '500000000047', 'file47.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(54, 'ST048', 'Expanding File', 'SKU-ST-048', 'A4 expanding document file', '5.80', '0', 'ST4011', 0, 0, 'img48.jpg', NULL, NULL, 'bc48.png', '500000000048', 'file48.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(55, 'ST049', 'Name Badges', 'SKU-ST-049', 'Clip-on name badge pack', '2.90', '0', 'ST4027', 0, 0, 'img49.jpg', NULL, NULL, 'bc49.png', '500000000049', 'file49.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(56, 'ST050', 'Desk Lamp LED', 'SKU-ST-050', 'LED adjustable desk lamp', '16.00', '5', 'ST4028', 0, 0, 'img50.jpg', NULL, NULL, 'bc50.png', '500000000050', 'file50.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(57, '000123', 'Mobile', '1000002', 'Mobile', '110', '', '111', 106, 71, '', NULL, 4, '432942422_images.jpg', 'abc', NULL, 1, 1, '2026-03-25 03:27:05', '2026-03-10 14:06:31', 1, '2026-03-10 14:24:24', 1),
(58, '000124', 'Earphone', '10000000000023', 'Earphone 1020', '15', '', '2222', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 14:13:31', 1, '2026-03-10 14:41:11', 1),
(59, 'pc1', 'lether', 'sku-1', '', '250', '10', '', 0, 0, '', NULL, NULL, '', '', NULL, 1, 1, '2026-03-10 16:05:25', '2026-03-10 14:48:46', 1, '2026-03-10 15:08:49', 1),
(60, 'pc-2', 'tablet', 'sku-1', '', '200', '20', '', 0, 0, '', NULL, NULL, '', '', NULL, 1, 1, '2026-03-10 16:08:49', '2026-03-10 15:25:00', 1, '2026-03-10 16:05:49', 1),
(61, 'PC 03', 'Keyboard', 'sku-1', '', '300', '20', '001', 61, 62, '', NULL, NULL, '', '', NULL, 1, 1, '2026-03-10 16:05:36', '2026-03-10 15:31:52', 1, '2026-03-10 16:05:13', 1),
(62, 'P C', 'lether1', 'sku-1', '', '200', '10', '', 0, 0, '', NULL, NULL, '', '', NULL, 1, 1, '2026-03-10 16:05:40', '2026-03-10 15:57:58', 1, '2026-03-10 15:58:38', 1),
(63, 'P C', 'tablet', 'sku-1', 'tablet', '200', '10', '', 0, 0, '', NULL, NULL, '', '', NULL, 1, 1, '2026-03-10 16:09:33', '2026-03-10 16:07:27', 1, '2026-03-10 16:08:58', 1),
(64, 'P C', 'tablet', 'sku-1', '', '200', '10', '', 0, 0, '', NULL, NULL, '', '', NULL, 1, 1, '2026-03-11 07:23:55', '2026-03-10 16:09:50', 1, '2026-03-10 16:23:10', 1),
(65, 'P C', 'tablet', 'sku-1', '', '200', '30', '', 0, 0, '', NULL, NULL, '', '', NULL, 1, 1, '2026-03-10 16:22:48', '2026-03-10 16:22:39', 1, '2026-03-10 16:22:39', 1),
(66, 'P C', 'lether1', 'sku-1', '', '300', '20', '', 0, 0, '', NULL, NULL, '', '', NULL, 1, 1, '2026-03-11 05:03:31', '2026-03-10 16:34:35', 1, '2026-03-10 16:35:02', 1),
(67, 'product code01', 'rubber', 'SKU0', 'RUBBER_RTY', '220', '10', 'NC1', 61, 70, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-11 05:04:29', 1, '2026-03-11 05:30:15', 1),
(68, 'product code test1', 'table', '001', 'table', '150', '10', '100a', 61, 62, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-11 07:23:14', 1, '2026-03-11 07:24:24', 1),
(69, 'PT00122', 'pen', 'pt0012345', '', '100', '5', '', 106, 62, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-13 14:27:36', 1, '2026-03-13 14:30:24', 1),
(70, 'P1001', 'Wireless Mouse', 'WM-001', 'Ergonomic wireless mouse with USB receiver', '19.99', '0', 'NC100', 1, 1, 'QR1001', 10, 101, 'barcode_1001.png', '123456789012', 'manual_mouse.pdf', 0, NULL, NULL, '2026-03-16 14:59:26', 1, '2026-03-16 14:59:26', 1),
(71, 'P1002', 'Mechanical Keyboard', 'MK-002', 'RGB mechanical keyboard with blue switches', '79.99', '5', 'NC101', 1, 1, 'QR1002', 11, 102, 'barcode_1002.png', '123456789013', 'manual_keyboard.pdf', 0, NULL, NULL, '2026-03-16 14:59:26', 1, '2026-03-16 14:59:26', 1),
(72, 'P1003', '27 Inch Monitor', 'MN-003', 'Full HD LED monitor with HDMI support', '189.99', '10', 'NC102', 1, 1, 'QR1003', 12, 103, 'barcode_1003.png', '123456789014', 'manual_monitor.pdf', 0, NULL, NULL, '2026-03-16 14:59:26', 2, '2026-03-16 14:59:26', 2),
(73, 'P1004', 'USB-C Docking Station', 'DS-004', 'Multiport USB-C docking station with HDMI and Ethernet', '59.99', '0', 'NC103', 1, 1, 'QR1004', 13, 104, 'barcode_1004.png', '123456789015', 'manual_dock.pdf', 0, NULL, NULL, '2026-03-16 14:59:26', 2, '2026-03-16 14:59:26', 2),
(74, 'P1005', 'External SSD 1TB', 'SSD-005', 'Portable 1TB external SSD with USB 3.2', '129.99', '15', 'NC104', 1, 1, 'QR1005', 14, 105, 'barcode_1005.png', '123456789016', 'manual_ssd.pdf', 0, NULL, NULL, '2026-03-16 14:59:26', 3, '2026-03-16 14:59:26', 3),
(75, 'P001', 'Wireless Mouse', 'SKU-WM-001', 'Ergonomic wireless mouse', '25.99', '5%', 'NC1001', 1, 1, 'QR001', 101, 201, 'barcode1.png', '1234567890123', 'file1.pdf', 0, NULL, NULL, '2026-03-17 10:14:03', 1, '2026-03-17 10:14:03', 1),
(76, 'P002', 'Mechanical Keyboard', 'SKU-MK-002', 'RGB mechanical keyboard', '79.99', '10%', 'NC1002', 1, 1, 'QR002', 102, 202, 'barcode2.png', '1234567890124', 'file2.pdf', 0, NULL, NULL, '2026-03-17 10:14:03', 1, '2026-03-17 10:14:03', 1),
(77, 'P003', 'USB-C Charger', 'SKU-UC-003', 'Fast charging USB-C adapter', '19.99', '0%', 'NC1003', 1, 1, 'QR003', 103, 203, 'barcode3.png', '1234567890125', 'file3.pdf', 0, NULL, NULL, '2026-03-17 10:14:03', 1, '2026-03-17 10:14:03', 1),
(78, 'P004', 'Bluetooth Speaker', 'SKU-BS-004', 'Portable Bluetooth speaker', '49.99', '15%', 'NC1004', 1, 1, 'QR004', 104, 204, 'barcode4.png', '1234567890126', 'file4.pdf', 0, NULL, NULL, '2026-03-17 10:14:03', 1, '2026-03-17 10:14:03', 1),
(79, 'P005', 'Webcam HD', 'SKU-WC-005', '1080p HD webcam', '39.99', '8%', 'NC1005', 1, 1, 'QR005', 105, 205, 'barcode5.png', '1234567890127', 'file5.pdf', 0, NULL, NULL, '2026-03-17 10:14:03', 1, '2026-03-17 10:14:03', 1),
(80, 'C001', 'Hydrating Face Cream', 'SKU-HFC-001', 'Moisturizing face cream for daily use', '18.99', '5%', 'NC2001', 1, 1, 'QR-C001', 201, 301, 'barcode_c1.png', '8901234567001', 'file_c1.pdf', 0, NULL, NULL, '2026-03-17 10:17:12', 1, '2026-03-17 10:17:12', 1),
(81, 'C002', 'Vitamin C Serum', 'SKU-VCS-002', 'Brightening serum with Vitamin C', '24.99', '10%', 'NC2002', 1, 1, 'QR-C002', 202, 302, 'barcode_c2.png', '8901234567002', 'file_c2.pdf', 0, NULL, NULL, '2026-03-17 10:17:12', 1, '2026-03-17 10:17:12', 1),
(82, 'C003', 'Matte Liquid Lipstick', 'SKU-MLL-003', 'Long-lasting matte lipstick', '12.50', '8%', 'NC2003', 1, 1, 'QR-C003', 203, 303, 'barcode_c3.png', '8901234567003', 'file_c3.pdf', 0, NULL, NULL, '2026-03-17 10:17:12', 1, '2026-03-17 10:17:12', 1),
(83, 'C004', 'Aloe Vera Face Wash', 'SKU-AVFW-004', 'Gentle cleansing face wash with aloe vera', '9.99', '0%', 'NC2004', 1, 1, 'QR-C004', 204, 304, 'barcode_c4.png', '8901234567004', 'file_c4.pdf', 0, NULL, NULL, '2026-03-17 10:17:12', 1, '2026-03-17 10:17:12', 1),
(84, 'C005', 'SPF 50 Sunscreen Lotion', 'SKU-SUN-005', 'Broad spectrum SPF 50 sunscreen', '15.75', '12%', 'NC2005', 1, 1, 'QR-C005', 205, 305, 'barcode_c5.png', '8901234567005', 'file_c5.pdf', 0, NULL, NULL, '2026-03-17 10:17:12', 1, '2026-03-17 10:17:12', 1),
(85, 'C006', 'Charcoal Peel-Off Mask', 'SKU-CPM-006', 'Deep cleansing charcoal mask', '11.99', '6%', 'NC2006', 1, 1, 'QR-C006', 206, 306, 'barcode_c6.png', '8901234567006', 'file_c6.pdf', 0, NULL, NULL, '2026-03-17 10:17:12', 1, '2026-03-17 10:17:12', 1),
(86, 'C007', 'Rose Water Toner', 'SKU-RWT-007', 'Refreshing rose water facial toner', '8.50', '3%', 'NC2007', 1, 1, 'QR-C007', 207, 307, 'barcode_c7.png', '8901234567007', 'file_c7.pdf', 0, NULL, NULL, '2026-03-17 10:17:12', 1, '2026-03-17 10:17:12', 1),
(87, 'C008', 'Hair Repair Shampoo', 'SKU-HRS-008', 'Nourishing shampoo for damaged hair', '13.99', '7%', 'NC2008', 1, 1, 'QR-C008', 208, 308, 'barcode_c8.png', '8901234567008', 'file_c8.pdf', 0, NULL, NULL, '2026-03-17 10:17:12', 1, '2026-03-17 10:17:12', 1),
(88, 'C009', 'Under Eye Cream', 'SKU-UEC-009', 'Reduces dark circles and puffiness', '17.25', '9%', 'NC2009', 1, 1, 'QR-C009', 209, 309, 'barcode_c9.png', '8901234567009', 'file_c9.pdf', 0, NULL, NULL, '2026-03-17 10:17:12', 1, '2026-03-17 10:17:12', 1),
(89, 'C010', 'Makeup Setting Spray', 'SKU-MSS-010', 'Long-lasting makeup fixing spray', '14.49', '5%', 'NC2010', 1, 1, 'QR-C010', 210, 310, 'barcode_c10.png', '8901234567010', 'file_c10.pdf', 0, NULL, NULL, '2026-03-17 10:17:12', 1, '2026-03-17 10:17:12', 1),
(90, 'PRD-UK-001', 'Rose Hydrating Face Cream', 'SKU-RHFC-001', 'Manufactured by Emma Watson, 22 Baker Street, London, UK. Contact: +44 7700 900101', '24.99', '5%', 'NC1001', 1, 1, NULL, 1, 1, 'barcode1.png', '5012345678901', 'file1.pdf', 0, NULL, NULL, '2026-03-17 10:59:19', 1, NULL, NULL),
(91, 'PRD-UK-002', 'Organic Aloe Vera Gel', 'SKU-OAVG-002', 'Produced by Oliver Smith, 15 King Street, Manchester, UK. Contact: +44 7700 900102', '12.50', '3%', 'NC1002', 1, 1, NULL, 2, 2, 'barcode2.png', '5012345678902', 'file2.pdf', 0, NULL, NULL, '2026-03-17 10:59:19', 1, NULL, NULL),
(92, 'PRD-UK-003', 'Lavender Body Lotion', 'SKU-LBL-003', 'Supplier: Charlotte Brown, 9 Queen Road, Birmingham, UK. Contact: +44 7700 900103', '18.75', '4%', 'NC1003', 1, 1, NULL, 3, 3, 'barcode3.png', '5012345678903', 'file3.pdf', 0, NULL, NULL, '2026-03-17 10:59:19', 1, NULL, NULL),
(93, 'PRD-UK-004', 'Vitamin C Brightening Serum', 'SKU-VCBS-004', 'Manufactured by Amelia Taylor, 41 Oxford Street, London, UK. Contact: +44 7700 900104', '29.99', '6%', 'NC1004', 1, 1, NULL, 4, 4, 'barcode4.png', '5012345678904', 'file4.pdf', 0, NULL, NULL, '2026-03-17 10:59:19', 1, NULL, NULL),
(94, 'PRD-UK-005', 'Natural Herbal Face Wash', 'SKU-NHFW-005', 'Distributor: George Wilson, 88 High Street, Leeds, UK. Contact: +44 7700 900105', '14.20', '5%', 'NC1005', 1, 1, NULL, 5, 5, 'barcode5.png', '5012345678905', 'file5.pdf', 0, NULL, NULL, '2026-03-17 10:59:19', 1, NULL, NULL),
(95, 'PRD-UK-006', 'Luxury Matte Lipstick', 'SKU-LML-006', 'Brand manager: Isla Evans, 73 Market Street, Liverpool, UK. Contact: +44 7700 900106', '19.99', '7%', 'NC1006', 1, 1, NULL, 6, 6, 'barcode6.png', '5012345678906', 'file6.pdf', 0, NULL, NULL, '2026-03-17 10:59:19', 1, NULL, NULL),
(96, 'PRD-UK-007', 'Hydrating Under Eye Cream', 'SKU-HUEC-007', 'Supplier: Jack Thomas, 56 Victoria Road, Bristol, UK. Contact: +44 7700 900107', '22.40', '4%', 'NC1007', 1, 1, NULL, 7, 7, 'barcode7.png', '5012345678907', 'file7.pdf', 0, NULL, NULL, '2026-03-17 10:59:19', 1, NULL, NULL),
(97, 'PRD-UK-008', 'Coconut Nourishing Hair Oil', 'SKU-CNHO-008', 'Manufactured by Sophia Roberts, 19 Prince Street, Glasgow, UK. Contact: +44 7700 900108', '16.80', '3%', 'NC1008', 1, 1, NULL, 8, 8, 'barcode8.png', '5012345678908', 'file8.pdf', 0, NULL, NULL, '2026-03-17 10:59:19', 1, NULL, NULL),
(98, 'PRD-UK-009', 'Tea Tree Acne Control Gel', 'SKU-TTAG-009', 'Supplier: William Johnson, 34 Castle Lane, Nottingham, UK. Contact: +44 7700 900109', '13.95', '5%', 'NC1009', 1, 1, NULL, 9, 9, 'barcode9.png', '5012345678909', 'file9.pdf', 0, NULL, NULL, '2026-03-17 10:59:19', 1, NULL, NULL),
(99, 'PRD-UK-010', 'Shea Butter Moisturizing Cream', 'SKU-SBMC-010', 'Distributor: Harry Davies, 27 Regent Street, Edinburgh, UK. Contact: +44 7700 900110', '21.60', '6%', 'NC1010', 1, 1, NULL, 10, 10, 'barcode10.png', '5012345678910', 'file10.pdf', 0, NULL, NULL, '2026-03-17 10:59:19', 1, NULL, NULL),
(100, 'CHOC-UK-001', 'Classic Milk Chocolate Bar', 'SKU-CMCB-001', 'Supplier: James Walker, 14 Baker Street, London, UK. Contact: +44 7700 910001', '3.50', '5%', 'NC2001', 1, 1, NULL, 1, 1, 'barcode_choc1.png', '5011111111111', 'doc1.pdf', 0, NULL, NULL, '2026-03-17 11:52:20', 1, NULL, NULL),
(101, 'CHOC-UK-002', 'Dark Chocolate 70% Cocoa', 'SKU-DCC-002', 'Producer: Emily Carter, 22 King Street, Manchester, UK. Contact: +44 7700 910002', '4.20', '4%', 'NC2002', 1, 1, NULL, 2, 2, 'barcode_choc2.png', '5011111111112', 'doc2.pdf', 0, NULL, NULL, '2026-03-17 11:52:20', 1, NULL, NULL),
(102, 'CHOC-UK-003', 'Hazelnut Chocolate Delight', 'SKU-HCD-003', 'Distributor: Oliver Brown, 9 Queen Road, Birmingham, UK. Contact: +44 7700 910003', '4.75', '6%', 'NC2003', 1, 1, NULL, 3, 3, 'barcode_choc3.png', '5011111111113', 'doc3.pdf', 0, NULL, NULL, '2026-03-17 11:52:20', 1, NULL, NULL),
(103, 'CHOC-UK-004', 'Caramel Filled Chocolate', 'SKU-CFC-004', 'Manufacturer: Charlotte Green, 31 Oxford Street, London, UK. Contact: +44 7700 910004', '3.95', '5%', 'NC2004', 1, 1, NULL, 4, 4, 'barcode_choc4.png', '5011111111114', 'doc4.pdf', 0, NULL, NULL, '2026-03-17 11:52:20', 1, NULL, NULL),
(104, 'CHOC-UK-005', 'White Chocolate Cream Bar', 'SKU-WCCB-005', 'Supplier: Harry Wilson, 18 High Street, Leeds, UK. Contact: +44 7700 910005', '3.80', '4%', 'NC2005', 1, 1, NULL, 5, 5, 'barcode_choc5.png', '5011111111115', 'doc5.pdf', 0, NULL, NULL, '2026-03-17 11:52:20', 1, NULL, NULL),
(105, 'CHOC-UK-006', 'Mint Dark Chocolate Bar', 'SKU-MDCB-006', 'Producer: Amelia Scott, 12 Market Street, Liverpool, UK. Contact: +44 7700 910006', '4.10', '5%', 'NC2006', 1, 1, NULL, 6, 6, 'barcode_choc6.png', '5011111111116', 'doc6.pdf', 0, NULL, NULL, '2026-03-17 11:52:20', 1, NULL, NULL),
(106, 'CHOC-UK-007', 'Almond Crunch Chocolate', 'SKU-ACC-007', 'Distributor: George Harris, 55 Victoria Road, Bristol, UK. Contact: +44 7700 910007', '4.60', '6%', 'NC2007', 1, 1, NULL, 7, 7, 'barcode_choc7.png', '5011111111117', 'doc7.pdf', 0, NULL, NULL, '2026-03-17 11:52:20', 1, NULL, NULL),
(107, 'CHOC-UK-008', 'Orange Zest Chocolate Bar', 'SKU-OZCB-008', 'Manufacturer: Sophia Turner, 7 Prince Street, Glasgow, UK. Contact: +44 7700 910008', '3.90', '4%', 'NC2008', 1, 1, NULL, 8, 8, 'barcode_choc8.png', '5011111111118', 'doc8.pdf', 0, NULL, NULL, '2026-03-17 11:52:20', 1, NULL, NULL),
(108, 'CHOC-UK-009', 'Luxury Truffle Chocolate Box', 'SKU-LTCB-009', 'Supplier: Jack Roberts, 29 Castle Lane, Nottingham, UK. Contact: +44 7700 910009', '9.50', '7%', 'NC2009', 1, 1, NULL, 9, 9, 'barcode_choc9.png', '5011111111119', 'doc9.pdf', 0, NULL, NULL, '2026-03-17 11:52:20', 1, NULL, NULL),
(109, 'CHOC-UK-010', 'Strawberry Cream Chocolate', 'SKU-SCC-010', 'Producer: Isabella King, 45 Regent Street, Edinburgh, UK. Contact: +44 7700 910010', '4.30', '5%', 'NC2010', 1, 1, NULL, 10, 10, 'barcode_choc10.png', '5011111111120', 'doc10.pdf', 0, NULL, NULL, '2026-03-17 11:52:20', 1, NULL, NULL),
(110, 'Painting', 'Painting Labour', '', '', '2', '', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-25 16:35:58', 1, '2026-03-25 16:35:58', 1),
(111, 'Service', 'wielding', '', '', '10', '', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-25 16:36:37', 1, '2026-03-25 16:36:37', 1),
(112, 'BU-001', 'cc cream', 'SKU-BU-001', 'beauty product', '100', '5', '', 61, 62, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-04-08 14:17:47', 1, '2026-04-08 14:17:47', 1);

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

--
-- Table structure for table `item_item_management_history`
--

CREATE TABLE `item_item_management_history` (
  `his_id` int(11) NOT NULL,
  `id` int(11) DEFAULT NULL,
  `product_code` varchar(100) DEFAULT NULL,
  `product_name` varchar(255) DEFAULT NULL,
  `product_sku` varchar(100) DEFAULT NULL,
  `product_description` text DEFAULT NULL,
  `sales_price` varchar(50) DEFAULT NULL,
  `discount` varchar(50) DEFAULT NULL,
  `nominal_code` varchar(50) DEFAULT NULL,
  `vat_category` int(11) DEFAULT NULL,
  `currency` int(11) DEFAULT NULL,
  `QRCode` text DEFAULT NULL,
  `url_main_id` int(11) DEFAULT NULL,
  `image_main_id` int(11) DEFAULT NULL,
  `product_barcode_file` varchar(255) DEFAULT NULL,
  `barcode_text` varchar(100) DEFAULT NULL,
  `general_file` varchar(255) DEFAULT NULL,
  `is_archive` tinyint(1) DEFAULT 0,
  `archived_by` int(11) DEFAULT NULL,
  `archived_on` datetime DEFAULT NULL,
  `created_on` datetime DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_on` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `history_created_by` int(11) DEFAULT NULL,
  `history_created_on` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `item_item_management_history`
--

INSERT INTO `item_item_management_history` (`his_id`, `id`, `product_code`, `product_name`, `product_sku`, `product_description`, `sales_price`, `discount`, `nominal_code`, `vat_category`, `currency`, `QRCode`, `url_main_id`, `image_main_id`, `product_barcode_file`, `barcode_text`, `general_file`, `is_archive`, `archived_by`, `archived_on`, `created_on`, `created_by`, `updated_on`, `updated_by`, `history_created_by`, `history_created_on`) VALUES
(10, 6, '789789789789', 'Honey Bottle', 'HONBOT001', 'Honey with a hint of Cinnamon', '5.50', '0.00', '0112233445566778899', 61, 62, '', NULL, NULL, '1825727701_Outlook-0fobfjsj.png', '', NULL, 0, NULL, NULL, '2026-03-02 10:33:51', 1, '2026-03-02 10:33:51', 1, 1, '2026-03-02 10:49:16'),
(11, 7, 'ST001', 'Ballpoint Pen Blue', 'SKU-ST-001', 'Blue medium ballpoint pen', '0.50', '0', 'ST4001', 0, 0, 'img1.jpg', NULL, NULL, 'bc1.png', '500000000001', 'file1.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1, 1, '2026-03-03 12:06:41'),
(12, 7, 'ST001', 'Ballpoint Pen Blue', 'SKU-ST-001', 'Blue medium ballpoint pen', '0.50', '0', 'ST4001', 0, 0, 'img1.jpg', NULL, NULL, 'bc1.png', '500000000001', 'file1.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-03 12:06:41', 1, 1, '2026-03-03 12:07:04'),
(13, 7, 'ST001', 'Ballpoint Pen Blue', 'SKU-ST-001', 'Blue medium ballpoint pen', '0.50', '0', 'ST4001', 0, 0, 'img1.jpg', NULL, NULL, 'bc1.png', '500000000001', 'file1.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-03 12:07:04', 1, 1, '2026-03-03 12:07:30'),
(14, 8, 'ST002', 'Ballpoint Pen Black', 'SKU-ST-002', 'Black medium ballpoint pen', '0.50', '0', 'ST4001', 0, 0, 'img2.jpg', NULL, NULL, 'bc2.png', '500000000002', 'file2.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1, 1, '2026-03-03 12:25:44'),
(15, 6, '789789789789', 'Honey Bottle', 'HONBOT001', 'Honey with a hint of Cinnamon', '6.50', '0.00', '0112233445566778899', 61, 62, '', NULL, NULL, '1825727701_Outlook-0fobfjsj.png', '', NULL, 0, NULL, NULL, '2026-03-02 10:33:51', 1, '2026-03-02 10:49:16', 1, 1, '2026-03-06 10:27:57'),
(16, 6, '789789789789', 'Honey Bottle', 'HONBOT001', 'Honey with a hint of Cinnamon', '6.50', '0.00', '0112233445566778899', 61, 62, '', NULL, 1, '1825727701_Outlook-0fobfjsj.png', '', NULL, 0, NULL, NULL, '2026-03-02 10:33:51', 1, '2026-03-06 10:27:57', 1, 1, '2026-03-06 10:38:43'),
(17, 6, '789789789789', 'Honey Bottle', 'HONBOT001', 'Honey with a hint of Cinnamon', '6.50', '0.00', '0112233445566778899', 61, 62, '', NULL, 1, '1825727701_Outlook-0fobfjsj.png', '', NULL, 0, NULL, NULL, '2026-03-02 10:33:51', 1, '2026-03-06 10:38:43', 1, 1, '2026-03-06 10:42:27'),
(18, 6, '789789789789', 'Honey Bottle', 'HONBOT001', 'Honey with a hint of Cinnamon', '6.50', '0.00', '0112233445566778899', 61, 62, '', NULL, 1, '1825727701_Outlook-0fobfjsj.png', '', NULL, 0, NULL, NULL, '2026-03-02 10:33:51', 1, '2026-03-06 10:42:27', 1, 1, '2026-03-06 10:43:32'),
(19, 6, '789789789789', 'Honey Bottle', 'HONBOT001', 'Honey with a hint of Cinnamon', '6.50', '0.00', '0112233445566778899', 61, 62, '', NULL, 1, '1825727701_Outlook-0fobfjsj.png', '', NULL, 0, NULL, NULL, '2026-03-02 10:33:51', 1, '2026-03-06 10:43:32', 1, 1, '2026-03-06 10:47:54'),
(20, 6, '789789789789', 'Honey Bottle', 'HONBOT001', 'Honey with a hint of Cinnamon', '6.50', '0.00', '0112233445566778899', 61, 62, '', NULL, 1, '1825727701_Outlook-0fobfjsj.png', '', NULL, 0, NULL, NULL, '2026-03-02 10:33:51', 1, '2026-03-06 10:47:54', 1, 1, '2026-03-06 11:06:40'),
(21, 6, '789789789789', 'Honey Bottle', 'HONBOT001', 'Honey with a hint of Cinnamon', '6.50', '0.00', '0112233445566778899', 61, 62, '', NULL, 1, '1825727701_Outlook-0fobfjsj.png', '', NULL, 0, NULL, NULL, '2026-03-02 10:33:51', 1, '2026-03-06 11:06:40', 1, 1, '2026-03-06 11:07:49'),
(22, 6, '789789789789', 'Honey Bottle', 'HONBOT001', 'Honey with a hint of Cinnamon', '6.50', '0.00', '0112233445566778899', 61, 62, '', NULL, 1, '1825727701_Outlook-0fobfjsj.png', '', NULL, 0, NULL, NULL, '2026-03-02 10:33:51', 1, '2026-03-06 11:07:49', 1, 1, '2026-03-06 11:08:30'),
(23, 6, '789789789789', 'Honey Bottle', 'HONBOT001', 'Honey with a hint of Cinnamon', '6.50', '0.00', '0112233445566778899', 61, 62, '', NULL, 1, '1825727701_Outlook-0fobfjsj.png', '', NULL, 0, NULL, NULL, '2026-03-02 10:33:51', 1, '2026-03-06 11:08:30', 1, 1, '2026-03-06 11:25:27'),
(24, 6, '789789789789', 'Honey Bottle', 'HONBOT001', 'Honey with a hint of Cinnamon', '6.50', '0.00', '0112233445566778899', 61, 62, '', NULL, 1, '1825727701_Outlook-0fobfjsj.png', '', NULL, 0, NULL, NULL, '2026-03-02 10:33:51', 1, '2026-03-06 11:25:27', 1, 1, '2026-03-06 11:25:57'),
(25, 6, '789789789789', 'Honey Bottle', 'HONBOT001', 'Honey with a hint of Cinnamon', '6.50', '0.00', '0112233445566778899', 61, 62, '', NULL, 1, '1825727701_Outlook-0fobfjsj.png', '', NULL, 0, NULL, NULL, '2026-03-02 10:33:51', 1, '2026-03-06 11:25:58', 1, 1, '2026-03-06 12:41:16'),
(26, 6, '789789789789', 'Honey Bottle', 'HONBOT001', 'Honey with a hint of Cinnamon', '6.50', '0.00', '0112233445566778899', 61, 62, '', NULL, 1, '1825727701_Outlook-0fobfjsj.png', '', NULL, 0, NULL, NULL, '2026-03-02 10:33:51', 1, '2026-03-06 12:41:16', 1, 1, '2026-03-07 06:46:14'),
(27, 6, '789789789789', 'Honey Bottle', 'HONBOT001', 'Honey with a hint of Cinnamon', '6.50', '0.00', '0112233445566778899', 61, 62, '', NULL, 1, '1825727701_Outlook-0fobfjsj.png', '', NULL, 0, NULL, NULL, '2026-03-02 10:33:51', 1, '2026-03-07 06:46:14', 1, 1, '2026-03-07 08:57:34'),
(28, 7, 'ST001', 'Ballpoint Pen Blue', 'SKU-ST-001', 'Blue medium ballpoint pen', '0.50', '0', 'ST4001', 0, 0, 'img1.jpg', NULL, NULL, 'bc1.png', '500000000001', 'file1.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-03 12:07:30', 1, 1, '2026-03-07 09:52:50'),
(29, 7, 'ST001', 'Ballpoint Pen Blue', 'SKU-ST-001', 'Blue medium ballpoint pen', '0.50', '0', 'ST4001', 0, 0, 'img1.jpg', NULL, NULL, 'bc1.png', '500000000001', 'file1.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-07 09:52:50', 1, 1, '2026-03-07 09:53:05'),
(30, 13, 'ST007', 'Sticky Notes Yellow', 'SKU-ST-007', '75x75mm sticky notes pad', '1.20', '0', 'ST4004', 0, 0, 'img7.jpg', NULL, NULL, 'bc7.png', '500000000007', 'file7.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1, 1, '2026-03-09 10:44:40'),
(31, 6, '789789789789', 'Honey Bottle', 'HONBOT001', 'Honey with a hint of Cinnamon', '6.50', '0.00', '0112233445566778899', 61, 62, '', NULL, 1, '1825727701_Outlook-0fobfjsj.png', '', NULL, 0, NULL, NULL, '2026-03-02 10:33:51', 1, '2026-03-07 08:57:34', 1, 1, '2026-03-09 10:49:33'),
(32, 57, '000123', 'Mobile', '1000002', 'Mobile', '110', '', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 14:06:31', 1, '2026-03-10 14:06:31', 1, 1, '2026-03-10 14:11:01'),
(33, 57, '000123', 'Mobile', '1000002', 'Mobile', '110', '', '111', 106, 71, '', NULL, 4, '432942422_images.jpg', 'abc', NULL, 0, NULL, NULL, '2026-03-10 14:06:31', 1, '2026-03-10 14:11:01', 1, 1, '2026-03-10 14:24:24'),
(34, 58, '000124', 'Earphone', '10000000000023', 'Earphone 1020', '15', '', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 14:13:31', 1, '2026-03-10 14:13:31', 1, 1, '2026-03-10 14:33:42'),
(35, 58, '000124', 'Earphone', '10000000000023', 'Earphone 1020', '15', '', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 14:13:31', 1, '2026-03-10 14:33:42', 1, 1, '2026-03-10 14:41:11'),
(36, 59, 'pc1', 'lether', 'sku-1', '', '250', '10', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 14:48:46', 1, '2026-03-10 14:48:46', 1, 1, '2026-03-10 14:53:28'),
(37, 59, 'pc1', 'lether', 'sku-1', '', '250', '10', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 14:48:46', 1, '2026-03-10 14:53:28', 1, 1, '2026-03-10 15:03:57'),
(38, 59, 'pc1', 'lether', 'sku-1', '', '250', '10', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 14:48:46', 1, '2026-03-10 15:03:57', 1, 1, '2026-03-10 15:08:49'),
(39, 60, 'pc 1', 'tablet', 'sku-1', '', '200', '20', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 15:25:00', 1, '2026-03-10 15:25:00', 1, 1, '2026-03-10 15:25:22'),
(40, 60, 'pc-2', 'tablet', 'sku-1', '', '200', '20', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 15:25:00', 1, '2026-03-10 15:25:22', 1, 1, '2026-03-10 15:25:43'),
(41, 61, 'PC 03', 'Keyboard', 'sku-1', '', '300', '20', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 15:31:52', 1, '2026-03-10 15:31:52', 1, 1, '2026-03-10 15:34:28'),
(42, 61, 'PC 03', 'Keyboard', 'sku-1', '', '300', '20', '001', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 15:31:52', 1, '2026-03-10 15:34:28', 1, 1, '2026-03-10 15:38:53'),
(43, 61, 'PC 03', 'Keyboard', 'sku-1', '', '300', '20', '001', 61, 62, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 15:31:52', 1, '2026-03-10 15:38:53', 1, 1, '2026-03-10 15:39:12'),
(44, 62, 'P C', 'lether1', 'sku-1', '', '200', '10', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 15:57:58', 1, '2026-03-10 15:57:58', 1, 1, '2026-03-10 15:58:38'),
(45, 61, 'PC 03', 'Keyboard', 'sku-1', '', '300', '20', '001', 61, 62, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 15:31:52', 1, '2026-03-10 15:39:12', 1, 1, '2026-03-10 16:05:12'),
(46, 59, 'pc1', 'lether', 'sku-1', '', '250', '10', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 14:48:46', 1, '2026-03-10 15:08:49', 1, 1, '2026-03-10 16:05:25'),
(47, 61, 'PC 03', 'Keyboard', 'sku-1', '', '300', '20', '001', 61, 62, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 15:31:52', 1, '2026-03-10 16:05:13', 1, 1, '2026-03-10 16:05:36'),
(48, 62, 'P C', 'lether1', 'sku-1', '', '200', '10', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 15:57:58', 1, '2026-03-10 15:58:38', 1, 1, '2026-03-10 16:05:40'),
(49, 60, 'pc-2', 'tablet', 'sku-1', '', '200', '20', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 15:25:00', 1, '2026-03-10 15:25:43', 1, 1, '2026-03-10 16:05:49'),
(50, 60, 'pc-2', 'tablet', 'sku-1', '', '200', '20', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 15:25:00', 1, '2026-03-10 16:05:49', 1, 1, '2026-03-10 16:08:49'),
(51, 63, 'P C', 'tablet', 'sku-1', 'tablet', '200', '10', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 16:07:27', 1, '2026-03-10 16:07:27', 1, 1, '2026-03-10 16:08:58'),
(52, 63, 'P C', 'tablet', 'sku-1', 'tablet', '200', '10', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 16:07:27', 1, '2026-03-10 16:08:58', 1, 1, '2026-03-10 16:09:33'),
(53, 65, 'P C', 'tablet', 'sku-1', '', '200', '30', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 16:22:39', 1, '2026-03-10 16:22:39', 1, 1, '2026-03-10 16:22:48'),
(54, 64, 'P C', 'tablet', 'sku-1', '', '200', '10', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 16:09:50', 1, '2026-03-10 16:09:50', 1, 1, '2026-03-10 16:23:10'),
(55, 66, 'P C', 'lether1', 'sku-1', '', '300', '20', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 16:34:35', 1, '2026-03-10 16:34:35', 1, 1, '2026-03-10 16:35:02'),
(56, 66, 'P C', 'lether1', 'sku-1', '', '300', '20', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 16:34:35', 1, '2026-03-10 16:35:02', 1, 1, '2026-03-11 05:03:31'),
(57, 67, 'product code01', 'rubber', 'SKU0', 'RUBBER', '220', '10', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-11 05:04:29', 1, '2026-03-11 05:04:29', 1, 1, '2026-03-11 05:05:14'),
(58, 67, 'product code01', 'rubber', 'SKU0', 'RUBBER', '220', '10', '100', 61, 70, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-11 05:04:29', 1, '2026-03-11 05:05:14', 1, 1, '2026-03-11 05:13:16'),
(59, 67, 'product code01', 'rubber', 'SKU0', 'RUBBER', '220', '10', '101', 61, 70, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-11 05:04:29', 1, '2026-03-11 05:13:16', 1, 1, '2026-03-11 05:18:18'),
(60, 67, 'product code01', 'rubber', 'SKU0', 'RUBBER_RTY', '220', '10', '101', 61, 70, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-11 05:04:29', 1, '2026-03-11 05:18:18', 1, 1, '2026-03-11 05:30:15'),
(61, 68, 'product code test1', 'table', '001', 'table', '150', '10', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-11 07:23:14', 1, '2026-03-11 07:23:14', 1, 1, '2026-03-11 07:23:42'),
(62, 64, 'P C', 'tablet', 'sku-1', '', '200', '10', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-10 16:09:50', 1, '2026-03-10 16:23:10', 1, 1, '2026-03-11 07:23:55'),
(63, 68, 'product code test1', 'table', '001', 'table', '150', '10', '100a', 61, 62, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-11 07:23:14', 1, '2026-03-11 07:23:42', 1, 1, '2026-03-11 07:24:24'),
(64, 6, '789789789789', 'Honey Bottle', 'HONBOT001', 'Honey with a hint of Cinnamon', '6.50', '0.00', '0112233445566778899', 61, 62, '', NULL, 1, '1825727701_Outlook-0fobfjsj.png', '', NULL, 0, NULL, NULL, '2026-03-02 10:33:51', 1, '2026-03-09 10:49:33', 1, 1, '2026-03-11 11:38:01'),
(65, 69, 'PT00122', 'pen', 'pt0012345', '', '100', '5', '', 0, 0, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-13 14:27:36', 1, '2026-03-13 14:27:36', 1, 1, '2026-03-13 14:28:53'),
(66, 69, 'PT00122', 'pen', 'pt0012345', '', '100', '5', '', 106, 62, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-13 14:27:36', 1, '2026-03-13 14:28:53', 1, 1, '2026-03-13 14:29:30'),
(67, 69, 'PT00122', 'pen', 'pt0012345', '', '100', '5', '', 106, 62, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-13 14:27:36', 1, '2026-03-13 14:29:30', 1, 1, '2026-03-13 14:29:46'),
(68, 69, 'PT00122', 'pen', 'pt0012345', '', '100', '5', '', 106, 62, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-13 14:27:36', 1, '2026-03-13 14:29:46', 1, 1, '2026-03-13 14:30:01'),
(69, 69, 'PT00122', 'pen', 'pt0012345', '', '100', '5', '', 106, 62, '', NULL, NULL, '', '', NULL, 0, NULL, NULL, '2026-03-13 14:27:36', 1, '2026-03-13 14:30:01', 1, 1, '2026-03-13 14:30:24'),
(70, 57, '000123', 'Mobile', '1000002', 'Mobile', '110', '', '111', 106, 71, '', NULL, 4, '432942422_images.jpg', 'abc', NULL, 0, NULL, NULL, '2026-03-10 14:06:31', 1, '2026-03-10 14:24:24', 1, 1, '2026-03-25 03:27:05'),
(71, 16, 'ST010', 'Whiteboard Marker Blue', 'SKU-ST-010', 'Blue dry wipe marker', '1.40', '0', 'ST4001', 0, 0, 'img10.jpg', NULL, NULL, 'bc10.png', '500000000010', 'file10.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1, 1, '2026-03-26 11:41:41'),
(72, 43, 'ST037', 'Whiteboard Eraser', 'SKU-ST-037', 'Magnetic whiteboard eraser', '2.80', '0', 'ST4023', 0, 0, 'img37.jpg', NULL, NULL, 'bc37.png', '500000000037', 'file37.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1, 1, '2026-03-26 11:43:00'),
(73, 19, 'ST013', 'Ruler 30cm', 'SKU-ST-013', 'Clear plastic ruler 30cm', '0.70', '0', 'ST4005', 0, 0, 'img13.jpg', NULL, NULL, 'bc13.png', '500000000013', 'file13.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1, 1, '2026-03-27 12:02:12'),
(74, 8, 'ST002', 'Ballpoint Pen Black', 'SKU-ST-002', 'Black medium ballpoint pen', '0.50', '0', 'ST4001', 61, 71, 'img2.jpg', NULL, NULL, 'bc2.png', '500000000002', 'file2.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-03 12:25:44', 1, 1, '2026-03-27 12:03:31'),
(75, 6, '789789789789', 'Honey Bottle', 'HONBOT001', 'Honey with a hint of Cinnamon', '6.50', '0.00', '0112233445566778899', 61, 62, '', NULL, 1, '1825727701_Outlook-0fobfjsj.png', '', NULL, 0, 1, '2026-03-11 11:38:01', '2026-03-02 10:33:51', 1, '2026-03-09 10:49:33', 1, 1, '2026-03-27 12:04:35'),
(76, 37, 'ST031', 'Clipboard A4', 'SKU-ST-031', 'A4 wooden clipboard', '3.50', '0', 'ST4019', 0, 0, 'img31.jpg', NULL, NULL, 'bc31.png', '500000000031', 'file31.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1, 1, '2026-03-27 12:05:04'),
(77, 9, 'ST003', 'Gel Pen Red', 'SKU-ST-003', 'Red smooth gel pen', '0.75', '0', 'ST4001', 0, 0, 'img3.jpg', NULL, NULL, 'bc3.png', '500000000003', 'file3.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1, 1, '2026-04-07 11:11:06'),
(78, 9, 'ST003', 'Gel Pen Red', 'SKU-ST-003', 'Red smooth gel pen', '0.75', '0', 'ST4001', 0, 0, 'img3.jpg', NULL, NULL, 'bc3.png', '500000000003', 'file3.pdf', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-04-07 11:11:06', 1, 1, '2026-04-07 11:11:27');

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

--
-- Table structure for table `item_location`
--

CREATE TABLE `item_location` (
  `id` int(11) NOT NULL,
  `item_id` int(11) NOT NULL,
  `shelf_id` int(11) NOT NULL,
  `qty` int(11) NOT NULL,
  `stock_reorder_level` varchar(55) DEFAULT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `item_location`
--

INSERT INTO `item_location` (`id`, `item_id`, `shelf_id`, `qty`, `stock_reorder_level`, `created_by`, `created_on`, `updated_by`, `updated_on`) VALUES
(4, 6, 10, 215, '3', 1, '2026-03-06 11:25:58', 1, '2026-04-06 09:04:38'),
(5, 6, 10, 218, '6', 1, '2026-03-06 12:41:17', 1, '2026-04-06 09:04:38'),
(6, 6, 10, 217, '0', 1, '2026-03-12 07:45:33', 1, '2026-04-06 09:04:38'),
(7, 6, 10, 252, '0', 57, '2026-03-13 15:57:47', 1, '2026-04-06 09:04:38'),
(8, 6, 10, 222, '0', 57, '2026-03-13 15:59:11', 1, '2026-04-06 09:04:38'),
(9, 6, 10, 257, '0', 57, '2026-03-13 15:59:40', 1, '2026-04-06 09:04:38'),
(10, 6, 10, 246, '0', 57, '2026-03-13 16:00:50', 1, '2026-04-06 09:04:38'),
(11, 6, 10, 200, '0', 57, '2026-03-13 16:08:19', 1, '2026-04-06 09:04:38'),
(12, 6, 10, 365, '0', 1, '2026-03-28 12:10:46', 1, '2026-04-06 09:04:38'),
(13, 6, 10, 20, '0', 1, '2026-04-06 08:48:22', 1, '2026-04-06 09:04:38'),
(14, 8, 10, 15, '0', 1, '2026-04-06 09:05:23', 1, '2026-04-06 09:05:23');

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

--
-- Table structure for table `item_suppliers`
--

CREATE TABLE `item_suppliers` (
  `id` int(11) NOT NULL,
  `item_id` int(11) NOT NULL,
  `supplier_id` int(11) DEFAULT NULL,
  `supplier_lead_time` varchar(100) DEFAULT NULL,
  `supplier_cost_price` decimal(10,2) DEFAULT 0.00,
  `supplier_currency` int(11) DEFAULT NULL,
  `created_on` datetime DEFAULT current_timestamp(),
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `item_suppliers`
--

INSERT INTO `item_suppliers` (`id`, `item_id`, `supplier_id`, `supplier_lead_time`, `supplier_cost_price`, `supplier_currency`, `created_on`, `created_by`, `updated_by`, `updated_on`) VALUES
(3, 6, 2, '5', 0.75, 62, '2026-03-02 10:33:51', 1, 1, '2026-03-23 14:39:36'),
(4, 6, 29, '2', 2.00, 62, '2026-03-02 10:33:51', 1, 1, '2026-03-23 14:39:40'),
(5, 7, 29, '', 10.00, 71, '2026-03-03 12:07:04', 1, 1, '2026-03-13 10:16:26'),
(6, 8, 3, '', 20.00, 70, '2026-03-03 12:25:44', 1, 1, '2026-03-27 12:03:31'),
(7, 7, 2, '', 45.00, 0, '2026-03-07 09:52:50', 1, 1, '2026-03-07 09:53:05'),
(8, 7, 28, '', 54.00, 0, '2026-03-07 09:52:50', 1, 1, '2026-03-07 09:53:05'),
(9, 7, 5, '', 98.00, 0, '2026-03-07 09:52:50', 1, 1, '2026-03-07 09:53:05'),
(10, 13, 3, '', 1331.00, 0, '2026-03-09 10:44:40', 1, 1, '2026-03-09 10:44:40'),
(11, 57, 29, '3', 100.00, 71, '2026-03-10 14:24:24', 1, 1, '2026-03-10 14:24:24'),
(12, 58, 34, '5', 5.00, 71, '2026-03-10 14:33:42', 1, 1, '2026-03-10 14:33:42'),
(13, 59, 38, '8', 250.00, 62, '2026-03-10 14:53:28', 1, 1, '2026-03-10 14:53:28'),
(14, 60, 38, '8', 200.00, 62, '2026-03-10 15:25:43', 1, 1, '2026-03-10 15:25:43'),
(15, 61, 38, '8', 300.00, 62, '2026-03-10 15:31:52', 1, 1, '2026-03-10 15:34:28'),
(16, 62, 38, '8', 200.00, 62, '2026-03-10 15:58:38', 1, 1, '2026-03-10 15:58:38'),
(17, 63, 38, '8', 200.00, 62, '2026-03-10 16:07:27', 1, 1, '2026-03-10 16:08:58'),
(18, 64, 38, '8', 200.00, 62, '2026-03-10 16:23:10', 1, 1, '2026-03-10 16:23:10'),
(19, 66, 2, '9', 300.00, 62, '2026-03-10 16:35:02', 1, 1, '2026-03-10 16:35:02'),
(20, 67, 40, '8', 220.00, 70, '2026-03-11 05:05:14', 1, 1, '2026-03-11 05:05:14'),
(21, 68, 40, '9', 150.00, 62, '2026-03-11 07:24:24', 1, 1, '2026-03-11 07:24:24'),
(22, 69, 43, '10', 100.00, 62, '2026-03-13 14:28:53', 1, 1, '2026-03-13 14:28:53'),
(23, 11, 5, '1', 15.00, NULL, '2026-03-20 12:19:43', NULL, 0, '2026-03-23 14:43:48'),
(24, 15, 5, '1', 25.00, NULL, '2026-03-20 12:19:54', NULL, 0, '2026-03-23 14:43:52'),
(25, 20, 5, '1', 18.00, NULL, '2026-03-20 12:20:04', NULL, 0, '2026-03-23 14:43:56'),
(26, 23, 5, '1', 73.00, NULL, '2026-03-20 12:20:10', NULL, 0, '2026-03-23 14:44:01'),
(27, 33, 5, '1', 23.00, NULL, '2026-03-20 12:20:16', NULL, 0, '2026-03-23 14:44:05'),
(28, 35, 5, '1', 13.00, NULL, '2026-03-20 12:20:21', NULL, 0, '2026-03-23 14:44:12'),
(29, 39, 5, '1', 17.00, NULL, '2026-03-20 12:20:27', NULL, 0, '2026-03-23 14:44:17'),
(30, 45, 5, '1', 19.00, NULL, '2026-03-20 12:20:34', NULL, 0, '2026-03-23 14:44:22'),
(31, 16, 3, '4', 123.00, 62, '2026-03-26 11:41:41', 1, 1, '2026-03-26 11:41:41'),
(32, 43, 3, '3', 23.00, 62, '2026-03-26 11:43:00', 1, 1, '2026-03-26 11:43:00'),
(33, 19, 3, '6', 24.00, 62, '2026-03-27 12:02:12', 1, 1, '2026-03-27 12:02:12'),
(34, 6, 3, '5', 23.00, 70, '2026-03-27 12:04:35', 1, 1, '2026-03-27 12:04:35'),
(35, 37, 3, '5', 48.00, 62, '2026-03-27 12:05:04', 1, 1, '2026-03-27 12:05:04'),
(36, 9, 40, '', 10.00, 62, '2026-04-07 11:11:06', 1, 1, '2026-04-07 10:11:06'),
(37, 112, 56, '5', 100.00, 62, '2026-04-08 14:17:47', 1, 0, '2026-04-08 13:17:47');

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

--
-- Table structure for table `item_urls`
--

CREATE TABLE `item_urls` (
  `id` int(11) NOT NULL,
  `item_id` int(11) NOT NULL,
  `url` text NOT NULL,
  `created_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `job_assigned_users`
--

CREATE TABLE `job_assigned_users` (
  `id` int(11) NOT NULL,
  `job_id` int(11) NOT NULL,
  `user_type` int(11) NOT NULL,
  `user_id` varchar(255) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `job_assigned_users`
--

INSERT INTO `job_assigned_users` (`id`, `job_id`, `user_type`, `user_id`, `created_by`, `created_on`, `updated_by`, `updated_on`) VALUES
(8, 6, 6, '1', 1, '2026-03-06 15:12:25', 1, '2026-03-06 15:12:25'),
(9, 9, 7, '4', 1, '2026-03-10 13:49:52', 1, '2026-03-10 13:51:16'),
(10, 9, 6, '28', 1, '2026-03-10 13:49:52', 1, '2026-03-10 13:51:16'),
(11, 10, 6, '59', 1, '2026-03-13 14:09:44', 1, '2026-03-13 14:09:44'),
(12, 16, 7, '10', 1, '2026-03-31 08:34:40', 1, '2026-03-31 08:34:40'),
(13, 18, 76, '54', 1, '2026-04-08 13:07:02', 1, '2026-04-08 13:07:02');

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

--
-- Table structure for table `job_details`
--

CREATE TABLE `job_details` (
  `id` int(11) NOT NULL,
  `job_number` varchar(255) NOT NULL,
  `client_id` varchar(255) NOT NULL,
  `job_description` varchar(255) NOT NULL,
  `job_start_dt` datetime NOT NULL,
  `job_end_dt` datetime NOT NULL,
  `user_assigned` varchar(255) NOT NULL,
  `is_archive` int(11) NOT NULL,
  `archived_by` int(11) NOT NULL,
  `archived_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `job_details`
--

INSERT INTO `job_details` (`id`, `job_number`, `client_id`, `job_description`, `job_start_dt`, `job_end_dt`, `user_assigned`, `is_archive`, `archived_by`, `archived_on`, `created_by`, `created_on`, `updated_by`, `updated_on`) VALUES
(6, 'JOB0001', 'anurag1', 'wwwwwwwww', '2026-03-09 00:00:00', '2026-03-15 00:00:00', '', 0, 0, '0000-00-00 00:00:00', 1, '2026-03-02 06:59:22', 1, '2026-03-06 15:12:25'),
(7, 'JOB0002', 'sahin', '', '2026-03-05 00:00:00', '2026-03-07 00:00:00', '', 0, 0, '0000-00-00 00:00:00', 1, '2026-03-04 10:03:31', 1, '2026-03-04 10:03:31'),
(8, 'JOB0003', 'salin', '', '2026-03-06 00:00:00', '2026-03-08 00:00:00', '', 0, 0, '0000-00-00 00:00:00', 1, '2026-03-04 10:03:54', 1, '2026-03-04 10:03:54'),
(9, 'JOB0004', 'taxon', 'job creation', '2026-03-10 00:00:00', '2026-03-17 00:00:00', '', 0, 0, '0000-00-00 00:00:00', 1, '2026-03-10 13:49:52', 1, '2026-03-10 13:51:16'),
(10, 'JOB0005', 'sahin', '', '2026-03-13 00:00:00', '2026-03-20 00:00:00', '', 0, 0, '0000-00-00 00:00:00', 1, '2026-03-13 14:09:44', 1, '2026-03-13 14:09:44'),
(11, 'JOB-UK-001', 'COMP-001', 'E-commerce website development for UK retail company', '2026-04-01 09:00:00', '2026-04-18 18:00:00', 'oliver.smith', 0, 0, '0000-00-00 00:00:00', 1, '2026-03-17 10:50:16', 1, '2026-03-17 10:50:16'),
(12, 'JOB-UK-002', 'COMP-002', 'Inventory management system for Manchester tech firm', '2026-04-03 10:00:00', '2026-04-22 17:30:00', 'amelia.johnson', 0, 0, '0000-00-00 00:00:00', 1, '2026-03-17 10:50:16', 1, '2026-03-17 10:50:16'),
(13, 'JOB-UK-003', 'COMP-003', 'Financial data migration to cloud platform', '2026-04-07 08:30:00', '2026-04-27 18:30:00', 'harry.brown', 0, 0, '0000-00-00 00:00:00', 1, '2026-03-17 10:50:16', 1, '2026-03-17 10:50:16'),
(14, 'JOB-UK-004', 'COMP-004', 'SEO and digital marketing campaign setup', '2026-04-10 09:30:00', '2026-04-30 17:30:00', 'jack.taylor', 0, 0, '0000-00-00 00:00:00', 1, '2026-03-17 10:50:16', 1, '2026-03-17 10:50:16'),
(15, 'JOB-UK-005', 'COMP-005', 'Office network and infrastructure upgrade', '2026-04-12 09:00:00', '2026-05-05 18:00:00', 'emily.wilson', 0, 0, '0000-00-00 00:00:00', 1, '2026-03-17 10:50:16', 1, '2026-03-17 10:50:16'),
(16, 'JOB0001', 'anurag1', '', '2026-03-16 00:00:00', '2026-03-16 00:00:00', '', 0, 0, '0000-00-00 00:00:00', 1, '2026-03-31 08:34:40', 1, '2026-03-31 07:34:40'),
(17, 'JOB0002', 'jj', '', '2026-04-16 00:00:00', '2026-04-24 00:00:00', '', 0, 0, '0000-00-00 00:00:00', 1, '2026-04-08 12:51:51', 1, '2026-04-08 11:51:51'),
(18, 'JOB0003', 'archana', '', '2026-04-16 00:00:00', '2026-05-02 00:00:00', '', 0, 0, '0000-00-00 00:00:00', 1, '2026-04-08 13:07:02', 1, '2026-04-08 12:07:02');

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

--
-- Table structure for table `job_sub_task_notes_history`
--

CREATE TABLE `job_sub_task_notes_history` (
  `id` int(11) NOT NULL,
  `job_id` int(11) NOT NULL,
  `sub_job_taskt_list_id` int(11) NOT NULL,
  `notes` text NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `job_sub_task_notes_history`
--

INSERT INTO `job_sub_task_notes_history` (`id`, `job_id`, `sub_job_taskt_list_id`, `notes`, `created_by`, `created_on`, `updated_by`, `updated_on`) VALUES
(0, 6, 13, 'this is testing records by job task tab', 1, '2026-03-11 11:21:36', 1, '2026-03-11 11:21:36');

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

--
-- Table structure for table `job_task_list`
--

CREATE TABLE `job_task_list` (
  `id` int(11) NOT NULL,
  `job_id` int(11) NOT NULL,
  `sub_job_number` varchar(255) NOT NULL,
  `task_type` varchar(255) NOT NULL,
  `tentative_completion_date` datetime NOT NULL,
  `tentative_completion_time` time NOT NULL,
  `task_description` text NOT NULL,
  `job_assigned` varchar(255) NOT NULL,
  `job_alocation_date` datetime NOT NULL,
  `job_alocation_time` time NOT NULL,
  `job_start_date` datetime NOT NULL,
  `job_start_time` time NOT NULL,
  `job_end_date` datetime NOT NULL,
  `job_end_time` time NOT NULL,
  `sign_off_date` datetime NOT NULL,
  `sign_off_time` time NOT NULL,
  `sign_off_by` int(11) NOT NULL,
  `notes` text NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `job_task_list`
--

INSERT INTO `job_task_list` (`id`, `job_id`, `sub_job_number`, `task_type`, `tentative_completion_date`, `tentative_completion_time`, `task_description`, `job_assigned`, `job_alocation_date`, `job_alocation_time`, `job_start_date`, `job_start_time`, `job_end_date`, `job_end_time`, `sign_off_date`, `sign_off_time`, `sign_off_by`, `notes`, `created_by`, `created_on`, `updated_by`, `updated_on`) VALUES
(13, 6, 'JOB0001-01', '149', '2026-03-10 00:00:00', '00:00:00', 'testing', '2', '2026-03-12 00:00:00', '01:15:00', '2026-03-16 00:00:00', '03:00:00', '2026-03-16 00:00:00', '05:45:00', '2026-03-25 00:00:00', '06:00:00', 1, 'this is testing', 1, '2026-03-10 12:28:31', 1, '2026-03-10 12:34:20'),
(14, 9, 'JOB0004-01', '149', '2026-03-12 00:00:00', '02:00:00', 'need to create one bag', '4', '2026-03-10 00:00:00', '01:15:00', '2026-03-10 00:00:00', '01:00:00', '2026-03-12 00:00:00', '02:00:00', '0000-00-00 00:00:00', '00:00:00', 0, 'need to create a duffel bag', 1, '2026-03-10 14:01:17', 1, '2026-03-10 14:08:45'),
(15, 9, 'JOB0004-02', '149', '2026-03-12 00:00:00', '00:00:00', 'need to create one pencil box with material', '32', '2026-03-12 00:00:00', '03:45:00', '2026-03-12 00:00:00', '02:00:00', '2026-03-13 00:00:00', '01:30:00', '0000-00-00 00:00:00', '00:00:00', 0, 'new box creation', 1, '2026-03-10 14:06:51', 1, '2026-03-10 14:09:06'),
(16, 7, 'JOB0002-01', '', '2026-03-10 00:00:00', '00:45:00', 'wwwwww', '3', '0000-00-00 00:00:00', '00:00:00', '0000-00-00 00:00:00', '00:00:00', '0000-00-00 00:00:00', '00:00:00', '0000-00-00 00:00:00', '00:00:00', 0, 'wwwwwwwwww', 1, '2026-03-11 07:37:49', 1, '2026-03-11 07:38:12'),
(17, 7, 'JOB0002-02', '149', '0000-00-00 00:00:00', '00:00:00', '', '6', '2026-03-02 00:00:00', '01:15:00', '0000-00-00 00:00:00', '00:00:00', '0000-00-00 00:00:00', '00:00:00', '0000-00-00 00:00:00', '00:00:00', 0, 'aaaaaa', 1, '2026-03-11 07:38:49', 1, '2026-03-11 07:39:29');

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

--
-- Table structure for table `keycode`
--

CREATE TABLE `keycode` (
  `id` bigint(20) NOT NULL,
  `name` varchar(512) DEFAULT NULL,
  `code` varchar(512) DEFAULT NULL,
  `description` varchar(512) DEFAULT NULL,
  `site_id` int(11) DEFAULT NULL,
  `ord` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_by` int(11) NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `keycode`
--

INSERT INTO `keycode` (`id`, `name`, `code`, `description`, `site_id`, `ord`, `updated_on`, `updated_by`, `status`) VALUES
(1, 'currency', 'USD: Doller', 'USD', NULL, 1, '2026-04-10 09:14:35', 1, 1),
(2, 'currency', 'EUR: Euro', NULL, NULL, 4, '2026-04-10 09:15:12', 1, 1),
(3, 'currency', 'GBP: Pound', NULL, NULL, 3, '2026-04-10 09:15:12', 1, 1),
(4, 'location', 'London', 'London', 1, 1, '2026-04-10 09:18:37', 0, 1),
(5, 'service_type', 'Labour(SR001)', 'Service type', NULL, 1, '2026-04-10 09:21:22', 0, 1),
(6, 'organization_type', 'School', 'School project', 1, 1, '2026-04-10 09:24:42', 1, 1),
(7, 'organization_type', 'Council', NULL, NULL, 2, '2026-04-10 09:25:41', 1, 1),
(8, 'organization_type', 'Contractor', NULL, NULL, 3, '2026-04-10 09:26:05', 1, 1),
(9, 'client_type', 'School', 'School', 1, 1, '2026-04-10 09:27:50', 1, 1),
(10, 'client_type', 'Council', NULL, NULL, 2, '2026-04-10 09:28:27', 1, 1),
(11, 'client_type', 'Contractor', NULL, NULL, 3, '2026-04-10 09:28:41', 1, 1),
(12, 'project_type', 'Playground', 'Playground', 1, 1, '2026-04-10 09:30:31', 1, 1),
(13, 'project_type', 'Gym', NULL, NULL, 2, '2026-04-10 09:30:56', 1, 1),
(14, 'project_type', 'Pitch', NULL, NULL, 3, '2026-04-10 09:31:29', 1, 1),
(15, 'funding', 'Fully Funded', 'Funded', 1, 1, '2026-04-10 10:06:08', 1, 1),
(16, 'funding', 'Partly Funded', NULL, NULL, 2, '2026-04-10 10:07:58', 1, 1),
(17, 'funding', 'Other', NULL, NULL, 3, '2026-04-10 10:08:15', 1, 1),
(18, 'lead_source', 'Repeat Client', 'Repeat Client', 1, 1, '2026-04-10 10:10:46', 1, 1),
(19, 'lead_source', 'Website enquiries', NULL, NULL, 2, '2026-04-10 10:11:30', 1, 1),
(20, 'lead_source', 'Emails', NULL, NULL, 3, '2026-04-10 10:11:55', 1, 1),
(21, 'lead_source', 'Phone calls', NULL, NULL, 4, '2026-04-10 10:12:34', 1, 1),
(22, 'client_type', 'test', NULL, NULL, 5, '2026-04-10 11:39:23', 1, 1),
(23, 'job_role', 'Manager', NULL, NULL, 6, '2026-03-02 08:43:59', 1, 1),
(24, 'job_role', 'Engineer', NULL, NULL, 9, '2026-03-02 08:44:33', 1, 1),
(25, 'job_role', 'Supervisor', NULL, NULL, 11, '2026-03-02 08:44:45', 1, 1),
(26, 'job_role', 'Administrator', NULL, NULL, 1, '2026-03-02 08:43:59', 1, 0),
(27, 'user_type', 'Admin', NULL, NULL, 1, '2026-03-02 08:45:39', 1, 1),
(28, 'user_type', 'User', NULL, NULL, 4, '2026-04-09 06:25:22', 1, 1),
(29, 'user_type', 'Operative', NULL, NULL, 2, '2026-04-09 06:25:32', 1, 1),
(30, 'teams', 'Northshire worker', 'Northshire worker', 1, 1, '2026-04-10 12:55:53', 1, 1),
(31, 'teams', 'Brucels', NULL, NULL, 2, '2026-04-10 12:57:10', 1, 1);

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

--
-- Table structure for table `locations`
--

CREATE TABLE `locations` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `value` varchar(100) DEFAULT NULL,
  `position` int(11) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `created_on` datetime NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) DEFAULT NULL,
  `updated_on` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `module`
--

CREATE TABLE `module` (
  `id` int(11) NOT NULL,
  `plugin_name` varchar(255) NOT NULL,
  `module_name` varchar(512) NOT NULL,
  `version` varchar(25) DEFAULT NULL,
  `display_name` varchar(512) NOT NULL,
  `page_option` varchar(50) NOT NULL,
  `icon` varchar(1024) NOT NULL,
  `parent_id` int(11) NOT NULL,
  `sort_order` int(11) NOT NULL,
  `display` tinyint(4) NOT NULL,
  `custome_module` tinyint(4) NOT NULL DEFAULT 1,
  `is_archive` tinyint(4) NOT NULL DEFAULT 0,
  `created_on` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `module`
--

INSERT INTO `module` (`id`, `plugin_name`, `module_name`, `version`, `display_name`, `page_option`, `icon`, `parent_id`, `sort_order`, `display`, `custome_module`, `is_archive`, `created_on`) VALUES
(1, '', '', NULL, 'Dashboard', 'index', 'bi bi-speedometer2', 0, 1, 1, 0, 0, '2026-01-28 17:14:18'),
(2, '', 'adminuser', NULL, 'User', '', 'bi bi-people', 0, 26, 1, 0, 0, '2026-01-28 17:14:18'),
(3, '', 'adminuser', NULL, 'Users', 'user_list', 'bi bi-person', 2, 1, 1, 0, 0, '2026-01-28 17:14:18'),
(4, '', 'adminuser', NULL, 'Groups', 'group_list', 'bi bi-shield-check', 2, 2, 1, 0, 0, '2026-01-28 17:14:18'),
(5, '', 'adminuser', NULL, 'Permissions', 'group_access_rights', 'bi bi-lock', 2, 3, 1, 0, 0, '2026-01-28 17:14:18'),
(6, '', 'keycode', NULL, 'Management', 'view_masterdata', 'bi bi-gear', 0, 25, 1, 0, 0, '2026-01-28 17:14:18'),
(7, 'CompanyManagement', 'company_management', '1.0', 'Company', 'view', 'fa-solid fa-street-view', 0, 2, 1, 1, 0, '2026-01-28 17:14:18'),
(8, 'OrderManagement', 'order_management', '1.0', 'Sales Order', 'view', 'fa-solid fa-pen', 0, 10, 0, 1, 0, '2026-02-05 10:41:02'),
(9, 'InvoiceManagement', 'invoice_management', '1.0', 'Invoice', 'view', 'fa-solid fa-wallet', 0, 11, 0, 1, 0, '2026-02-05 11:54:30'),
(10, 'ItemManagement', 'item_management', '1.0', 'Item', 'view', 'fa-solid fa-screwdriver-wrench', 0, 8, 0, 1, 0, '2026-02-05 11:55:15'),
(11, 'SupplierManagement', 'supplier_management', '1.0', 'Supplier', 'view', 'fa-solid fa-person-rays', 0, 7, 0, 1, 0, '2026-02-05 11:55:37'),
(12, 'EnquiryManagement', 'enquiry_management', '1.0', 'Oppotunity', 'view', 'fa-solid fa-envelopes-bulk', 0, 4, 1, 1, 0, '2026-02-05 11:57:18'),
(13, 'DocumentsManagement', 'document_management', '1.0', 'Documents', 'view', 'fa-solid fa-file', 0, 14, 0, 1, 0, '2026-02-05 13:36:24'),
(14, 'NotesManagement', 'notes_management', '1.0', 'Notes', 'view', 'fa-solid fa-list-check', 0, 15, 0, 1, 0, '2026-02-05 13:36:51'),
(15, 'PurchaseOrderManagement', 'purchase_order_management', '1.0', 'Purchase Order', 'view', 'fa-solid fa-calculator', 0, 12, 0, 1, 0, '2026-02-05 13:37:25'),
(16, 'ReportsManagement', 'report_management', '1.0', 'Report', 'view', 'fa-solid fa-arrows-to-dot', 0, 16, 0, 1, 0, '2026-02-05 14:41:00'),
(17, 'QuotationManagement', 'quotation_management', '1.0', 'Quotation', 'view', 'fa-solid fa-clipboard-question', 0, 5, 0, 1, 0, '2026-02-05 14:41:42'),
(18, 'JobManagement', 'job_management', '1.0', 'Job', 'view', 'fa-solid fa-truck-fast', 0, 6, 0, 1, 0, '2026-02-05 14:42:01'),
(19, 'StockManagement', 'stock_management', '1.0', 'Stock / Inventory', 'view', 'fa-solid fa-bag-shopping', 0, 9, 0, 1, 0, '2026-02-05 14:42:23'),
(20, 'SchedulerManagement', 'scheduler_management', '1.0', 'Scheduler', 'view_calendar', 'fa-regular fa-calendar-days', 0, 13, 0, 1, 0, '2026-02-05 14:42:47'),
(21, 'AppointmentsManagement', 'appointments_management', '1.0', 'Appointments', 'view', 'fa-solid fa-street-view', 0, 17, 0, 1, 0, '2026-02-25 10:40:07'),
(23, 'SiteManagement', 'site_management', '1.0', 'Sites', 'view', 'fa-solid fa-street-view', 0, 3, 0, 1, 0, '2026-02-25 10:42:22'),
(24, '', 'adminuser', NULL, 'Access', 'access_list', 'bi bi-shield-check', 2, 3, 0, 0, 0, '2026-03-07 13:52:36'),
(25, 'ParameterManagement', 'parameter_management', '1.0', 'Parameter', '', '', 0, 4, 0, 1, 0, '2026-04-10 14:02:58'),
(26, 'LocationManagement', 'parameter_management', '1.0', 'Location Management', 'location_list', '', 25, 0, 0, 1, 0, '2026-04-10 14:10:43');

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

--
-- Table structure for table `ord_history`
--

CREATE TABLE `ord_history` (
  `id` int(11) NOT NULL,
  `his_id` int(11) NOT NULL,
  `enquiry_id` int(11) NOT NULL,
  `quotation_id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `contact_id` int(11) NOT NULL,
  `order_number` varchar(255) NOT NULL,
  `po_number` varchar(255) NOT NULL,
  `order_date` datetime NOT NULL,
  `sub_total` double NOT NULL,
  `vat_total` double NOT NULL,
  `discount_total` double NOT NULL,
  `grand_total` double NOT NULL,
  `order_reason` int(11) NOT NULL,
  `order_notes` text NOT NULL,
  `is_delivery_address` tinyint(4) NOT NULL,
  `delivery_address1` varchar(255) NOT NULL,
  `delivery_address2` varchar(255) NOT NULL,
  `delivery_address3` varchar(255) NOT NULL,
  `delivery_city` varchar(255) NOT NULL,
  `delivery_county` varchar(255) NOT NULL,
  `delivery_postcode` varchar(255) NOT NULL,
  `is_billing_address` tinyint(4) NOT NULL,
  `billing_address1` varchar(255) NOT NULL,
  `billing_address2` varchar(255) NOT NULL,
  `billing_address3` varchar(255) NOT NULL,
  `billing_city` varchar(255) NOT NULL,
  `billing_county` varchar(255) NOT NULL,
  `billing_postcode` varchar(255) NOT NULL,
  `status` int(11) NOT NULL,
  `is_archive` tinyint(4) NOT NULL,
  `archived_on` datetime NOT NULL,
  `archived_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_by` int(11) NOT NULL,
  `history_created_by` int(11) NOT NULL,
  `history_created_on` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `ord_history`
--

INSERT INTO `ord_history` (`id`, `his_id`, `enquiry_id`, `quotation_id`, `company_id`, `contact_id`, `order_number`, `po_number`, `order_date`, `sub_total`, `vat_total`, `discount_total`, `grand_total`, `order_reason`, `order_notes`, `is_delivery_address`, `delivery_address1`, `delivery_address2`, `delivery_address3`, `delivery_city`, `delivery_county`, `delivery_postcode`, `is_billing_address`, `billing_address1`, `billing_address2`, `billing_address3`, `billing_city`, `billing_county`, `billing_postcode`, `status`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`, `history_created_by`, `history_created_on`) VALUES
(94, 84, 0, 28, 66, 0, 'ORD100030', '', '2026-03-18 00:00:00', 222.5, 44.5, 0, 267, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-18 13:36:00', 1, '2026-03-23 14:45:55', 1, 1, '2026-03-23 14:46:17'),
(86, 48, 0, 32, 87, 0, 'ORD100017', '', '2026-03-11 00:00:00', 0, 0, 0, 0, 1, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 2, 0, '0000-00-00 00:00:00', 0, '2026-03-11 05:07:35', 1, '2026-03-13 14:28:00', 1, 1, '2026-03-13 14:30:15'),
(82, 72, 0, 53, 87, 0, 'ORD100018', '', '2026-03-13 00:00:00', 0, 0, 0, 0, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-13 13:57:34', 1, '2026-03-13 13:57:49', 1, 1, '2026-03-13 13:58:00'),
(83, 48, 0, 32, 0, 0, 'ORD100017', '', '2026-03-11 00:00:00', 0, 0, 0, 0, 1, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 2, 1, '2026-03-11 07:19:58', 1, '2026-03-11 05:07:35', 1, '2026-03-11 07:19:58', 1, 1, '2026-03-13 14:27:22'),
(92, 82, 0, 58, 71, 0, 'ORD100028', '', '2026-03-16 00:00:00', 1450, 290, 0, 2040, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 3, 0, '0000-00-00 00:00:00', 0, '2026-03-16 11:10:16', 1, '2026-03-21 17:29:22', 1, 1, '2026-03-23 14:45:24'),
(59, 48, 0, 32, 0, 0, 'ORD100017', '', '2026-03-11 00:00:00', 0, 0, 0, 0, 1, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 2, 0, '0000-00-00 00:00:00', 0, '2026-03-11 05:07:35', 1, '2026-03-11 05:24:16', 1, 1, '2026-03-11 07:19:58'),
(8, 27, 0, 0, 0, 0, '1121', '1121', '2026-02-26 00:00:00', 1, 0.4, 0, 1.4, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-02-26 09:50:38', 1, '2026-02-26 09:50:38', 1, 1, '2026-02-26 09:51:11'),
(93, 84, 0, 28, 66, 0, 'ORD100030', '', '2026-03-18 00:00:00', 422.5, 84.5, 0, 507, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-18 13:36:00', 1, '2026-03-18 13:36:00', 1, 1, '2026-03-23 14:45:55'),
(91, 75, 0, 57, 66, 0, 'ORD100021', '', '2026-03-16 00:00:00', 120, 24, 0, 544, 2, '', 0, '', '', '', '', '', '', 1, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-16 10:57:12', 1, '2026-03-16 11:12:12', 1, 1, '2026-03-23 10:21:31'),
(81, 72, 0, 53, 87, 0, 'ORD100018', '', '2026-03-13 00:00:00', 0, 0, 0, 0, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-13 13:57:34', 1, '2026-03-13 13:57:34', 1, 1, '2026-03-13 13:57:49'),
(56, 48, 0, 32, 0, 0, 'ORD100017', '', '2026-03-11 00:00:00', 0, 0, 0, 0, 1, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-11 05:07:35', 1, '2026-03-11 05:07:35', 1, 1, '2026-03-11 05:24:16'),
(118, 16, 37, 23, 96, 0, 'S-070426-ROS-04', '', '2026-04-07 00:00:00', 302, 60.4, 0, 1762.4, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-04-07 15:18:42', 1, '2026-04-07 14:18:42', 1, 1, '2026-04-07 15:19:02'),
(54, 27, 0, 0, 0, 0, '1121', '1121', '0000-00-00 00:00:00', 1, 0.4, 0, 1.4, 0, '', 0, '', '', '', '', '', '1234', 0, '', '', '', '', '', '1234', 1, 0, '0000-00-00 00:00:00', 0, '2026-02-26 09:50:38', 1, '2026-02-26 09:51:11', 1, 1, '2026-03-10 15:46:55'),
(17, 32, 0, 13, 82, 0, 'ORD100003', '1111', '2026-03-07 00:00:00', 100, 20, 0, 120, 1, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-07 07:23:26', 1, '2026-03-07 07:23:26', 1, 1, '2026-03-07 07:24:07'),
(18, 32, 0, 13, 82, 0, '', '1111', '2026-03-07 00:00:00', 100, 20, 0, 120, 1, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-07 07:23:26', 1, '2026-03-07 07:24:07', 1, 1, '2026-03-07 07:24:20'),
(19, 32, 0, 13, 82, 0, '', '1111', '2026-03-07 00:00:00', 100, 20, 0, 120, 1, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-07 07:23:26', 1, '2026-03-07 07:24:20', 1, 1, '2026-03-07 07:24:45'),
(20, 32, 0, 13, 82, 0, '', '1111', '2026-03-07 00:00:00', 100, 20, 0, 120, 1, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-07 07:23:26', 1, '2026-03-07 07:24:45', 1, 1, '2026-03-07 07:29:51'),
(21, 32, 0, 13, 82, 0, '', '1111', '2026-03-07 00:00:00', 100, 20, 0, 120, 1, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-07 07:23:26', 1, '2026-03-07 07:29:51', 1, 1, '2026-03-07 07:33:05'),
(22, 33, 0, 13, 0, 0, 'ORD100003', '2222', '2026-03-07 00:00:00', 2000, 400, 0, 2400, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-07 08:01:36', 1, '2026-03-07 08:01:36', 1, 1, '2026-03-07 08:01:55'),
(23, 32, 0, 13, 82, 0, '', '1111', '2026-03-07 00:00:00', 100, 20, 0, 120, 1, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-07 07:23:26', 1, '2026-03-07 07:33:05', 1, 1, '2026-03-07 09:54:27'),
(24, 32, 0, 13, 82, 0, '', '1111', '2026-03-07 00:00:00', 100, 20, 0, 120, 1, '', 0, '', '', '', '', '', '', 1, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-07 07:23:26', 1, '2026-03-07 09:54:27', 1, 1, '2026-03-07 09:57:00'),
(25, 33, 0, 13, 82, 0, '', '2222', '2026-03-07 00:00:00', 2000, 400, 0, 2400, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-07 08:01:36', 1, '2026-03-07 08:01:55', 1, 1, '2026-03-07 09:57:30'),
(26, 33, 0, 13, 82, 0, '', '2222', '2026-03-07 00:00:00', 2000, 400, 0, 2400, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-07 08:01:36', 1, '2026-03-07 08:01:55', 1, 1, '2026-03-07 10:00:38'),
(27, 33, 0, 13, 82, 0, '', '2222', '2026-03-07 00:00:00', 2000, 400, 0, 2400, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-07 08:01:36', 1, '2026-03-07 08:01:55', 1, 1, '2026-03-07 10:01:06'),
(28, 33, 0, 13, 82, 0, '', '2222', '2026-03-07 00:00:00', 2000, 400, 0, 2400, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-07 08:01:36', 1, '2026-03-07 08:01:55', 1, 1, '2026-03-07 10:37:46'),
(29, 33, 0, 13, 82, 0, '', '2222', '2026-03-07 00:00:00', 2000, 400, 0, 2400, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-07 08:01:36', 1, '2026-03-07 08:01:55', 1, 1, '2026-03-07 10:37:55'),
(30, 33, 0, 13, 82, 0, '', '2222', '2026-03-07 00:00:00', 2000, 400, 0, 2400, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-07 08:01:36', 1, '2026-03-07 08:01:55', 1, 1, '2026-03-07 10:38:47'),
(31, 35, 0, 7, 0, 0, 'ORD100004', '', '2026-03-09 00:00:00', 0, 0, 0, 0, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-09 10:43:43', 1, '2026-03-09 10:43:43', 1, 1, '2026-03-09 10:44:17'),
(32, 35, 0, 7, 0, 0, 'ORD100004', '', '2026-03-09 00:00:00', 234, 46.8, 0, 278.46, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-09 10:43:43', 1, '2026-03-09 10:44:18', 1, 1, '2026-03-09 10:46:56'),
(33, 35, 0, 7, 0, 0, 'ORD100004', '', '2026-03-09 00:00:00', 757, 151.4, 0, 906.06, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-09 10:43:43', 1, '2026-03-09 10:46:56', 1, 1, '2026-03-09 10:52:04'),
(34, 35, 0, 7, 0, 0, 'ORD100004', '', '2026-03-09 00:00:00', 757, 151.4, 0, 906.06, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-09 10:43:43', 1, '2026-03-09 10:52:04', 1, 1, '2026-03-09 11:08:21'),
(90, 82, 0, 58, 71, 0, 'ORD100028', '', '2026-03-16 00:00:00', 1400, 280, 0, 1680, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 3, 0, '0000-00-00 00:00:00', 0, '2026-03-16 11:10:16', 1, '2026-03-16 11:10:16', 1, 1, '2026-03-21 17:29:22'),
(36, 35, 0, 7, 0, 0, 'ORD100004', '', '2026-03-09 00:00:00', 757, 151.4, 0, 906.06, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-09 10:43:43', 1, '2026-03-09 11:08:21', 1, 1, '2026-03-10 14:25:48'),
(38, 35, 0, 7, 0, 0, 'ORD100004', '', '2026-03-09 00:00:00', 757, 151.4, 0, 906.06, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 0, 1, '2026-03-10 14:25:48', 1, '2026-03-09 10:43:43', 1, '2026-03-10 14:25:48', 1, 1, '2026-03-10 14:26:16'),
(39, 35, 0, 7, 0, 0, 'ORD100004', '', '2026-03-09 00:00:00', 757, 151.4, 0, 906.06, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-09 10:43:43', 1, '2026-03-10 14:26:16', 1, 1, '2026-03-10 14:26:47'),
(40, 32, 0, 13, 82, 0, '', '1111', '2026-03-07 00:00:00', 100, 20, 0, 120, 1, '', 0, '', '', '', '', '', '', 1, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-07 07:23:26', 1, '2026-03-07 09:57:00', 1, 1, '2026-03-10 14:28:34'),
(42, 35, 0, 7, 0, 0, 'ORD100004', '', '2026-03-09 00:00:00', 757, 151.4, 0, 906.06, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 0, 1, '2026-03-10 14:26:47', 1, '2026-03-09 10:43:43', 1, '2026-03-10 14:26:47', 1, 1, '2026-03-10 14:31:17'),
(89, 75, 0, 57, 66, 0, 'ORD100021', '', '2026-03-16 00:00:00', 60, 12, 0, 72, 2, '', 1, '', '', '', '', '', '', 1, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-16 10:57:12', 1, '2026-03-16 10:57:12', 1, 1, '2026-03-16 11:12:12'),
(87, 74, 0, 56, 71, 0, 'ORD100020', '', '2026-03-16 00:00:00', 0, 0, 0, 0, 0, '', 1, '', '', '', '', '', '', 1, '', '', '', '', '', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-16 10:45:27', 1, '2026-03-16 10:45:27', 1, 1, '2026-03-16 10:58:47'),
(88, 74, 0, 56, 71, 0, 'ORD100020', '', '2026-03-16 00:00:00', 0, 0, 0, 0, 0, '', 0, '', '', '', '', '', '', 1, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-16 10:45:27', 1, '2026-03-16 10:58:47', 1, 1, '2026-03-16 10:59:19'),
(46, 38, 0, 4, 0, 0, 'ORD100007', '', '2026-03-10 00:00:00', 0, 0, 0, 0, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-10 15:17:13', 1, '2026-03-10 15:17:13', 1, 1, '2026-03-10 15:46:13'),
(47, 39, 0, 24, 0, 0, 'ORD100008', 'PC 03', '2026-03-10 00:00:00', 0, 0, 0, 0, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-10 15:35:10', 1, '2026-03-10 15:35:10', 1, 1, '2026-03-10 15:46:15'),
(48, 35, 0, 7, 0, 0, 'ORD100004', '', '2026-03-09 00:00:00', 757, 151.4, 0, 906.06, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-09 10:43:43', 1, '2026-03-10 14:31:17', 1, 1, '2026-03-10 15:46:18'),
(49, 33, 0, 13, 82, 0, '', '2222', '2026-03-07 00:00:00', 2000, 400, 0, 2400, 0, '', 0, '', '', '', '', '', '', 1, 'down town', 'street 12', '', 'Northamptonshire', 'Northamptonshire', 'NN 231', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-07 08:01:36', 1, '2026-03-07 10:38:47', 1, 1, '2026-03-10 15:46:20'),
(50, 34, 0, 0, 0, 0, 'ORD100003', '', '2026-03-07 00:00:00', 0, 0, 0, 0, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-07 08:02:29', 1, '2026-03-07 08:02:29', 1, 1, '2026-03-10 15:46:22'),
(51, 31, 0, 0, 73, 0, 'ORD10004', '4444', '2026-03-05 00:00:00', 0, 0, 0, 0, 1, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 2, 0, '0000-00-00 00:00:00', 0, '2026-03-04 09:35:50', 1, '2026-03-04 09:35:50', 1, 1, '2026-03-10 15:46:25'),
(95, 84, 0, 28, 66, 0, 'ORD100030', '', '2026-03-18 00:00:00', 222.5, 44.5, 0, 267, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 0, 0, '0000-00-00 00:00:00', 0, '2026-03-18 13:36:00', 1, '2026-03-23 14:46:17', 1, 1, '2026-03-23 14:46:31'),
(96, 84, 0, 28, 66, 0, 'ORD100030', '', '2026-03-18 00:00:00', 222.5, 44.5, 0, 267, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 3, 0, '0000-00-00 00:00:00', 0, '2026-03-18 13:36:00', 1, '2026-03-23 14:46:31', 1, 1, '2026-03-23 14:47:34'),
(97, 83, 0, 59, 89, 0, 'ORD100029', '', '2026-03-16 00:00:00', 680, 136, 0, 1516, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-16 11:11:31', 1, '2026-03-16 11:11:31', 1, 1, '2026-03-23 14:51:26'),
(98, 80, 0, 62, 89, 0, 'ORD100026', '', '2026-03-16 00:00:00', 1250, 250, 0, 1500, 2, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-16 11:07:51', 1, '2026-03-16 11:07:51', 1, 1, '2026-03-23 15:18:39'),
(99, 81, 0, 62, 89, 0, 'ORD100027', '', '2026-03-16 00:00:00', 3200, 640, 0, 3840, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-16 11:09:28', 1, '2026-03-16 11:09:28', 1, 1, '2026-03-23 15:19:24'),
(100, 84, 0, 28, 66, 0, 'ORD100030', '', '2026-03-18 00:00:00', 6672.5, 1334.5, 0, 8007, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 3, 0, '0000-00-00 00:00:00', 0, '2026-03-18 13:36:00', 1, '2026-03-23 14:47:34', 1, 1, '2026-03-25 14:09:05'),
(101, 85, 27, 64, 87, 0, 'ORD100031', '', '2026-03-25 00:00:00', 0.5, 0.1, 0, 0.6, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-03-25 10:44:10', 1, '2026-03-25 10:44:10', 1, 1, '2026-03-25 14:46:34'),
(102, 76, 0, 58, 71, 0, 'ORD100022', '', '2026-03-16 00:00:00', 1600, 320, 0, 1920, 1, '', 0, '', '', '', '', '', '', 1, '', '', '', '', '', '', 3, 0, '0000-00-00 00:00:00', 0, '2026-03-16 10:58:06', 1, '2026-03-16 10:58:06', 1, 1, '2026-03-25 15:00:35'),
(103, 82, 0, 58, 71, 0, 'ORD100028', '', '2026-03-16 00:00:00', 1450, 290, 0, 2040, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 3, 0, '0000-00-00 00:00:00', 0, '2026-03-16 11:10:16', 1, '2026-03-23 14:45:24', 1, 1, '2026-03-27 12:01:00'),
(113, 12, 35, 20, 95, 0, 'S-020426-ANU-03', '', '2026-04-02 00:00:00', 25.05, 5.01, 0, 40.06, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-04-02 08:44:46', 1, '2026-04-02 07:44:46', 1, 1, '2026-04-02 08:44:57'),
(112, 8, 30, 17, 89, 0, 'S-310326-SYN-01', '', '2026-04-01 00:00:00', 288, 57.6, 0, 1845.6, 1, 'testing purpose', 0, 'new street 1', '', '', 'northamton', 'Northamptonshire', 'NN 22', 1, 'new street 1', '', '', 'northamton', 'Northamptonshire', 'NN 22', 1, 0, '0000-00-00 00:00:00', 0, '2026-04-01 09:07:50', 1, '2026-04-01 08:08:42', 1, 1, '2026-04-02 08:25:56'),
(110, 8, 30, 17, 89, 0, 'S-310326-SYN-01', '', '2026-04-01 00:00:00', 348, 69.6, 0, 1917.6, 1, '', 1, 'new street 1', '', '', 'northamton', 'Northamptonshire', 'NN 22', 1, 'new street 1', '', '', 'northamton', 'Northamptonshire', 'NN 22', 1, 0, '0000-00-00 00:00:00', 0, '2026-04-01 09:07:50', 1, '2026-04-01 08:07:50', 1, 1, '2026-04-01 09:08:42');

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

--
-- Table structure for table `ord_items`
--

CREATE TABLE `ord_items` (
  `id` int(11) NOT NULL,
  `order_id` int(11) NOT NULL,
  `part_no` varchar(255) NOT NULL,
  `product_id` int(11) NOT NULL,
  `part_name` varchar(255) NOT NULL,
  `unit_price` double NOT NULL,
  `quantity` int(11) NOT NULL,
  `vat_rate` double NOT NULL,
  `vat_amount` double NOT NULL,
  `line_total` double NOT NULL,
  `section_id` varchar(50) NOT NULL,
  `discount_amount` double NOT NULL,
  `discount_percentage` double NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `ord_items`
--

INSERT INTO `ord_items` (`id`, `order_id`, `part_no`, `product_id`, `part_name`, `unit_price`, `quantity`, `vat_rate`, `vat_amount`, `line_total`, `section_id`, `discount_amount`, `discount_percentage`, `created_by`, `created_on`) VALUES
(47, 8, '8', 8, 'Ballpoint Pen Black', 2, 22, 20, 8.8, 52.8, 'ITEM', 0, 0, 0, '0000-00-00 00:00:00'),
(48, 8, '7', 7, 'Ballpoint Pen Blue', 2, 12, 20, 4.8, 28.8, 'ITEM', 0, 0, 0, '0000-00-00 00:00:00'),
(49, 8, '9', 9, 'Gel Pen Red', 2, 30, 20, 12, 72, 'ITEM', 0, 0, 0, '0000-00-00 00:00:00'),
(50, 8, '147', 0, 'new service', 50, 2, 20, 20, 120, 'SERVICES', 0, 0, 0, '0000-00-00 00:00:00'),
(51, 8, '147', 0, 'new', 50, 1, 20, 10, 60, 'SERVICES', 0, 0, 0, '0000-00-00 00:00:00'),
(52, 8, 'assembling', 0, 'testing purpose', 10, 0, 20, 2, 12, 'OTHER', 0, 0, 0, '0000-00-00 00:00:00'),
(53, 8, 'TRANSPORT', 0, 'truck', 900, 0, 0, 0, 900, 'LOGISTICS', 0, 0, 0, '0000-00-00 00:00:00'),
(54, 8, 'PACKAGING', 0, 'BOX PACK', 600, 0, 0, 0, 600, 'LOGISTICS', 0, 0, 0, '0000-00-00 00:00:00'),
(55, 9, '14', 14, 'Highlighter Assorted', 10, 150, 20, 300, 1800, 'ITEM', 0, 0, 0, '0000-00-00 00:00:00'),
(56, 9, 'service based', 0, 'new service', 50, 0, 20, 10, 60, 'OTHER', 0, 0, 0, '0000-00-00 00:00:00'),
(57, 9, 'TRANSPORT', 0, 'truck', 500, 0, 0, 0, 500, 'LOGISTICS', 0, 0, 0, '0000-00-00 00:00:00'),
(58, 9, 'PACKAGING', 0, 'YES', 600, 0, 0, 0, 600, 'LOGISTICS', 0, 0, 0, '0000-00-00 00:00:00'),
(89, 8, 'PALLET', 0, 'PALLET AMORTISATION 3', 3, 0, 0, 0, 0, 'LOGISTICS', 0, 0, 0, '0000-00-00 00:00:00'),
(90, 8, 'OTHER', 0, 'OTHER 4', 4, 0, 0, 0, 0, 'LOGISTICS', 0, 0, 0, '0000-00-00 00:00:00'),
(91, 12, '11', 11, 'Notebook A4', 3, 1, 20, 0.6, 3.6, 'ITEM', 0, 0, 0, '0000-00-00 00:00:00'),
(92, 12, '10', 10, 'HB Pencil', 0.3, 1, 20, 0.06, 0.36, 'ITEM', 0, 0, 0, '0000-00-00 00:00:00'),
(93, 12, '9', 9, 'Gel Pen Red', 0.75, 1, 20, 0.15, 0.9, 'ITEM', 0, 0, 0, '0000-00-00 00:00:00'),
(94, 12, '8', 8, 'Ballpoint Pen Black', 0.5, 1, 20, 0.1, 0.6, 'ITEM', 0, 0, 0, '0000-00-00 00:00:00'),
(95, 12, '7', 7, 'Ballpoint Pen Blue', 0.5, 1, 20, 0.1, 0.6, 'ITEM', 0, 0, 0, '0000-00-00 00:00:00'),
(96, 12, '148', 0, 'aaaaaa', 1, 3, 20, 0.6, 3.6, 'SERVICES', 0, 0, 0, '0000-00-00 00:00:00'),
(97, 12, '147', 0, 'aaaaaa', 2, 1, 20, 0.4, 2.4, 'SERVICES', 0, 0, 0, '0000-00-00 00:00:00'),
(98, 12, 'WA4', 0, 'wa12', 10, 0, 20, 2, 12, 'OTHER', 0, 0, 0, '0000-00-00 00:00:00'),
(99, 12, 'WA3', 0, 'AAA12', 1, 0, 20, 0.2, 1.2, 'OTHER', 0, 0, 0, '0000-00-00 00:00:00'),
(100, 12, 'WA2', 0, 'WA', 2, 0, 20, 0.4, 2.4, 'OTHER', 0, 0, 0, '0000-00-00 00:00:00'),
(101, 12, 'www', 0, 'www', 2, 0, 20, 0.4, 2.4, 'OTHER', 0, 0, 0, '0000-00-00 00:00:00'),
(102, 12, 'TRANSPORT', 0, 'Transport 1', 1, 0, 0, 0, 1, 'LOGISTICS', 0, 0, 0, '0000-00-00 00:00:00'),
(103, 12, 'PACKAGING', 0, 'PACKAGING 2', 2, 0, 0, 0, 2, 'LOGISTICS', 0, 0, 0, '0000-00-00 00:00:00'),
(104, 12, 'PALLET', 0, 'PALLET AMORTISATION 3', 3, 0, 0, 0, 3, 'LOGISTICS', 0, 0, 0, '0000-00-00 00:00:00'),
(105, 12, 'OTHER', 0, 'OTHER 4', 4, 0, 0, 0, 4, 'LOGISTICS', 0, 0, 0, '0000-00-00 00:00:00'),
(115, 16, '9', 9, 'Gel Pen Red', 2, 20, 20, 8, 48, 'ITEM', 0, 0, 0, '0000-00-00 00:00:00'),
(116, 16, '7', 7, 'Ballpoint Pen Blue', 1, 12, 20, 2.4, 14.4, 'ITEM', 0, 0, 0, '0000-00-00 00:00:00'),
(117, 16, '147', 0, 'new service', 100, 2, 20, 40, 240, 'SERVICES', 0, 0, 0, '0000-00-00 00:00:00'),
(118, 16, 'new', 0, 'new service', 50, 0, 20, 10, 60, 'OTHER', 0, 0, 0, '0000-00-00 00:00:00'),
(119, 16, 'TRANSPORT', 0, 'truck', 800, 0, 0, 0, 800, 'LOGISTICS', 0, 0, 0, '0000-00-00 00:00:00'),
(120, 16, 'PACKAGING', 0, 'BOX PACK', 600, 0, 0, 0, 600, 'LOGISTICS', 0, 0, 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `ord_notes`
--

CREATE TABLE `ord_notes` (
  `id` int(11) NOT NULL,
  `order_id` int(11) NOT NULL,
  `order_notes` text NOT NULL,
  `is_archive` tinyint(4) NOT NULL,
  `archived_on` datetime NOT NULL,
  `archived_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `ord_notes`
--

INSERT INTO `ord_notes` (`id`, `order_id`, `order_notes`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_by`, `updated_on`) VALUES
(1, 2, 'testing', 0, '0000-00-00 00:00:00', 0, '2026-02-25 12:30:52', 1, 1, '2026-02-25 12:30:52'),
(2, 2, 'testing 3', 0, '0000-00-00 00:00:00', 0, '2026-02-25 12:31:04', 1, 1, '2026-02-25 12:31:04'),
(5, 8, '', 0, '0000-00-00 00:00:00', 0, '2026-02-27 11:13:28', 1, 1, '2026-02-27 11:13:28'),
(6, 1, 'bnn', 0, '0000-00-00 00:00:00', 0, '2026-02-28 05:08:31', 1, 1, '2026-02-28 12:45:15'),
(7, 4, 'Client stated Were reviewing options  not committing yet. Budget discussed ~4,5006,750 (approx.). Needs integration with CRMAPI &amp; third-party tools (Xero, Sage, etc.).\r\nRequested update before 31032026 @ 1430.', 0, '0000-00-00 00:00:00', 0, '2026-03-02 12:53:17', 1, 1, '2026-03-02 12:53:17'),
(4, 6, 'Testing Notes 123456789 Testing for long text and special characters Test x5 Test Test Test Test Test Special Characters !&quot;^&amp;*()+~@,.&#039;#- Special Character End', 1, '2026-02-26 11:25:42', 1, '2026-02-26 09:36:12', 1, 1, '2026-02-26 11:25:42'),
(8, 7, '&quot;notes&quot;', 0, '0000-00-00 00:00:00', 0, '2026-03-02 12:54:03', 1, 1, '2026-03-02 12:54:03'),
(9, 37, 'Test Notes 103026 - 7.39pm - Check availability before confirmation', 0, '0000-00-00 00:00:00', 0, '2026-03-10 14:08:02', 1, 1, '2026-03-10 14:09:01'),
(10, 37, 'Test 2 Notes - 103026', 1, '2026-03-10 14:14:07', 1, '2026-03-10 14:10:17', 1, 1, '2026-03-10 14:14:07'),
(11, 37, 'Take reception stairs for Main hall access', 0, '0000-00-00 00:00:00', 0, '2026-03-10 14:11:21', 1, 1, '2026-03-10 14:11:21'),
(12, 37, 'Don&#039;t ring the bell', 0, '0000-00-00 00:00:00', 0, '2026-03-10 14:17:55', 1, 1, '2026-03-10 14:17:55'),
(13, 35, 'Test note on Archive order', 0, '0000-00-00 00:00:00', 0, '2026-03-10 14:30:58', 1, 1, '2026-03-10 14:30:58');

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

--
-- Table structure for table `ord_orders`
--

CREATE TABLE `ord_orders` (
  `id` int(11) NOT NULL,
  `enquiry_id` int(11) NOT NULL,
  `quotation_id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `contact_id` int(11) NOT NULL,
  `order_number` varchar(255) NOT NULL,
  `po_number` varchar(255) NOT NULL,
  `order_date` datetime NOT NULL,
  `sub_total` double NOT NULL,
  `vat_total` double NOT NULL,
  `discount_total` double NOT NULL,
  `grand_total` double NOT NULL,
  `order_reason` int(11) NOT NULL,
  `order_notes` text NOT NULL,
  `is_delivery_address` tinyint(4) NOT NULL,
  `delivery_address1` varchar(255) NOT NULL,
  `delivery_address2` varchar(255) NOT NULL,
  `delivery_address3` varchar(255) NOT NULL,
  `delivery_city` varchar(255) NOT NULL,
  `delivery_county` varchar(255) NOT NULL,
  `delivery_postcode` varchar(255) NOT NULL,
  `is_billing_address` tinyint(4) NOT NULL,
  `billing_address1` varchar(255) NOT NULL,
  `billing_address2` varchar(255) NOT NULL,
  `billing_address3` varchar(255) NOT NULL,
  `billing_city` varchar(255) NOT NULL,
  `billing_county` varchar(255) NOT NULL,
  `billing_postcode` varchar(255) NOT NULL,
  `status` int(11) NOT NULL,
  `is_archive` tinyint(4) NOT NULL,
  `archived_on` datetime NOT NULL,
  `archived_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_by` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `ord_orders`
--

INSERT INTO `ord_orders` (`id`, `enquiry_id`, `quotation_id`, `company_id`, `contact_id`, `order_number`, `po_number`, `order_date`, `sub_total`, `vat_total`, `discount_total`, `grand_total`, `order_reason`, `order_notes`, `is_delivery_address`, `delivery_address1`, `delivery_address2`, `delivery_address3`, `delivery_city`, `delivery_county`, `delivery_postcode`, `is_billing_address`, `billing_address1`, `billing_address2`, `billing_address3`, `billing_city`, `billing_county`, `billing_postcode`, `status`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(12, 35, 20, 95, 0, 'S-020426-ANU-03', '', '2026-04-02 00:00:00', 25.05, 5.01, 0, 40.06, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 1, 0, '0000-00-00 00:00:00', 0, '2026-04-02 08:44:46', 1, '2026-04-02 07:44:57', 1),
(16, 37, 23, 96, 0, 'S-070426-ROS-04', '', '2026-04-07 00:00:00', 302, 60.4, 0, 1762.4, 0, '', 0, '', '', '', '', '', '', 0, '', '', '', '', '', '', 3, 0, '0000-00-00 00:00:00', 0, '2026-04-07 15:18:42', 1, '2026-04-07 14:19:02', 1),
(9, 31, 18, 87, 0, 'S-010426-GRE-02', '', '2026-04-01 00:00:00', 1550, 310, 0, 2960, 1, '', 0, '', '', '', '', '', '', 1, '', '', '', '', '', '', 3, 0, '0000-00-00 00:00:00', 0, '2026-04-01 11:17:34', 1, '2026-04-01 10:17:34', 1),
(8, 30, 17, 89, 0, 'S-310326-SYN-01', '', '2026-04-01 00:00:00', 288, 57.6, 0, 1852.6, 1, 'testing purpose', 0, 'new street 1', '', '', 'northamton', 'Northamptonshire', 'NN 22', 1, 'new street 1', '', '', 'northamton', 'Northamptonshire', 'NN 22', 1, 0, '0000-00-00 00:00:00', 0, '2026-04-01 09:07:50', 1, '2026-04-02 07:25:56', 1);

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

--
-- Table structure for table `permissions`
--

CREATE TABLE `permissions` (
  `id` int(11) NOT NULL,
  `group_id` int(11) NOT NULL,
  `module_id` int(11) NOT NULL,
  `can_view` tinyint(1) DEFAULT 0,
  `can_create` tinyint(1) DEFAULT 0,
  `can_edit` tinyint(1) DEFAULT 0,
  `can_archive` tinyint(1) DEFAULT 0,
  `can_delete` tinyint(1) DEFAULT 0,
  `can_restore` tinyint(1) DEFAULT 0,
  `can_history` tinyint(1) DEFAULT 0,
  `can_export` tinyint(1) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `permissions`
--

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

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

--
-- Table structure for table `permissions_history`
--

CREATE TABLE `permissions_history` (
  `id` int(11) NOT NULL,
  `his_id` int(11) NOT NULL,
  `group_id` int(11) NOT NULL,
  `module_id` int(11) NOT NULL,
  `can_view` tinyint(1) DEFAULT 0,
  `can_create` tinyint(1) DEFAULT 0,
  `can_edit` tinyint(1) DEFAULT 0,
  `can_archive` tinyint(1) DEFAULT 0,
  `can_delete` tinyint(1) DEFAULT 0,
  `can_restore` tinyint(1) DEFAULT 0,
  `can_history` tinyint(1) DEFAULT 0,
  `can_export` tinyint(1) DEFAULT 0,
  `history_created_by` int(11) NOT NULL,
  `history_created_on` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `permissions_history`
--

INSERT INTO `permissions_history` (`id`, `his_id`, `group_id`, `module_id`, `can_view`, `can_create`, `can_edit`, `can_archive`, `can_delete`, `can_restore`, `can_history`, `can_export`, `history_created_by`, `history_created_on`) VALUES
(1, 8, 3, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-08 15:40:01'),
(2, 7, 3, 2, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-08 15:40:02'),
(3, 11, 3, 6, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-08 15:40:02'),
(4, 10, 3, 3, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-08 15:40:02'),
(5, 9, 3, 4, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-08 15:40:02'),
(6, 15, 3, 5, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-08 15:40:02'),
(7, 8, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-08 16:11:23'),
(8, 7, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-08 16:11:23'),
(9, 11, 3, 6, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-08 16:11:24'),
(10, 10, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-08 16:11:24'),
(11, 9, 3, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-08 16:11:24'),
(12, 15, 3, 5, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-08 16:11:24'),
(13, 22, 6, 3, 0, 0, 1, 1, 0, 0, 0, 0, 1, '2026-01-09 08:57:30'),
(14, 22, 6, 3, 0, 0, 1, 1, 0, 0, 0, 0, 1, '2026-01-09 08:57:30'),
(15, 22, 6, 3, 0, 0, 1, 1, 0, 0, 0, 0, 1, '2026-01-09 08:57:36'),
(16, 22, 6, 3, 0, 0, 1, 1, 0, 0, 0, 0, 1, '2026-01-09 08:57:36'),
(17, 24, 6, 4, 0, 0, 0, 1, 0, 0, 0, 0, 1, '2026-01-09 08:57:45'),
(18, 24, 6, 4, 0, 0, 0, 1, 0, 0, 0, 0, 1, '2026-01-09 08:57:45'),
(19, 24, 6, 4, 0, 0, 0, 1, 0, 0, 0, 0, 1, '2026-01-09 09:12:21'),
(20, 24, 6, 4, 0, 0, 0, 1, 0, 0, 0, 0, 1, '2026-01-09 09:12:21'),
(21, 26, 8, 2, 1, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:12:26'),
(22, 26, 8, 2, 1, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:12:26'),
(23, 26, 8, 2, 1, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:12:27'),
(24, 26, 8, 2, 1, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:12:27'),
(25, 26, 8, 2, 1, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:12:32'),
(26, 26, 8, 2, 1, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:12:32'),
(27, 26, 8, 2, 1, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:12:38'),
(28, 26, 8, 2, 1, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:12:38'),
(29, 26, 8, 2, 1, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:18:04'),
(30, 28, 8, 6, 1, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:18:10'),
(31, 27, 8, 3, 1, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:18:13'),
(32, 28, 8, 6, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:18:16'),
(33, 27, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:18:20'),
(34, 21, 6, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:22:02'),
(35, 22, 6, 3, 0, 0, 1, 1, 0, 0, 0, 0, 1, '2026-01-09 09:22:03'),
(36, 24, 6, 4, 0, 0, 0, 1, 0, 0, 0, 0, 1, '2026-01-09 09:22:03'),
(37, 21, 6, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:22:09'),
(38, 30, 6, 2, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:22:09'),
(39, 31, 6, 6, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:22:09'),
(40, 22, 6, 3, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:22:09'),
(41, 24, 6, 4, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:22:09'),
(42, 32, 6, 5, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:22:10'),
(43, 21, 6, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:22:18'),
(44, 30, 6, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:22:19'),
(45, 31, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:22:19'),
(46, 22, 6, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:22:19'),
(47, 24, 6, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:22:19'),
(48, 32, 6, 5, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:22:19'),
(49, 21, 6, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:22:23'),
(50, 30, 6, 2, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:22:23'),
(51, 31, 6, 6, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:22:23'),
(52, 22, 6, 3, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:22:23'),
(53, 24, 6, 4, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:22:23'),
(54, 32, 6, 5, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:22:23'),
(55, 26, 8, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:22:50'),
(56, 28, 8, 6, 1, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:22:50'),
(57, 27, 8, 3, 1, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:22:50'),
(58, 29, 8, 4, 1, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:22:50'),
(59, 12, 7, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:24:57'),
(60, 13, 7, 2, 0, 0, 0, 1, 0, 0, 0, 0, 1, '2026-01-09 09:24:57'),
(61, 16, 7, 6, 0, 0, 0, 0, 0, 1, 0, 0, 1, '2026-01-09 09:24:57'),
(62, 14, 7, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:24:57'),
(63, 17, 7, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:24:57'),
(64, 18, 7, 5, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:24:57'),
(65, 12, 7, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:25:01'),
(66, 13, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:25:01'),
(67, 16, 7, 6, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:25:01'),
(68, 14, 7, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:25:01'),
(69, 17, 7, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:25:01'),
(70, 18, 7, 5, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:25:01'),
(71, 33, 8, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:25:08'),
(72, 26, 8, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:25:09'),
(73, 28, 8, 6, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:25:09'),
(74, 27, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:25:09'),
(75, 29, 8, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:25:09'),
(76, 34, 8, 5, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 09:25:09'),
(77, 33, 8, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:25:11'),
(78, 26, 8, 2, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:25:11'),
(79, 28, 8, 6, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:25:11'),
(80, 27, 8, 3, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:25:11'),
(81, 29, 8, 4, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:25:11'),
(82, 34, 8, 5, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-09 09:25:11'),
(83, 35, 5, 6, 1, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-09 10:58:25'),
(84, 36, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-10 18:05:48'),
(85, 37, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-10 18:05:48'),
(86, 38, 5, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-10 18:05:48'),
(87, 39, 5, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-10 18:05:48'),
(88, 40, 5, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-10 18:05:48'),
(89, 35, 5, 6, 1, 0, 1, 0, 0, 0, 0, 0, 1, '2026-01-10 18:05:49'),
(90, 41, 5, 7, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-10 18:05:49'),
(91, 41, 5, 7, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-10 18:05:53'),
(92, 37, 5, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-10 18:05:55'),
(93, 40, 5, 4, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-10 18:05:56'),
(94, 35, 5, 6, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-10 18:05:58'),
(95, 38, 5, 2, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-10 18:05:59'),
(96, 39, 5, 3, 1, 1, 1, 1, 1, 1, 0, 1, 1, '2026-01-10 18:06:01'),
(97, 41, 5, 7, 1, 1, 1, 1, 1, 1, 0, 0, 1, '2026-01-10 18:42:25'),
(98, 37, 5, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, '2026-01-10 18:42:27'),
(99, 40, 5, 4, 1, 1, 1, 1, 1, 1, 0, 0, 1, '2026-01-10 18:42:28'),
(100, 35, 5, 6, 1, 1, 1, 1, 1, 1, 0, 0, 1, '2026-01-10 18:42:31'),
(101, 38, 5, 2, 1, 1, 1, 1, 1, 1, 0, 0, 1, '2026-01-10 18:42:32'),
(102, 39, 5, 3, 1, 1, 1, 1, 1, 1, 0, 0, 1, '2026-01-10 18:42:33'),
(103, 41, 5, 7, 0, 1, 1, 1, 1, 1, 0, 0, 17, '2026-01-11 14:18:01'),
(104, 41, 5, 7, 1, 1, 1, 1, 1, 1, 0, 0, 17, '2026-01-11 14:26:08'),
(105, 41, 5, 7, 1, 0, 1, 1, 1, 1, 0, 0, 17, '2026-01-11 14:26:10'),
(106, 41, 5, 7, 1, 0, 0, 1, 1, 1, 0, 0, 17, '2026-01-11 14:26:12'),
(107, 41, 5, 7, 1, 0, 0, 0, 1, 1, 0, 0, 17, '2026-01-11 14:26:13'),
(108, 41, 5, 7, 1, 0, 0, 0, 0, 1, 0, 0, 17, '2026-01-11 14:26:15'),
(109, 41, 5, 7, 1, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-11 15:28:46'),
(110, 41, 5, 7, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-11 15:28:59'),
(111, 41, 5, 7, 1, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-11 15:29:43'),
(112, 41, 5, 7, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-11 15:29:48'),
(113, 41, 5, 7, 1, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-11 15:29:52'),
(114, 41, 5, 7, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-11 15:51:55'),
(115, 41, 5, 7, 1, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-11 15:59:42'),
(116, 42, 2, 7, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-11 17:34:24'),
(117, 42, 2, 7, 1, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-11 17:34:29'),
(118, 42, 2, 7, 1, 1, 0, 0, 0, 0, 0, 0, 17, '2026-01-11 17:34:30'),
(119, 42, 2, 7, 1, 1, 1, 0, 0, 0, 0, 0, 17, '2026-01-11 17:34:32'),
(120, 42, 2, 7, 1, 1, 1, 1, 0, 0, 0, 0, 17, '2026-01-11 17:34:33'),
(121, 42, 2, 7, 1, 1, 1, 1, 1, 0, 0, 0, 17, '2026-01-11 17:34:37'),
(122, 42, 2, 7, 1, 1, 1, 1, 1, 1, 0, 0, 17, '2026-01-11 17:34:40'),
(123, 42, 2, 7, 1, 1, 1, 1, 1, 1, 1, 0, 17, '2026-01-11 17:34:44'),
(124, 1, 2, 1, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-11 17:34:47'),
(125, 4, 2, 4, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-11 17:34:49'),
(126, 6, 2, 6, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-11 17:34:50'),
(127, 2, 2, 2, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-11 17:34:51'),
(128, 3, 2, 3, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-11 17:34:55'),
(129, 8, 3, 1, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-11 17:46:22'),
(130, 9, 3, 4, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-11 17:51:16'),
(131, 15, 3, 5, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:17:16'),
(132, 8, 3, 1, 1, 1, 1, 0, 1, 1, 0, 1, 17, '2026-01-12 12:17:16'),
(133, 7, 3, 2, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:17:16'),
(134, 10, 3, 3, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:17:16'),
(135, 9, 3, 4, 1, 0, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:17:16'),
(136, 11, 3, 6, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:17:16'),
(137, 43, 3, 7, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 12:17:16'),
(138, 18, 7, 5, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:17:19'),
(139, 12, 7, 1, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:17:19'),
(140, 13, 7, 2, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:17:19'),
(141, 14, 7, 3, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:17:19'),
(142, 17, 7, 4, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:17:19'),
(143, 16, 7, 6, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:17:19'),
(144, 44, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 12:17:19'),
(145, 18, 7, 5, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:17:30'),
(146, 12, 7, 1, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:17:30'),
(147, 13, 7, 2, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:17:30'),
(148, 14, 7, 3, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:17:30'),
(149, 17, 7, 4, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:17:30'),
(150, 16, 7, 6, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:17:30'),
(151, 44, 7, 7, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:17:30'),
(152, 44, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 12:17:47'),
(153, 14, 7, 3, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 12:17:58'),
(154, 14, 7, 3, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 12:18:05'),
(155, 41, 5, 7, 1, 0, 0, 0, 0, 0, 1, 0, 17, '2026-01-12 15:50:51'),
(156, 41, 5, 7, 0, 0, 0, 0, 0, 0, 1, 0, 17, '2026-01-12 15:51:20'),
(157, 18, 7, 5, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 17:52:04'),
(158, 12, 7, 1, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 17:52:04'),
(159, 13, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 17:52:04'),
(160, 14, 7, 3, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 17:52:04'),
(161, 17, 7, 4, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 17:52:04'),
(162, 16, 7, 6, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 17:52:04'),
(163, 44, 7, 7, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 17:52:05'),
(164, 18, 7, 5, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-12 18:05:15'),
(165, 12, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-12 18:05:15'),
(166, 13, 7, 2, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-12 18:05:15'),
(167, 14, 7, 3, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-12 18:05:15'),
(168, 17, 7, 4, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-12 18:05:15'),
(169, 16, 7, 6, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-12 18:05:15'),
(170, 44, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-12 18:05:16'),
(171, 18, 7, 5, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:05:33'),
(172, 12, 7, 1, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:05:33'),
(173, 13, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:05:33'),
(174, 14, 7, 3, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:05:33'),
(175, 17, 7, 4, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:05:33'),
(176, 16, 7, 6, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:05:33'),
(177, 44, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:05:33'),
(178, 18, 7, 5, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:07:29'),
(179, 12, 7, 1, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:07:29'),
(180, 13, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:07:29'),
(181, 14, 7, 3, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:07:29'),
(182, 17, 7, 4, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:07:29'),
(183, 16, 7, 6, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:07:29'),
(184, 44, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:07:29'),
(185, 15, 3, 5, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 18:17:03'),
(186, 8, 3, 1, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 18:17:03'),
(187, 7, 3, 2, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 18:17:03'),
(188, 10, 3, 3, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 18:17:03'),
(189, 9, 3, 4, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 18:17:03'),
(190, 11, 3, 6, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 18:17:03'),
(191, 43, 3, 7, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 18:17:03'),
(192, 34, 8, 5, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:20:54'),
(193, 33, 8, 1, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:20:54'),
(194, 26, 8, 2, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:20:54'),
(195, 27, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:20:54'),
(196, 29, 8, 4, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:20:54'),
(197, 28, 8, 6, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:20:54'),
(198, 45, 8, 7, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:20:54'),
(199, 46, 4, 5, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:22:05'),
(200, 19, 4, 1, 0, 0, 0, 1, 0, 0, 0, 0, 17, '2026-01-12 18:22:05'),
(201, 20, 4, 2, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 18:22:05'),
(202, 47, 4, 3, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:22:05'),
(203, 23, 4, 4, 1, 1, 1, 1, 1, 1, 0, 1, 17, '2026-01-12 18:22:05'),
(204, 25, 4, 6, 1, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:22:05'),
(205, 48, 4, 7, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-12 18:22:05'),
(206, 36, 5, 5, 1, 1, 1, 1, 1, 1, 0, 1, 0, '2026-01-13 08:08:46'),
(207, 37, 5, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, '2026-01-13 08:08:46'),
(208, 38, 5, 2, 0, 1, 1, 1, 1, 1, 0, 0, 0, '2026-01-13 08:08:46'),
(209, 39, 5, 3, 0, 1, 1, 1, 1, 1, 0, 0, 0, '2026-01-13 08:08:46'),
(210, 40, 5, 4, 0, 1, 1, 1, 1, 1, 0, 0, 0, '2026-01-13 08:08:46'),
(211, 35, 5, 6, 0, 1, 1, 1, 1, 1, 0, 0, 0, '2026-01-13 08:08:46'),
(212, 41, 5, 7, 1, 0, 0, 0, 0, 0, 1, 0, 0, '2026-01-13 08:08:46'),
(213, 34, 8, 5, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:08:49'),
(214, 33, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:08:49'),
(215, 26, 8, 2, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:08:49'),
(216, 27, 8, 3, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:08:49'),
(217, 29, 8, 4, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:08:49'),
(218, 28, 8, 6, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:08:49'),
(219, 45, 8, 7, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:08:49'),
(220, 18, 7, 5, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:08:51'),
(221, 12, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:08:51'),
(222, 13, 7, 2, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:08:51'),
(223, 14, 7, 3, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:08:51'),
(224, 17, 7, 4, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:08:51'),
(225, 16, 7, 6, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:08:51'),
(226, 44, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:08:51'),
(227, 18, 7, 5, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:09:00'),
(228, 12, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:09:00'),
(229, 13, 7, 2, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:09:00'),
(230, 14, 7, 3, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:09:00'),
(231, 17, 7, 4, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:09:00'),
(232, 16, 7, 6, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:09:00'),
(233, 44, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:09:00'),
(234, 18, 7, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, '2026-01-13 08:09:04'),
(235, 12, 7, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, '2026-01-13 08:09:04'),
(236, 13, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, '2026-01-13 08:09:04'),
(237, 14, 7, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, '2026-01-13 08:09:04'),
(238, 17, 7, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, '2026-01-13 08:09:04'),
(239, 16, 7, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, '2026-01-13 08:09:04'),
(240, 44, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, '2026-01-13 08:09:05'),
(241, 34, 8, 5, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:09:12'),
(242, 33, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:09:12'),
(243, 26, 8, 2, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:09:12'),
(244, 27, 8, 3, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:09:12'),
(245, 29, 8, 4, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:09:12'),
(246, 28, 8, 6, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:09:12'),
(247, 45, 8, 7, 1, 1, 1, 1, 1, 1, 1, 1, 0, '2026-01-13 08:09:12'),
(248, 15, 3, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, '2026-01-13 08:09:19'),
(249, 8, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, '2026-01-13 08:09:19'),
(250, 7, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, '2026-01-13 08:09:19'),
(251, 10, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, '2026-01-13 08:09:19'),
(252, 9, 3, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, '2026-01-13 08:09:19'),
(253, 11, 3, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, '2026-01-13 08:09:19'),
(254, 43, 3, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, '2026-01-13 08:09:19'),
(255, 15, 3, 5, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 08:11:45'),
(256, 8, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 08:11:46'),
(257, 7, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 08:11:46'),
(258, 10, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 08:11:46'),
(259, 9, 3, 4, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 08:11:46'),
(260, 11, 3, 6, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 08:11:46'),
(261, 43, 3, 7, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 08:11:46'),
(262, 18, 7, 5, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:05:37'),
(263, 12, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:05:37'),
(264, 13, 7, 2, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:05:37'),
(265, 14, 7, 3, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:05:37'),
(266, 17, 7, 4, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:05:37'),
(267, 16, 7, 6, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:05:37'),
(268, 44, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:05:37'),
(269, 34, 8, 5, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 09:14:43'),
(270, 33, 8, 1, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 09:14:43'),
(271, 26, 8, 2, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 09:14:43'),
(272, 27, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 09:14:43'),
(273, 29, 8, 4, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 09:14:43'),
(274, 28, 8, 6, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 09:14:43'),
(275, 45, 8, 7, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 09:14:43'),
(276, 34, 8, 5, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:54:41'),
(277, 33, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:54:41'),
(278, 26, 8, 2, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:54:41'),
(279, 27, 8, 3, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:54:41'),
(280, 29, 8, 4, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:54:41'),
(281, 28, 8, 6, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:54:41'),
(282, 45, 8, 7, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:54:41'),
(283, 34, 8, 5, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:55:37'),
(284, 33, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:55:37'),
(285, 26, 8, 2, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:55:37'),
(286, 27, 8, 3, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:55:37'),
(287, 29, 8, 4, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:55:37'),
(288, 28, 8, 6, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:55:37'),
(289, 45, 8, 7, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:55:37'),
(290, 46, 4, 5, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:59:24'),
(291, 19, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:59:24'),
(292, 20, 4, 2, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:59:25'),
(293, 47, 4, 3, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:59:25'),
(294, 23, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:59:25'),
(295, 25, 4, 6, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:59:25'),
(296, 48, 4, 7, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 09:59:25'),
(297, 34, 8, 5, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:04:07'),
(298, 33, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:04:07'),
(299, 26, 8, 2, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:04:07'),
(300, 27, 8, 3, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:04:07'),
(301, 29, 8, 4, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:04:07'),
(302, 28, 8, 6, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:04:07'),
(303, 45, 8, 7, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:04:07'),
(304, 15, 3, 5, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:10:21'),
(305, 8, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:10:21'),
(306, 7, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:10:21'),
(307, 10, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:10:21'),
(308, 9, 3, 4, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:10:21'),
(309, 11, 3, 6, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:10:21'),
(310, 43, 3, 7, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:10:21'),
(311, 15, 3, 5, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 10:10:28'),
(312, 8, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 10:10:28'),
(313, 7, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 10:10:28'),
(314, 10, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 10:10:28'),
(315, 9, 3, 4, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 10:10:28'),
(316, 11, 3, 6, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 10:10:28'),
(317, 43, 3, 7, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 10:10:28'),
(318, 43, 3, 7, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:10:57'),
(319, 43, 3, 7, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 10:11:03'),
(320, 15, 3, 5, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:11:07'),
(321, 8, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:11:07'),
(322, 7, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:11:07'),
(323, 10, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:11:07'),
(324, 9, 3, 4, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:11:07'),
(325, 11, 3, 6, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:11:07'),
(326, 43, 3, 7, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-13 10:11:07'),
(327, 15, 3, 5, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 10:11:11'),
(328, 8, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 10:11:11'),
(329, 7, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 10:11:11'),
(330, 10, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 10:11:11'),
(331, 9, 3, 4, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 10:11:11'),
(332, 11, 3, 6, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 10:11:11'),
(333, 43, 3, 7, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-13 10:11:11'),
(334, 41, 5, 7, 1, 1, 1, 1, 1, 1, 1, 1, 17, '2026-01-14 10:33:10'),
(335, 41, 5, 7, 0, 0, 0, 0, 0, 0, 0, 0, 17, '2026-01-14 10:33:12'),
(336, 18, 7, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:26'),
(337, 12, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:26'),
(338, 13, 7, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:26'),
(339, 14, 7, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:26'),
(340, 17, 7, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:26'),
(341, 16, 7, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:26'),
(342, 44, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:26'),
(343, 18, 7, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:30'),
(344, 12, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:30'),
(345, 13, 7, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:30'),
(346, 14, 7, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:30'),
(347, 17, 7, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:30'),
(348, 16, 7, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:30'),
(349, 44, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:30'),
(350, 18, 7, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:39'),
(351, 12, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:39'),
(352, 13, 7, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:39'),
(353, 14, 7, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:39'),
(354, 17, 7, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:39'),
(355, 16, 7, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:39'),
(356, 44, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 06:19:39'),
(357, 45, 8, 7, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:17:48'),
(358, 41, 5, 7, 1, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:18:51'),
(359, 41, 5, 7, 1, 1, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:18:53'),
(360, 41, 5, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:19:17'),
(361, 41, 5, 7, 0, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:19:23'),
(362, 41, 5, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:19:28'),
(363, 41, 5, 7, 0, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:19:38'),
(364, 41, 5, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:20:05'),
(365, 41, 5, 7, 1, 0, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:20:27'),
(366, 43, 3, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:21:20'),
(367, 43, 3, 7, 1, 1, 1, 1, 0, 1, 1, 1, 1, '2026-01-22 14:21:25'),
(368, 43, 3, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:21:32'),
(369, 43, 3, 7, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:21:34'),
(370, 45, 8, 7, 0, 0, 0, 0, 0, 0, 0, 1, 1, '2026-01-22 14:24:28'),
(371, 45, 8, 7, 0, 1, 0, 0, 0, 0, 0, 1, 1, '2026-01-22 14:24:30'),
(372, 34, 8, 5, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:24:44'),
(373, 33, 8, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:24:44'),
(374, 26, 8, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:24:44'),
(375, 27, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:24:44'),
(376, 29, 8, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:24:44'),
(377, 28, 8, 6, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:24:44'),
(378, 45, 8, 7, 0, 0, 0, 0, 0, 0, 0, 1, 1, '2026-01-22 14:24:44'),
(379, 15, 3, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:27:08'),
(380, 8, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:27:08'),
(381, 7, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:27:09'),
(382, 10, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:27:09'),
(383, 9, 3, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:27:09'),
(384, 11, 3, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:27:09'),
(385, 43, 3, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:27:09'),
(386, 44, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:27:32'),
(387, 44, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:27:35'),
(388, 44, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:27:36'),
(389, 44, 7, 7, 1, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:27:39'),
(390, 18, 7, 5, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:28:58'),
(391, 12, 7, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:28:59'),
(392, 13, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:28:59'),
(393, 14, 7, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:28:59'),
(394, 17, 7, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:28:59'),
(395, 16, 7, 6, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:28:59'),
(396, 44, 7, 7, 1, 0, 1, 0, 0, 0, 0, 0, 1, '2026-01-22 14:28:59'),
(397, 18, 7, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:29:09'),
(398, 12, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:29:09'),
(399, 13, 7, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:29:09'),
(400, 14, 7, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:29:09'),
(401, 17, 7, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:29:09'),
(402, 16, 7, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:29:09'),
(403, 44, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:29:09'),
(404, 18, 7, 5, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:29:16'),
(405, 12, 7, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:29:16'),
(406, 13, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:29:16'),
(407, 14, 7, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:29:16'),
(408, 17, 7, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:29:16'),
(409, 16, 7, 6, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:29:16'),
(410, 44, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:29:16'),
(411, 18, 7, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:29:21'),
(412, 12, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:29:21'),
(413, 13, 7, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:29:21'),
(414, 14, 7, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:29:21'),
(415, 17, 7, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:29:21'),
(416, 16, 7, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:29:21'),
(417, 44, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 14:29:21'),
(418, 18, 7, 5, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:57:55'),
(419, 12, 7, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:57:55'),
(420, 13, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:57:55'),
(421, 14, 7, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:57:55'),
(422, 17, 7, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:57:55'),
(423, 16, 7, 6, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:57:55'),
(424, 44, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-22 14:57:56'),
(425, 15, 3, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 15:13:50'),
(426, 8, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 15:13:50'),
(427, 7, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 15:13:50'),
(428, 10, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 15:13:50'),
(429, 9, 3, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 15:13:50'),
(430, 11, 3, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 15:13:50'),
(431, 43, 3, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-22 15:13:50'),
(432, 34, 8, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-23 14:14:06'),
(433, 33, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-23 14:14:06'),
(434, 26, 8, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-23 14:14:06'),
(435, 27, 8, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-23 14:14:06'),
(436, 29, 8, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-23 14:14:06'),
(437, 28, 8, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-23 14:14:06'),
(438, 45, 8, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-23 14:14:07'),
(439, 45, 8, 7, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-23 14:14:15'),
(440, 33, 8, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-23 14:14:17'),
(441, 29, 8, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-23 14:14:20'),
(442, 28, 8, 6, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-23 14:14:21'),
(443, 26, 8, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-23 14:14:23'),
(444, 27, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-23 14:14:25'),
(445, 8, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-23 14:15:45'),
(446, 8, 3, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-23 14:15:48'),
(447, 43, 3, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-23 14:15:58'),
(448, 43, 3, 7, 0, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-23 14:22:03'),
(449, 43, 3, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-23 14:23:03'),
(450, 43, 3, 7, 0, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-27 13:35:52'),
(451, 43, 3, 7, 0, 0, 1, 1, 1, 1, 1, 1, 1, '2026-01-27 13:35:54'),
(452, 8, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-27 13:35:56'),
(453, 9, 3, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-27 13:35:58'),
(454, 15, 3, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-27 13:36:02'),
(455, 8, 3, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, '2026-01-27 13:36:02'),
(456, 7, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-27 13:36:02'),
(457, 10, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-27 13:36:02'),
(458, 9, 3, 4, 1, 1, 1, 1, 1, 0, 1, 1, 1, '2026-01-27 13:36:02'),
(459, 11, 3, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-27 13:36:02'),
(460, 43, 3, 7, 0, 1, 1, 1, 1, 1, 1, 1, 1, '2026-01-27 13:36:02'),
(461, 15, 3, 5, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-27 13:36:04'),
(462, 8, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-27 13:36:04'),
(463, 7, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-27 13:36:04'),
(464, 10, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-27 13:36:04'),
(465, 9, 3, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-27 13:36:04'),
(466, 11, 3, 6, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-27 13:36:04'),
(467, 43, 3, 7, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-01-27 13:36:04'),
(468, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-23 09:45:36'),
(469, 8, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-02-23 09:45:44'),
(470, 8, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-23 09:45:46'),
(471, 67, 9, 5, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:20'),
(472, 68, 9, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:20'),
(473, 69, 9, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:20'),
(474, 70, 9, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:20'),
(475, 71, 9, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:20'),
(476, 72, 9, 6, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:20'),
(477, 73, 9, 7, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:20'),
(478, 74, 9, 8, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:20'),
(479, 75, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:20'),
(480, 76, 9, 10, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:20'),
(481, 77, 9, 11, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:20'),
(482, 78, 9, 12, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:20'),
(483, 79, 9, 13, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:21'),
(484, 80, 9, 14, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:21'),
(485, 81, 9, 15, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:21'),
(486, 82, 9, 16, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:21'),
(487, 83, 9, 17, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:21'),
(488, 84, 9, 18, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:21'),
(489, 85, 9, 19, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:21'),
(490, 86, 9, 20, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:21'),
(491, 87, 9, 21, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:21'),
(492, 88, 9, 23, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:26:22'),
(493, 87, 9, 21, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-02-26 11:26:41'),
(494, 87, 9, 21, 0, 1, 1, 1, 1, 1, 1, 1, 1, '2026-02-26 11:26:44'),
(495, 87, 9, 21, 0, 0, 1, 1, 1, 1, 1, 1, 1, '2026-02-26 11:26:46'),
(496, 87, 9, 21, 0, 0, 0, 1, 1, 1, 1, 1, 1, '2026-02-26 11:26:49'),
(497, 87, 9, 21, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-02-26 11:26:59'),
(498, 87, 9, 21, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-02-26 11:27:07'),
(499, 64, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-04 13:27:26'),
(500, 89, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-04 13:27:26'),
(502, 64, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-04 13:27:27'),
(503, 89, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-04 13:27:27'),
(504, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-04 13:27:27'),
(505, 64, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-04 13:27:29'),
(506, 89, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-04 13:27:29'),
(507, 90, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-04 13:27:29'),
(508, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-04 13:27:29'),
(509, 45, 8, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-09 12:51:49'),
(510, 45, 8, 7, 0, 1, 1, 1, 1, 1, 1, 1, 36, '2026-03-13 11:59:25'),
(511, 27, 8, 3, 1, 1, 1, 1, 1, 1, 1, 1, 36, '2026-03-13 12:04:10'),
(512, 29, 8, 4, 1, 1, 1, 1, 1, 1, 1, 1, 36, '2026-03-13 12:04:17'),
(513, 27, 8, 3, 0, 0, 0, 0, 0, 0, 0, 0, 36, '2026-03-13 12:04:20'),
(514, 67, 9, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:12'),
(515, 68, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:12'),
(516, 69, 9, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(517, 70, 9, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(518, 71, 9, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(519, 72, 9, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(520, 73, 9, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(521, 74, 9, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(522, 75, 9, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(523, 76, 9, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(524, 77, 9, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(525, 78, 9, 12, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(526, 79, 9, 13, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(527, 80, 9, 14, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(528, 81, 9, 15, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(529, 82, 9, 16, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(530, 83, 9, 17, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(531, 84, 9, 18, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(532, 85, 9, 19, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(533, 86, 9, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(534, 87, 9, 21, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(535, 88, 9, 23, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:13'),
(536, 67, 9, 5, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:27'),
(537, 68, 9, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:27'),
(538, 69, 9, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:27'),
(539, 70, 9, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:27'),
(540, 71, 9, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:27'),
(541, 72, 9, 6, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:27'),
(542, 73, 9, 7, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:27'),
(543, 74, 9, 8, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:27'),
(544, 75, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:27'),
(545, 76, 9, 10, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:27'),
(546, 77, 9, 11, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:27'),
(547, 78, 9, 12, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:27'),
(548, 79, 9, 13, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:27'),
(549, 80, 9, 14, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:27'),
(550, 81, 9, 15, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:27'),
(551, 82, 9, 16, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:27'),
(552, 83, 9, 17, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:27'),
(553, 84, 9, 18, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:28'),
(554, 85, 9, 19, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:28'),
(555, 86, 9, 20, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:28'),
(556, 87, 9, 21, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:28'),
(557, 88, 9, 23, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:28'),
(558, 92, 9, 24, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:28'),
(559, 67, 9, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:46'),
(560, 68, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:46'),
(561, 69, 9, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:46'),
(562, 70, 9, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:46'),
(563, 71, 9, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:46'),
(564, 72, 9, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:46'),
(565, 73, 9, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:46'),
(566, 74, 9, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:46'),
(567, 75, 9, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:46'),
(568, 76, 9, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:46'),
(569, 77, 9, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:46'),
(570, 78, 9, 12, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:46'),
(571, 79, 9, 13, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:46'),
(572, 80, 9, 14, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:46'),
(573, 81, 9, 15, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:46'),
(574, 82, 9, 16, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:46'),
(575, 83, 9, 17, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:46'),
(576, 84, 9, 18, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:47'),
(577, 85, 9, 19, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:47'),
(578, 86, 9, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:47'),
(579, 87, 9, 21, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:47'),
(580, 88, 9, 23, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:47'),
(581, 92, 9, 24, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-03-16 13:49:47'),
(582, 87, 9, 21, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:51'),
(583, 87, 9, 21, 1, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-16 13:49:54'),
(584, 18, 7, 5, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:40'),
(585, 12, 7, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:40'),
(586, 13, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:40'),
(587, 14, 7, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:40'),
(588, 17, 7, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:40'),
(589, 16, 7, 6, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:40'),
(590, 44, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:40'),
(591, 93, 7, 8, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:40'),
(592, 94, 7, 9, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:40'),
(593, 95, 7, 10, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:40'),
(594, 96, 7, 11, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:41'),
(595, 97, 7, 12, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:41'),
(596, 98, 7, 13, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:41'),
(597, 99, 7, 14, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:41'),
(598, 100, 7, 15, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:41'),
(599, 101, 7, 16, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:41'),
(600, 102, 7, 17, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:41'),
(601, 103, 7, 18, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:41'),
(602, 104, 7, 19, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:41'),
(603, 105, 7, 20, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:41'),
(604, 106, 7, 21, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:42'),
(605, 107, 7, 23, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:42'),
(606, 108, 7, 24, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-03-30 11:07:42'),
(607, 108, 7, 24, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-08 10:34:10'),
(608, 108, 7, 24, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-08 10:34:13'),
(609, 109, 3, 8, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-10 17:05:58'),
(610, 110, 3, 9, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-10 17:05:58'),
(611, 111, 3, 10, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-10 17:05:58'),
(612, 112, 3, 11, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-10 17:05:58'),
(613, 113, 3, 13, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-10 17:05:58'),
(614, 114, 3, 14, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-10 17:05:58'),
(615, 115, 3, 15, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-10 17:05:58'),
(616, 116, 3, 16, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-10 17:05:58'),
(617, 117, 3, 17, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-10 17:05:58'),
(618, 118, 3, 18, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-10 17:05:58'),
(619, 119, 3, 19, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-10 17:05:58'),
(620, 120, 3, 20, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-10 17:05:58'),
(621, 121, 3, 21, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-10 17:05:58'),
(622, 122, 3, 23, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-10 17:05:58'),
(623, 123, 3, 24, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-10 17:05:58'),
(624, 124, 3, 25, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-10 17:05:58'),
(625, 125, 3, 26, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-10 17:05:58'),
(626, 8, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 17:05:58'),
(627, 7, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 17:05:58'),
(628, 10, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 17:05:58'),
(629, 9, 3, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 17:05:58'),
(630, 15, 3, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 17:05:58'),
(631, 11, 3, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 17:05:58'),
(632, 43, 3, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 17:05:58'),
(633, 126, 3, 12, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2026-04-10 17:05:58'),
(634, 109, 3, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(635, 110, 3, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(636, 111, 3, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(637, 112, 3, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(638, 113, 3, 13, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(639, 114, 3, 14, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(640, 115, 3, 15, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(641, 116, 3, 16, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(642, 117, 3, 17, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(643, 118, 3, 18, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(644, 119, 3, 19, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(645, 120, 3, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(646, 121, 3, 21, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(647, 122, 3, 23, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(648, 123, 3, 24, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(649, 124, 3, 25, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(650, 125, 3, 26, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(651, 8, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(652, 7, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(653, 10, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(654, 9, 3, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(655, 15, 3, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(656, 11, 3, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(657, 43, 3, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15'),
(658, 126, 3, 12, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2026-04-10 19:21:15');

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

--
-- Table structure for table `plugin_details`
--

CREATE TABLE `plugin_details` (
  `id` int(11) NOT NULL,
  `plugin_name` varchar(512) NOT NULL,
  `plugin_filename` varchar(1024) NOT NULL,
  `plugin_object` varchar(255) NOT NULL,
  `plugin_class_name` varchar(255) DEFAULT NULL,
  `is_active` tinyint(4) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `plugin_details`
--

INSERT INTO `plugin_details` (`id`, `plugin_name`, `plugin_filename`, `plugin_object`, `plugin_class_name`, `is_active`) VALUES
(1, 'Calender', 'calenderAPI.class.php', 'calenderAPI', 'calenderAPI', 1);

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

--
-- Table structure for table `pur_po_invoices`
--

CREATE TABLE `pur_po_invoices` (
  `id` int(11) NOT NULL,
  `purchase_order_id` int(11) NOT NULL,
  `invoice_number` varchar(255) NOT NULL,
  `invoice_date` datetime NOT NULL,
  `total_inc_vat` double NOT NULL,
  `is_inv_item_status` tinyint(4) NOT NULL,
  `document_upload` varchar(500) NOT NULL,
  `discrepancy` int(11) NOT NULL,
  `discrepancy_details` text NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `pur_po_invoices`
--

INSERT INTO `pur_po_invoices` (`id`, `purchase_order_id`, `invoice_number`, `invoice_date`, `total_inc_vat`, `is_inv_item_status`, `document_upload`, `discrepancy`, `discrepancy_details`, `created_by`, `created_on`, `updated_by`, `updated_on`) VALUES
(1, 6, 'test', '2026-04-06 00:00:00', 27.6, 0, '', 0, '', 1, '2026-04-06 11:09:03', 1, '2026-04-08 10:54:15');

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

--
-- Table structure for table `pur_po_invoices_items_mapping`
--

CREATE TABLE `pur_po_invoices_items_mapping` (
  `id` int(11) NOT NULL,
  `po_invoices_id` int(11) NOT NULL,
  `purchase_order_mapping_id` int(11) NOT NULL,
  `purchase_order_id` int(11) NOT NULL,
  `status` int(11) NOT NULL,
  `stock_ref` varchar(255) NOT NULL,
  `supplier_ref` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `vat_amount` double NOT NULL,
  `quantity` int(11) NOT NULL,
  `unit_price` double NOT NULL,
  `line_total` double NOT NULL,
  `nominal_code` varchar(255) NOT NULL,
  `no_discrepancy` tinyint(4) NOT NULL,
  `discrepancy_in_qty` tinyint(4) NOT NULL,
  `discrepancy_in_price` tinyint(4) NOT NULL,
  `discrepancy_item_reason` text NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `pur_po_invoices_items_mapping`
--

INSERT INTO `pur_po_invoices_items_mapping` (`id`, `po_invoices_id`, `purchase_order_mapping_id`, `purchase_order_id`, `status`, `stock_ref`, `supplier_ref`, `description`, `vat_amount`, `quantity`, `unit_price`, `line_total`, `nominal_code`, `no_discrepancy`, `discrepancy_in_qty`, `discrepancy_in_price`, `discrepancy_item_reason`, `created_by`, `created_on`, `updated_by`, `updated_on`) VALUES
(1, 1, 15, 6, 0, '', '', 'Ballpoint Pen Black [ST002]', 2, 1, 10, 12, '', 0, 0, 0, '', 1, '2026-04-06 11:09:03', 1, '2026-04-06 10:09:03'),
(2, 1, 15, 6, 0, '', '', 'Ballpoint Pen Black [ST002]', 2, 1, 10, 12, '', 0, 0, 0, '', 1, '2026-04-08 11:53:46', 1, '2026-04-08 10:53:46'),
(3, 1, 13, 6, 0, '', '', 'Honey Bottle [789789789789]', 0.8, 2, 2, 4.8, '', 0, 0, 0, '', 1, '2026-04-08 11:53:46', 1, '2026-04-08 10:53:46'),
(4, 1, 17, 6, 0, '', '', 'Sticky Notes Yellow [ST007]', 1.8, 3, 3, 10.8, '', 0, 0, 0, '', 1, '2026-04-08 11:53:46', 1, '2026-04-08 10:53:46'),
(5, 1, 18, 6, 0, '', '', 'Whiteboard Eraser [ST037]', 0, 0, 0, 0, '', 0, 0, 0, '', 1, '2026-04-08 11:53:46', 1, '2026-04-08 10:53:46'),
(6, 1, 15, 6, 0, '', '', 'Ballpoint Pen Black [ST002]', 2, 1, 10, 12, '', 0, 1, 1, '', 1, '2026-04-08 11:54:15', 1, '2026-04-08 10:54:15'),
(7, 1, 13, 6, 0, '', '', 'Honey Bottle [789789789789]', 0.8, 2, 2, 4.8, '', 0, 0, 0, '', 1, '2026-04-08 11:54:15', 1, '2026-04-08 10:54:15'),
(8, 1, 17, 6, 0, '', '', 'Sticky Notes Yellow [ST007]', 1.8, 3, 3, 10.8, '', 0, 0, 0, '', 1, '2026-04-08 11:54:15', 1, '2026-04-08 10:54:15'),
(9, 1, 18, 6, 0, '', '', 'Whiteboard Eraser [ST037]', 0, 0, 0, 0, '', 0, 0, 0, '', 1, '2026-04-08 11:54:15', 1, '2026-04-08 10:54:15');

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

--
-- Table structure for table `pur_purchase_order`
--

CREATE TABLE `pur_purchase_order` (
  `id` int(11) NOT NULL,
  `order_ref` varchar(25) NOT NULL,
  `order_status` int(11) NOT NULL,
  `order_id` varchar(512) NOT NULL,
  `supplier_id` int(11) NOT NULL,
  `batch_number` varchar(255) NOT NULL,
  `serial_number` varchar(255) NOT NULL,
  `delivery_option` int(11) NOT NULL,
  `selected_delivery_option_value` int(11) NOT NULL DEFAULT 0,
  `delivery_address1` varchar(255) NOT NULL,
  `delivery_address2` varchar(255) NOT NULL,
  `delivery_address3` varchar(255) NOT NULL,
  `delivery_city` varchar(255) NOT NULL,
  `delivery_county` varchar(255) NOT NULL,
  `delivery_postcode` varchar(255) NOT NULL,
  `deliver_to` text NOT NULL,
  `order_notes` text NOT NULL,
  `is_archive` tinyint(4) NOT NULL,
  `archived_on` datetime NOT NULL,
  `archived_by` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `pur_purchase_order`
--

INSERT INTO `pur_purchase_order` (`id`, `order_ref`, `order_status`, `order_id`, `supplier_id`, `batch_number`, `serial_number`, `delivery_option`, `selected_delivery_option_value`, `delivery_address1`, `delivery_address2`, `delivery_address3`, `delivery_city`, `delivery_county`, `delivery_postcode`, `deliver_to`, `order_notes`, `is_archive`, `archived_on`, `archived_by`, `created_by`, `created_on`, `updated_by`, `updated_on`) VALUES
(1, 'P-2703202601', 1, '76,82', 3, '', '', 3, 1, 'adderess -1', 'adderess -2', 'adderess -3', 'town', '', 'abc12', 'adderess -1, adderess -2, adderess -3, town, abc12, ', '', 0, '0000-00-00 00:00:00', 0, 1, '2026-03-27 12:31:46', 1, '2026-03-27 12:31:46'),
(2, 'P-2703202602', 3, '76,82', 3, '', '', 3, 1, 'adderess -1', 'adderess -2', 'adderess -3', 'town', '', 'abc12', 'adderess -1, adderess -2, adderess -3, town, abc12, ', '', 0, '0000-00-00 00:00:00', 0, 1, '2026-03-27 12:35:16', 1, '2026-03-27 15:54:07'),
(3, 'P-2703202603', 4, '82', 3, '', '', 1, 71, '15 Innovation Drive', 'Tech Park', '', 'Brighton', '', 'BN1 2AB', '15 Innovation Drive, Tech Park, Brighton, BN1 2AB, ', '', 0, '0000-00-00 00:00:00', 0, 1, '2026-03-27 12:50:16', 1, '2026-03-28 09:55:40'),
(4, 'P-2703202604', 1, '82,84,85', 2, '', '', 3, 1, 'adderess -1', 'adderess -2', 'adderess -3', 'town', '', 'abc12', 'adderess -1, adderess -2, adderess -3, town, abc12, ', '', 0, '0000-00-00 00:00:00', 0, 1, '2026-03-27 15:17:07', 1, '2026-03-27 15:17:07'),
(5, 'P-2903202601', 3, '1,4', 28, '', '', 3, 1, 'adderess -1', 'adderess -2', 'adderess -3', 'town', '', 'abc12', 'adderess -1, adderess -2, adderess -3, town, abc12, ', '', 0, '0000-00-00 00:00:00', 0, 1, '2026-03-29 09:40:10', 1, '2026-03-29 09:01:17'),
(6, 'P-2903202602', 3, '1,2,3', 3, '', '', 3, 3, 'add1', '', '', '', '', '', 'add1, ', '', 0, '0000-00-00 00:00:00', 0, 1, '2026-03-29 09:41:37', 1, '2026-03-29 09:00:48'),
(15, 'P-0704202601', 1, '16', 5, '', '', 1, 96, 'downtown', 'street12', '', 'surrey', 'Surrey', 'NN2344', 'downtown, street12, surrey, Surrey, NN2344, ', '', 0, '0000-00-00 00:00:00', 0, 1, '2026-04-07 15:19:32', 1, '2026-04-07 14:19:32'),
(16, 'P-0804202601', 3, '16', 40, '', '', 3, 1, 'adderess -1', 'adderess -2', 'adderess -3', 'town', '', 'abc12', 'adderess -1, adderess -2, adderess -3, town, abc12, ', '', 0, '0000-00-00 00:00:00', 0, 1, '2026-04-08 14:59:10', 1, '2026-04-08 13:59:10');

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

--
-- Table structure for table `pur_purchase_order_history`
--

CREATE TABLE `pur_purchase_order_history` (
  `id` int(11) NOT NULL,
  `his_id` int(11) NOT NULL,
  `order_ref` int(11) NOT NULL,
  `order_status` int(11) NOT NULL,
  `order_id` int(11) NOT NULL,
  `supplier_id` int(11) NOT NULL,
  `batch_number` varchar(255) NOT NULL,
  `serial_number` varchar(255) NOT NULL,
  `delivery_option` int(11) NOT NULL,
  `selected_delivery_option_value` int(11) NOT NULL,
  `delivery_address1` varchar(255) NOT NULL,
  `delivery_address2` varchar(255) NOT NULL,
  `delivery_address3` varchar(255) NOT NULL,
  `delivery_city` varchar(255) NOT NULL,
  `delivery_county` varchar(255) NOT NULL,
  `delivery_postcode` varchar(255) NOT NULL,
  `deliver_to` text NOT NULL,
  `order_notes` text NOT NULL,
  `is_archive` tinyint(4) NOT NULL,
  `archived_on` datetime NOT NULL,
  `archived_by` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `action_type` varchar(255) NOT NULL,
  `history_created_by` int(11) NOT NULL,
  `history_created_on` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `pur_purchase_order_history`
--

INSERT INTO `pur_purchase_order_history` (`id`, `his_id`, `order_ref`, `order_status`, `order_id`, `supplier_id`, `batch_number`, `serial_number`, `delivery_option`, `selected_delivery_option_value`, `delivery_address1`, `delivery_address2`, `delivery_address3`, `delivery_city`, `delivery_county`, `delivery_postcode`, `deliver_to`, `order_notes`, `is_archive`, `archived_on`, `archived_by`, `created_by`, `created_on`, `updated_by`, `updated_on`, `action_type`, `history_created_by`, `history_created_on`) VALUES
(1, 2, 0, 1, 76, 3, '', '', 3, 1, 'adderess -1', 'adderess -2', 'adderess -3', 'town', '', 'abc12', 'adderess -1, adderess -2, adderess -3, town, abc12, ', '', 0, '0000-00-00 00:00:00', 0, 1, '2026-03-27 12:35:16', 1, '2026-03-27 12:35:16', 'UPDATE', 1, '2026-03-27 13:00:35'),
(2, 3, 0, 1, 82, 3, '', '', 3, 1, 'adderess -1', 'adderess -2', 'adderess -3', 'town', '', 'abc12', 'adderess -1, adderess -2, adderess -3, town, abc12, ', '', 0, '0000-00-00 00:00:00', 0, 1, '2026-03-27 12:50:16', 1, '2026-03-27 12:50:16', 'UPDATE', 1, '2026-03-27 15:40:22'),
(3, 3, 0, 1, 82, 3, '', '', 1, 71, '15 Innovation Drive', 'Tech Park', '', 'Brighton', '', 'BN1 2AB', '15 Innovation Drive, Tech Park, Brighton, BN1 2AB, ', '', 0, '0000-00-00 00:00:00', 0, 1, '2026-03-27 12:50:16', 1, '2026-03-27 15:40:22', 'UPDATE', 1, '2026-03-27 15:40:42'),
(4, 3, 0, 3, 82, 3, '', '', 1, 71, '15 Innovation Drive', 'Tech Park', '', 'Brighton', '', 'BN1 2AB', '15 Innovation Drive, Tech Park, Brighton, BN1 2AB, ', '', 0, '0000-00-00 00:00:00', 0, 1, '2026-03-27 12:50:16', 1, '2026-03-27 15:40:42', 'UPDATE', 1, '2026-03-27 15:41:49'),
(5, 2, 0, 3, 76, 3, '', '', 3, 1, 'adderess -1', 'adderess -2', 'adderess -3', 'town', '', 'abc12', 'adderess -1, adderess -2, adderess -3, town, abc12, ', '', 1, '2026-03-27 15:51:51', 1, 1, '2026-03-27 12:35:16', 1, '2026-03-27 15:51:51', 'ARCHIVE', 1, '2026-03-27 15:51:51'),
(6, 2, 0, 3, 76, 3, '', '', 3, 1, 'adderess -1', 'adderess -2', 'adderess -3', 'town', '', 'abc12', 'adderess -1, adderess -2, adderess -3, town, abc12, ', '', 1, '2026-03-27 15:51:51', 1, 1, '2026-03-27 12:35:16', 1, '2026-03-27 15:51:51', 'UNARCHIVE', 1, '2026-03-27 15:54:07'),
(7, 3, 0, 1, 82, 3, '', '', 1, 71, '15 Innovation Drive', 'Tech Park', '', 'Brighton', '', 'BN1 2AB', '15 Innovation Drive, Tech Park, Brighton, BN1 2AB, ', '', 0, '0000-00-00 00:00:00', 0, 1, '2026-03-27 12:50:16', 1, '2026-03-27 15:41:49', 'UPDATE', 1, '2026-03-27 16:03:21'),
(9, 6, 0, 1, 1, 3, '', '', 3, 3, 'add1', '', '', '', '', '', 'add1, ', '', 0, '0000-00-00 00:00:00', 0, 1, '2026-03-29 09:41:37', 1, '2026-03-29 08:41:37', 'UPDATE', 1, '2026-03-29 10:00:48'),
(10, 5, 0, 1, 1, 28, '', '', 3, 1, 'adderess -1', 'adderess -2', 'adderess -3', 'town', '', 'abc12', 'adderess -1, adderess -2, adderess -3, town, abc12, ', '', 0, '0000-00-00 00:00:00', 0, 1, '2026-03-29 09:40:10', 1, '2026-03-29 08:40:10', 'UPDATE', 1, '2026-03-29 10:01:17');

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

--
-- Table structure for table `pur_purchase_order_items_mapping`
--

CREATE TABLE `pur_purchase_order_items_mapping` (
  `id` int(11) NOT NULL,
  `po_id` int(11) NOT NULL,
  `ordering` int(11) NOT NULL,
  `nominal_code` int(11) NOT NULL,
  `ord_order_id` int(11) NOT NULL,
  `ord_item_id` int(11) NOT NULL,
  `ord_item_qty` int(11) NOT NULL,
  `part_number` int(11) NOT NULL,
  `sku` varchar(255) NOT NULL,
  `part_name` text NOT NULL,
  `quantity` int(11) NOT NULL,
  `unit_price` float NOT NULL,
  `vat_rate` float NOT NULL,
  `vat_amount` float NOT NULL,
  `line_total` float NOT NULL,
  `expected_date` datetime NOT NULL,
  `received` int(11) NOT NULL,
  `is_reviewed` tinyint(1) DEFAULT 0,
  `review_notes` text DEFAULT NULL,
  `status` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `pur_purchase_order_items_mapping`
--

INSERT INTO `pur_purchase_order_items_mapping` (`id`, `po_id`, `ordering`, `nominal_code`, `ord_order_id`, `ord_item_id`, `ord_item_qty`, `part_number`, `sku`, `part_name`, `quantity`, `unit_price`, `vat_rate`, `vat_amount`, `line_total`, `expected_date`, `received`, `is_reviewed`, `review_notes`, `status`, `created_by`, `created_on`, `updated_by`, `updated_on`) VALUES
(1, 1, 0, 0, 76, 93, 0, 16, 'SKU-ST-010', 'Whiteboard Marker Blue [ST010]', 125, 123, 20, 3075, 18450, '2026-03-31 00:00:00', 0, 0, NULL, 0, 1, '2026-03-27 12:31:46', 1, '2026-03-27 12:31:46'),
(2, 1, 0, 0, 82, 109, 0, 43, 'SKU-ST-037', 'Whiteboard Eraser [ST037]', 10, 23, 20, 46, 276, '2026-03-30 00:00:00', 0, 0, NULL, 0, 1, '2026-03-27 12:31:46', 1, '2026-03-27 12:31:46'),
(3, 1, 0, 0, 0, 0, 0, 13, 'SKU-ST-007', 'Sticky Notes Yellow [ST007]', 5, 1331, 20, 1331, 7986, '2026-03-27 00:00:00', 0, 0, NULL, 0, 1, '2026-03-27 12:31:46', 1, '2026-03-27 12:31:46'),
(4, 2, 0, 0, 76, 93, 0, 16, 'SKU-ST-010', 'Whiteboard Marker Blue [ST010]', 175, 123, 20, 4305, 21525, '2026-03-31 00:00:00', 175, 0, '', 0, 1, '2026-03-27 12:35:16', 1, '2026-03-27 13:01:13'),
(5, 2, 0, 0, 82, 109, 0, 43, 'SKU-ST-037', 'Whiteboard Eraser [ST037]', 15, 23, 20, 69, 345, '2026-03-30 00:00:00', 0, 0, NULL, 0, 1, '2026-03-27 12:35:16', 1, '2026-03-27 13:00:35'),
(6, 3, 0, 0, 82, 109, 0, 43, 'SKU-ST-037', 'Whiteboard Eraser [ST037]', 10, 23, 20, 46, 230, '2026-03-30 00:00:00', 7, 0, '', 0, 1, '2026-03-27 12:50:16', 1, '2026-03-28 10:12:28'),
(7, 4, 0, 0, 82, 121, 0, 7, 'SKU-ST-001', 'Ballpoint Pen Blue [ST001]', 10, 45, 20, 90, 540, '2026-03-27 00:00:00', 0, 0, NULL, 0, 1, '2026-03-27 15:17:07', 1, '2026-03-27 15:17:07'),
(8, 4, 0, 0, 84, 135, 0, 7, 'SKU-ST-001', 'Ballpoint Pen Blue [ST001]', 1, 45, 20, 9, 54, '2026-03-27 00:00:00', 0, 0, NULL, 0, 1, '2026-03-27 15:17:07', 1, '2026-03-27 15:17:07'),
(9, 4, 0, 0, 85, 134, 0, 7, 'SKU-ST-001', 'Ballpoint Pen Blue [ST001]', 1, 45, 20, 9, 54, '2026-03-27 00:00:00', 0, 0, NULL, 0, 1, '2026-03-27 15:17:07', 1, '2026-03-27 15:17:07'),
(10, 5, 0, 0, 1, 6, 0, 7, 'SKU-ST-001', 'Ballpoint Pen Blue [ST001]', 25, 54, 20, 270, 1350, '2026-03-29 00:00:00', 0, 0, NULL, 0, 1, '2026-03-29 09:40:10', 1, '2026-03-29 09:01:17'),
(11, 5, 0, 0, 4, 19, 0, 7, 'SKU-ST-001', 'Ballpoint Pen Blue [ST001]', 1, 54, 20, 10.8, 54, '2026-03-29 00:00:00', 1, 0, '', 0, 1, '2026-03-29 09:40:10', 1, '2026-03-29 09:47:05'),
(12, 5, 0, 0, 0, 0, 0, 7, 'SKU-ST-001', 'Ballpoint Pen Blue [ST001]', 15, 54, 20, 162, 810, '2026-03-29 00:00:00', 0, 0, NULL, 0, 1, '2026-03-29 09:40:10', 1, '2026-03-29 09:01:17'),
(13, 6, 0, 0, 1, 2, 0, 6, 'HONBOT001', 'Honey Bottle [789789789789]', 13, 23, 20, 59.8, 299, '2026-04-03 00:00:00', 11, 3, '5', 0, 1, '2026-03-29 09:41:37', 1, '2026-04-08 11:57:52'),
(14, 6, 0, 0, 1, 5, 0, 8, 'SKU-ST-002', 'Ballpoint Pen Black [ST002]', 15, 20, 20, 60, 300, '2026-03-29 00:00:00', 4, 4, '2', 0, 1, '2026-03-29 09:41:37', 1, '2026-04-08 12:02:42'),
(15, 6, 0, 0, 2, 12, 0, 8, 'SKU-ST-002', 'Ballpoint Pen Black [ST002]', 19, 20, 20, 76, 380, '2026-03-29 00:00:00', 15, 0, '', 0, 1, '2026-03-29 09:41:37', 1, '2026-03-29 09:46:48'),
(16, 6, 0, 0, 3, 18, 0, 8, 'SKU-ST-002', 'Ballpoint Pen Black [ST002]', 12, 20, 20, 48, 240, '2026-03-29 00:00:00', 0, 0, NULL, 0, 1, '2026-03-29 09:41:37', 1, '2026-03-29 09:00:48'),
(17, 6, 0, 0, 0, 0, 0, 13, 'SKU-ST-007', 'Sticky Notes Yellow [ST007]', 15, 1331, 20, 3993, 19965, '2026-03-29 00:00:00', 3, 0, '', 0, 1, '2026-03-29 09:41:37', 1, '2026-04-01 04:52:13'),
(18, 6, 0, 0, 0, 0, 0, 43, 'SKU-ST-037', 'Whiteboard Eraser [ST037]', 10, 23, 20, 46, 230, '2026-04-01 00:00:00', 0, 0, NULL, 0, 1, '2026-03-29 09:41:37', 1, '2026-03-29 09:00:48'),
(28, 15, 0, 0, 16, 116, 0, 7, 'SKU-ST-001', 'Ballpoint Pen Blue [ST001]', 12, 98, 20, 235.2, 1411.2, '2026-04-07 00:00:00', 0, 0, NULL, 0, 1, '2026-04-07 15:19:32', 1, '2026-04-07 14:19:32'),
(29, 16, 0, 0, 16, 115, 0, 9, 'SKU-ST-003', 'Gel Pen Red [ST003]', 20, 10, 20, 40, 240, '2026-04-08 00:00:00', 0, 0, NULL, 0, 1, '2026-04-08 14:59:10', 1, '2026-04-08 13:59:10');

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

--
-- Table structure for table `pur_purchase_slips`
--

CREATE TABLE `pur_purchase_slips` (
  `id` int(11) NOT NULL,
  `purchase_order_mapp_id` int(11) DEFAULT NULL,
  `qty_received` int(11) DEFAULT NULL,
  `qty_used` int(11) DEFAULT 0,
  `slip_date` datetime DEFAULT NULL,
  `received_by` int(11) NOT NULL,
  `batch_number` varchar(255) DEFAULT NULL,
  `serial_number` varchar(255) DEFAULT NULL,
  `expiry_date` date NOT NULL,
  `warehouse_id` int(11) NOT NULL,
  `row_id` int(11) NOT NULL,
  `shelf_id` int(11) NOT NULL,
  `stock_transfer_date` datetime NOT NULL,
  `stock_transfer_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `pur_purchase_slips`
--

INSERT INTO `pur_purchase_slips` (`id`, `purchase_order_mapp_id`, `qty_received`, `qty_used`, `slip_date`, `received_by`, `batch_number`, `serial_number`, `expiry_date`, `warehouse_id`, `row_id`, `shelf_id`, `stock_transfer_date`, `stock_transfer_by`) VALUES
(1, 19, 2, 0, '2026-03-29 10:46:23', 1, NULL, NULL, '0000-00-00', 0, 0, 0, '0000-00-00 00:00:00', 0),
(2, 20, 3, 0, '2026-03-29 10:46:27', 1, NULL, NULL, '0000-00-00', 0, 0, 0, '0000-00-00 00:00:00', 0),
(3, 15, 15, 0, '2026-03-29 10:46:48', 1, 'sample', 'sample', '2026-04-30', 3, 6, 10, '2026-04-06 09:05:23', 1),
(4, 11, 1, 0, '2026-03-29 10:47:05', 1, NULL, NULL, '0000-00-00', 0, 0, 0, '0000-00-00 00:00:00', 0),
(5, 13, 5, 0, '2026-04-01 05:52:02', 1, 'test', 'steete', '2026-04-25', 3, 6, 10, '2026-04-06 09:04:37', 1),
(6, 17, 3, 0, '2026-04-01 05:52:13', 1, NULL, NULL, '0000-00-00', 0, 0, 0, '0000-00-00 00:00:00', 0),
(7, 13, 2, 0, '2026-04-06 11:07:11', 1, NULL, NULL, '0000-00-00', 0, 0, 0, '0000-00-00 00:00:00', 0),
(8, 13, 4, 0, '2026-04-08 12:56:56', 1, NULL, NULL, '0000-00-00', 0, 0, 0, '0000-00-00 00:00:00', 0),
(9, 14, 4, 0, '2026-04-08 13:00:00', 1, NULL, NULL, '0000-00-00', 0, 0, 0, '0000-00-00 00:00:00', 0);

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

--
-- Table structure for table `pur_purchase_slips_delivery`
--

CREATE TABLE `pur_purchase_slips_delivery` (
  `id` int(11) NOT NULL,
  `purchase_order_mapp_id` int(11) DEFAULT NULL,
  `qty_received` int(11) DEFAULT NULL,
  `tracking_no` varchar(256) NOT NULL,
  `delivered_on` datetime NOT NULL,
  `received_by` varchar(256) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `pur_purchase_slips_delivery`
--

INSERT INTO `pur_purchase_slips_delivery` (`id`, `purchase_order_mapp_id`, `qty_received`, `tracking_no`, `delivered_on`, `received_by`) VALUES
(1, 6, 5, 'track0123456', '2026-03-30 00:00:00', 'Not AV'),
(2, 6, 2, '', '0000-00-00 00:00:00', ''),
(3, 19, 2, '', '0000-00-00 00:00:00', ''),
(4, 20, 5, '', '0000-00-00 00:00:00', '');

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

--
-- Table structure for table `quo_item_mapping`
--

CREATE TABLE `quo_item_mapping` (
  `id` int(11) NOT NULL,
  `quotation_id` int(11) NOT NULL,
  `item_code` varchar(255) NOT NULL,
  `item_name` int(255) DEFAULT NULL,
  `part_name` varchar(255) NOT NULL,
  `qty` int(11) DEFAULT 0,
  `unit_price` decimal(10,2) DEFAULT 0.00,
  `vat_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `vat_amount` decimal(10,2) NOT NULL DEFAULT 0.00,
  `line_total` decimal(10,2) NOT NULL DEFAULT 0.00,
  `section_id` varchar(255) NOT NULL,
  `status_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `quo_item_mapping`
--

INSERT INTO `quo_item_mapping` (`id`, `quotation_id`, `item_code`, `item_name`, `part_name`, `qty`, `unit_price`, `vat_rate`, `vat_amount`, `line_total`, `section_id`, `status_id`) VALUES
(3, 1, '7', 7, 'Ballpoint Pen Blue', 1, 0.50, 20.00, 0.10, 0.60, 'ITEM', 2),
(4, 1, '147', NULL, 'wa222', 1, 22.00, 20.00, 4.40, 26.40, 'SERVICES', 2),
(5, 1, 'www', NULL, 'wa', 0, 23.00, 20.00, 4.60, 27.60, 'OTHER', 2),
(6, 1, 'TRANSPORT', NULL, 'wa', 0, 1.00, 0.00, 0.00, 1.00, 'LOGISTICS', 2),
(7, 1, 'PACKAGING', NULL, 'WA2', 0, 2.00, 0.00, 0.00, 2.00, 'LOGISTICS', 2),
(8, 1, 'PALLET', NULL, 'WA3', 0, 3.00, 0.00, 0.00, 3.00, 'LOGISTICS', 2),
(9, 1, 'OTHER', NULL, 'WA4', 0, 4.00, 0.00, 0.00, 4.00, 'LOGISTICS', 2),
(10, 2, '7', 7, 'Ballpoint Pen Blue', 25, 0.50, 20.00, 2.50, 15.00, 'ITEM', 2),
(11, 2, '8', 8, 'Ballpoint Pen Black', 15, 0.50, 20.00, 1.50, 9.00, 'ITEM', 2),
(12, 2, '74', 74, 'External SSD 1TB', 5, 129.99, 20.00, 129.99, 779.94, 'ITEM', 2),
(13, 2, '109', 109, 'Strawberry Cream Chocolate', 3, 4.30, 20.00, 2.58, 15.48, 'ITEM', 2),
(14, 2, '6', 6, 'Honey Bottle', 13, 6.50, 20.00, 16.90, 101.40, 'ITEM', 2),
(15, 2, '108', 108, 'Luxury Truffle Chocolate Box', 5, 9.50, 20.00, 9.50, 57.00, 'ITEM', 2),
(16, 3, '9', 9, 'Gel Pen Red', 24, 0.75, 20.00, 3.60, 21.60, 'ITEM', 2),
(17, 3, '109', 109, 'Strawberry Cream Chocolate', 15, 4.30, 20.00, 12.90, 77.40, 'ITEM', 2),
(18, 3, '57', 57, 'Mobile', 5, 110.00, 20.00, 110.00, 660.00, 'ITEM', 2),
(19, 3, '8', 8, 'Ballpoint Pen Black', 19, 0.50, 20.00, 1.90, 11.40, 'ITEM', 2),
(20, 3, '11', 11, 'Notebook A4', 4, 3.00, 20.00, 2.40, 14.40, 'ITEM', 2),
(21, 4, '8', 8, 'Ballpoint Pen Black', 12, 0.50, 20.00, 1.20, 7.20, 'ITEM', 2),
(22, 4, '11', 11, 'Notebook A4', 5, 3.00, 20.00, 3.00, 18.00, 'ITEM', 2),
(23, 4, '109', 109, 'Strawberry Cream Chocolate', 3, 4.30, 20.00, 2.58, 15.48, 'ITEM', 2),
(24, 6, '6', 6, 'Honey Bottle', 1, 6.50, 20.00, 1.30, 7.80, 'ITEM', 2),
(25, 6, '148', NULL, 'wa222', 1, 12.00, 20.00, 2.40, 14.40, 'SERVICES', 2),
(26, 6, 'WA', NULL, 'WA', 0, 12.00, 20.00, 2.40, 14.40, 'OTHER', 2),
(27, 6, 'TRANSPORT', NULL, 'wa', 0, 23.00, 0.00, 0.00, 23.00, 'LOGISTICS', 2),
(28, 6, 'PACKAGING', NULL, 'WA2', 0, 3.00, 0.00, 0.00, 3.00, 'LOGISTICS', 2),
(29, 6, 'PALLET', NULL, 'WA3', 0, 4.00, 0.00, 0.00, 4.00, 'LOGISTICS', 2),
(30, 6, 'OTHER', NULL, 'WA4', 0, 5.00, 0.00, 0.00, 5.00, 'LOGISTICS', 2),
(31, 7, '7', 7, 'Ballpoint Pen Blue', 1, 0.50, 20.00, 0.10, 0.60, 'ITEM', 2),
(32, 7, '148', NULL, 'aaaaaa', 1, 10.00, 20.00, 2.00, 12.00, 'SERVICES', 2),
(33, 7, 'www', NULL, 'www', 0, 12.00, 20.00, 2.40, 14.40, 'OTHER', 2),
(34, 7, 'TRANSPORT', NULL, 'wa', 0, 1.00, 0.00, 0.00, 1.00, 'LOGISTICS', 2),
(35, 7, 'PACKAGING', NULL, 'WA2', 0, 2.00, 0.00, 0.00, 2.00, 'LOGISTICS', 2),
(36, 7, 'PALLET', NULL, 'WA3', 0, 3.00, 0.00, 0.00, 3.00, 'LOGISTICS', 2),
(37, 7, 'OTHER', NULL, 'WA4', 0, 4.00, 0.00, 0.00, 4.00, 'LOGISTICS', 2),
(38, 8, '8', 8, 'Ballpoint Pen Black', 12, 0.50, 20.00, 1.20, 7.20, 'ITEM', 2),
(39, 8, '9', 9, 'Gel Pen Red', 12, 0.75, 20.00, 1.80, 10.80, 'ITEM', 2),
(40, 8, '147', NULL, 'new service', 2, 50.00, 20.00, 20.00, 120.00, 'SERVICES', 2),
(41, 8, 'TRANSPORT', NULL, 'truck', 0, 800.00, 0.00, 0.00, 800.00, 'LOGISTICS', 2),
(42, 8, 'PACKAGING', NULL, 'BOX PACK', 0, 900.00, 0.00, 0.00, 900.00, 'LOGISTICS', 2),
(43, 9, '7', 7, 'Ballpoint Pen Blue', 12, 0.50, 20.00, 1.20, 7.20, 'ITEM', 2),
(44, 9, '8', 8, 'Ballpoint Pen Black', 12, 0.50, 20.00, 1.20, 7.20, 'ITEM', 2),
(45, 9, '9', 9, 'Gel Pen Red', 21, 0.75, 20.00, 3.15, 18.90, 'ITEM', 2),
(46, 9, '147', NULL, 'new service', 3, 50.00, 20.00, 30.00, 180.00, 'SERVICES', 2),
(47, 9, 'TRANSPORT', NULL, 'truck', 0, 900.00, 0.00, 0.00, 900.00, 'LOGISTICS', 2),
(48, 9, 'PACKAGING', NULL, 'BOX PACK', 0, 800.00, 0.00, 0.00, 800.00, 'LOGISTICS', 2),
(49, 11, '7', 7, 'Ballpoint Pen Blue', 12, 0.50, 20.00, 1.20, 7.20, 'ITEM', 2),
(50, 11, '8', 8, 'Ballpoint Pen Black', 12, 0.50, 20.00, 1.20, 7.20, 'ITEM', 2),
(51, 11, '147', NULL, 'new service', 1, 50.00, 20.00, 10.00, 60.00, 'SERVICES', 2),
(52, 12, '7', 7, 'Ballpoint Pen Blue', 1, 0.50, 20.00, 0.10, 0.60, 'ITEM', 2),
(53, 14, '8', 8, 'Ballpoint Pen Black', 1, 0.50, 20.00, 0.10, 0.60, 'ITEM', 2),
(54, 14, '147', NULL, 'aaaaaa', 1, 2.00, 20.00, 0.40, 2.40, 'SERVICES', 2),
(55, 14, 'www', NULL, 'www', 0, 2.00, 20.00, 0.40, 2.40, 'OTHER', 2),
(56, 14, 'TRANSPORT', NULL, 'wa', 0, 2.00, 0.00, 0.00, 2.00, 'LOGISTICS', 2),
(57, 14, 'PACKAGING', NULL, 'WA2', 0, 3.00, 0.00, 0.00, 3.00, 'LOGISTICS', 2),
(58, 14, 'PALLET', NULL, 'WA3', 0, 4.00, 0.00, 0.00, 4.00, 'LOGISTICS', 2),
(59, 14, 'OTHER', NULL, 'WA4', 0, 5.00, 0.00, 0.00, 5.00, 'LOGISTICS', 2),
(60, 17, '7', 7, 'Ballpoint Pen Blue', 12, 2.00, 20.00, 4.80, 28.80, 'ITEM', 2),
(61, 17, '8', 8, 'Ballpoint Pen Black', 22, 2.00, 20.00, 8.80, 52.80, 'ITEM', 2),
(62, 17, '147', NULL, 'new service', 2, 50.00, 20.00, 20.00, 120.00, 'SERVICES', 2),
(63, 17, 'TRANSPORT', NULL, 'truck', 0, 900.00, 0.00, 0.00, 900.00, 'LOGISTICS', 2),
(64, 17, 'PACKAGING', NULL, 'BOX PACK', 0, 600.00, 0.00, 0.00, 600.00, 'LOGISTICS', 2),
(65, 18, '14', 14, 'Highlighter Assorted', 150, 10.00, 20.00, 300.00, 1800.00, 'ITEM', 2),
(66, 18, 'service based', NULL, 'new service', 0, 50.00, 20.00, 10.00, 60.00, 'OTHER', 2),
(67, 18, 'TRANSPORT', NULL, 'truck', 0, 500.00, 0.00, 0.00, 500.00, 'LOGISTICS', 2),
(68, 18, 'PACKAGING', NULL, 'YES', 0, 600.00, 0.00, 0.00, 600.00, 'LOGISTICS', 2),
(69, 19, '13', 13, 'Sticky Notes Yellow', 160, 1.20, 20.00, 38.40, 230.40, 'ITEM', 2),
(70, 19, '147', NULL, 'new service', 3, 50.00, 20.00, 30.00, 180.00, 'SERVICES', 2),
(71, 19, 'TRANSPORT', NULL, 'truck', 0, 800.00, 0.00, 0.00, 800.00, 'LOGISTICS', 2),
(72, 19, 'PACKAGING', NULL, 'BOX PACK', 0, 900.00, 0.00, 0.00, 900.00, 'LOGISTICS', 2),
(73, 16, 'TRANSPORT', NULL, 'wa', 0, 1.00, 0.00, 0.00, 1.00, 'LOGISTICS', 0),
(74, 16, 'PACKAGING', NULL, 'WA2', 0, 2.00, 0.00, 0.00, 2.00, 'LOGISTICS', 0),
(75, 16, 'PALLET', NULL, 'WA3', 0, 4.00, 0.00, 0.00, 4.00, 'LOGISTICS', 0),
(76, 16, 'OTHER', NULL, 'WA4', 0, 5.00, 0.00, 0.00, 5.00, 'LOGISTICS', 0),
(77, 20, '7', 7, 'Ballpoint Pen Blue', 1, 0.50, 20.00, 0.10, 0.60, 'ITEM', 2),
(78, 20, '8', 8, 'Ballpoint Pen Black', 1, 0.50, 20.00, 0.10, 0.60, 'ITEM', 2),
(79, 20, '9', 9, 'Gel Pen Red', 1, 0.75, 20.00, 0.15, 0.90, 'ITEM', 2),
(80, 20, '10', 10, 'HB Pencil', 1, 0.30, 20.00, 0.06, 0.36, 'ITEM', 2),
(81, 20, '11', 11, 'Notebook A4', 1, 3.00, 20.00, 0.60, 3.60, 'ITEM', 2),
(82, 20, '147', NULL, 'aaaaaa', 1, 2.00, 20.00, 0.40, 2.40, 'SERVICES', 2),
(83, 20, '148', NULL, 'aaaaaa', 3, 1.00, 20.00, 0.57, 3.40, 'SERVICES', 2),
(84, 20, 'www', NULL, 'www', 0, 2.00, 20.00, 0.40, 2.40, 'OTHER', 2),
(85, 20, 'WA2', NULL, 'WA', 0, 2.00, 20.00, 0.40, 2.40, 'OTHER', 2),
(86, 20, 'WA3', NULL, 'AAA12', 0, 1.00, 20.00, 0.20, 1.20, 'OTHER', 2),
(87, 20, 'WA4', NULL, 'wa12', 0, 10.00, 20.00, 2.00, 12.00, 'OTHER', 2),
(88, 20, 'TRANSPORT', NULL, 'Transport 1', 0, 1.00, 0.00, 0.00, 1.00, 'LOGISTICS', 2),
(89, 20, 'PACKAGING', NULL, 'PACKAGING 2', 0, 2.00, 0.00, 0.00, 2.00, 'LOGISTICS', 2),
(90, 20, 'PALLET', NULL, 'PALLET AMORTISATION 3', 0, 3.00, 0.00, 0.00, 3.00, 'LOGISTICS', 2),
(91, 20, 'OTHER', NULL, 'OTHER 4', 0, 4.00, 0.00, 0.00, 4.00, 'LOGISTICS', 2),
(92, 21, '7', 7, 'Ballpoint Pen Blue', 1, 0.50, 20.00, 0.10, 0.60, 'ITEM', 2),
(93, 23, '7', 7, 'Ballpoint Pen Blue', 12, 1.00, 20.00, 2.40, 14.40, 'ITEM', 2),
(94, 23, '9', 9, 'Gel Pen Red', 20, 2.00, 20.00, 8.00, 48.00, 'ITEM', 2),
(95, 23, '147', NULL, 'new service', 2, 100.00, 20.00, 40.00, 240.00, 'SERVICES', 2),
(96, 23, 'new', NULL, 'new service', 0, 50.00, 20.00, 10.00, 60.00, 'OTHER', 2),
(97, 23, 'TRANSPORT', NULL, 'truck', 0, 800.00, 0.00, 0.00, 800.00, 'LOGISTICS', 2),
(98, 23, 'PACKAGING', NULL, 'BOX PACK', 0, 600.00, 0.00, 0.00, 600.00, 'LOGISTICS', 2);

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

--
-- Table structure for table `quo_item_mapping_history`
--

CREATE TABLE `quo_item_mapping_history` (
  `id` int(11) NOT NULL,
  `his_id` int(11) NOT NULL,
  `quotation_id` int(11) NOT NULL,
  `quo_item_id` int(11) NOT NULL,
  `item_code` int(11) NOT NULL,
  `item_name` int(255) DEFAULT NULL,
  `qty` int(11) DEFAULT 0,
  `unit_price` decimal(10,2) DEFAULT 0.00,
  `vat_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `vat_amount` decimal(10,2) NOT NULL DEFAULT 0.00,
  `line_total` decimal(10,2) NOT NULL DEFAULT 0.00,
  `status_id` int(11) NOT NULL,
  `action_type` varchar(255) NOT NULL,
  `history_created_by` int(11) NOT NULL,
  `history_created_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `quo_quotation_management`
--

CREATE TABLE `quo_quotation_management` (
  `id` int(11) NOT NULL,
  `quotation_number` varchar(512) NOT NULL,
  `company_id` int(11) NOT NULL,
  `customer_enquiry_id` int(11) NOT NULL,
  `quotation_date` date NOT NULL,
  `status_id` int(11) NOT NULL,
  `is_archive` tinyint(4) NOT NULL DEFAULT 0,
  `archived_on` datetime DEFAULT NULL,
  `archived_by` int(11) DEFAULT NULL,
  `created_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` int(11) DEFAULT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `quo_quotation_management`
--

INSERT INTO `quo_quotation_management` (`id`, `quotation_number`, `company_id`, `customer_enquiry_id`, `quotation_date`, `status_id`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(17, 'Q-310326-SYN-02V1', 89, 30, '2026-04-01', 1, 0, NULL, NULL, '2026-04-01 07:55:09', 1, '2026-04-07 07:17:22', 1),
(18, 'Q-010426-GRE-01V1', 87, 31, '2026-04-01', 2, 0, NULL, NULL, '2026-04-01 10:07:01', 1, '2026-04-01 10:07:01', 1),
(19, 'Q-010426-GRE-01V2', 87, 31, '2026-04-01', 2, 0, NULL, NULL, '2026-04-01 10:18:54', 1, '2026-04-01 10:18:54', 1),
(20, 'Q-020426-ANU-03V1', 95, 35, '2026-04-02', 1, 0, NULL, NULL, '2026-04-02 06:56:46', 1, '2026-04-02 06:56:46', 1),
(21, 'Q-020426-ANU-03V2', 95, 35, '2026-04-02', 2, 0, NULL, NULL, '2026-04-02 08:14:50', 1, '2026-04-02 08:14:50', 1),
(22, 'Q-070426-ANU-04V1', 95, 36, '2026-04-07', 1, 0, NULL, NULL, '2026-04-07 08:39:24', 1, '2026-04-07 08:39:24', 1),
(23, 'Q-070426-ROS-05V1', 96, 37, '2026-04-07', 2, 0, NULL, NULL, '2026-04-07 09:53:44', 1, '2026-04-07 09:56:57', 1);

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

--
-- Table structure for table `quo_quotation_management_history`
--

CREATE TABLE `quo_quotation_management_history` (
  `id` int(11) NOT NULL,
  `his_id` int(11) NOT NULL,
  `quotation_number` varchar(512) NOT NULL,
  `company_name` varchar(512) NOT NULL,
  `customer_enquiry_id` int(11) NOT NULL,
  `quotation_date` date NOT NULL,
  `status_id` int(11) NOT NULL,
  `is_archive` tinyint(4) NOT NULL DEFAULT 0,
  `archived_on` datetime DEFAULT NULL,
  `archived_by` int(11) DEFAULT NULL,
  `created_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` int(11) DEFAULT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) DEFAULT NULL,
  `action_type` varchar(255) NOT NULL,
  `history_created_by` int(11) NOT NULL,
  `history_created_on` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `quo_quotation_management_history`
--

INSERT INTO `quo_quotation_management_history` (`id`, `his_id`, `quotation_number`, `company_name`, `customer_enquiry_id`, `quotation_date`, `status_id`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`, `action_type`, `history_created_by`, `history_created_on`) VALUES
(35, 27, 'QUO0014', '64', 12, '2026-03-13', 1, 1, '2026-03-10 16:13:14', 1, '2026-03-10 16:02:22', 1, '2026-03-10 16:02:22', 1, 'ARCHIVE', 1, '2026-03-10 16:13:14'),
(36, 26, 'QUO0013', '64', 12, '2026-03-26', 1, 1, '2026-03-10 16:25:40', 1, '2026-03-10 15:56:05', 1, '2026-03-10 15:56:05', 1, 'ARCHIVE', 1, '2026-03-10 16:25:40'),
(37, 25, 'QUO0012', '66', 1, '2026-03-10', 1, 1, '2026-03-10 16:25:44', 1, '2026-03-10 15:47:51', 1, '2026-03-10 15:47:51', 1, 'ARCHIVE', 1, '2026-03-10 16:25:44'),
(38, 31, 'QUO0018', '64', 12, '2026-03-21', 3, 1, '2026-03-11 05:01:15', 1, '2026-03-10 16:29:50', 1, '2026-03-10 16:29:50', 1, 'ARCHIVE', 1, '2026-03-11 05:01:15'),
(39, 28, 'QUO0015', '64', 12, '2026-03-11', 1, 0, NULL, NULL, '2026-03-10 16:13:32', 1, '2026-03-10 16:13:32', 1, 'UPDATE', 1, '2026-03-11 06:31:39'),
(40, 36, 'QUO0023', '71', 14, '2026-03-11', 2, 0, NULL, NULL, '2026-03-11 10:04:09', 1, '2026-03-11 10:04:09', 1, 'UPDATE', 1, '2026-03-11 14:49:58'),
(41, 39, 'QUO0026', '71', 16, '2026-03-02', 1, 1, '2026-03-12 04:15:31', 1, '2026-03-12 04:14:59', 1, '2026-03-12 04:14:59', 1, 'ARCHIVE', 1, '2026-03-12 04:15:31'),
(42, 25, 'QUO0012', '66', 1, '2026-03-10', 2, 1, '2026-03-10 16:25:44', 1, '2026-03-10 15:47:51', 1, '2026-03-10 15:47:51', 1, 'UPDATE', 1, '2026-03-12 04:35:00'),
(43, 51, 'QUO0038', '71', 16, '2026-03-13', 1, 0, NULL, NULL, '2026-03-13 05:31:33', 1, '2026-03-13 05:31:33', 1, 'UPDATE', 1, '2026-03-13 06:38:57'),
(44, 51, 'QUO0038', '71', 16, '2026-03-13', 1, 1, '2026-03-13 06:45:51', 1, '2026-03-13 05:31:33', 1, '2026-03-13 06:38:57', 1, 'ARCHIVE', 1, '2026-03-13 06:45:51'),
(45, 50, 'QUO0037', '68', 21, '2026-03-13', 1, 0, NULL, NULL, '2026-03-13 01:32:53', 1, '2026-03-13 01:32:53', 1, 'UPDATE', 1, '2026-03-13 06:55:24'),
(46, 55, 'QUO0042', '89', 23, '2026-03-13', 2, 0, NULL, NULL, '2026-03-13 13:42:00', 1, '2026-03-13 13:42:00', 1, 'UPDATE', 1, '2026-03-13 13:59:48'),
(47, 55, 'QUO0042', '89', 0, '2026-03-14', 0, 0, NULL, NULL, '2026-03-13 13:42:00', 1, '2026-03-13 13:59:48', 1, 'UPDATE', 1, '2026-03-13 14:05:34'),
(48, 63, 'QUO0050', '71', 14, '2026-03-17', 1, 0, NULL, NULL, '2026-03-17 10:38:14', 1, '2026-03-17 10:38:14', 1, 'UPDATE', 1, '2026-03-20 06:30:10'),
(57, 17, 'Q-310326-SYN-02V1', '89', 30, '2026-04-01', 2, 0, NULL, NULL, '2026-04-01 07:55:09', 1, '2026-04-01 07:55:09', 1, 'UPDATE', 1, '2026-04-01 07:59:29'),
(58, 17, 'Q-310326-SYN-02V1', '89', 30, '2026-04-01', 1, 0, NULL, NULL, '2026-04-01 07:55:09', 1, '2026-04-01 07:59:30', 1, 'UPDATE', 1, '2026-04-01 08:04:11'),
(60, 17, 'Q-310326-SYN-02V1', '89', 30, '2026-04-01', 2, 0, NULL, NULL, '2026-04-01 07:55:09', 1, '2026-04-01 08:04:11', 1, 'UPDATE', 1, '2026-04-01 08:12:57'),
(61, 17, 'Q-310326-SYN-02V1', '89', 30, '2026-04-01', 1, 0, NULL, NULL, '2026-04-01 07:55:09', 1, '2026-04-01 08:12:57', 1, 'UPDATE', 1, '2026-04-07 07:17:21'),
(62, 23, 'Q-070426-ROS-05V1', '96', 37, '2026-04-07', 2, 0, NULL, NULL, '2026-04-07 09:53:44', 1, '2026-04-07 09:53:44', 1, 'UPDATE', 1, '2026-04-07 09:56:11'),
(63, 23, 'Q-070426-ROS-05V1', '96', 37, '2026-04-07', 1, 0, NULL, NULL, '2026-04-07 09:53:44', 1, '2026-04-07 09:56:11', 1, 'UPDATE', 1, '2026-04-07 09:56:57');

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

--
-- Table structure for table `sites`
--

CREATE TABLE `sites` (
  `id` int(11) NOT NULL,
  `site_name` varchar(255) NOT NULL,
  `site_url` varchar(255) NOT NULL,
  `site_alias_name` varchar(255) NOT NULL,
  `info_email` varchar(255) NOT NULL,
  `account_email` varchar(255) NOT NULL,
  `sales_email` varchar(255) NOT NULL,
  `company_phone` varchar(255) NOT NULL,
  `company_website` varchar(255) NOT NULL,
  `company_fax` varchar(100) NOT NULL,
  `company_address` text NOT NULL,
  `company_bank_account` varchar(255) NOT NULL,
  `shipping` varchar(255) NOT NULL,
  `vat` varchar(255) NOT NULL,
  `left_menu_font_color` varchar(100) NOT NULL,
  `left_menu_bg_color` varchar(100) NOT NULL,
  `top_menu_font_color` varchar(100) NOT NULL,
  `top_menu_bg_color` varchar(100) NOT NULL,
  `heading_background_color` varchar(100) NOT NULL,
  `theme_background_color` varchar(255) DEFAULT NULL,
  `theme_text_color` varchar(255) DEFAULT NULL,
  `site_background_color` varchar(255) NOT NULL,
  `logo_name` varchar(255) NOT NULL,
  `left_logo_name` varchar(255) NOT NULL,
  `vat_reg_number` varchar(255) NOT NULL,
  `company_reg_number` varchar(255) NOT NULL,
  `updated_on` datetime NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) NOT NULL,
  `other_fields` varchar(1000) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sites`
--

INSERT INTO `sites` (`id`, `site_name`, `site_url`, `site_alias_name`, `info_email`, `account_email`, `sales_email`, `company_phone`, `company_website`, `company_fax`, `company_address`, `company_bank_account`, `shipping`, `vat`, `left_menu_font_color`, `left_menu_bg_color`, `top_menu_font_color`, `top_menu_bg_color`, `heading_background_color`, `theme_background_color`, `theme_text_color`, `site_background_color`, `logo_name`, `left_logo_name`, `vat_reg_number`, `company_reg_number`, `updated_on`, `updated_by`, `other_fields`) VALUES
(1, '', '', '', '', '', '', '', '', '', '32 Thruxton Drive\r\nNorthampton\r\nNN3 6ES,\r\nUnited Kingdom', '', '', '', '', '', '', '', '', '', '', '', '1_Web_Alliance_Logo_RGB.png', '1_left_logo.png', '123456', '1112', '2023-11-06 00:00:00', 1, ''),
(2, 'London Hub', 'www.londonhub.co.uk', 'London Hub Ltd', 'info@londonhub.co.uk', 'accounts@londonhub.co.uk', 'sales@londonhub.co.uk', '07111111111', 'www.londonhub.co.uk', '', '45 Oxford Street, London, UK', '', '', '', '#000000', '#FFFFFF', '#000000', '#DDDDDD', '#F5F5F5', '#FFFFFF', '#000000', '#FFFFFF', '', '', '', '', '2026-03-17 10:44:00', 1, 'Oliver Bennett'),
(3, 'Manchester Point', 'www.manchesterpoint.co.uk', 'Manchester Point Ltd', 'info@manchesterpoint.co.uk', 'accounts@manchesterpoint.co.uk', 'sales@manchesterpoint.co.uk', '07222222222', 'www.manchesterpoint.co.uk', '', '12 King Street, Manchester, UK', '', '', '', '#000000', '#FFFFFF', '#000000', '#DDDDDD', '#F5F5F5', '#FFFFFF', '#000000', '#FFFFFF', '', '', '', '', '2026-03-17 10:44:00', 1, 'George Walker'),
(4, 'Birmingham Central', 'www.birminghamcentral.co.uk', 'Birmingham Central Ltd', 'info@birminghamcentral.co.uk', 'accounts@birminghamcentral.co.uk', 'sales@birminghamcentral.co.uk', '07333333333', 'www.birminghamcentral.co.uk', '', '78 New Street, Birmingham, UK', '', '', '', '#000000', '#FFFFFF', '#000000', '#DDDDDD', '#F5F5F5', '#FFFFFF', '#000000', '#FFFFFF', '', '', '', '', '2026-03-17 10:44:00', 1, 'Harry Lewis'),
(5, 'Leeds Base', 'www.leedsbase.co.uk', 'Leeds Base Ltd', 'info@leedsbase.co.uk', 'accounts@leedsbase.co.uk', 'sales@leedsbase.co.uk', '07444444444', 'www.leedsbase.co.uk', '', '33 Albion Street, Leeds, UK', '', '', '', '#000000', '#FFFFFF', '#000000', '#DDDDDD', '#F5F5F5', '#FFFFFF', '#000000', '#FFFFFF', '', '', '', '', '2026-03-17 10:44:00', 1, 'Jack Hall'),
(6, 'Glasgow Unit', 'www.glasgowunit.co.uk', 'Glasgow Unit Ltd', 'info@glasgowunit.co.uk', 'accounts@glasgowunit.co.uk', 'sales@glasgowunit.co.uk', '07555555555', 'www.glasgowunit.co.uk', '', '90 Buchanan Street, Glasgow, UK', '', '', '', '#000000', '#FFFFFF', '#000000', '#DDDDDD', '#F5F5F5', '#FFFFFF', '#000000', '#FFFFFF', '', '', '', '', '2026-03-17 10:44:00', 1, 'Charlie Young'),
(7, 'Liverpool Dock Site', 'www.liverpooldock.co.uk', 'Liverpool Dock Ltd', 'info@liverpooldock.co.uk', 'accounts@liverpooldock.co.uk', 'sales@liverpooldock.co.uk', '07666666666', 'www.liverpooldock.co.uk', '', '21 Water Street, Liverpool, UK', '', '', '', '#000000', '#FFFFFF', '#000000', '#DDDDDD', '#F5F5F5', '#FFFFFF', '#000000', '#FFFFFF', '', '', '', '', '2026-03-17 10:44:00', 1, 'Thomas King'),
(8, 'Bristol Office', 'www.bristoloffice.co.uk', 'Bristol Office Ltd', 'info@bristoloffice.co.uk', 'accounts@bristoloffice.co.uk', 'sales@bristoloffice.co.uk', '07777777777', 'www.bristoloffice.co.uk', '', '55 Queen Square, Bristol, UK', '', '', '', '#000000', '#FFFFFF', '#000000', '#DDDDDD', '#F5F5F5', '#FFFFFF', '#000000', '#FFFFFF', '', '', '', '', '2026-03-17 10:44:00', 1, 'Jacob Wright'),
(9, 'Edinburgh Centre', 'www.edinburghcentre.co.uk', 'Edinburgh Centre Ltd', 'info@edinburghcentre.co.uk', 'accounts@edinburghcentre.co.uk', 'sales@edinburghcentre.co.uk', '07888888888', 'www.edinburghcentre.co.uk', '', '10 Princes Street, Edinburgh, UK', '', '', '', '#000000', '#FFFFFF', '#000000', '#DDDDDD', '#F5F5F5', '#FFFFFF', '#000000', '#FFFFFF', '', '', '', '', '2026-03-17 10:44:00', 1, 'Alfie Green'),
(10, 'Sheffield Works', 'www.sheffieldworks.co.uk', 'Sheffield Works Ltd', 'info@sheffieldworks.co.uk', 'accounts@sheffieldworks.co.uk', 'sales@sheffieldworks.co.uk', '07999999999', 'www.sheffieldworks.co.uk', '', '18 High Street, Sheffield, UK', '', '', '', '#000000', '#FFFFFF', '#000000', '#DDDDDD', '#F5F5F5', '#FFFFFF', '#000000', '#FFFFFF', '', '', '', '', '2026-03-17 10:44:00', 1, 'Oscar Adams'),
(11, 'Newcastle Station', 'www.newcastlestation.co.uk', 'Newcastle Station Ltd', 'info@newcastlestation.co.uk', 'accounts@newcastlestation.co.uk', 'sales@newcastlestation.co.uk', '07000000000', 'www.newcastlestation.co.uk', '', '5 Grey Street, Newcastle upon Tyne, UK', '', '', '', '#000000', '#FFFFFF', '#000000', '#DDDDDD', '#F5F5F5', '#FFFFFF', '#000000', '#FFFFFF', '', '', '', '', '2026-03-17 10:44:00', 1, 'Henry Scott');

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

--
-- Table structure for table `sit_contact_details`
--

CREATE TABLE `sit_contact_details` (
  `id` int(11) NOT NULL,
  `site_contact_id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `title` int(11) DEFAULT NULL,
  `first_name` varchar(256) NOT NULL,
  `last_name` varchar(256) NOT NULL,
  `job_title` int(11) DEFAULT NULL,
  `email` varchar(256) NOT NULL,
  `primary_phone` varchar(50) NOT NULL,
  `secondary_phone` varchar(50) NOT NULL,
  `is_archive` tinyint(1) NOT NULL DEFAULT 0,
  `archived_on` datetime DEFAULT NULL,
  `archived_by` int(11) DEFAULT NULL,
  `created_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_on` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sit_contact_details`
--

INSERT INTO `sit_contact_details` (`id`, `site_contact_id`, `company_id`, `title`, `first_name`, `last_name`, `job_title`, `email`, `primary_phone`, `secondary_phone`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(1, 1, 67, 5, 'anurag', 'mishra', 36, 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_YX1wZGB8dn5zeg==', 'WALL_ZH52aWJ+cXhxfGA=', 0, NULL, NULL, '2026-03-02 10:08:06', 1, '2026-03-03 16:03:18', 1),
(2, 2, 75, 1, 'Alistair', 'Cook', 42, 'WALL_NWYmPjpcIgM4Lzs9e3suP2EjLg==', 'WALL_f3xxcWJ+c3tmdmh6ZH9j', 'WALL_', 0, NULL, NULL, '2024-02-01 00:00:00', 0, '2026-03-03 16:03:06', 1),
(3, 2, 75, 2, 'Brenda', 'Lee', 37, 'WALL_NmYpNDAJMFwiMippZDZcIn46PQ==', 'WALL_f3xxcWJ+c3tmdmh6ZH9k', 'WALL_', 0, NULL, NULL, '2024-02-01 00:00:00', 0, '2026-03-03 16:03:28', 1),
(4, 3, 75, 0, 'Charlie', 'Davis', 0, 'c.davis@site2.co.uk', '+44 7700 900125', '', 0, NULL, NULL, '2024-02-01 00:00:00', 0, NULL, NULL),
(5, 3, 75, 0, 'Diane', 'Miller', 0, 'd.miller@site2.co.uk', '+44 7700 900126', '', 0, NULL, NULL, '2024-02-01 00:00:00', 0, NULL, NULL),
(6, 4, 76, 0, 'Edward', 'Norton', 0, 'e.norton@site3.co.uk', '+44 7700 900127', '', 0, NULL, NULL, '2024-02-02 00:00:00', 0, NULL, NULL),
(7, 4, 76, 0, 'Fiona', 'Gallagher', 0, 'f.gallagher@site3.co.uk', '+44 7700 900128', '', 0, NULL, NULL, '2024-02-02 00:00:00', 0, NULL, NULL),
(8, 5, 76, 0, 'George', 'Best', 0, 'g.best@site4.co.uk', '+44 7700 900129', '', 0, NULL, NULL, '2024-02-02 00:00:00', 0, NULL, NULL),
(9, 5, 76, 0, 'Hannah', 'Abbott', 0, 'h.abbott@site4.co.uk', '+44 7700 900130', '', 0, NULL, NULL, '2024-02-02 00:00:00', 0, NULL, NULL),
(10, 6, 77, 0, 'Ian', 'Wright', 0, 'i.wright@site5.co.uk', '+44 7700 900131', '', 0, NULL, NULL, '2024-02-03 00:00:00', 0, NULL, NULL),
(11, 6, 77, 0, 'Julia', 'Roberts', 0, 'j.roberts@site5.co.uk', '+44 7700 900132', '', 0, NULL, NULL, '2024-02-03 00:00:00', 0, NULL, NULL),
(12, 7, 77, 0, 'Kevin', 'Hart', 0, 'k.hart@site6.co.uk', '+44 7700 900133', '', 0, NULL, NULL, '2024-02-03 00:00:00', 0, NULL, NULL),
(13, 7, 77, 0, 'Laura', 'Palmer', 0, 'l.palmer@site6.co.uk', '+44 7700 900134', '', 0, NULL, NULL, '2024-02-03 00:00:00', 0, NULL, NULL),
(14, 8, 78, 0, 'Mark', 'Hamill', 0, 'm.hamill@site7.co.uk', '+44 7700 900135', '', 0, NULL, NULL, '2024-02-04 00:00:00', 0, NULL, NULL),
(15, 8, 78, 2, 'Nina', 'Simone', 0, 'WALL_OmY2ODgmLS4GPDE+MHp+LDlrXCc/', 'WALL_f3xxcWJ+c3tmdmh6ZH5m', 'WALL_', 0, NULL, NULL, '2024-02-04 00:00:00', 0, '2026-03-06 11:02:26', 1),
(16, 9, 78, 0, 'Oscar', 'Wilde', 0, 'o.wilde@site8.co.uk', '+44 7700 900137', '', 0, NULL, NULL, '2024-02-04 00:00:00', 0, NULL, NULL),
(17, 9, 78, 0, 'Paula', 'Radcliffe', 0, 'p.radcliffe@site8.co.uk', '+44 7700 900138', '', 0, NULL, NULL, '2024-02-04 00:00:00', 0, NULL, NULL),
(18, 10, 79, 0, 'Quentin', 'Blake', 0, 'q.blake@site9.co.uk', '+44 7700 900139', '', 0, NULL, NULL, '2024-02-05 00:00:00', 0, NULL, NULL),
(19, 10, 79, 0, 'Rose', 'Tyler', 0, 'r.tyler@site9.co.uk', '+44 7700 900140', '', 0, NULL, NULL, '2024-02-05 00:00:00', 0, NULL, NULL),
(20, 11, 79, 0, 'Simon', 'Pegg', 0, 's.pegg@site10.co.uk', '+44 7700 900141', '', 0, NULL, NULL, '2024-02-05 00:00:00', 0, NULL, NULL),
(21, 11, 79, 0, 'Tracy', 'Beaker', 0, 't.beaker@site10.co.uk', '+44 7700 900142', '', 0, NULL, NULL, '2024-02-05 00:00:00', 0, NULL, NULL),
(22, 7, 74, 105, 'aasv', 'bb', 43, 'WALL_NSkFNC0oLjsqKnYpOiA=', 'WALL_YH12ZWB9cH51ems=', 'WALL_', 0, NULL, NULL, '2026-03-06 10:26:04', 1, '2026-03-06 10:26:22', 1),
(23, 15, 82, 1, 'jay', 'wilson', 33, 'WALL_Pik8ETAxXCImNiM9ZCAm', 'WALL_f3xxcWZ9d3hzeW59Y3o=', 'WALL_', 0, NULL, NULL, '2026-03-07 07:12:09', 1, '2026-03-07 07:12:09', 1),
(24, 15, 82, 3, 'jolly', 'wilson', 34, 'WALL_PlwnKT0sCSYzXCdcIigmMGMlJA==', 'WALL_f3xxZm1+e3J2d2F6bQ==', 'WALL_', 0, NULL, NULL, '2026-03-07 07:18:48', 1, '2026-03-07 07:18:48', 1),
(25, 1, 66, 2, 'testing', 'test', 36, 'WALL_IC02JRUuLiovI3YpOiA=', 'WALL_ZntxZGN+e3J+', 'WALL_bH9zZGF6cXhyeg==', 0, NULL, NULL, '2026-03-07 08:44:22', 1, '2026-03-07 08:44:22', 1),
(26, 11, 79, 1, 'test', 'web test3', 34, 'WALL_NSomNRUuLiovI3YpOiA=', 'WALL_YH1wZ2N6cXh0fWo=', 'WALL_', 0, NULL, NULL, '2026-03-09 07:46:13', 1, '2026-03-09 07:46:13', 1),
(27, 18, 85, 105, 'ariba', 'fdbmfkdlm', 33, 'WALL_PiMyNTMjKi4uKS0kFSo9Lj8pfDdcJyg=', 'WALL_ZXp2ZWB/e3lyfGw=', 'WALL_bXt3aGV9e3h0fmF6', 0, NULL, NULL, '2026-03-10 18:58:01', 1, '2026-03-10 18:58:01', 1),
(28, 18, 85, 105, 'ruby', 'wejkfnewjd', 37, 'WALL_MiovXCI9CSQmXCcmNGQ2XCI9', 'WALL_YHByZmZ9e35ye2A=', 'WALL_Z3BxYmdxenw=', 1, '2026-03-13 13:24:51', 1, '2026-03-10 19:05:01', 1, '2026-03-10 19:06:46', 1),
(29, 18, 87, 103, 'Avni', 'Dave', 34, 'WALL_NT4rOFwiLCEqKiMxKzsuNQ8xKDM9JGsvLjc=', 'WALL_YHtxZGF8cH9zfGx/', 'WALL_', 1, '2026-03-13 13:25:28', 1, '2026-03-13 13:25:21', 1, '2026-03-13 13:25:21', 1);

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

--
-- Table structure for table `sit_site_details`
--

CREATE TABLE `sit_site_details` (
  `id` int(11) NOT NULL,
  `site_name` varchar(512) NOT NULL,
  `first_name` varchar(256) NOT NULL,
  `last_name` varchar(256) NOT NULL,
  `primary_email` varchar(512) NOT NULL,
  `primary_phone` varchar(50) NOT NULL,
  `secondary_phone` varchar(50) NOT NULL,
  `company` varchar(512) NOT NULL,
  `AddressCodeLookup` varchar(255) NOT NULL,
  `address_line_1` varchar(512) NOT NULL,
  `address_line_2` varchar(512) NOT NULL,
  `address_line_3` varchar(512) NOT NULL,
  `address_line_4` varchar(256) NOT NULL,
  `town` varchar(256) NOT NULL,
  `county` varchar(25) NOT NULL,
  `postcode` varchar(25) NOT NULL,
  `country` varchar(25) NOT NULL,
  `is_archive` tinyint(4) NOT NULL DEFAULT 0,
  `archived_on` datetime DEFAULT NULL,
  `archived_by` int(11) DEFAULT NULL,
  `created_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` int(11) DEFAULT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sit_site_details`
--

INSERT INTO `sit_site_details` (`id`, `site_name`, `first_name`, `last_name`, `primary_email`, `primary_phone`, `secondary_phone`, `company`, `AddressCodeLookup`, `address_line_1`, `address_line_2`, `address_line_3`, `address_line_4`, `town`, `county`, `postcode`, `country`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(1, 'WA', 'anurag', '', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_Y39yZmJ+dHxx', 'WALL_', '66', '', 'London', 'Raebareli utter Pradesh', 'wa', 'Raebareli', 'wa', 'County Londonderry', '229001', 'Bahamas', 1, '2026-03-25 03:33:23', 1, '2026-03-02 09:52:46', 1, '2026-03-06 09:45:16', 1),
(2, 'London Central Hub', 'James', 'Smith', 'WALL_PmY2PDw9Kws1JiwvZGMzIHgwOQ==', 'WALL_f3xxcWd5Y3x/e25qZX1gfg==', 'WALL_', '66', '', '12 High Street', 'Marylebone', '', '', 'London', 'Greater London', 'NW1 5BT', 'Bahamas', 0, NULL, NULL, '2024-01-15 00:00:00', 0, '2026-03-06 12:04:14', 1),
(3, 'London North Branch', 'Sarah', 'Jones', 'WALL_XCdmLz47LDALNSYsL2djMyB4MDk=', 'WALL_f3xxcWd5Y3x/e25qZX1gfQ==', 'WALL_', '87', '', '45 Baker Road', 'Enfield', 'warangal', 'mhbd', 'London', 'Greater London', 'EN1 3LD', 'Bahamas', 0, NULL, NULL, '2024-01-15 00:00:00', 0, '2026-03-06 10:50:02', 1),
(4, 'Manchester Depot', 'Robert', 'Brown', 'r.brown@site3.co.uk', '+44 161 496 0123', '', '68', 'MAN-01', '99 Deansgate', 'Spinningfields', '', '', 'Manchester', 'Greater Manchester', 'M3 3EB', 'UK', 0, NULL, NULL, '2024-01-16 00:00:00', 0, '2026-03-03 15:47:31', NULL),
(5, 'Salford Office', 'Emily', 'Taylor', 'e.taylor@site4.co.uk', '+44 161 496 0124', '', '68', 'MAN-02', '21 Salford Quays', 'MediaCityUK', '', '', 'Salford', 'Greater Manchester', 'M50 2EQ', 'UK', 0, NULL, NULL, '2024-01-16 00:00:00', 0, '2026-03-03 15:47:31', NULL),
(6, 'Birmingham South1', 'Michael', 'jo', 'WALL_OWYhMCMgJjgGPDE+MHh+LDlrXCc/', 'WALL_YH1wZWZ8d35yemw=', 'WALL_', '71', '', '77 Bullring Way', 'Digbeth', '', '', 'Birmingham', 'West Midlands', 'B5 4BU', '', 0, NULL, NULL, '2024-01-17 00:00:00', 0, '2026-03-06 10:37:07', 1),
(7, 'Birmingham North', 'Jessica', 'Wilson', 'j.wilson@site6.co.uk', '+44 121 496 0445', '', '71', 'BIR-02', '10 Sutton Road', 'Erdington', '', '', 'Birmingham', 'West Midlands', 'B23 6LL', 'UK', 0, NULL, NULL, '2024-01-17 00:00:00', 0, '2026-03-03 15:47:31', NULL),
(8, 'Leeds Central', 'David', 'Evans', 'd.evans@site7.co.uk', '+44 113 496 0888', '', '68', 'LDS-01', '15 Briggate', 'City Centre', '', '', 'Leeds', 'West Yorkshire', 'LS1 6AZ', 'UK', 0, NULL, NULL, '2024-01-18 00:00:00', 0, '2026-03-03 15:47:31', NULL),
(9, 'Headingley Site', 'Chloe', 'Thomas', 'c.thomas@site8.co.uk', '+44 113 496 0889', '', '68', 'LDS-02', '42 Otley Road', 'Headingley', '', '', 'Leeds', 'West Yorkshire', 'LS6 2AD', 'UK', 0, NULL, NULL, '2024-01-18 00:00:00', 0, '2026-03-03 15:47:31', NULL),
(10, 'Glasgow East', 'Thomas', 'Roberts', 't.roberts@site9.co.uk', '+44 141 496 0222', '', '66', 'GLA-01', '88 George Square', 'Merchant City', '', '', 'Glasgow', 'Lanarkshire', 'G2 1DY', 'UK', 0, NULL, NULL, '2024-01-19 00:00:00', 0, '2026-03-03 15:47:31', NULL),
(11, 'Glasgow West', 'Sophie', 'Johnson', 's.johnson@site10.co.uk', '+44 141 496 0223', '', '66', 'GLA-02', '12 Byres Road', 'West End', '', '', 'Glasgow', 'Lanarkshire', 'G12 8AU', 'UK', 0, NULL, NULL, '2024-01-19 00:00:00', 0, '2026-03-03 15:47:31', NULL),
(12, 'new Leeds site', 'john', 'smith', 'WALL_PlwnLT8VLDsqKz80L3s4Ow==', 'WALL_YH12ZGF6dnhzew==', 'WALL_', '71', '', 'down town 2', 'street1', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-05 09:46:29', 1, '2026-03-05 09:54:36', 1),
(13, 'abc', 'wawa', '', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_Z3t2YmZ6cHg=', 'WALL_', '66', '', '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-05 10:26:11', 1, '2026-03-05 10:26:11', 1),
(14, 'xyz', 'leo', 'david', 'WALL_OC0qETIkXCJcImgsN1wn', 'WALL_YXxzZWB/dn9wemx8Yg==', 'WALL_YX5xZGJ/dnxweG18', '87', '', 'stree 1', 'down town', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-06 11:04:08', 1, '2026-03-06 11:09:39', 1),
(15, 'global system uk site 1', 'jolly', 'wilson', 'WALL_IyEpXCI6XCdyCyM3OVwnJSE1YSMu', 'WALL_f3xxcWN+e3Jxd2F9ZXQ=', 'WALL_f3xxZmN+e3NxeG5yYg==', '87', 'street add', 'eon down town1', 'street 22', '', '', '', 'Northamptonshire', 'NN 231', '', 0, NULL, NULL, '2026-03-07 07:10:42', 1, '2026-03-09 12:46:00', 1),
(16, 'zenova testing site 1', 'ariba', 'testing', 'WALL_JiAkXCI9JCp6dHwYLTgsOSN4Jj05', 'WALL_bXl1YWV/cHxyeGA=', 'WALL_ZXp2ZWB/e3lyfGw=', '87', '45 king street', 'suite 210', 'suite 210', 'buisness centre', 'manchester', 'manchester', 'London', 'M2 4WQ', 'United Kingdom of Great B', 1, '2026-03-10 18:55:01', 1, '2026-03-10 18:42:06', 1, '2026-03-10 18:42:54', 1),
(17, 'zenova test', 'ariba', 'testing', 'WALL_JiAkXCI9JCp6dHwYLTgsOSN4Jj05', 'WALL_bXh2ZWZ7enty', 'WALL_ZXp2ZWB/e3lyfGw=', '87', '45 king street', 'suite 210', 'suite 210', 'buisness centre', 'manchester', 'manchester', 'London', 'M2 4WQ', 'United Kingdom of Great B', 1, '2026-03-10 18:59:00', 1, '2026-03-10 18:55:32', 1, '2026-03-10 18:55:32', 1),
(18, 'orivix test', 'ariba', 'testing', 'WALL_JiAkXCI9JCp6dHwYLTgsOSN4Jj05', 'WALL_YHF1YmFwc3hydmh+', 'WALL_ZXp2ZWB/e3lyfGw=', '87', '', 'suite 210', 'suite 210', 'buisness centre', 'manchester', 'manchester', 'London', 'M2 4WQ', 'United Kingdom', 0, NULL, NULL, '2026-03-10 18:57:03', 1, '2026-03-13 13:22:12', 1);

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

--
-- Table structure for table `sit_site_details_history`
--

CREATE TABLE `sit_site_details_history` (
  `id` int(11) NOT NULL,
  `site_contact_id` int(11) NOT NULL,
  `site_name` varchar(512) NOT NULL,
  `first_name` varchar(256) NOT NULL,
  `last_name` varchar(256) NOT NULL,
  `primary_email` varchar(512) NOT NULL,
  `primary_phone` varchar(50) NOT NULL,
  `secondary_phone` varchar(50) NOT NULL,
  `company` varchar(512) NOT NULL,
  `AddressCodeLookup` varchar(255) NOT NULL,
  `address_line_1` varchar(512) NOT NULL,
  `address_line_2` varchar(512) NOT NULL,
  `address_line_3` varchar(512) NOT NULL,
  `address_line_4` varchar(256) NOT NULL,
  `town` varchar(256) NOT NULL,
  `county` varchar(25) NOT NULL,
  `postcode` varchar(25) NOT NULL,
  `country` varchar(25) NOT NULL,
  `is_archive` tinyint(4) NOT NULL DEFAULT 0,
  `archived_on` datetime DEFAULT NULL,
  `archived_by` int(11) DEFAULT NULL,
  `created_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` int(11) DEFAULT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) DEFAULT NULL,
  `action_type` varchar(255) NOT NULL,
  `history_created_by` int(11) NOT NULL,
  `history_created_on` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sit_site_details_history`
--

INSERT INTO `sit_site_details_history` (`id`, `site_contact_id`, `site_name`, `first_name`, `last_name`, `primary_email`, `primary_phone`, `secondary_phone`, `company`, `AddressCodeLookup`, `address_line_1`, `address_line_2`, `address_line_3`, `address_line_4`, `town`, `county`, `postcode`, `country`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`, `action_type`, `history_created_by`, `history_created_on`) VALUES
(1, 1, 'WA', 'wa test', 'mishra', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_YX1wZGB8d39yew==', 'WALL_ZH52aWJ+cXhxfGA=', '67', '', '', 'Raebareli utter Pradesh', '', '', '', 'Cumbria', '', 'Azerbaijan', 0, NULL, NULL, '2026-03-02 09:52:46', 1, '2026-03-02 09:52:46', 1, 'UPDATE', 1, '2026-03-02 09:54:21'),
(2, 1, 'WA', 'anurag', 'mishra', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_Z3t2YmZ6cHh1', 'WALL_ZH52aWJ+cXhxfGA=', '67', '', 'London', 'Raebareli utter Pradesh', 'wa', 'Raebareli', 'wa', 'County Londonderry', '229001', 'Bahamas', 0, NULL, NULL, '2026-03-02 09:52:46', 1, '2026-03-02 09:54:21', 1, 'UPDATE', 1, '2026-03-02 09:59:48'),
(3, 12, 'new Leeds site', 'john', 'smith', 'WALL_PlwnLT8VLDsqKz80L3s4Ow==', 'WALL_f3xxcWF+dnN1eG1yZnpm', 'WALL_', '76', '', '', 'down town 2', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-05 09:46:29', 1, '2026-03-05 09:46:29', 1, 'UPDATE', 1, '2026-03-05 09:54:04'),
(4, 12, 'new Leeds site', 'john', '', 'WALL_PlwnLT8VLDsqKz80L3s4Ow==', 'WALL_YHxzZGF/dn9xeW8=', 'WALL_', '76', '', 'down town 2', 'street1', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-05 09:46:29', 1, '2026-03-05 09:54:04', 1, 'UPDATE', 1, '2026-03-05 09:54:36'),
(5, 1, 'WA', 'anurag', 'wa', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_Znt2YmZ6cHg=', 'WALL_Znp3Y2d7', '67', '', 'London', 'Raebareli utter Pradesh', 'wa', 'Raebareli', 'wa', 'County Londonderry', '229001', 'Bahamas', 0, NULL, NULL, '2026-03-02 09:52:46', 1, '2026-03-02 09:59:48', 1, 'UPDATE', 1, '2026-03-06 09:45:16'),
(6, 6, 'Birmingham South', 'Michael', 'Davies', 'm.davies@site5.co.uk', '+44 121 496 0444', '', '77', 'BIR-01', '77 Bullring Way', 'Digbeth', '', '', 'Birmingham', 'West Midlands', 'B5 4BU', 'UK', 0, NULL, NULL, '2024-01-17 00:00:00', 0, '2026-03-03 15:47:31', NULL, 'UPDATE', 1, '2026-03-06 10:37:07'),
(7, 3, 'London North Branch', 'Sarah', 'Jones', 's.jones@site2.co.uk', '+44 20 7946 0002', '', '75', 'LND-02', '45 Baker Road', 'Enfield', '', '', 'London', 'Greater London', 'EN1 3LD', 'UK', 0, NULL, NULL, '2024-01-15 00:00:00', 0, '2026-03-03 15:47:31', NULL, 'UPDATE', 1, '2026-03-06 10:50:01'),
(8, 14, '', 'leo', 'david', 'WALL_OC0qETIkXCJcImgsN1wn', 'WALL_YXxzZWB/dn9wemx8Yg==', 'WALL_YX5xZGJ/dnxweG18', '67', '', '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-06 11:04:08', 1, '2026-03-06 11:04:08', 1, 'UPDATE', 1, '2026-03-06 11:05:02'),
(9, 14, '', 'leo', 'david', 'WALL_OC0qETIkXCJcImgsN1wn', 'WALL_YXxzZWB/dn9wemx8Yg==', 'WALL_YX5xZGJ/dnxweG18', '', '', 'downtown 1', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-06 11:04:08', 1, '2026-03-06 11:05:02', 1, 'UPDATE', 1, '2026-03-06 11:05:27'),
(10, 14, '', 'leo', 'david', 'WALL_OC0qETIkXCJcImgsN1wn', 'WALL_YXxzZWB/dn9wemx8Yg==', 'WALL_YX5xZGJ/dnxweG18', '', '', 'downtown 12', 'street', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-06 11:04:08', 1, '2026-03-06 11:05:27', 1, 'UPDATE', 1, '2026-03-06 11:09:39'),
(11, 2, 'London Central Hub', 'James', 'Smith', 'j.smith@site1.co.uk', '+44 20 7946 0001', '', '75', 'LND-01', '12 High Street', 'Marylebone', '', '', 'London', 'Greater London', 'NW1 5BT', 'UK', 0, NULL, NULL, '2024-01-15 00:00:00', 0, '2026-03-03 15:47:31', NULL, 'UPDATE', 1, '2026-03-06 12:04:14'),
(12, 15, 'global system uk site 1', 'jolly', 'wilson', 'WALL_IyEpXCI6XCdyCyM3OVwnJSE1YSMu', 'WALL_f3xxcWN+e3Jxd2F9ZXQ=', 'WALL_', '82', '', 'eon down town', 'street 22', '', '', '', 'Northamptonshire', 'NN 231', 'United Kingdom of Great B', 0, NULL, NULL, '2026-03-07 07:10:42', 1, '2026-03-07 07:10:42', 1, 'UPDATE', 1, '2026-03-09 11:40:37'),
(13, 15, 'global system uk site 1', 'jolly', 'wilson', 'WALL_IyEpXCI6XCdyCyM3OVwnJSE1YSMu', 'WALL_f3xxcWN+e3Jxd2F9ZXQ=', 'WALL_f3xxZmN+e3NxeG5yYg==', '', 'down town', 'eon down town', 'street 22', '', '', '', 'Northamptonshire', 'NN 231', '', 0, NULL, NULL, '2026-03-07 07:10:42', 1, '2026-03-09 11:40:37', 1, 'UPDATE', 1, '2026-03-09 12:45:40'),
(14, 15, 'global system uk site 1', 'jolly', 'wilson', 'WALL_IyEpXCI6XCdyCyM3OVwnJSE1YSMu', 'WALL_f3xxcWN+e3Jxd2F9ZXQ=', 'WALL_f3xxZmN+e3NxeG5yYg==', '', '', 'eon down town1', 'street 22', '', '', '', 'Northamptonshire', 'NN 231', '', 0, NULL, NULL, '2026-03-07 07:10:42', 1, '2026-03-09 12:45:40', 1, 'UPDATE', 1, '2026-03-09 12:46:00'),
(15, 15, 'global system uk site 1', 'jolly', 'wilson', 'WALL_IyEpXCI6XCdyCyM3OVwnJSE1YSMu', 'WALL_f3xxcWN+e3Jxd2F9ZXQ=', 'WALL_f3xxZmN+e3NxeG5yYg==', '', 'street add', 'eon down town1', 'street 22', '', '', '', 'Northamptonshire', 'NN 231', '', 0, NULL, NULL, '2026-03-07 07:10:42', 1, '2026-03-09 12:46:00', 1, 'UPDATE', 1, '2026-03-09 12:46:00'),
(16, 16, 'zenova testing site 1', 'ariba', 'testing', 'WALL_JiAkXCI9JCp6dHwYLTgsOSN4Jj05', 'WALL_bXl1YWV/cHxyeGA=', 'WALL_ZXp2ZWB/e3lyfGw=', '84', '45 king street', 'suite 210', 'suite 210', 'buisness centre', 'manchester', 'manchester', 'London', 'M2 4WQ', 'United Kingdom of Great B', 0, NULL, NULL, '2026-03-10 18:42:06', 1, '2026-03-10 18:42:06', 1, 'UPDATE', 1, '2026-03-10 18:42:54'),
(17, 16, 'zenova testing site 1', 'ariba', 'testing', 'WALL_JiAkXCI9JCp6dHwYLTgsOSN4Jj05', 'WALL_bXl1YWV/cHxyeGA=', 'WALL_ZXp2ZWB/e3lyfGw=', '', '45 king street', 'suite 210', 'suite 210', 'buisness centre', 'manchester', 'manchester', 'London', 'M2 4WQ', 'United Kingdom of Great B', 1, '2026-03-10 18:55:01', 1, '2026-03-10 18:42:06', 1, '2026-03-10 18:42:54', 1, 'ARCHIVE', 1, '2026-03-10 18:55:01'),
(18, 17, 'zenova test', 'ariba', 'testing', 'WALL_JiAkXCI9JCp6dHwYLTgsOSN4Jj05', 'WALL_bXh2ZWZ7enty', 'WALL_ZXp2ZWB/e3lyfGw=', '', '45 king street', 'suite 210', 'suite 210', 'buisness centre', 'manchester', 'manchester', 'London', 'M2 4WQ', 'United Kingdom of Great B', 1, '2026-03-10 18:59:00', 1, '2026-03-10 18:55:32', 1, '2026-03-10 18:55:32', 1, 'ARCHIVE', 1, '2026-03-10 18:59:00'),
(20, 18, 'orivix test', 'ariba', 'testing', 'WALL_JiAkXCI9JCp6dHwYLTgsOSN4Jj05', 'WALL_YHF1YmFwc3hydmh+', 'WALL_ZXp2ZWB/e3lyfGw=', '87', '45 king street', 'suite 210', 'suite 210', 'buisness centre', 'manchester', 'manchester', 'London', 'M2 4WQ', 'United Kingdom of Great B', 0, NULL, NULL, '2026-03-10 18:57:03', 1, '2026-03-10 18:57:03', 1, 'UPDATE', 1, '2026-03-13 13:21:54'),
(21, 18, 'orivix test', 'ariba', 'testing', 'WALL_JiAkXCI9JCp6dHwYLTgsOSN4Jj05', 'WALL_YHF1YmFwc3hydmh+', 'WALL_ZXp2ZWB/e3lyfGw=', '87', '', 'suite 210', 'suite 210', 'buisness centre', 'manchester', 'manchester', 'London', 'M2 4WQ', 'United Kingdom', 0, NULL, NULL, '2026-03-10 18:57:03', 1, '2026-03-13 13:21:54', 1, 'UPDATE', 1, '2026-03-13 13:22:12'),
(22, 1, 'WA', 'anurag', '', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_Y39yZmJ+dHxx', 'WALL_', '66', '', 'London', 'Raebareli utter Pradesh', 'wa', 'Raebareli', 'wa', 'County Londonderry', '229001', 'Bahamas', 1, '2026-03-25 03:33:23', 1, '2026-03-02 09:52:46', 1, '2026-03-06 09:45:16', 1, 'ARCHIVE', 1, '2026-03-25 03:33:23');

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

--
-- Table structure for table `sto_loc_row`
--

CREATE TABLE `sto_loc_row` (
  `id` int(11) NOT NULL,
  `warehouse_id` int(11) NOT NULL,
  `row_name` varchar(255) NOT NULL,
  `status` tinyint(3) NOT NULL DEFAULT 0,
  `is_archive` tinyint(1) NOT NULL DEFAULT 0,
  `created_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `sto_loc_row`
--

INSERT INTO `sto_loc_row` (`id`, `warehouse_id`, `row_name`, `status`, `is_archive`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(1, 1, 'row-1', 0, 0, '2026-03-02 16:10:46', 1, '2026-03-03 15:57:48', 1),
(3, 2, 'row-1', 0, 0, '2026-03-03 12:28:53', 1, '2026-04-08 09:16:43', 1),
(4, 2, 'row-3', 0, 0, '2026-03-03 12:28:53', 1, '2026-04-08 09:16:43', 1),
(5, 3, 'row-21', 0, 0, '2026-03-05 12:52:36', 1, '2026-03-05 12:52:36', 1),
(6, 3, 'row-22', 0, 0, '2026-03-05 12:52:36', 1, '2026-04-06 07:46:54', 1),
(7, 4, 'row-31', 0, 0, '2026-03-05 12:55:29', 1, '2026-03-05 12:55:29', 1),
(8, 4, 'row-32-1', 0, 0, '2026-03-05 12:55:29', 1, '2026-04-06 07:47:05', 1),
(9, 5, '2', 0, 0, '2026-03-10 14:28:35', 1, '2026-03-10 14:28:35', 1),
(10, 5, 'row 3', 0, 0, '2026-03-10 14:29:29', 1, '2026-04-06 07:47:13', 1),
(11, 6, 'row 1', 0, 0, '2026-03-10 14:33:25', 1, '2026-03-10 14:33:25', 1),
(12, 7, 'row-11-01', 0, 0, '2026-03-16 06:13:34', 57, '2026-03-16 06:13:34', 57),
(13, 8, 'row111', 0, 0, '2026-03-16 14:24:51', 57, '2026-03-16 14:24:51', 57);

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

--
-- Table structure for table `sto_loc_shelf`
--

CREATE TABLE `sto_loc_shelf` (
  `id` int(11) NOT NULL,
  `warehouse_id` int(11) NOT NULL,
  `row_id` int(11) NOT NULL,
  `shelf_name` varchar(255) NOT NULL,
  `status` tinyint(3) NOT NULL DEFAULT 0,
  `is_archive` tinyint(1) NOT NULL DEFAULT 0,
  `created_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `sto_loc_shelf`
--

INSERT INTO `sto_loc_shelf` (`id`, `warehouse_id`, `row_id`, `shelf_name`, `status`, `is_archive`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(1, 1, 1, 'shelf-1-1', 0, 0, '2026-03-05 12:55:29', 1, '2026-03-05 12:55:29', 1),
(2, 4, 7, 'shelf-31-2', 0, 0, '2026-03-05 12:55:29', 1, '2026-03-05 12:55:29', 1),
(3, 4, 8, 'shelf-32-2-1', 0, 0, '2026-03-05 12:55:29', 1, '2026-04-06 07:47:05', 1),
(4, 5, 9, '1', 0, 0, '2026-03-10 14:28:35', 1, '2026-03-10 14:28:35', 1),
(5, 5, 10, 'shelf 6', 0, 0, '2026-03-10 14:29:29', 1, '2026-04-06 07:47:13', 1),
(6, 6, 11, 'shelf 1', 0, 0, '2026-03-10 14:33:25', 1, '2026-03-10 14:33:25', 1),
(7, 7, 12, 'shelf-001', 0, 0, '2026-03-16 06:13:34', 57, '2026-03-16 06:13:34', 57),
(8, 8, 13, 'shelf22', 0, 0, '2026-03-16 14:24:51', 57, '2026-03-16 14:24:51', 57),
(9, 2, 4, 'testshelf2', 0, 0, '2026-04-06 08:46:22', 1, '2026-04-08 09:16:43', 1),
(10, 3, 6, 'shelrow221', 0, 0, '2026-04-06 08:46:54', 1, '2026-04-06 07:46:54', 1),
(11, 2, 3, 'row-11', 0, 0, '2026-04-08 10:14:15', 1, '2026-04-08 09:16:43', 1),
(12, 2, 3, 'row-12', 0, 0, '2026-04-08 10:16:43', 1, '2026-04-08 09:16:43', 1);

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

--
-- Table structure for table `sto_stocks`
--

CREATE TABLE `sto_stocks` (
  `id` int(11) NOT NULL,
  `supplier_id` int(11) NOT NULL,
  `model` varchar(255) NOT NULL,
  `part_number` varchar(255) NOT NULL,
  `part_name` varchar(255) NOT NULL,
  `part_description` mediumtext NOT NULL,
  `sku` varchar(255) NOT NULL,
  `reserved_stock` int(11) NOT NULL DEFAULT 0,
  `reorder_stock` int(11) NOT NULL DEFAULT 0,
  `status` int(11) NOT NULL,
  `is_archive` tinyint(1) NOT NULL DEFAULT 0,
  `archived_on` datetime NOT NULL,
  `archived_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_by` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `sto_stocks`
--

INSERT INTO `sto_stocks` (`id`, `supplier_id`, `model`, `part_number`, `part_name`, `part_description`, `sku`, `reserved_stock`, `reorder_stock`, `status`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(1, 1, 'test model 1', 'test-part-number-1', 'test-part-name-1', 'this is test... update', 'test-SKU-1', 100, 350, 0, 1, '2026-03-09 06:37:55', 1, '2026-03-02 16:09:57', 1, '2026-03-09 06:37:55', 1),
(2, 5, 'sk2', '8', 'Ballpoint Pen Black', '', 'SKU-ST-002', 450, 250, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-04 11:34:34', 1, '2026-03-13 15:49:28', 57),
(3, 32, 'fdsgfdg', '12', 'Notebook A5', '', 'SKU-ST-006', 0, 0, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-04 13:33:46', 1, '2026-03-13 15:12:46', 57),
(4, 35, 'mobile', '59', 'lether', '', 'sku-1', 100, 0, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-10 14:22:55', 1, '2026-03-13 15:12:57', 57),
(5, 40, '123', '53', 'Printer Labels A4', '', 'SKU-ST-047', 200, 100, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-13 14:39:53', 1, '2026-03-13 15:13:12', 57),
(6, 40, 'pen', '9', 'Gel Pen Red', '', 'SKU-ST-003', 30, 10, 0, 0, '0000-00-00 00:00:00', 0, '2026-04-07 15:07:51', 1, '2026-04-07 14:07:51', 1),
(7, 56, 'cc cream', '112', 'cc cream', 'beauty product', 'SKU-BU-001', 100, 50, 0, 0, '0000-00-00 00:00:00', 0, '2026-04-08 14:18:50', 1, '2026-04-08 13:18:50', 1);

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

--
-- Table structure for table `sto_stocks_history`
--

CREATE TABLE `sto_stocks_history` (
  `id` int(11) NOT NULL,
  `his_id` int(11) NOT NULL,
  `supplier_id` int(11) NOT NULL,
  `model` varchar(255) NOT NULL,
  `part_number` varchar(255) NOT NULL,
  `part_name` varchar(255) NOT NULL,
  `part_description` mediumtext NOT NULL,
  `sku` varchar(255) NOT NULL,
  `reserved_stock` int(11) NOT NULL DEFAULT 0,
  `reorder_stock` int(11) NOT NULL DEFAULT 0,
  `status` int(11) NOT NULL,
  `is_archive` tinyint(1) NOT NULL DEFAULT 0,
  `archived_on` datetime NOT NULL,
  `archived_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_by` int(11) NOT NULL,
  `action_type` varchar(255) NOT NULL,
  `history_created_by` int(11) NOT NULL,
  `history_created_on` timestamp NULL DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `sto_stocks_history`
--

INSERT INTO `sto_stocks_history` (`id`, `his_id`, `supplier_id`, `model`, `part_number`, `part_name`, `part_description`, `sku`, `reserved_stock`, `reorder_stock`, `status`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`, `action_type`, `history_created_by`, `history_created_on`) VALUES
(1, 1, 1, 'test model 1', 'test-part-number-1', 'test-part-name-1', 'this is test', 'test-SKU-1', 0, 0, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-02 16:09:57', 1, '2026-03-02 16:09:57', 1, 'UPDATE', 1, '2026-03-02 16:11:47'),
(2, 1, 1, 'test model 1', 'test-part-number-1', 'test-part-name-1', 'this is test... update', 'test-SKU-1', 0, 0, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-02 16:09:57', 1, '2026-03-02 16:11:48', 1, 'UPDATE', 1, '2026-03-05 14:16:30'),
(3, 2, 1, 'sk2', '002', 'one', '', '', 0, 0, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-04 11:34:34', 1, '2026-03-04 11:34:34', 1, 'UPDATE', 1, '2026-03-05 14:16:55'),
(4, 1, 1, 'test model 1', 'test-part-number-1', 'test-part-name-1', 'this is test... update', 'test-SKU-1', 100, 350, 0, 1, '2026-03-09 06:37:55', 1, '2026-03-02 16:09:57', 1, '2026-03-09 06:37:55', 1, 'ARCHIVE', 1, '2026-03-09 06:37:55'),
(5, 5, 1, '123', 'pt001', 'pen', '', '', 200, 100, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-13 14:39:53', 1, '2026-03-13 14:39:53', 1, 'UPDATE', 1, '2026-03-13 14:41:19'),
(6, 5, 1, '123', 'PT0012', 'pen', '', '', 200, 100, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-13 14:39:53', 1, '2026-03-13 14:41:19', 1, 'UPDATE', 1, '2026-03-13 14:41:48'),
(7, 5, 1, '123', 'PT0012', 'pen', '', 'pt0012345', 200, 100, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-13 14:39:53', 1, '2026-03-13 14:41:48', 1, 'UPDATE', 1, '2026-03-13 14:42:12'),
(8, 2, 1, 'sk2', '002', 'one', '', '', 450, 250, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-04 11:34:34', 1, '2026-03-05 14:16:55', 1, 'UPDATE', 57, '2026-03-13 15:12:37'),
(9, 3, 1, 'fdsgfdg', 'sdfg', 'sdfgfdsg', '', 'fsdg', 0, 0, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-04 13:33:46', 1, '2026-03-04 13:33:46', 1, 'UPDATE', 57, '2026-03-13 15:12:46'),
(10, 4, 1, 'mobile', '001122', '1111', '', '1000002', 100, 0, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-10 14:22:55', 1, '2026-03-10 14:22:55', 1, 'UPDATE', 57, '2026-03-13 15:12:57'),
(11, 5, 1, '123', 'PT00122', 'pen', '', 'pt0012345', 200, 100, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-13 14:39:53', 1, '2026-03-13 14:42:12', 1, 'UPDATE', 57, '2026-03-13 15:13:11'),
(12, 5, 40, '123', '53', 'Printer Labels A4', '', 'SKU-ST-047', 200, 100, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-13 14:39:53', 1, '2026-03-13 15:13:11', 57, 'UPDATE', 57, '2026-03-13 15:13:12'),
(13, 2, 5, 'sk2', '7', 'Ballpoint Pen Blue', '', 'SKU-ST-001', 450, 250, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-04 11:34:34', 1, '2026-03-13 15:12:37', 57, 'UPDATE', 57, '2026-03-13 15:49:28');

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

--
-- Table structure for table `sto_warehouse`
--

CREATE TABLE `sto_warehouse` (
  `id` int(11) NOT NULL,
  `warehouse_name` varchar(255) NOT NULL,
  `status` tinyint(3) NOT NULL DEFAULT 0,
  `address_line_1` varchar(255) NOT NULL,
  `address_line_2` varchar(255) NOT NULL,
  `address_line_3` varchar(255) NOT NULL,
  `town` varchar(255) NOT NULL,
  `county` varchar(255) NOT NULL,
  `postcode` varchar(255) NOT NULL,
  `country` varchar(255) NOT NULL,
  `instruction` mediumtext NOT NULL,
  `is_archive` tinyint(1) NOT NULL DEFAULT 0,
  `created_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `sto_warehouse`
--

INSERT INTO `sto_warehouse` (`id`, `warehouse_name`, `status`, `address_line_1`, `address_line_2`, `address_line_3`, `town`, `county`, `postcode`, `country`, `instruction`, `is_archive`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(1, 'warehouse-1', 0, 'adderess -1', 'adderess -2', 'adderess -3', 'town', '', 'abc12', '', 'test inst...', 0, '2026-03-02 16:10:46', 1, '2026-03-03 15:57:48', 1),
(2, 'Warehouse-2', 0, 'test', '', '', '', '', '1111111', '', '', 0, '2026-03-03 12:27:50', 1, '2026-04-08 09:16:43', 1),
(3, 'Warehouse-3', 0, 'add1', '', '', '', '', '1111', '', '', 0, '2026-03-03 12:27:50', 1, '2026-04-06 07:46:54', 1),
(4, 'warehouse-4', 0, 'address-1', '', '', '', '', '123', '', '', 0, '2026-03-05 12:55:29', 1, '2026-04-06 07:47:05', 1),
(5, 'warehouse 5', 0, 'down town', 'street10', '', 'northampshire', '', 'NN 234', '', 'new warehouse for testing', 0, '2026-03-10 14:28:35', 1, '2026-04-06 07:47:13', 1),
(6, 'warehouse 6', 0, 'new town 38', 'arena', '', '', '', '12123', '', '', 0, '2026-03-10 14:33:25', 1, '2026-04-06 07:47:26', 1),
(7, 'test', 0, 'test-001', '', '', '', '', 'ABC123', '', '', 0, '2026-03-13 12:05:16', 1, '2026-04-06 07:47:34', 1),
(8, 'aaa-test111', 0, 'address test', '', '', '', 'Clackmannanshire', 'aa66', 'Costa Rica', '', 0, '2026-03-16 14:24:51', 57, '2026-04-06 07:47:42', 1);

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

--
-- Table structure for table `sup_contact_details`
--

CREATE TABLE `sup_contact_details` (
  `id` int(11) NOT NULL,
  `supplier_id` int(11) NOT NULL,
  `contact_type` int(11) NOT NULL,
  `part_no` varchar(11) DEFAULT NULL,
  `sku_code` varchar(100) NOT NULL,
  `nominal_code` varchar(100) NOT NULL,
  `item_name` varchar(256) NOT NULL,
  `lead_time` int(11) NOT NULL,
  `currency_id` int(11) NOT NULL,
  `price` float NOT NULL,
  `main_contact` tinyint(1) NOT NULL,
  `is_archive` tinyint(1) NOT NULL,
  `archived_on` datetime NOT NULL,
  `archived_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL,
  `updated_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sup_contact_details`
--

INSERT INTO `sup_contact_details` (`id`, `supplier_id`, `contact_type`, `part_no`, `sku_code`, `nominal_code`, `item_name`, `lead_time`, `currency_id`, `price`, `main_contact`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(1, 38, 0, 'PRT-100', 'SKU-10', 'NOM-11', 'Lether', 5, 62, 200, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-10 14:04:26', 1, '2026-03-10 14:04:49', 1),
(2, 43, 0, 'pt001', 'ss23', '234', 'pen', 20, 62, 50, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-13 14:22:40', 1, '2026-03-13 14:22:40', 1),
(3, 28, 0, 'part 123', 'sku 234', '23456', 'test item', 34, 70, 345, 0, 0, '0000-00-00 00:00:00', 0, '2026-03-30 08:27:50', 1, '2026-03-30 08:27:50', 1);

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

--
-- Table structure for table `sup_supplier_details`
--

CREATE TABLE `sup_supplier_details` (
  `id` int(11) NOT NULL,
  `supplier_name` varchar(512) NOT NULL,
  `first_name` varchar(256) NOT NULL,
  `last_name` varchar(256) NOT NULL,
  `primary_email` varchar(512) NOT NULL,
  `secondary_email` varchar(512) NOT NULL,
  `primary_phone` varchar(50) NOT NULL,
  `secondary_phone` varchar(50) NOT NULL,
  `currency` varchar(100) NOT NULL,
  `address_line_1` varchar(512) NOT NULL,
  `address_line_2` varchar(512) NOT NULL,
  `address_line_3` varchar(512) NOT NULL,
  `address_line_4` varchar(256) NOT NULL,
  `town` varchar(256) NOT NULL,
  `county` varchar(25) NOT NULL,
  `postcode` varchar(25) NOT NULL,
  `country` varchar(25) NOT NULL,
  `is_archive` tinyint(4) NOT NULL DEFAULT 0,
  `archived_on` datetime DEFAULT NULL,
  `archived_by` int(11) DEFAULT NULL,
  `created_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` int(11) DEFAULT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sup_supplier_details`
--

INSERT INTO `sup_supplier_details` (`id`, `supplier_name`, `first_name`, `last_name`, `primary_email`, `secondary_email`, `primary_phone`, `secondary_phone`, `currency`, `address_line_1`, `address_line_2`, `address_line_3`, `address_line_4`, `town`, `county`, `postcode`, `country`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(1, 'Abd Com. Tests', 'Abds', 'Tests', 'WALL_NSohBTA6NwshXCI5IzljMyA7', 'WALL_', 'WALL_Y3B8ZWB/cnl1fg==', 'WALL_', '', '', '', '', '', '', '', '', '', 1, '2026-02-26 15:08:39', 1, '2026-02-26 12:28:26', 1, '2026-02-26 14:52:06', 1),
(2, 'Testing 2', 'Ning', 'Qin', 'WALL_IC02JWQJJCZcJyY0ZDZcIj0=', 'WALL_IC02JWQJJCZcJyY0ZDZcIj0=', 'WALL_ZH98aWB6cH9yfmx+bXhl', 'WALL_', '', '31 Little Fryth', '45 thruxton drive', '', '', 'northampton', 'Ayrshire', '', 'United Kingdom', 0, '2026-02-26 15:08:39', 1, '2026-02-26 14:49:47', 1, '2026-02-26 14:55:31', 1),
(3, 'Liza', 'Gilani', '', 'WALL_HCErNRUkKiRoLDdcJw==', 'WALL_', 'WALL_Z3xwZGB8d34=', 'WALL_', '', '', '', '', '', '', '', '', '', 0, '2026-02-26 15:08:25', 1, '2026-02-26 15:08:11', 1, '2026-02-26 15:08:11', 1),
(4, 'Testing', 'WED', '23', 'WALL_IC02JTxcJyQLIVwiOSM5YzMgOw==', 'WALL_', 'WALL_ZXp2ZWB8cH9yeg==', 'WALL_', '', '', '', '', '', '', '', '', '', 1, '2026-03-02 09:07:17', 1, '2026-02-26 15:09:39', 1, '2026-02-26 15:09:39', 1),
(5, 'oscar', 'steven5', 'thomos', 'WALL_ICAqPDo6cH8GKDUrPCF+LDko', 'WALL_', 'WALL_bH9zZGF6d3h1fA==', 'WALL_', '62', '', '', '', '', '', '', '', 'Austria', 0, NULL, NULL, '2026-02-27 12:06:16', 1, '2026-03-03 11:02:43', 1),
(6, 'Testing 2', 'Ning', 'Qin', 'WALL_ZnoFNjgoKlwnaCw3XCc=', 'WALL_IC02JWQJJCZcJyY0ZDZcIj0=', 'WALL_ZntxZWJ8dH9zeg==', 'WALL_', '', '31 Little Fryth', '45 thruxton drive', '', '', 'northampton', 'Ayrshire', '', 'United Kingdom', 1, '2026-03-02 09:07:17', 1, '2026-02-27 15:01:32', 1, '2026-02-27 15:01:32', 1),
(7, 'Testingsssss', 'Ning', 'Qin', 'WALL_ZnoFNjgoKlwnaCw3XCc=', 'WALL_IC02JWQJJCZcJyY0ZDZcIj0=', 'WALL_ZntxZWJ8dH9zeg==', 'WALL_', '', '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-02 12:25:13', 1, '2026-03-30 09:56:06', 1),
(28, 'Albion Industrial Supplies Ltd', 'James', 'Turner', 'WALL_PikoNCZnNz40IT04FSw8LT8qPD0mITkyListLit6Kyp/IFwi', 'WALL_NSsmPiBcJzc4Bi40KDxcIj4mOCFcJ1wnPDclIDZ3XCcgaSEj', 'WALL_f3xxcWd5Y3x/e25qZH1ifA==', 'WALL_f3xxcWJ+c3tmdmh6ZH1h', '', '12 Baker Street', '', '', 'Marylebone', 'London', 'Greater London', 'W1U 3BW', '', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-03 10:57:04', 1),
(29, 'Northbridge Electrical Wholesalers Ltd', 'Sophie', 'Mitchell', 'sophie.mitchell@northbridgeelectrical.co.uk', 'sales@northbridgeelectrical.co.uk', '+44 161 496 0785', '+44 7700 900102', 'GBP', 'Unit 4 Riverside Park', 'Trafford Park', '', 'Manchester', 'Manchester', 'Greater Manchester', 'M17 1SN', 'United Kingdom', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(30, 'Highland Office Solutions Ltd', 'Callum', 'Fraser', 'callum.fraser@highlandoffice.co.uk', 'info@highlandoffice.co.uk', '+44 131 496 0321', '+44 7700 900103', 'GBP', '45 George Street', '', '', 'Edinburgh', 'Edinburgh', 'City of Edinburgh', 'EH2 2HT', 'United Kingdom', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(31, 'Severn Packaging Supplies Ltd', 'Emily', 'Hughes', 'emily.hughes@severnpackaging.co.uk', 'orders@severnpackaging.co.uk', '+44 117 496 0543', '+44 7700 900104', 'GBP', 'Unit 8 Avon Industrial Estate', 'St Philips', '', 'Bristol', 'Bristol', 'Bristol', 'BS2 0TX', 'United Kingdom', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(32, 'Pennine Catering Equipment Ltd', 'Oliver', 'Bennett', 'oliver.bennett@penninecatering.co.uk', 'support@penninecatering.co.uk', '+44 113 496 0678', '+44 7700 900105', 'GBP', '78 Kirkstall Road', '', '', 'Leeds', 'Leeds', 'West Yorkshire', 'LS3 1LH', 'United Kingdom', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(33, 'Trent Safety Supplies Ltd', 'Charlotte', 'Robinson', 'charlotte.robinson@trentsafety.co.uk', 'admin@trentsafety.co.uk', '+44 115 496 0234', '+44 7700 900106', 'GBP', '19 Lace Market', '', '', 'Nottingham', 'Nottingham', 'Nottinghamshire', 'NG1 1HF', 'United Kingdom', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(34, 'Thames Valley IT Equipment Ltd', 'Daniel', 'Carter', 'daniel.carter@thamesvalleyit.co.uk', 'helpdesk@thamesvalleyit.co.uk', '+44 118 496 0789', '+44 7700 900107', 'GBP', '102 Oxford Road', '', '', 'Reading', 'Reading', 'Berkshire', 'RG1 7LJ', 'United Kingdom', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(35, 'Tyne Industrial Components Ltd', 'Ava', 'Wilson', 'WALL_NT4kf1wiIC84KSEYPiwjNSY4IVwnXCc8NyUgNndcJyBpISM=', 'WALL_XCcpKTQmCTcyKCoxJDE4IzskLDM4ZiYjby8y', 'WALL_f3xxcWRwcmtydm5qZXxhfQ==', 'WALL_f3xxcWJ+c3tmdmh6ZH1o', '62', 'Unit 15 Tyne Tunnel Trading Estate', '', '', 'Wallsend', 'North Tyneside', '', 'NE28 9ND', 'United Kingdom', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-13 14:16:11', 1),
(36, 'South Coast Building Materials Ltd', 'Harry', 'Thompson', 'harry.thompson@southcoastbuilding.co.uk', 'accounts@southcoastbuilding.co.uk', '+44 23 8049 6123', '+44 7700 900109', 'GBP', '6 Ocean Way', '', '', 'Southampton', 'Southampton', 'Hampshire', 'SO14 3TJ', 'United Kingdom', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-04-08 05:29:44', 1),
(37, 'Mersey Cleaning Products Ltd', 'Grace', 'Edwards', 'grace.edwards@merseycleaning.co.uk', 'info@merseycleaning.co.uk', '+44 151 496 0456', '+44 7700 900110', 'GBP', '24 Bold Street', '', '', 'Liverpool', 'Liverpool', 'Merseyside', 'L1 4DS', 'United Kingdom', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1),
(38, 'Global tech supplier', 'John', 'roy', 'WALL_PlwnLT8VLi4qLyN2KTog', 'WALL_', 'WALL_ZntxZGN+dX5yfA==', 'WALL_', '71', '45 marke', 'street road', 'manchester', '45 marke', 'london', 'Hertfordshire', 'G1 2FF', 'India', 0, NULL, NULL, '2026-03-10 13:50:30', 1, '2026-03-31 13:42:52', 1),
(39, 'global tech', '45678', '', 'WALL_XCcpKBEyJFwiXCIqYTslOA==', 'WALL_', 'WALL_YH1zZGF6cXhyeg==', 'WALL_', '', '45 marke', 'street road', 'manchester', '45 marke', 'london', 'Hertfordshire', 'G1 2FF', 'Burkina Faso', 0, '2026-03-10 16:29:29', 0, '2026-03-10 14:18:16', 1, '2026-03-10 14:51:01', 1),
(40, 'enova tech', 'smith', 'roy', 'WALL_XCclLCU9CSQmXCcmNGQ2XCI9', 'WALL_', 'WALL_ZntxZGN+e3J+eA==', 'WALL_', '', '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-10 16:36:53', 1, '2026-03-10 16:36:53', 1),
(41, 'zsdf', '4567', 'ambhure', 'WALL_MCE1MDkgNC4kLjQmPCw+LDMFNTkpLCBvOTYp', 'WALL_MCE1MDkgNC4kLjQmPCw+LDMFNTkpLCBvOTYp', 'WALL_ZntxZGZ9d350fGx/ZA==', 'WALL_', '', '45 marke', 'street road', 'manchester', '', '', '', '', '', 1, '2026-03-11 06:57:11', 1, '2026-03-11 06:57:02', 1, '2026-03-11 06:57:02', 1),
(42, 'sdfg', 'dipali', 'ambhure', 'WALL_MCE1MDkgNC4kLjQmPCw+LDMFNTkpLCBvOTYp', 'WALL_MCE1MDkgNC4kLjQmPCw+LDMFNTkpLCBvOTYp', 'WALL_ZntxZGZ9d350fGx/ZA==', 'WALL_', '', '45 marke', 'street road', 'manchester', '', '', '', '', '', 0, '2026-03-11 07:34:34', 1, '2026-03-11 07:34:23', 1, '2026-03-11 07:34:23', 1),
(43, 'supplier tech stone1', 'eon', '', 'WALL_MixcJxEwMVwiJjYjPWQgJg==', 'WALL_', 'WALL_YX5xZGN8d3hzeWx/', 'WALL_Nz49MiMxNS0w', '', 'doen eon street', '', '', '', '', 'Derbyshire', '', 'Bahrain', 0, NULL, NULL, '2026-03-13 14:17:34', 1, '2026-03-13 14:23:40', 1),
(44, 'London Beauty Supplies Ltd', 'Emma', 'Clark', 'emma.clark@lbsupplies.co.uk', 'info@lbsupplies.co.uk', '02079460001', '02079460002', 'GBP', '12 Oxford Street', 'Soho', '', '', 'London', 'Greater London', 'W1D 1BS', 'UK', 0, NULL, NULL, '2026-03-17 10:21:36', 1, '2026-03-17 10:21:36', 1),
(45, 'Manchester Cosmetics Hub', 'James', 'Turner', 'j.turner@mchub.co.uk', 'sales@mchub.co.uk', '01612340001', '01612340002', 'GBP', '45 Deansgate', '', '', '', 'Manchester', 'Greater Manchester', 'M3 2AY', 'UK', 0, NULL, NULL, '2026-03-17 10:21:36', 1, '2026-03-17 10:21:36', 1),
(46, 'Birmingham Beauty Wholesale', 'Olivia', 'Patel', 'olivia@bbw.co.uk', 'contact@bbw.co.uk', '01216320001', '01216320002', 'GBP', '78 New Street', '', '', '', 'Birmingham', 'West Midlands', 'B2 4QA', 'UK', 0, NULL, NULL, '2026-03-17 10:21:36', 1, '2026-03-17 10:21:36', 1),
(47, 'Leeds Skin Care Ltd', 'Noah', 'Wilson', 'noah.wilson@leedsskincare.co.uk', 'info@leedsskincare.co.uk', '01132450001', '01132450002', 'GBP', '23 Briggate', '', '', '', 'Leeds', 'West Yorkshire', 'LS1 6ER', 'UK', 0, NULL, NULL, '2026-03-17 10:21:36', 1, '2026-03-17 10:21:36', 1),
(48, 'Glasgow Beauty Traders', 'Ava', 'McDonald', 'ava@gbtraders.co.uk', 'support@gbtraders.co.uk', '01412220001', '01412220002', 'GBP', '10 Buchanan Street', '', '', '', 'Glasgow', 'Lanarkshire', 'G1 3JN', 'UK', 0, NULL, NULL, '2026-03-17 10:21:36', 1, '2026-03-17 10:21:36', 1),
(49, 'Liverpool Cosmetics Supply', 'Liam', 'Jones', 'liam.jones@lcsupply.co.uk', 'sales@lcsupply.co.uk', '01517090001', '01517090002', 'GBP', '56 Bold Street', '', '', '', 'Liverpool', 'Merseyside', 'L1 4HR', 'UK', 0, NULL, NULL, '2026-03-17 10:21:36', 1, '2026-03-17 10:21:36', 1),
(50, 'Bristol Beauty Distributors', 'Sophia', 'Brown', 'sophia@bbd.co.uk', 'info@bbd.co.uk', '01179230001', '01179230002', 'GBP', '89 Park Street', '', '', '', 'Bristol', 'Bristol', 'BS1 5PB', 'UK', 0, NULL, NULL, '2026-03-17 10:21:36', 1, '2026-03-17 10:21:36', 1),
(51, 'Edinburgh Cosmetics Ltd', 'Jack', 'Stewart', 'jack.stewart@edinburghcosmetics.co.uk', 'contact@edinburghcosmetics.co.uk', '01315550001', '01315550002', 'GBP', '34 Princes Street', '', '', '', 'Edinburgh', 'Midlothian', 'EH2 2BY', 'UK', 0, NULL, NULL, '2026-03-17 10:21:36', 1, '2026-03-17 10:21:36', 1),
(52, 'Sheffield Beauty Supplies', 'Mia', 'Taylor', 'mia.taylor@sbsupplies.co.uk', 'info@sbsupplies.co.uk', '01142780001', '01142780002', 'GBP', '67 Fargate', '', '', '', 'Sheffield', 'South Yorkshire', 'S1 2HD', 'UK', 0, NULL, NULL, '2026-03-17 10:21:36', 1, '2026-03-17 10:21:36', 1),
(53, 'Nottingham Cosmetic Traders', 'Ethan', 'Walker', 'ethan.walker@nctraders.co.uk', 'sales@nctraders.co.uk', '01159580001', '01159580002', 'GBP', '21 Clumber Street', '', '', '', 'Nottingham', 'Nottinghamshire', 'NG1 3ED', 'UK', 0, NULL, NULL, '2026-03-17 10:21:36', 1, '2026-03-17 10:21:36', 1),
(54, 'anurag', 'mishra', 'wa', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_NSYwIzQuXCImLzsheWZ9ECg7JDs4ZiYjLA==', 'WALL_Ynt9ZmJ7cHx1dw==', 'WALL_', '', '', 'Raebareli utter Pradesh', '', '', '', '', '', '', 0, NULL, NULL, '2026-04-07 13:56:43', 1, '2026-04-07 13:56:43', 1),
(55, 'stsan', 'web test 3', 'web test3', 'WALL_NSomNRUuLiovI3YpOiA=', 'WALL_NSomNRUuLiovI3YpOiA=', 'WALL_YH1wZ2N6cXh0fWo=', 'WALL_', '', 'dsdsd', 'sdsdsd', '', '', '', '', '', '', 0, NULL, NULL, '2026-04-07 14:01:54', 1, '2026-04-07 14:01:54', 1),
(56, 'nova beauty', 'stevan', 'rockens', 'WALL_XCc8IFwnNFwnAy4+LjU6OSh+Oj0=', 'WALL_', 'WALL_YHxwZWN8d31zew==', 'WALL_', '62', 'down street', 'street 12', '', '', '', 'Thornbury and Yate', '', 'Australia', 0, NULL, NULL, '2026-04-08 12:56:37', 1, '2026-04-08 12:56:37', 1);

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

--
-- Table structure for table `sup_supplier_details_history`
--

CREATE TABLE `sup_supplier_details_history` (
  `id` int(11) NOT NULL,
  `his_id` int(11) NOT NULL,
  `supplier_name` varchar(512) NOT NULL,
  `first_name` varchar(256) NOT NULL,
  `last_name` varchar(256) NOT NULL,
  `primary_email` varchar(512) NOT NULL,
  `secondary_email` varchar(512) NOT NULL,
  `primary_phone` varchar(50) NOT NULL,
  `secondary_phone` varchar(50) NOT NULL,
  `currency` varchar(100) NOT NULL,
  `address_line_1` varchar(512) NOT NULL,
  `address_line_2` varchar(512) NOT NULL,
  `address_line_3` varchar(512) NOT NULL,
  `address_line_4` varchar(256) NOT NULL,
  `town` varchar(256) NOT NULL,
  `county` varchar(25) NOT NULL,
  `postcode` varchar(25) NOT NULL,
  `country` varchar(25) NOT NULL,
  `is_archive` tinyint(4) NOT NULL DEFAULT 0,
  `archived_on` datetime DEFAULT NULL,
  `archived_by` int(11) DEFAULT NULL,
  `created_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` int(11) DEFAULT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) DEFAULT NULL,
  `history_created_by` int(11) NOT NULL,
  `history_created_on` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sup_supplier_details_history`
--

INSERT INTO `sup_supplier_details_history` (`id`, `his_id`, `supplier_name`, `first_name`, `last_name`, `primary_email`, `secondary_email`, `primary_phone`, `secondary_phone`, `currency`, `address_line_1`, `address_line_2`, `address_line_3`, `address_line_4`, `town`, `county`, `postcode`, `country`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`, `history_created_by`, `history_created_on`) VALUES
(1, 1, 'Abd Com. Test', 'Abd', 'Test', 'WALL_NSohBTA6NwshXCI5IzljMyA7', 'WALL_', 'WALL_Y3B8ZWB/cnl1fw==', 'WALL_', '', '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-02-26 12:28:26', 1, '2026-02-26 12:28:26', 1, 1, '2026-02-26 12:28:57'),
(2, 1, 'Abd Com. Tests', 'Abds', 'Tests', 'WALL_NSohBTA6NwshXCI5IzljMyA7', 'WALL_', 'WALL_Y3B8ZWB/cnl1fg==', 'WALL_', '', '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-02-26 12:28:26', 1, '2026-02-26 12:28:57', 1, 1, '2026-02-26 14:52:06'),
(3, 2, 'Testing 2', 'Ning', 'Qin', 'WALL_IC02JWQJJCZcJyY0ZDZcIj0=', 'WALL_IC02JWQJJCZcJyY0ZDZcIj0=', 'WALL_ZH98aWB6cH9yfmx+bXhl', 'WALL_', '', '31 Little Fryth', '45 thruxton drive', '', '', 'northampton', 'Ayrshire', '', 'United Kingdom', 0, NULL, NULL, '2026-02-26 14:49:47', 1, '2026-02-26 14:49:47', 1, 1, '2026-02-26 14:55:31'),
(4, 3, 'Liza', 'Gilani', '', 'WALL_HCErNRUkKiRoLDdcJw==', 'WALL_', 'WALL_Z3xwZGB8d34=', 'WALL_', '', '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-02-26 15:08:11', 1, '2026-02-26 15:08:11', 1, 1, '2026-02-26 15:08:25'),
(5, 1, 'Abd Com. Tests', 'Abds', 'Tests', 'WALL_NSohBTA6NwshXCI5IzljMyA7', 'WALL_', 'WALL_Y3B8ZWB/cnl1fg==', 'WALL_', '', '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-02-26 12:28:26', 1, '2026-02-26 14:52:06', 1, 1, '2026-02-26 15:08:38'),
(6, 2, 'Testing 2', 'Ning', 'Qin', 'WALL_IC02JWQJJCZcJyY0ZDZcIj0=', 'WALL_IC02JWQJJCZcJyY0ZDZcIj0=', 'WALL_ZH98aWB6cH9yfmx+bXhl', 'WALL_', '', '31 Little Fryth', '45 thruxton drive', '', '', 'northampton', 'Ayrshire', '', 'United Kingdom', 0, NULL, NULL, '2026-02-26 14:49:47', 1, '2026-02-26 14:55:31', 1, 1, '2026-02-26 15:08:38'),
(8, 1, 'Abd Com. Tests', 'Abds', 'Tests', 'WALL_NSohBTA6NwshXCI5IzljMyA7', 'WALL_', 'WALL_Y3B8ZWB/cnl1fg==', 'WALL_', '', '', '', '', '', '', '', '', '', 1, '2026-02-26 15:08:38', 1, '2026-02-26 12:28:26', 1, '2026-02-26 14:52:06', 1, 1, '2026-02-26 15:08:39'),
(9, 2, 'Testing 2', 'Ning', 'Qin', 'WALL_IC02JWQJJCZcJyY0ZDZcIj0=', 'WALL_IC02JWQJJCZcJyY0ZDZcIj0=', 'WALL_ZH98aWB6cH9yfmx+bXhl', 'WALL_', '', '31 Little Fryth', '45 thruxton drive', '', '', 'northampton', 'Ayrshire', '', 'United Kingdom', 1, '2026-02-26 15:08:38', 1, '2026-02-26 14:49:47', 1, '2026-02-26 14:55:31', 1, 1, '2026-02-26 15:08:39'),
(10, 4, 'Testing', 'WED', '23', 'WALL_IC02JTxcJyQLIVwiOSM5YzMgOw==', 'WALL_', 'WALL_ZXp2ZWB8cH9yeg==', 'WALL_', '', '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-02-26 15:09:39', 1, '2026-02-26 15:09:39', 1, 1, '2026-03-02 09:07:17'),
(11, 6, 'Testing 2', 'Ning', 'Qin', 'WALL_ZnoFNjgoKlwnaCw3XCc=', 'WALL_IC02JWQJJCZcJyY0ZDZcIj0=', 'WALL_ZntxZWJ8dH9zeg==', 'WALL_', '', '31 Little Fryth', '45 thruxton drive', '', '', 'northampton', 'Ayrshire', '', 'United Kingdom', 0, NULL, NULL, '2026-02-27 15:01:32', 1, '2026-02-27 15:01:32', 1, 1, '2026-03-02 09:07:17'),
(13, 5, 'oscar', 'steven', 'thomos', 'WALL_ICAqPDo6cH8GKDUrPCF+LDko', 'WALL_', 'WALL_bH9zZGF6d3h1fA==', 'WALL_', '', '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-02-27 12:06:16', 1, '2026-02-27 12:06:16', 1, 1, '2026-03-02 10:26:38'),
(14, 5, 'oscar', 'steven5', 'thomos', 'WALL_ICAqPDo6cH8GKDUrPCF+LDko', 'WALL_', 'WALL_bH9zZGF6d3h1fA==', 'WALL_', '', '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-02-27 12:06:16', 1, '2026-03-02 10:26:38', 1, 1, '2026-03-02 11:31:02'),
(15, 5, 'oscar', 'steven5', 'thomos', 'WALL_ICAqPDo6cH8GKDUrPCF+LDko', 'WALL_', 'WALL_bH9zZGF6d3h1fA==', 'WALL_', '', '', '', '', '', '', '', '', 'Austria', 0, NULL, NULL, '2026-02-27 12:06:16', 1, '2026-03-02 11:31:02', 1, 1, '2026-03-02 11:53:41'),
(16, 28, 'Albion Industrial Supplies Ltd', 'James', 'Turner', 'james.turner@albionindustrial.co.uk', 'accounts@albionindustrial.co.uk', '+44 20 7946 1023', '+44 7700 900101', 'GBP', '12 Baker Street', '', '', 'Marylebone', 'London', 'Greater London', 'W1U 3BW', 'United Kingdom', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1, 1, '2026-03-03 10:57:04'),
(17, 5, 'oscar', 'steven5', 'thomos', 'WALL_ICAqPDo6cH8GKDUrPCF+LDko', 'WALL_', 'WALL_bH9zZGF6d3h1fA==', 'WALL_', '62', '', '', '', '', '', '', '', 'Austria', 0, NULL, NULL, '2026-02-27 12:06:16', 1, '2026-03-02 11:53:41', 1, 1, '2026-03-03 11:02:34'),
(18, 5, 'oscar', 'steven5', 'thomos', 'WALL_ICAqPDo6cH8GKDUrPCF+LDko', 'WALL_', 'WALL_bH9zZGF6d3h1fA==', 'WALL_', '62', '', '', '', '', '', '', '', 'Austria', 0, NULL, NULL, '2026-02-27 12:06:16', 1, '2026-03-03 11:02:34', 1, 1, '2026-03-03 11:02:42'),
(19, 5, 'oscar', 'steven5', 'thomos', 'WALL_ICAqPDo6cH8GKDUrPCF+LDko', 'WALL_', 'WALL_bH9zZGF6d3h1fA==', 'WALL_', '62', '', '', '', '', '', '', '', 'Austria', 0, NULL, NULL, '2026-02-27 12:06:16', 1, '2026-03-03 11:02:42', 1, 1, '2026-03-03 11:02:43'),
(20, 39, 'global tech', '45678', '', 'WALL_XCcpKBEyJFwiXCIqYTslOA==', 'WALL_', 'WALL_YH1zZGF6cXhyeg==', 'WALL_', '', '', '', '', '', '', '', '', '', 0, NULL, NULL, '2026-03-10 14:18:16', 1, '2026-03-10 14:18:16', 1, 1, '2026-03-10 14:20:31'),
(21, 39, 'global tech', '45678', 'ambhure', 'WALL_XCcpKBEyJFwiXCIqYTslOA==', 'WALL_', 'WALL_YH1zZGF6cXhyeg==', 'WALL_', '', '45 marke', 'street road', 'manchester', '45 marke', 'london', 'Hertfordshire', 'G1 2FF', 'Burkina Faso', 0, NULL, NULL, '2026-03-10 14:18:16', 1, '2026-03-10 14:20:31', 1, 1, '2026-03-10 14:51:01'),
(22, 39, 'global tech', '45678', '', 'WALL_XCcpKBEyJFwiXCIqYTslOA==', 'WALL_', 'WALL_YH1zZGF6cXhyeg==', 'WALL_', '', '45 marke', 'street road', 'manchester', '45 marke', 'london', 'Hertfordshire', 'G1 2FF', 'Burkina Faso', 0, NULL, NULL, '2026-03-10 14:18:16', 1, '2026-03-10 14:51:01', 1, 1, '2026-03-10 16:29:29'),
(23, 41, 'zsdf', '4567', 'ambhure', 'WALL_MCE1MDkgNC4kLjQmPCw+LDMFNTkpLCBvOTYp', 'WALL_MCE1MDkgNC4kLjQmPCw+LDMFNTkpLCBvOTYp', 'WALL_ZntxZGZ9d350fGx/ZA==', 'WALL_', '', '45 marke', 'street road', 'manchester', '', '', '', '', '', 0, NULL, NULL, '2026-03-11 06:57:02', 1, '2026-03-11 06:57:02', 1, 1, '2026-03-11 06:57:11'),
(24, 42, 'sdfg', 'dipali', 'ambhure', 'WALL_MCE1MDkgNC4kLjQmPCw+LDMFNTkpLCBvOTYp', 'WALL_MCE1MDkgNC4kLjQmPCw+LDMFNTkpLCBvOTYp', 'WALL_ZntxZGZ9d350fGx/ZA==', 'WALL_', '', '45 marke', 'street road', 'manchester', '', '', '', '', '', 0, NULL, NULL, '2026-03-11 07:34:23', 1, '2026-03-11 07:34:23', 1, 1, '2026-03-11 07:34:34'),
(25, 35, 'Tyne Industrial Components Ltd', 'Ava', 'Wilson', 'ava.wilson@tyneindustrial.co.uk', 'sales@tyneindustrial.co.uk', '+44 191 496 0112', '+44 7700 900108', 'GBP', 'Unit 15 Tyne Tunnel Trading Estate', '', '', 'Wallsend', 'North Tyneside', 'Tyne and Wear', 'NE28 9ND', 'United Kingdom', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1, 1, '2026-03-13 14:16:11'),
(26, 43, 'supplier tech stone', 'eon', '', 'WALL_MixcJxEwMVwiJjYjPWQgJg==', 'WALL_', 'WALL_YX5xZGN8d3hzeWx/', 'WALL_Nz49MiMxNS0w', '', 'doen eon street', '', '', '', '', 'Derbyshire', '', '', 0, NULL, NULL, '2026-03-13 14:17:34', 1, '2026-03-13 14:17:34', 1, 1, '2026-03-13 14:17:54'),
(27, 43, 'supplier tech stone1', 'eon', '', 'WALL_MixcJxEwMVwiJjYjPWQgJg==', 'WALL_', 'WALL_YX5xZGN8d3hzeWx/', 'WALL_Nz49MiMxNS0w', '', 'doen eon street', '', '', '', '', 'Derbyshire', '', '', 0, NULL, NULL, '2026-03-13 14:17:34', 1, '2026-03-13 14:17:54', 1, 1, '2026-03-13 14:23:40'),
(28, 7, 'Testing', 'Ning', 'Qin', 'WALL_ZnoFNjgoKlwnaCw3XCc=', 'WALL_IC02JWQJJCZcJyY0ZDZcIj0=', 'WALL_ZntxZWJ8dH9zeg==', 'WALL_', '', '31 Little Fryth', '45 thruxton drive', '', '', 'northampton', 'Ayrshire', '', '', 0, NULL, NULL, '2026-03-02 12:25:13', 1, '2026-03-02 12:25:13', 1, 1, '2026-03-30 09:56:06'),
(29, 38, 'Global tech supplier', 'John', 'roy', 'WALL_PlwnLT8VLi4qLyN2KTog', 'WALL_', 'WALL_ZntxZGN+dX5yfA==', 'WALL_', '62', '45 marke', 'street road', 'manchester', '45 marke', 'london', 'Hertfordshire', 'G1 2FF', 'India', 0, NULL, NULL, '2026-03-10 13:50:30', 1, '2026-03-10 13:50:30', 1, 1, '2026-03-31 09:28:22'),
(30, 38, 'Global tech supplier', 'John', 'roy', 'WALL_PlwnLT8VLi4qLyN2KTog', 'WALL_', 'WALL_ZntxZGN+dX5yfA==', 'WALL_', '70', '45 marke', 'street road', 'manchester', '45 marke', 'london', 'Hertfordshire', 'G1 2FF', 'India', 0, NULL, NULL, '2026-03-10 13:50:30', 1, '2026-03-31 09:28:23', 1, 1, '2026-03-31 13:42:35'),
(31, 38, 'Global tech supplier', 'John', 'roy', 'WALL_PlwnLT8VLi4qLyN2KTog', 'WALL_', 'WALL_ZntxZGN+dX5yfA==', 'WALL_', '72', '45 marke', 'street road', 'manchester', '45 marke', 'london', 'Hertfordshire', 'G1 2FF', 'India', 0, NULL, NULL, '2026-03-10 13:50:30', 1, '2026-03-31 13:42:35', 1, 1, '2026-03-31 13:42:52'),
(32, 36, 'South Coast Building Materials Ltd', 'Harry', 'Thompson', 'harry.thompson@southcoastbuilding.co.uk', 'accounts@southcoastbuilding.co.uk', '+44 23 8049 6123', '+44 7700 900109', 'GBP', '6 Ocean Way', '', '', 'Southampton', 'Southampton', 'Hampshire', 'SO14 3TJ', 'United Kingdom', 0, NULL, NULL, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1, 1, '2026-04-08 05:24:05'),
(33, 36, 'South Coast Building Materials Ltd', 'Harry', 'Thompson', 'harry.thompson@southcoastbuilding.co.uk', 'accounts@southcoastbuilding.co.uk', '+44 23 8049 6123', '+44 7700 900109', 'GBP', '6 Ocean Way', '', '', 'Southampton', 'Southampton', 'Hampshire', 'SO14 3TJ', 'United Kingdom', 1, '2026-04-08 06:24:05', 1, '2026-03-01 00:00:00', 1, '2026-03-01 00:00:00', 1, 1, '2026-04-08 05:29:44');

--
-- Indexes for table `admin_documents`
--
ALTER TABLE `admin_documents`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `admin_id` (`admin_id`);

--
-- Indexes for table `admin_group_delete`
--
ALTER TABLE `admin_group_delete`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `group_id` (`group_id`),
  ADD KEY `module_id` (`module_id`);

--
-- Indexes for table `admin_module_delete`
--
ALTER TABLE `admin_module_delete`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `admin_id` (`admin_id`),
  ADD KEY `module_id` (`module_id`);

--
-- Indexes for table `audit_logs`
--
ALTER TABLE `audit_logs`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `cal_event_details`
--
ALTER TABLE `cal_event_details`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `user_id` (`user_id`),
  ADD KEY `event_start_date` (`event_start_date`),
  ADD KEY `event_end_date` (`event_end_date`),
  ADD KEY `job_id` (`job_id`);

--
-- Indexes for table `cal_event_details-260226`
--
ALTER TABLE `cal_event_details-260226`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `user_id` (`user_id`),
  ADD KEY `event_start_date` (`event_start_date`),
  ADD KEY `event_end_date` (`event_end_date`);

--
-- Indexes for table `comp_company_details`
--
ALTER TABLE `comp_company_details`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `company_name` (`company_name`),
  ADD KEY `is_archive` (`is_archive`),
  ADD KEY `postcode` (`postcode`);

--
-- Indexes for table `comp_company_details_history`
--
ALTER TABLE `comp_company_details_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `company_name` (`company_name`),
  ADD KEY `is_archive` (`is_archive`),
  ADD KEY `his_id` (`his_id`);

--
-- Indexes for table `comp_contact_details`
--
ALTER TABLE `comp_contact_details`
  ADD PRIMARY KEY (`id`),
  ADD KEY `company_id` (`company_id`),
  ADD KEY `id` (`id`),
  ADD KEY `contact_type` (`contact_type`),
  ADD KEY `is_archive` (`is_archive`);

--
-- Indexes for table `country`
--
ALTER TABLE `country`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `country` (`country`),
  ADD KEY `country_code` (`country_code`);

--
-- Indexes for table `county`
--
ALTER TABLE `county`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`,`county`);

--
-- Indexes for table `enq_enquiry_details`
--
ALTER TABLE `enq_enquiry_details`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`,`is_archive`),
  ADD KEY `company_id` (`company_id`),
  ADD KEY `postcode` (`postcode`);

--
-- Indexes for table `enq_enquiry_details_3`
--
ALTER TABLE `enq_enquiry_details_3`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`,`is_archive`),
  ADD KEY `company_id` (`company_id`),
  ADD KEY `postcode` (`postcode`);

--
-- Indexes for table `enq_enquiry_details_history`
--
ALTER TABLE `enq_enquiry_details_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`,`his_id`,`company_id`,`is_archive`);

--
-- Indexes for table `enq_notes_details`
--
ALTER TABLE `enq_notes_details`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`,`enquiry_id`,`is_archive`);

--
-- Indexes for table `groups`
--
ALTER TABLE `groups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `group_name` (`group_name`),
  ADD KEY `is_archive` (`is_archive`);

--
-- Indexes for table `groups_history`
--
ALTER TABLE `groups_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `his_id` (`his_id`),
  ADD KEY `group_name` (`group_name`),
  ADD KEY `group_name_2` (`group_name`);

--
-- Indexes for table `inv_credit_mapping`
--
ALTER TABLE `inv_credit_mapping`
  ADD PRIMARY KEY (`id`),
  ADD KEY `inv_credit_id` (`inv_credit_id`),
  ADD KEY `invoice_id` (`invoice_id`),
  ADD KEY `id` (`id`);

--
-- Indexes for table `inv_credit_notes`
--
ALTER TABLE `inv_credit_notes`
  ADD PRIMARY KEY (`id`),
  ADD KEY `invoice_id` (`invoice_id`);

--
-- Indexes for table `inv_invoices`
--
ALTER TABLE `inv_invoices`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `is_archive` (`is_archive`),
  ADD KEY `company_id` (`sales_order_id`),
  ADD KEY `customer_type` (`customer_type`);

--
-- Indexes for table `inv_invoices_history`
--
ALTER TABLE `inv_invoices_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `is_archive` (`is_archive`);

--
-- Indexes for table `inv_items`
--
ALTER TABLE `inv_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_invoice_items_invoice` (`invoice_id`),
  ADD KEY `id` (`id`),
  ADD KEY `item_name` (`item_name`);

--
-- Indexes for table `inv_payment_history`
--
ALTER TABLE `inv_payment_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `invoice_id` (`invoice_id`);

--
-- Indexes for table `inv_payment_installments`
--
ALTER TABLE `inv_payment_installments`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `item_attributes`
--
ALTER TABLE `item_attributes`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `item_id` (`item_id`);

--
-- Indexes for table `item_documents`
--
ALTER TABLE `item_documents`
  ADD PRIMARY KEY (`id`),
  ADD KEY `item_id` (`item_id`),
  ADD KEY `id` (`id`);

--
-- Indexes for table `item_item_management`
--
ALTER TABLE `item_item_management`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `product_code` (`product_code`),
  ADD KEY `url_main_id` (`url_main_id`),
  ADD KEY `image_main_id` (`image_main_id`),
  ADD KEY `is_archive` (`is_archive`),
  ADD KEY `product_name` (`product_name`(191)),
  ADD KEY `product_sku` (`product_sku`);

--
-- Indexes for table `item_item_management_history`
--
ALTER TABLE `item_item_management_history`
  ADD PRIMARY KEY (`his_id`);

--
-- Indexes for table `item_location`
--
ALTER TABLE `item_location`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `item_id` (`item_id`),
  ADD KEY `shelf_id` (`shelf_id`);

--
-- Indexes for table `item_suppliers`
--
ALTER TABLE `item_suppliers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `item_id` (`item_id`),
  ADD KEY `supplier_id` (`supplier_id`),
  ADD KEY `id` (`id`);

--
-- Indexes for table `item_urls`
--
ALTER TABLE `item_urls`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `item_id` (`item_id`);

--
-- Indexes for table `job_assigned_users`
--
ALTER TABLE `job_assigned_users`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `job_id` (`job_id`),
  ADD KEY `user_type` (`user_type`),
  ADD KEY `user_id` (`user_id`);

--
-- Indexes for table `job_details`
--
ALTER TABLE `job_details`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `job_number` (`job_number`),
  ADD KEY `client_id` (`client_id`),
  ADD KEY `is_archive` (`is_archive`);

--
-- Indexes for table `job_task_list`
--
ALTER TABLE `job_task_list`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `keycode`
--
ALTER TABLE `keycode`
  ADD PRIMARY KEY (`id`),
  ADD KEY `name` (`name`),
  ADD KEY `code` (`code`),
  ADD KEY `status` (`status`),
  ADD KEY `id` (`id`),
  ADD KEY `ord` (`ord`);

--
-- Indexes for table `locations`
--
ALTER TABLE `locations`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `module`
--
ALTER TABLE `module`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `display_name` (`display_name`),
  ADD KEY `parent_id` (`parent_id`),
  ADD KEY `display_name_2` (`display_name`),
  ADD KEY `sort_order` (`sort_order`),
  ADD KEY `display` (`display`),
  ADD KEY `id` (`id`),
  ADD KEY `is_archive` (`is_archive`);

--
-- Indexes for table `ord_history`
--
ALTER TABLE `ord_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `company_id` (`company_id`),
  ADD KEY `id` (`id`);

--
-- Indexes for table `ord_items`
--
ALTER TABLE `ord_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `order_id` (`order_id`);

--
-- Indexes for table `ord_notes`
--
ALTER TABLE `ord_notes`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `order_id` (`order_id`),
  ADD KEY `is_archive` (`is_archive`);

--
-- Indexes for table `ord_orders`
--
ALTER TABLE `ord_orders`
  ADD PRIMARY KEY (`id`),
  ADD KEY `company_id` (`company_id`),
  ADD KEY `id` (`id`),
  ADD KEY `enquiry_id` (`enquiry_id`),
  ADD KEY `quotation_id` (`quotation_id`),
  ADD KEY `contact_id` (`contact_id`),
  ADD KEY `order_number` (`order_number`(250)),
  ADD KEY `po_number` (`po_number`(250)),
  ADD KEY `is_archive` (`is_archive`);

--
-- Indexes for table `permissions`
--
ALTER TABLE `permissions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `group_id` (`group_id`),
  ADD KEY `module_id` (`module_id`);

--
-- Indexes for table `permissions_history`
--
ALTER TABLE `permissions_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `his_id` (`his_id`);

--
-- Indexes for table `plugin_details`
--
ALTER TABLE `plugin_details`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `plugin_name` (`plugin_name`(191)),
  ADD KEY `is_active` (`is_active`);

--
-- Indexes for table `pur_po_invoices`
--
ALTER TABLE `pur_po_invoices`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`,`purchase_order_id`);

--
-- Indexes for table `pur_po_invoices_items_mapping`
--
ALTER TABLE `pur_po_invoices_items_mapping`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `po_invoices_id` (`po_invoices_id`),
  ADD KEY `purchase_order_mapping_id` (`purchase_order_mapping_id`),
  ADD KEY `purchase_order_id` (`purchase_order_id`);

--
-- Indexes for table `pur_purchase_order`
--
ALTER TABLE `pur_purchase_order`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `order_ref` (`order_ref`),
  ADD KEY `order_id` (`order_id`),
  ADD KEY `supplier_id` (`supplier_id`),
  ADD KEY `is_archive` (`is_archive`);

--
-- Indexes for table `pur_purchase_order_history`
--
ALTER TABLE `pur_purchase_order_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`,`his_id`),
  ADD KEY `order_ref` (`order_ref`);

--
-- Indexes for table `pur_purchase_order_items_mapping`
--
ALTER TABLE `pur_purchase_order_items_mapping`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`,`po_id`),
  ADD KEY `sku` (`sku`),
  ADD KEY `ord_order_id` (`ord_order_id`),
  ADD KEY `sales_id` (`ord_item_id`),
  ADD KEY `ord_item_id` (`ord_item_id`);

--
-- Indexes for table `pur_purchase_slips`
--
ALTER TABLE `pur_purchase_slips`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`,`purchase_order_mapp_id`),
  ADD KEY `warehouse_id` (`warehouse_id`),
  ADD KEY `row_id` (`row_id`),
  ADD KEY `shelf_id` (`shelf_id`);

--
-- Indexes for table `pur_purchase_slips_delivery`
--
ALTER TABLE `pur_purchase_slips_delivery`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`,`purchase_order_mapp_id`);

--
-- Indexes for table `quo_item_mapping`
--
ALTER TABLE `quo_item_mapping`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `quotation_id` (`quotation_id`);

--
-- Indexes for table `quo_item_mapping_history`
--
ALTER TABLE `quo_item_mapping_history`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `quo_quotation_management`
--
ALTER TABLE `quo_quotation_management`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `company_name` (`company_id`),
  ADD KEY `is_archive` (`is_archive`),
  ADD KEY `quotation_number` (`quotation_number`),
  ADD KEY `customer_enquiry_id` (`customer_enquiry_id`);

--
-- Indexes for table `quo_quotation_management_history`
--
ALTER TABLE `quo_quotation_management_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `company_name` (`company_name`),
  ADD KEY `is_archive` (`is_archive`);

--
-- Indexes for table `sites`
--
ALTER TABLE `sites`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`);

--
-- Indexes for table `sit_contact_details`
--
ALTER TABLE `sit_contact_details`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `email_unique` (`email`),
  ADD KEY `site_contact_id` (`site_contact_id`),
  ADD KEY `company_id` (`company_id`),
  ADD KEY `is_archive` (`is_archive`);

--
-- Indexes for table `sit_site_details`
--
ALTER TABLE `sit_site_details`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `site_name` (`site_name`),
  ADD KEY `is_archive` (`is_archive`);

--
-- Indexes for table `sit_site_details_history`
--
ALTER TABLE `sit_site_details_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `site_contact_id` (`site_contact_id`),
  ADD KEY `site_name` (`site_name`),
  ADD KEY `is_archive` (`is_archive`);

--
-- Indexes for table `sto_loc_row`
--
ALTER TABLE `sto_loc_row`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `warehouse_id` (`warehouse_id`),
  ADD KEY `is_archive` (`is_archive`);

--
-- Indexes for table `sto_loc_shelf`
--
ALTER TABLE `sto_loc_shelf`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `warehouse_id` (`warehouse_id`),
  ADD KEY `row_id` (`row_id`),
  ADD KEY `is_archive` (`is_archive`);

--
-- Indexes for table `sto_stocks`
--
ALTER TABLE `sto_stocks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `supplier_id` (`supplier_id`),
  ADD KEY `id` (`id`),
  ADD KEY `part_number` (`part_number`(250)),
  ADD KEY `is_archive` (`is_archive`);

--
-- Indexes for table `sto_stocks_history`
--
ALTER TABLE `sto_stocks_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `his_id` (`his_id`),
  ADD KEY `id` (`id`);

--
-- Indexes for table `sto_warehouse`
--
ALTER TABLE `sto_warehouse`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `is_archive` (`is_archive`);

--
-- Indexes for table `sup_contact_details`
--
ALTER TABLE `sup_contact_details`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`,`supplier_id`,`contact_type`,`is_archive`);

--
-- Indexes for table `sup_supplier_details`
--
ALTER TABLE `sup_supplier_details`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `company_name` (`supplier_name`),
  ADD KEY `is_archive` (`is_archive`);

--
-- Indexes for table `sup_supplier_details_history`
--
ALTER TABLE `sup_supplier_details_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `his_id` (`his_id`,`supplier_name`),
  ADD KEY `is_archive` (`is_archive`);

--
-- AUTO_INCREMENT for table `admin_documents`
--
ALTER TABLE `admin_documents`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT for table `admin_group_delete`
--
ALTER TABLE `admin_group_delete`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `admin_module_delete`
--
ALTER TABLE `admin_module_delete`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `audit_logs`
--
ALTER TABLE `audit_logs`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `cal_event_details`
--
ALTER TABLE `cal_event_details`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;

--
-- AUTO_INCREMENT for table `cal_event_details-260226`
--
ALTER TABLE `cal_event_details-260226`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `comp_company_details`
--
ALTER TABLE `comp_company_details`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=100;

--
-- AUTO_INCREMENT for table `comp_company_details_history`
--
ALTER TABLE `comp_company_details_history`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=154;

--
-- AUTO_INCREMENT for table `comp_contact_details`
--
ALTER TABLE `comp_contact_details`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=87;

--
-- AUTO_INCREMENT for table `country`
--
ALTER TABLE `country`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=244;

--
-- AUTO_INCREMENT for table `county`
--
ALTER TABLE `county`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=209;

--
-- AUTO_INCREMENT for table `enq_enquiry_details`
--
ALTER TABLE `enq_enquiry_details`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `enq_enquiry_details_3`
--
ALTER TABLE `enq_enquiry_details_3`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=38;

--
-- AUTO_INCREMENT for table `enq_enquiry_details_history`
--
ALTER TABLE `enq_enquiry_details_history`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=53;

--
-- AUTO_INCREMENT for table `enq_notes_details`
--
ALTER TABLE `enq_notes_details`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `groups`
--
ALTER TABLE `groups`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `groups_history`
--
ALTER TABLE `groups_history`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `inv_credit_mapping`
--
ALTER TABLE `inv_credit_mapping`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `inv_credit_notes`
--
ALTER TABLE `inv_credit_notes`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `inv_invoices`
--
ALTER TABLE `inv_invoices`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;

--
-- AUTO_INCREMENT for table `inv_invoices_history`
--
ALTER TABLE `inv_invoices_history`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=50;

--
-- AUTO_INCREMENT for table `inv_items`
--
ALTER TABLE `inv_items`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT for table `inv_payment_history`
--
ALTER TABLE `inv_payment_history`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `inv_payment_installments`
--
ALTER TABLE `inv_payment_installments`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `item_attributes`
--
ALTER TABLE `item_attributes`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT for table `item_documents`
--
ALTER TABLE `item_documents`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT for table `item_item_management`
--
ALTER TABLE `item_item_management`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=113;

--
-- AUTO_INCREMENT for table `item_item_management_history`
--
ALTER TABLE `item_item_management_history`
  MODIFY `his_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=79;

--
-- AUTO_INCREMENT for table `item_location`
--
ALTER TABLE `item_location`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `item_suppliers`
--
ALTER TABLE `item_suppliers`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=38;

--
-- AUTO_INCREMENT for table `item_urls`
--
ALTER TABLE `item_urls`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `job_assigned_users`
--
ALTER TABLE `job_assigned_users`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `job_details`
--
ALTER TABLE `job_details`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT for table `job_task_list`
--
ALTER TABLE `job_task_list`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

--
-- AUTO_INCREMENT for table `keycode`
--
ALTER TABLE `keycode`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=32;

--
-- AUTO_INCREMENT for table `locations`
--
ALTER TABLE `locations`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `module`
--
ALTER TABLE `module`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;

--
-- AUTO_INCREMENT for table `ord_history`
--
ALTER TABLE `ord_history`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=119;

--
-- AUTO_INCREMENT for table `ord_items`
--
ALTER TABLE `ord_items`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=121;

--
-- AUTO_INCREMENT for table `ord_notes`
--
ALTER TABLE `ord_notes`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `ord_orders`
--
ALTER TABLE `ord_orders`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `permissions`
--
ALTER TABLE `permissions`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=127;

--
-- AUTO_INCREMENT for table `permissions_history`
--
ALTER TABLE `permissions_history`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=659;

--
-- AUTO_INCREMENT for table `plugin_details`
--
ALTER TABLE `plugin_details`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `pur_po_invoices`
--
ALTER TABLE `pur_po_invoices`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `pur_po_invoices_items_mapping`
--
ALTER TABLE `pur_po_invoices_items_mapping`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `pur_purchase_order`
--
ALTER TABLE `pur_purchase_order`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `pur_purchase_order_history`
--
ALTER TABLE `pur_purchase_order_history`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `pur_purchase_order_items_mapping`
--
ALTER TABLE `pur_purchase_order_items_mapping`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;

--
-- AUTO_INCREMENT for table `pur_purchase_slips`
--
ALTER TABLE `pur_purchase_slips`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `pur_purchase_slips_delivery`
--
ALTER TABLE `pur_purchase_slips_delivery`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `quo_item_mapping`
--
ALTER TABLE `quo_item_mapping`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=99;

--
-- AUTO_INCREMENT for table `quo_item_mapping_history`
--
ALTER TABLE `quo_item_mapping_history`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `quo_quotation_management`
--
ALTER TABLE `quo_quotation_management`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;

--
-- AUTO_INCREMENT for table `quo_quotation_management_history`
--
ALTER TABLE `quo_quotation_management_history`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=64;

--
-- AUTO_INCREMENT for table `sites`
--
ALTER TABLE `sites`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `sit_contact_details`
--
ALTER TABLE `sit_contact_details`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;

--
-- AUTO_INCREMENT for table `sit_site_details`
--
ALTER TABLE `sit_site_details`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

--
-- AUTO_INCREMENT for table `sit_site_details_history`
--
ALTER TABLE `sit_site_details_history`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT for table `sto_loc_row`
--
ALTER TABLE `sto_loc_row`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `sto_loc_shelf`
--
ALTER TABLE `sto_loc_shelf`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT for table `sto_stocks`
--
ALTER TABLE `sto_stocks`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `sto_stocks_history`
--
ALTER TABLE `sto_stocks_history`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `sto_warehouse`
--
ALTER TABLE `sto_warehouse`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `sup_contact_details`
--
ALTER TABLE `sup_contact_details`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `sup_supplier_details`
--
ALTER TABLE `sup_supplier_details`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=57;

--
-- AUTO_INCREMENT for table `sup_supplier_details_history`
--
ALTER TABLE `sup_supplier_details_history`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34;
COMMIT;

