INSERT INTO `tblsessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES
('ffbf0f028e38bfd230c687ef64913d9caaef12d0', '52.167.144.225', 1746454450, 0x5f5f63695f6c6173745f726567656e65726174657c693a313734363435343435303b7265645f75726c7c733a32353a2268747470733a2f2f7365616c6d69732e636f6d2f61646d696e223b5f707265765f75726c7c733a34303a2268747470733a2f2f7365616c6d69732e636f6d2f61646d696e2f61757468656e7469636174696f6e223b),
('ffc0dcc626ffd86748c324ee3680fb58d08813ae', '182.4.38.44', 1746673514, 0x73746166665f757365725f69647c733a323a223431223b73746166665f6c6f676765645f696e7c623a313b),
('ffc55ba0e83abbc24ac9650a8d2268960bc129ad', '129.211.215.233', 1747618174, 0x5f5f63695f6c6173745f726567656e65726174657c693a313734373631383137343b69735f6d6f62696c657c623a313b5f707265765f75726c7c733a34303a2268747470733a2f2f7365616c6d69732e636f6d2f61646d696e2f61757468656e7469636174696f6e223b),
('ffcaa8f86ad7fe8a8684369bd315f8dbde6957f6', '170.106.84.136', 1746841716, 0x5f5f63695f6c6173745f726567656e65726174657c693a313734363834313731363b69735f6d6f62696c657c623a313b),
('ffcd0f826a3082843e9df66064abc6905873f8f7', '36.72.235.127', 1747148324, 0x5f5f63695f6c6173745f726567656e65726174657c693a313734373134383332343b5f707265765f75726c7c733a35313a2268747470733a2f2f7365616c6d69732e636f6d2f61646d696e2f70757263686173652f70757263686173655f72657175657374223b73746166665f757365725f69647c733a323a223432223b73746166665f6c6f676765645f696e7c623a313b73657475702d6d656e752d6f70656e7c733a303a22223b),
('ffcd13999cc51375d632454b156e49d7a626b69f', '140.213.14.182', 1743925517, 0x5f5f63695f6c6173745f726567656e65726174657c693a313734333932353531373b73746166665f757365725f69647c733a323a223238223b73746166665f6c6f676765645f696e7c623a313b73657475702d6d656e752d6f70656e7c733a303a22223b5f707265765f75726c7c733a35343a2268747470733a2f2f7365616c6d69732e636f6d2f61646d696e2f70757263686173652f766965775f7075725f726571756573742f3632223b),
('ffe016a73c2fd65cf05adf2c02ea52afde88f156', '72.14.201.144', 1745981651, 0x5f5f63695f6c6173745f726567656e65726174657c693a313734353938313635313b5f707265765f75726c7c733a34303a2268747470733a2f2f7365616c6d69732e636f6d2f61646d696e2f61757468656e7469636174696f6e223b),
('ffe5e817a28c06a1968413f5200fb4d53b1cce77', '114.122.202.148', 1749462165, 0x5f5f63695f6c6173745f726567656e65726174657c693a313734393436323135323b69735f6d6f62696c657c623a313b5f707265765f75726c7c733a34303a2268747470733a2f2f7365616c6d69732e636f6d2f61646d696e2f61757468656e7469636174696f6e223b),
('ffeb2b4d613409b15921fc3a08ed03235a3fb6a3', '175.44.42.109', 1742988458, 0x5f5f63695f6c6173745f726567656e65726174657c693a313734323938383435353b5f707265765f75726c7c733a34303a2268747470733a2f2f7365616c6d69732e636f6d2f61646d696e2f61757468656e7469636174696f6e223b),
('ffff6bde81c3b74a9016a57b6ab6747248dc908c', '36.83.116.47', 1744621056, 0x5f5f63695f6c6173745f726567656e65726174657c693a313734343632313035363b5f707265765f75726c7c733a34333a2268747470733a2f2f7365616c6d69732e636f6d2f61646d696e2f70757263686173652f696e766f69636573223b73746166665f757365725f69647c733a313a2236223b73746166665f6c6f676765645f696e7c623a313b);

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

--
-- Table structure for table `tblsetting_asset_allocation`
--

CREATE TABLE `tblsetting_asset_allocation` (
  `id` int(11) UNSIGNED NOT NULL,
  `name` varchar(150) DEFAULT NULL,
  `meta` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblsetting_training`
--

CREATE TABLE `tblsetting_training` (
  `id` int(11) NOT NULL,
  `training_type` int(11) NOT NULL,
  `position_training` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

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

--
-- Table structure for table `tblsetting_transfer_records`
--

CREATE TABLE `tblsetting_transfer_records` (
  `id` int(11) UNSIGNED NOT NULL,
  `name` varchar(150) DEFAULT NULL,
  `meta` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblshared_customer_files`
--

CREATE TABLE `tblshared_customer_files` (
  `file_id` int(11) NOT NULL,
  `contact_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tblshift_type`
--

CREATE TABLE `tblshift_type` (
  `id` int(11) NOT NULL,
  `shift_type_name` varchar(150) DEFAULT NULL,
  `color` varchar(50) DEFAULT NULL,
  `time_start` date DEFAULT NULL,
  `time_end` date DEFAULT NULL,
  `time_start_work` varchar(50) DEFAULT NULL,
  `time_end_work` varchar(50) DEFAULT NULL,
  `start_lunch_break_time` varchar(50) DEFAULT NULL,
  `end_lunch_break_time` varchar(50) DEFAULT NULL,
  `description` longtext DEFAULT NULL,
  `datecreated` datetime DEFAULT NULL,
  `add_from` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `tblshift_type`
--

INSERT INTO `tblshift_type` (`id`, `shift_type_name`, `color`, `time_start`, `time_end`, `time_start_work`, `time_end_work`, `start_lunch_break_time`, `end_lunch_break_time`, `description`, `datecreated`, `add_from`) VALUES
(1, 'Shift 1', '#0500fa', NULL, NULL, '08:00', '17:00', '12:00', '13:00', '', '2024-06-12 00:00:00', 3),
(2, 'Shift 2', '#00ff38', NULL, NULL, '17:00', '02:00', '', '', '', '2024-06-12 00:00:00', 3);

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

--
-- Table structure for table `tblsi_custom_theme_client`
--

CREATE TABLE `tblsi_custom_theme_client` (
  `id` int(11) NOT NULL,
  `theme_id` int(11) NOT NULL DEFAULT 1,
  `contact_id` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblsi_custom_theme_list`
--

CREATE TABLE `tblsi_custom_theme_list` (
  `id` int(11) NOT NULL,
  `theme_name` varchar(200) NOT NULL,
  `theme_style` text NOT NULL,
  `theme_type` varchar(15) NOT NULL DEFAULT 'custom',
  `class` varchar(200) NOT NULL DEFAULT 'bg-custom|bg-custom|bg-custom',
  `default_style` text DEFAULT NULL,
  `isdefault` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `tblsi_custom_theme_list`
--

INSERT INTO `tblsi_custom_theme_list` (`id`, `theme_name`, `theme_style`, `theme_type`, `class`, `default_style`, `isdefault`) VALUES
(1, 'Default', '[]', 'default', 'bg-default-theme-left|bg-default-theme-right|bg-default-theme-bottom', '[]', 1),
(2, 'Dark', '[{\"id\":\"admin-menu\",\"color\":\"#232731\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#2f333e\"},{\"id\":\"admin-menu-links\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#2d3446\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#2d3446\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#c0c6d7\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#6c6c6f\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#c0c6d7\"},{\"id\":\"top-header\",\"color\":\"#232731\"},{\"id\":\"top-header-links\",\"color\":\"#c0c6d7\"},{\"id\":\"customer-login-background\",\"color\":\"#2d3446\"},{\"id\":\"customers-navigation\",\"color\":\"#232731\"},{\"id\":\"customers-footer-background\",\"color\":\"#6c6c6f\"},{\"id\":\"btn-default\",\"color\":\"#2d3446\"},{\"id\":\"tabs-bg\",\"color\":\"#2d3446\"},{\"id\":\"tabs-links\",\"color\":\"#aba8ac\"},{\"id\":\"tabs-links-active-hover\",\"color\":\"#1597e6\"},{\"id\":\"tabs-active-border\",\"color\":\"#fbf6f6\"},{\"id\":\"modal-heading\",\"color\":\"#232731\"},{\"id\":\"modal-heading-color\",\"color\":\"#ffffff\"},{\"id\":\"modal-body\",\"color\":\"#2d3446\"},{\"id\":\"text-muted\",\"color\":\"#c2c2c2\"},{\"id\":\"text-dark\",\"color\":\"#ffffff\"},{\"id\":\"alert-danger\",\"color\":\"#b62626\"},{\"id\":\"alert-warning\",\"color\":\"#a16207\"},{\"id\":\"alert-info\",\"color\":\"#245cf8\"},{\"id\":\"alert-success\",\"color\":\"#15803d\"},{\"id\":\"alert-danger-background\",\"color\":\"#362525\"},{\"id\":\"alert-warning-background\",\"color\":\"#383333\"},{\"id\":\"alert-info-background\",\"color\":\"#08232e\"},{\"id\":\"alert-success-background\",\"color\":\"#1e2c1e\"},{\"id\":\"admin-login-background\",\"color\":\"#2d3446\"},{\"id\":\"admin-page-background\",\"color\":\"#2d3446\"},{\"id\":\"admin-page-text-color\",\"color\":\"#fbf4f7\"},{\"id\":\"admin-inputs-background\",\"color\":\"#2d3446\"},{\"id\":\"admin-panel-background\",\"color\":\"#232731\"},{\"id\":\"admin-panel-color\",\"color\":\"#03a9f4\"},{\"id\":\"table-headings\",\"color\":\"#c0c6d7\"},{\"id\":\"table-items-heading\",\"color\":\"#2a2e39\"},{\"id\":\"btn-info\",\"color\":\"#0284c7\"}]', 'default', 'bg-gray-dark|bg-gray-dark|bg-gray-dark', '[{\"id\":\"admin-menu\",\"color\":\"#232731\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#2f333e\"},{\"id\":\"admin-menu-links\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#2d3446\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#2d3446\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#c0c6d7\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#6c6c6f\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#c0c6d7\"},{\"id\":\"top-header\",\"color\":\"#232731\"},{\"id\":\"top-header-links\",\"color\":\"#c0c6d7\"},{\"id\":\"customer-login-background\",\"color\":\"#2d3446\"},{\"id\":\"customers-navigation\",\"color\":\"#232731\"},{\"id\":\"customers-footer-background\",\"color\":\"#6c6c6f\"},{\"id\":\"btn-default\",\"color\":\"#2d3446\"},{\"id\":\"btn-info\",\"color\":\"#0284c7\"},{\"id\":\"tabs-bg\",\"color\":\"#2d3446\"},{\"id\":\"tabs-links\",\"color\":\"#aba8ac\"},{\"id\":\"tabs-links-active-hover\",\"color\":\"#1597e6\"},{\"id\":\"tabs-active-border\",\"color\":\"#fbf6f6\"},{\"id\":\"modal-heading\",\"color\":\"#232731\"},{\"id\":\"modal-heading-color\",\"color\":\"#ffffff\"},{\"id\":\"modal-body\",\"color\":\"#2d3446\"},{\"id\":\"text-muted\",\"color\":\"#c2c2c2\"},{\"id\":\"text-dark\",\"color\":\"#ffffff\"},{\"id\":\"alert-danger\",\"color\":\"#b62626\"},{\"id\":\"alert-warning\",\"color\":\"#a16207\"},{\"id\":\"alert-info\",\"color\":\"#245cf8\"},{\"id\":\"alert-success\",\"color\":\"#15803d\"},{\"id\":\"alert-danger-background\",\"color\":\"#362525\"},{\"id\":\"alert-warning-background\",\"color\":\"#383333\"},{\"id\":\"alert-info-background\",\"color\":\"#08232e\"},{\"id\":\"alert-success-background\",\"color\":\"#1e2c1e\"},{\"id\":\"admin-login-background\",\"color\":\"#2d3446\"},{\"id\":\"admin-page-background\",\"color\":\"#2d3446\"},{\"id\":\"admin-page-text-color\",\"color\":\"#fbf4f7\"},{\"id\":\"admin-inputs-background\",\"color\":\"#2d3446\"},{\"id\":\"admin-panel-background\",\"color\":\"#232731\"},{\"id\":\"admin-panel-color\",\"color\":\"#03a9f4\"},{\"id\":\"table-headings\",\"color\":\"#c0c6d7\"},{\"id\":\"table-items-heading\",\"color\":\"#2a2e39\"}]', 0),
(3, 'Blue', '[{\"id\":\"admin-menu\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#d5e6ee\"},{\"id\":\"admin-menu-links\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#03a9f4\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#fbf7f7\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#03a9f4\"},{\"id\":\"top-header\",\"color\":\"#18c2f7\"},{\"id\":\"customer-login-background\",\"color\":\"#ffffff\"},{\"id\":\"customers-navigation\",\"color\":\"#18c2f7\"},{\"id\":\"customers-footer-background\",\"color\":\"#d5e6ee\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"tabs-bg\",\"color\":\"#d7e4eb\"},{\"id\":\"admin-login-background\",\"color\":\"#66d0f1\"},{\"id\":\"admin-page-background\",\"color\":\"#ffffff\"},{\"id\":\"admin-panel-background\",\"color\":\"#e4ecf1\"},{\"id\":\"admin-panel-color\",\"color\":\"#03a9f4\"}]', 'default', 'bg-info-dark|bg-info|bg-gray-dark', '[{\"id\":\"admin-menu\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#d5e6ee\"},{\"id\":\"admin-menu-links\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#03a9f4\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#fbf7f7\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#03a9f4\"},{\"id\":\"top-header\",\"color\":\"#18c2f7\"},{\"id\":\"customer-login-background\",\"color\":\"#ffffff\"},{\"id\":\"customers-navigation\",\"color\":\"#18c2f7\"},{\"id\":\"customers-footer-background\",\"color\":\"#d5e6ee\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"tabs-bg\",\"color\":\"#d7e4eb\"},{\"id\":\"admin-login-background\",\"color\":\"#66d0f1\"},{\"id\":\"admin-page-background\",\"color\":\"#ffffff\"},{\"id\":\"admin-panel-background\",\"color\":\"#e4ecf1\"},{\"id\":\"admin-panel-color\",\"color\":\"#03a9f4\"}]', 0),
(4, 'Green', '[{\"id\":\"admin-menu\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#dbe6e3\"},{\"id\":\"admin-menu-links\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#37bc9b\"},{\"id\":\"user-welcome-text-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#37bc9b\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#fbf7f7\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#2b957a\"},{\"id\":\"top-header\",\"color\":\"#2b957a\"},{\"id\":\"top-header-links\",\"color\":\"#ffffff\"},{\"id\":\"customer-login-background\",\"color\":\"#e2eeeb\"},{\"id\":\"customers-navigation\",\"color\":\"#37bc9b\"},{\"id\":\"customers-footer-background\",\"color\":\"#d2f3eb\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"btn-info\",\"color\":\"#2b957a\"},{\"id\":\"tabs-links-active-hover\",\"color\":\"#2b957a\"},{\"id\":\"tabs-active-border\",\"color\":\"#2b957a\"},{\"id\":\"modal-heading\",\"color\":\"#37bc9b\"},{\"id\":\"modal-heading-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-login-background\",\"color\":\"#85c3b3\"},{\"id\":\"admin-page-background\",\"color\":\"#e2eeeb\"},{\"id\":\"admin-panel-color\",\"color\":\"#4e5855\"}]', 'default', 'bg-green-dark|bg-green|bg-gray-dark', '[{\"id\":\"admin-menu\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#dbe6e3\"},{\"id\":\"admin-menu-links\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#37bc9b\"},{\"id\":\"user-welcome-text-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#37bc9b\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#fbf7f7\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#2b957a\"},{\"id\":\"top-header\",\"color\":\"#2b957a\"},{\"id\":\"top-header-links\",\"color\":\"#ffffff\"},{\"id\":\"customer-login-background\",\"color\":\"#e2eeeb\"},{\"id\":\"customers-navigation\",\"color\":\"#37bc9b\"},{\"id\":\"customers-footer-background\",\"color\":\"#d2f3eb\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"btn-info\",\"color\":\"#2b957a\"},{\"id\":\"tabs-links-active-hover\",\"color\":\"#2b957a\"},{\"id\":\"tabs-active-border\",\"color\":\"#2b957a\"},{\"id\":\"modal-heading\",\"color\":\"#37bc9b\"},{\"id\":\"modal-heading-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-login-background\",\"color\":\"#85c3b3\"},{\"id\":\"admin-page-background\",\"color\":\"#e2eeeb\"},{\"id\":\"admin-panel-color\",\"color\":\"#4e5855\"}]', 0),
(5, 'Purple', '[{\"id\":\"admin-menu\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#dedbee\"},{\"id\":\"admin-menu-links\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#7266ba\"},{\"id\":\"user-welcome-text-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#7266ba\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#fbf7f7\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#564aa3\"},{\"id\":\"top-header\",\"color\":\"#564aa3\"},{\"id\":\"top-header-links\",\"color\":\"#ffffff\"},{\"id\":\"customer-login-background\",\"color\":\"#dedbee\"},{\"id\":\"customers-navigation\",\"color\":\"#7266ba\"},{\"id\":\"customers-footer-background\",\"color\":\"#cbc4f3\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"btn-info\",\"color\":\"#564aa3\"},{\"id\":\"tabs-links-active-hover\",\"color\":\"#564aa3\"},{\"id\":\"tabs-active-border\",\"color\":\"#564aa3\"},{\"id\":\"modal-heading\",\"color\":\"#7266ba\"},{\"id\":\"modal-heading-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-login-background\",\"color\":\"#8278c3\"},{\"id\":\"admin-page-background\",\"color\":\"#e4e2ee\"},{\"id\":\"admin-panel-color\",\"color\":\"#564aa3\"}]', 'default', 'bg-purple-dark|bg-purple|bg-gray-dark', '[{\"id\":\"admin-menu\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#dedbee\"},{\"id\":\"admin-menu-links\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#7266ba\"},{\"id\":\"user-welcome-text-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#7266ba\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#fbf7f7\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#564aa3\"},{\"id\":\"top-header\",\"color\":\"#564aa3\"},{\"id\":\"top-header-links\",\"color\":\"#ffffff\"},{\"id\":\"customer-login-background\",\"color\":\"#dedbee\"},{\"id\":\"customers-navigation\",\"color\":\"#7266ba\"},{\"id\":\"customers-footer-background\",\"color\":\"#cbc4f3\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"btn-info\",\"color\":\"#564aa3\"},{\"id\":\"tabs-links-active-hover\",\"color\":\"#564aa3\"},{\"id\":\"tabs-active-border\",\"color\":\"#564aa3\"},{\"id\":\"modal-heading\",\"color\":\"#7266ba\"},{\"id\":\"modal-heading-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-login-background\",\"color\":\"#8278c3\"},{\"id\":\"admin-page-background\",\"color\":\"#e4e2ee\"},{\"id\":\"admin-panel-color\",\"color\":\"#564aa3\"}]', 0),
(6, 'Red', '[{\"id\":\"admin-menu\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#f1e2e2\"},{\"id\":\"admin-menu-links\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#f66262\"},{\"id\":\"user-welcome-text-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#f66262\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#fbf7f7\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#f34a4a\"},{\"id\":\"top-header\",\"color\":\"#f34a4a\"},{\"id\":\"top-header-links\",\"color\":\"#ffffff\"},{\"id\":\"customer-login-background\",\"color\":\"#f1e2e2\"},{\"id\":\"customers-navigation\",\"color\":\"#f66262\"},{\"id\":\"customers-footer-background\",\"color\":\"#f8cdcd\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"btn-info\",\"color\":\"#f34a4a\"},{\"id\":\"tabs-links-active-hover\",\"color\":\"#f34a4a\"},{\"id\":\"tabs-active-border\",\"color\":\"#f34a4a\"},{\"id\":\"modal-heading\",\"color\":\"#f66262\"},{\"id\":\"modal-heading-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-login-background\",\"color\":\"#fb7e7e\"},{\"id\":\"admin-page-background\",\"color\":\"#f6e9e9\"},{\"id\":\"admin-panel-color\",\"color\":\"#f34a4a\"}]', 'default', 'bg-red-dark|bg-red|bg-gray-dark', '[{\"id\":\"admin-menu\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#f1e2e2\"},{\"id\":\"admin-menu-links\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#f66262\"},{\"id\":\"user-welcome-text-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#f66262\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#fbf7f7\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#f34a4a\"},{\"id\":\"top-header\",\"color\":\"#f34a4a\"},{\"id\":\"top-header-links\",\"color\":\"#ffffff\"},{\"id\":\"customer-login-background\",\"color\":\"#f1e2e2\"},{\"id\":\"customers-navigation\",\"color\":\"#f66262\"},{\"id\":\"customers-footer-background\",\"color\":\"#f8cdcd\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"btn-info\",\"color\":\"#f34a4a\"},{\"id\":\"tabs-links-active-hover\",\"color\":\"#f34a4a\"},{\"id\":\"tabs-active-border\",\"color\":\"#f34a4a\"},{\"id\":\"modal-heading\",\"color\":\"#f66262\"},{\"id\":\"modal-heading-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-login-background\",\"color\":\"#fb7e7e\"},{\"id\":\"admin-page-background\",\"color\":\"#f6e9e9\"},{\"id\":\"admin-panel-color\",\"color\":\"#f34a4a\"}]', 0),
(7, 'Orange', '[{\"id\":\"admin-menu\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#fde5dc\"},{\"id\":\"admin-menu-links\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#fd5c23\"},{\"id\":\"user-welcome-text-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#fd5c23\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#fbf7f7\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#f34507\"},{\"id\":\"top-header\",\"color\":\"#f34507\"},{\"id\":\"top-header-links\",\"color\":\"#ffffff\"},{\"id\":\"customer-login-background\",\"color\":\"#fde5dc\"},{\"id\":\"customers-navigation\",\"color\":\"#fd5c23\"},{\"id\":\"customers-footer-background\",\"color\":\"#f8c1ac\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"btn-info\",\"color\":\"#f34507\"},{\"id\":\"tabs-links-active-hover\",\"color\":\"#f34507\"},{\"id\":\"tabs-active-border\",\"color\":\"#f34507\"},{\"id\":\"modal-heading\",\"color\":\"#fd5c23\"},{\"id\":\"modal-heading-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-login-background\",\"color\":\"#fb906a\"},{\"id\":\"admin-page-background\",\"color\":\"#fdece6\"},{\"id\":\"admin-panel-color\",\"color\":\"#f34507\"}]', 'default', 'bg-orange-dark|bg-orange|bg-gray-dark', '[{\"id\":\"admin-menu\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#fde5dc\"},{\"id\":\"admin-menu-links\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#fd5c23\"},{\"id\":\"user-welcome-text-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#fd5c23\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#fbf7f7\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#1e1e2d\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#f34507\"},{\"id\":\"top-header\",\"color\":\"#f34507\"},{\"id\":\"top-header-links\",\"color\":\"#ffffff\"},{\"id\":\"customer-login-background\",\"color\":\"#fde5dc\"},{\"id\":\"customers-navigation\",\"color\":\"#fd5c23\"},{\"id\":\"customers-footer-background\",\"color\":\"#f8c1ac\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"btn-info\",\"color\":\"#f34507\"},{\"id\":\"tabs-links-active-hover\",\"color\":\"#f34507\"},{\"id\":\"tabs-active-border\",\"color\":\"#f34507\"},{\"id\":\"modal-heading\",\"color\":\"#fd5c23\"},{\"id\":\"modal-heading-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-login-background\",\"color\":\"#fb906a\"},{\"id\":\"admin-page-background\",\"color\":\"#fdece6\"},{\"id\":\"admin-panel-color\",\"color\":\"#f34507\"}]', 0),
(8, 'Light Blue', '[{\"id\":\"admin-menu\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#e4f4fb\"},{\"id\":\"admin-menu-links\",\"color\":\"#252525\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-text-color\",\"color\":\"#18c2f7\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#03a9f4\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#dae3e6\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#aee0f6\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#03a9f4\"},{\"id\":\"top-header\",\"color\":\"#18c2f7\"},{\"id\":\"top-header-links\",\"color\":\"#ffffff\"},{\"id\":\"customer-login-background\",\"color\":\"#ffffff\"},{\"id\":\"customers-navigation\",\"color\":\"#18c2f7\"},{\"id\":\"customers-footer-background\",\"color\":\"#d5e6ee\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"btn-info\",\"color\":\"#18c2f7\"},{\"id\":\"admin-login-background\",\"color\":\"#66d0f1\"}]', 'default', 'bg-info|bg-info-light|bg-white', '[{\"id\":\"admin-menu\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#e4f4fb\"},{\"id\":\"admin-menu-links\",\"color\":\"#252525\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-text-color\",\"color\":\"#18c2f7\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#03a9f4\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#dae3e6\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#aee0f6\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#03a9f4\"},{\"id\":\"top-header\",\"color\":\"#18c2f7\"},{\"id\":\"top-header-links\",\"color\":\"#ffffff\"},{\"id\":\"customer-login-background\",\"color\":\"#ffffff\"},{\"id\":\"customers-navigation\",\"color\":\"#18c2f7\"},{\"id\":\"customers-footer-background\",\"color\":\"#d5e6ee\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"btn-info\",\"color\":\"#18c2f7\"},{\"id\":\"admin-login-background\",\"color\":\"#66d0f1\"}]', 0),
(9, 'Light Green', '[{\"id\":\"admin-menu\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#e4fbf4\"},{\"id\":\"admin-menu-links\",\"color\":\"#252525\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-text-color\",\"color\":\"#37bc9b\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#37bc9b\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#bef1e2\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#2b957a\"},{\"id\":\"top-header\",\"color\":\"#58ceb1\"},{\"id\":\"top-header-links\",\"color\":\"#ffffff\"},{\"id\":\"customer-login-background\",\"color\":\"#e2eeeb\"},{\"id\":\"customers-navigation\",\"color\":\"#58ceb1\"},{\"id\":\"customers-footer-background\",\"color\":\"#d2f3eb\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"btn-info\",\"color\":\"#37bc9b\"},{\"id\":\"tabs-links-active-hover\",\"color\":\"#37bc9b\"},{\"id\":\"tabs-active-border\",\"color\":\"#37bc9b\"},{\"id\":\"modal-heading\",\"color\":\"#58ceb1\"},{\"id\":\"admin-login-background\",\"color\":\"#85c3b3\"},{\"id\":\"admin-page-background\",\"color\":\"#eef6f3\"},{\"id\":\"admin-panel-color\",\"color\":\"#37bc9b\"}]', 'default', 'bg-green|bg-green-light|bg-white', '[{\"id\":\"admin-menu\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#e4fbf4\"},{\"id\":\"admin-menu-links\",\"color\":\"#252525\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-text-color\",\"color\":\"#37bc9b\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#37bc9b\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#bef1e2\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#2b957a\"},{\"id\":\"top-header\",\"color\":\"#58ceb1\"},{\"id\":\"top-header-links\",\"color\":\"#ffffff\"},{\"id\":\"customer-login-background\",\"color\":\"#e2eeeb\"},{\"id\":\"customers-navigation\",\"color\":\"#58ceb1\"},{\"id\":\"customers-footer-background\",\"color\":\"#d2f3eb\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"btn-info\",\"color\":\"#37bc9b\"},{\"id\":\"tabs-links-active-hover\",\"color\":\"#37bc9b\"},{\"id\":\"tabs-active-border\",\"color\":\"#37bc9b\"},{\"id\":\"modal-heading\",\"color\":\"#58ceb1\"},{\"id\":\"admin-login-background\",\"color\":\"#85c3b3\"},{\"id\":\"admin-page-background\",\"color\":\"#eef6f3\"},{\"id\":\"admin-panel-color\",\"color\":\"#37bc9b\"}]', 0),
(10, 'Light Purple', '[{\"id\":\"admin-menu\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#efedff\"},{\"id\":\"admin-menu-links\",\"color\":\"#252525\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-text-color\",\"color\":\"#7266ba\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#7266ba\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#c2bde6\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#564aa3\"},{\"id\":\"top-header\",\"color\":\"#9289ca\"},{\"id\":\"top-header-links\",\"color\":\"#ffffff\"},{\"id\":\"customer-login-background\",\"color\":\"#dedbee\"},{\"id\":\"customers-navigation\",\"color\":\"#9289ca\"},{\"id\":\"customers-footer-background\",\"color\":\"#cbc4f3\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"btn-info\",\"color\":\"#7266ba\"},{\"id\":\"tabs-links-active-hover\",\"color\":\"#7266ba\"},{\"id\":\"tabs-active-border\",\"color\":\"#7266ba\"},{\"id\":\"modal-heading\",\"color\":\"#9289ca\"},{\"id\":\"admin-login-background\",\"color\":\"#8278c3\"},{\"id\":\"admin-page-background\",\"color\":\"#f2f0fd\"},{\"id\":\"admin-panel-color\",\"color\":\"#7266ba\"}]', 'default', 'bg-purple|bg-purple-light|bg-white', '[{\"id\":\"admin-menu\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#efedff\"},{\"id\":\"admin-menu-links\",\"color\":\"#252525\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-text-color\",\"color\":\"#7266ba\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#7266ba\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#c2bde6\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#564aa3\"},{\"id\":\"top-header\",\"color\":\"#9289ca\"},{\"id\":\"top-header-links\",\"color\":\"#ffffff\"},{\"id\":\"customer-login-background\",\"color\":\"#dedbee\"},{\"id\":\"customers-navigation\",\"color\":\"#9289ca\"},{\"id\":\"customers-footer-background\",\"color\":\"#cbc4f3\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"btn-info\",\"color\":\"#7266ba\"},{\"id\":\"tabs-links-active-hover\",\"color\":\"#7266ba\"},{\"id\":\"tabs-active-border\",\"color\":\"#7266ba\"},{\"id\":\"modal-heading\",\"color\":\"#9289ca\"},{\"id\":\"admin-login-background\",\"color\":\"#8278c3\"},{\"id\":\"admin-page-background\",\"color\":\"#f2f0fd\"},{\"id\":\"admin-panel-color\",\"color\":\"#7266ba\"}]', 0),
(11, 'Light Red', '[{\"id\":\"admin-menu\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#f3ecec\"},{\"id\":\"admin-menu-links\",\"color\":\"#252525\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-text-color\",\"color\":\"#f66262\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#f66262\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#f6d3d3\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#f34a4a\"},{\"id\":\"top-header\",\"color\":\"#f47f7f\"},{\"id\":\"top-header-links\",\"color\":\"#ffffff\"},{\"id\":\"customer-login-background\",\"color\":\"#f1e2e2\"},{\"id\":\"customers-navigation\",\"color\":\"#f47f7f\"},{\"id\":\"customers-footer-background\",\"color\":\"#f8cdcd\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"btn-info\",\"color\":\"#f66262\"},{\"id\":\"tabs-links-active-hover\",\"color\":\"#f66262\"},{\"id\":\"tabs-active-border\",\"color\":\"#f66262\"},{\"id\":\"modal-heading\",\"color\":\"#f47f7f\"},{\"id\":\"admin-login-background\",\"color\":\"#fb7e7e\"},{\"id\":\"admin-page-background\",\"color\":\"#fbf3f3\"},{\"id\":\"admin-panel-color\",\"color\":\"#f66262\"}]', 'default', 'bg-red|bg-red-light|bg-white', '[{\"id\":\"admin-menu\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#f3ecec\"},{\"id\":\"admin-menu-links\",\"color\":\"#252525\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-text-color\",\"color\":\"#f66262\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#f66262\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#f6d3d3\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#f34a4a\"},{\"id\":\"top-header\",\"color\":\"#f47f7f\"},{\"id\":\"top-header-links\",\"color\":\"#ffffff\"},{\"id\":\"customer-login-background\",\"color\":\"#f1e2e2\"},{\"id\":\"customers-navigation\",\"color\":\"#f47f7f\"},{\"id\":\"customers-footer-background\",\"color\":\"#f8cdcd\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"btn-info\",\"color\":\"#f66262\"},{\"id\":\"tabs-links-active-hover\",\"color\":\"#f66262\"},{\"id\":\"tabs-active-border\",\"color\":\"#f66262\"},{\"id\":\"modal-heading\",\"color\":\"#f47f7f\"},{\"id\":\"admin-login-background\",\"color\":\"#fb7e7e\"},{\"id\":\"admin-page-background\",\"color\":\"#fbf3f3\"},{\"id\":\"admin-panel-color\",\"color\":\"#f66262\"}]', 0),
(12, 'Light Orange', '[{\"id\":\"admin-menu\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#f1ebe9\"},{\"id\":\"admin-menu-links\",\"color\":\"#252525\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-text-color\",\"color\":\"#fd5c23\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#fd5c23\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#dae3e6\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#fbbaa3\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#f34507\"},{\"id\":\"top-header\",\"color\":\"#fd8357\"},{\"id\":\"top-header-links\",\"color\":\"#ffffff\"},{\"id\":\"customer-login-background\",\"color\":\"#fbe0d6\"},{\"id\":\"customers-navigation\",\"color\":\"#fd8357\"},{\"id\":\"customers-navigation-links\",\"color\":\"#2a2329\"},{\"id\":\"customers-footer-background\",\"color\":\"#fbbaa3\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"btn-info\",\"color\":\"#fd5c23\"},{\"id\":\"tabs-links-active-hover\",\"color\":\"#f34507\"},{\"id\":\"tabs-active-border\",\"color\":\"#f34507\"},{\"id\":\"modal-heading\",\"color\":\"#fd8357\"},{\"id\":\"admin-login-background\",\"color\":\"#fd8357\"},{\"id\":\"admin-page-background\",\"color\":\"#ebe6e4\"},{\"id\":\"admin-panel-color\",\"color\":\"#fd5c23\"}]', 'default', 'bg-orange|bg-orange-light|bg-white', '[{\"id\":\"admin-menu\",\"color\":\"#ffffff\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#f1ebe9\"},{\"id\":\"admin-menu-links\",\"color\":\"#252525\"},{\"id\":\"user-welcome-bg-color\",\"color\":\"#ffffff\"},{\"id\":\"user-welcome-text-color\",\"color\":\"#fd5c23\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#fd5c23\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#dae3e6\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#fbbaa3\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#f34507\"},{\"id\":\"top-header\",\"color\":\"#fd8357\"},{\"id\":\"top-header-links\",\"color\":\"#ffffff\"},{\"id\":\"customer-login-background\",\"color\":\"#fbe0d6\"},{\"id\":\"customers-navigation\",\"color\":\"#fd8357\"},{\"id\":\"customers-navigation-links\",\"color\":\"#2a2329\"},{\"id\":\"customers-footer-background\",\"color\":\"#fbbaa3\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"btn-info\",\"color\":\"#fd5c23\"},{\"id\":\"tabs-links-active-hover\",\"color\":\"#f34507\"},{\"id\":\"tabs-active-border\",\"color\":\"#f34507\"},{\"id\":\"modal-heading\",\"color\":\"#fd8357\"},{\"id\":\"admin-login-background\",\"color\":\"#fd8357\"},{\"id\":\"admin-page-background\",\"color\":\"#ebe6e4\"},{\"id\":\"admin-panel-color\",\"color\":\"#fd5c23\"}]', 0),
(13, 'Blue-1', '[{\"id\":\"admin-menu\",\"color\":\"#151716\"},{\"id\":\"admin-menu-submenu-open\",\"color\":\"#d5e6ee\"},{\"id\":\"admin-menu-links\",\"color\":\"#cfccb0\"},{\"id\":\"admin-menu-active-item\",\"color\":\"#2aa49c\"},{\"id\":\"admin-menu-active-item-color\",\"color\":\"#fbf7f7\"},{\"id\":\"admin-menu-active-subitem\",\"color\":\"#00cc99\"},{\"id\":\"admin-menu-submenu-links\",\"color\":\"#003243\"},{\"id\":\"top-header\",\"color\":\"#2aa49c\"},{\"id\":\"customers-navigation\",\"color\":\"#18c2f7\"},{\"id\":\"customers-footer-background\",\"color\":\"#d5e6ee\"},{\"id\":\"customers-footer-text\",\"color\":\"#3c3232\"},{\"id\":\"tabs-bg\",\"color\":\"#d7e4eb\"},{\"id\":\"admin-login-background\",\"color\":\"#66d0f1\"},{\"id\":\"admin-page-background\",\"color\":\"#ffffff\"},{\"id\":\"admin-panel-background\",\"color\":\"#e4ecf1\"},{\"id\":\"admin-panel-color\",\"color\":\"#03a9f4\"}]', 'custom', 'bg-custom|bg-custom|bg-custom', NULL, 0);

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

--
-- Table structure for table `tblsi_custom_theme_staff`
--

CREATE TABLE `tblsi_custom_theme_staff` (
  `id` int(11) NOT NULL,
  `theme_id` int(11) NOT NULL DEFAULT 1,
  `staff_id` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `tblsi_custom_theme_staff`
--

INSERT INTO `tblsi_custom_theme_staff` (`id`, `theme_id`, `staff_id`) VALUES
(1, 13, 1);

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

--
-- Table structure for table `tblspam_filters`
--

CREATE TABLE `tblspam_filters` (
  `id` int(11) NOT NULL,
  `type` varchar(40) NOT NULL,
  `rel_type` varchar(10) NOT NULL,
  `value` mediumtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tblstaff`
--

CREATE TABLE `tblstaff` (
  `staffid` int(11) NOT NULL,
  `email` varchar(100) NOT NULL,
  `firstname` varchar(50) NOT NULL,
  `lastname` varchar(50) NOT NULL,
  `facebook` longtext DEFAULT NULL,
  `linkedin` longtext DEFAULT NULL,
  `phonenumber` varchar(30) DEFAULT NULL,
  `skype` varchar(50) DEFAULT NULL,
  `password` varchar(250) NOT NULL,
  `datecreated` datetime NOT NULL,
  `profile_image` varchar(191) DEFAULT NULL,
  `last_ip` varchar(40) DEFAULT NULL,
  `last_login` datetime DEFAULT NULL,
  `last_activity` datetime DEFAULT NULL,
  `last_password_change` datetime DEFAULT NULL,
  `new_pass_key` varchar(32) DEFAULT NULL,
  `new_pass_key_requested` datetime DEFAULT NULL,
  `admin` int(11) NOT NULL DEFAULT 0,
  `role` int(11) DEFAULT NULL,
  `active` int(11) NOT NULL DEFAULT 1,
  `default_language` varchar(40) DEFAULT NULL,
  `direction` varchar(3) DEFAULT NULL,
  `media_path_slug` varchar(191) DEFAULT NULL,
  `is_not_staff` int(11) NOT NULL DEFAULT 0,
  `hourly_rate` decimal(15,2) NOT NULL DEFAULT 0.00,
  `two_factor_auth_enabled` tinyint(1) DEFAULT 0,
  `two_factor_auth_code` varchar(100) DEFAULT NULL,
  `two_factor_auth_code_requested` datetime DEFAULT NULL,
  `email_signature` mediumtext DEFAULT NULL,
  `birthday` date DEFAULT NULL,
  `birthplace` varchar(200) DEFAULT NULL,
  `sex` varchar(15) DEFAULT NULL,
  `marital_status` varchar(25) DEFAULT NULL,
  `nation` varchar(25) DEFAULT NULL,
  `religion` varchar(50) DEFAULT NULL,
  `identification` varchar(100) DEFAULT NULL,
  `days_for_identity` date DEFAULT NULL,
  `home_town` varchar(200) DEFAULT NULL,
  `resident` varchar(200) DEFAULT NULL,
  `current_address` varchar(200) DEFAULT NULL,
  `literacy` varchar(50) DEFAULT NULL,
  `orther_infor` text DEFAULT NULL,
  `job_position` int(11) DEFAULT NULL,
  `workplace` int(11) DEFAULT NULL,
  `place_of_issue` varchar(50) DEFAULT NULL,
  `account_number` varchar(50) DEFAULT NULL,
  `name_account` varchar(50) DEFAULT NULL,
  `issue_bank` varchar(200) DEFAULT NULL,
  `records_received` longtext DEFAULT NULL,
  `Personal_tax_code` varchar(50) DEFAULT NULL,
  `google_auth_secret` mediumtext DEFAULT NULL,
  `team_manage` int(11) DEFAULT 0,
  `staff_identifi` varchar(200) DEFAULT NULL,
  `status_work` varchar(100) DEFAULT NULL,
  `date_update` date DEFAULT NULL,
  `token` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tblstaff`
--

INSERT INTO `tblstaff` (`staffid`, `email`, `firstname`, `lastname`, `facebook`, `linkedin`, `phonenumber`, `skype`, `password`, `datecreated`, `profile_image`, `last_ip`, `last_login`, `last_activity`, `last_password_change`, `new_pass_key`, `new_pass_key_requested`, `admin`, `role`, `active`, `default_language`, `direction`, `media_path_slug`, `is_not_staff`, `hourly_rate`, `two_factor_auth_enabled`, `two_factor_auth_code`, `two_factor_auth_code_requested`, `email_signature`, `birthday`, `birthplace`, `sex`, `marital_status`, `nation`, `religion`, `identification`, `days_for_identity`, `home_town`, `resident`, `current_address`, `literacy`, `orther_infor`, `job_position`, `workplace`, `place_of_issue`, `account_number`, `name_account`, `issue_bank`, `records_received`, `Personal_tax_code`, `google_auth_secret`, `team_manage`, `staff_identifi`, `status_work`, `date_update`, `token`) VALUES
(1, 'support@sealmis.com', 'Seal', 'Admin', '', '', '', '', '$2a$08$HISmyrx2F7jxzT7gF4dkDuZmNRygWCMh3lEMWKouzTdz7M.0LInyq', '2024-03-30 08:16:57', 'Seal Ori Favicon.png', '180.244.133.174', '2025-06-19 10:14:09', '2025-06-19 15:40:29', NULL, NULL, NULL, 1, 0, 1, '', '', NULL, 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 7, 0, '', '', '', '', NULL, '', NULL, 0, 'SA', 'working', '2025-04-23', NULL),
(2, 'unggul.pambudy@gmail.com', 'Unggul', 'Pambudy', '', '', '', '', '$2a$08$ld1TiO.2NACBPtPbOpYjNehFaYpavaOU1dDNbSOoszzMeHrvoTtsa', '2024-03-31 21:53:49', 'Unggul Pas Foto elcorps 1703 300x300.jpg', '180.244.132.4', '2025-03-25 17:55:24', '2025-03-25 17:55:29', '2025-03-25 09:03:17', NULL, NULL, 0, 2, 1, '', '', 'unggul-pambudy', 0, 0.00, 0, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL),
(3, 'irfansyahseal@gmail.com', 'Irfansyah', 'Irfansyah', '', '', '', '', '$2a$08$X1HIx5YT8BkC.TgaQkeej.ErIqV24nsFcVN5Q8YwhiH32CyIqmb.a', '2024-04-27 19:21:20', NULL, '182.4.37.27', '2025-06-19 06:47:07', '2025-06-19 14:24:34', NULL, NULL, NULL, 1, 2, 1, '', '', 'irfansyah-irfansyah', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 7, 0, '', '', '', '', NULL, '', NULL, 1, 'IR', 'working', '2025-04-23', NULL),
(6, 'andikasealsystem@gmail.com', 'Andika', 'Rahman', '', '', '', '', '$2a$08$20MCWhhHeOP3wTo6oLc2kuE2herASXWFJg8z/DpNhLkSODvweTs4G', '2024-05-15 20:42:56', NULL, '36.81.232.9', '2025-06-19 12:14:49', '2025-06-19 15:23:09', '2025-03-26 10:22:24', NULL, NULL, 0, 1, 1, '', '', 'andika-rahman', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 13, 0, '', '', '', '', NULL, '', NULL, 0, 'AR', 'working', '2025-04-16', NULL),
(7, 'alvinregar91@gmail.com', 'Alvin', 'Regar', '', '', '', '', '$2a$08$nOftN.InPOx7AuINi.wkKupHvfLRM9E4plrIkUX0NoZF708VDsLC.', '2024-05-15 20:44:08', NULL, '180.243.253.196', '2025-06-19 02:05:03', '2025-06-19 02:06:59', '2025-04-23 23:09:21', NULL, NULL, 0, 1, 1, '', '', 'alvin-regar', 0, 0.00, 0, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL),
(10, 'yudhiandri22@gmail.com', 'Andri', 'Yudhi', '', '', '', '', '$2a$08$xKV6gee87idLO018GfcvQeGhNSIlYf5OT4Pu14jKbsPTJ1hMhwsM2', '2024-06-10 10:27:48', NULL, '183.91.79.131', '2024-12-26 17:45:13', '2024-12-26 17:45:40', '2024-12-26 17:45:06', NULL, NULL, 0, 2, 1, '', '', 'andri-yudhi', 0, 0.00, 0, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL),
(17, 'system@sealmis.com', 'SYSTEM', 'AUTO', '', '', '', '', '$2a$08$BMU1ryg6p1mAk9/Ti3WMduO1vF3Xx/.2Nt.7I6iwNJs33.rguBC3O', '2024-08-09 18:49:34', NULL, '36.83.127.180', '2025-04-08 09:23:37', '2025-04-08 20:32:02', NULL, NULL, NULL, 0, 2, 1, '', '', 'system-auto', 0, 0.00, 0, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL),
(18, 'prasetiatrip@gmail.com', 'Prasetia', 'Tri Pamungkas', '', '', '', '', '$2a$08$Wb14nVgiaobQ7kS3XFtg0uUCAUW0g5gTfbJRvRx4iCRj43LEjpEb2', '2024-08-19 13:21:32', NULL, '182.4.37.93', '2025-05-07 19:45:45', '2025-05-07 19:45:46', '2025-03-25 16:50:37', NULL, NULL, 0, 1, 1, '', '', 'prasetia-tri-pamungkas', 0, 0.00, 0, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL),
(19, 'tasmanwargana81@gmail.com', 'TASMAN', 'WARGANA', '', '', '', '', '$2a$08$T0N7p5CRn5pb42Nc5y8aN.yQZda.cqyyllvf4NOHVmDa3vULffWzW', '2024-08-19 13:25:26', NULL, '103.156.164.104', '2025-06-07 19:22:30', '2025-06-07 19:22:40', '2025-03-24 23:08:32', NULL, NULL, 0, 1, 1, 'english', '', 'tasman-wargana', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 8, 0, '', '', '', '', NULL, '', NULL, 0, '12134', 'working', '2025-04-16', NULL),
(21, 'aksaros73@gmail.com', 'Unggul', 'Test3', '', '', '', '', '$2a$08$1Qbt4roBnQJS4M9HPy4cmOLheuoNFnP9TsPz4ley6z2lwsjNyNG5C', '2024-12-04 17:12:27', NULL, '183.91.79.131', '2025-03-26 11:40:55', '2025-03-25 08:17:03', '2025-03-25 07:00:10', NULL, NULL, 0, 2, 1, '', '', 'unggul-test3', 0, 0.00, 0, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL),
(22, 'huseinturkey99@gmail.com', 'Muhammad ', 'Husein', '', '', '081358878630', '', '$2a$08$opOhXsKF6/F5NUO2lkbLteJ0zB7HT9sug5aMZ5DqV1KUpzjVd86Nm', '2025-01-29 10:35:43', 'PRB_7656 MERAH.jpg', '182.4.39.78', '2025-06-18 13:48:58', '2025-06-18 15:08:28', NULL, NULL, NULL, 0, 1, 1, '', '', 'muhammad-husein', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 16, 0, '', '', '', '', NULL, '', NULL, 46, 'MH', 'working', '2025-06-17', NULL),
(23, 'ridaarwan@gmail.com', 'Muhammad Nabhan', 'Ridarwan', '', '', '085171556930', '', '$2a$08$aWQ1yjpDJkVRT2DKAm6Rge5pCcCoDFJu.a/eL6Z9m3QasvlxzmvQC', '2025-01-29 10:45:32', NULL, '202.125.100.64', '2025-06-19 12:17:40', '2025-06-19 12:44:06', NULL, NULL, NULL, 0, 1, 1, '', '', 'muhammad-nabhan-ridarwan', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 6, 0, '', '', '', '', NULL, '', NULL, 30, '123421', 'working', '2025-04-11', NULL),
(24, 'haikalharomi@gmail.com', 'Haikal', 'Haromi', '', '', '', '', '$2a$08$a0Y9F1cfGBKFF7Ycr1vvneq26MrNDICvFCpmZzcfI0ZPIXsY/y7Km', '2025-02-11 11:16:48', NULL, '114.122.100.129', '2025-06-19 13:05:06', '2025-06-19 13:25:50', NULL, NULL, NULL, 0, 2, 1, '', '', 'haikal-haromi', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 9, 0, '', '', '', '', NULL, '', NULL, 0, 'HKL', 'working', '2025-04-16', NULL),
(25, 'sulaemansabandaa@gmail.com', 'H Asep', 'Sulaeman Sabanda', '', '', '', '', '$2a$08$yxcjH3m/P/qIvrjYy72I3eKcPYyVuNXFYT.nosCOhEzo7KbdRsrDy', '2025-02-17 19:27:56', NULL, '114.122.73.198', '2025-05-19 12:04:09', '2025-05-19 12:06:32', '2025-03-24 23:42:20', NULL, NULL, 0, 2, 1, '', '', 'h-asep-sulaeman-sabanda', 0, 0.00, 0, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL),
(26, 'sukma.sealport@gmail.com', 'SUKMA', 'ALAMSYAH P', '', '', '', '', '$2a$08$kehXhUmHZ8rhXxpx5swvweYzUUP4YQlg89O.jkRI9HLsbWSsgl1Ne', '2025-03-04 10:58:31', NULL, '116.254.97.68', '2025-06-19 08:59:40', '2025-06-19 09:03:58', NULL, NULL, NULL, 0, 1, 1, '', '', 'sukma-alamsyah-p', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 4, 0, '', '', '', '', NULL, '', NULL, 27, '123', 'working', '2025-03-04', NULL),
(27, 'ricky.sealport@gmail.com', ' RICKY', 'AGUS TOMY', '', '', '', '', '$2a$08$y0fC/iTfsOnCCzCIZLqvte6YNKJzJu4gAcxrEnGVWB7a6FivMHLuy', '2025-03-04 11:02:03', NULL, '182.4.36.9', '2025-06-19 09:43:38', '2025-06-19 10:00:28', NULL, 'd341b3ec36ce3b167349c4c94b42aea3', '2025-03-24 06:17:14', 0, 1, 1, '', '', 'ricky-agus-tomy', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 14, 0, '', '', '', '', NULL, '', NULL, 0, 'RK', 'working', '2025-04-16', NULL),
(28, 'aliasbinjumaat@gmail.com', ' ALIAS', 'BIN JUMAAT', '', '', '', '', '$2a$08$Vyl8PmFiUZFuj6eFTSV8zeXF1wsrFCzWCfdlC8Inb5szfLE0ZNSeq', '2025-03-04 11:05:01', '5be043c1-a5af-4786-a179-9c0f691b76f2.jpeg', '103.87.87.118', '2025-06-19 15:48:15', '2025-06-19 15:54:20', '2025-03-24 22:52:15', NULL, NULL, 0, 1, 1, '', '', 'alias-bin-jumaat', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 3, 0, '', '', '', '', NULL, '', NULL, 0, 'AL', 'working', '2025-04-16', NULL),
(30, 'santosa.nagoya@gmail.com', 'SANTOSA', 'SANTOSA', '', '', '', '', '$2a$08$HAOEeimip8zwFKphzRv4TOgKffTSi25HON3eK8FPUsSZbIGWSL6EW', '2025-03-12 16:33:02', NULL, '180.241.188.159', '2025-06-19 12:48:32', '2025-06-19 12:49:23', NULL, NULL, NULL, 0, 1, 1, '', '', 'santosa-santosa', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 11, 0, '', '', '', '', NULL, '', NULL, 0, 'STS', 'working', '2025-04-16', NULL),
(31, 'ahmadtabahshobirin91@gmail.com', 'AHMAD', 'TABAH SHOBIRIN', '', '', '', '', '$2a$08$0zOccknWHBDkTaL06SLBC.PmZhN7pm08U.cOGfOoQVGK.vlhdiOuS', '2025-03-12 16:49:47', NULL, '202.125.100.64', '2025-06-19 11:50:36', '2025-06-19 14:16:59', NULL, NULL, NULL, 0, 1, 1, '', '', 'ahmad-tabah-shobirin', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 5, 0, '', '', '', '', NULL, '', NULL, 30, '12', 'working', '2025-03-25', NULL),
(32, 'alponsussujonopurba@gmail.com', 'ALPONS', 'PURBA', '', '', '', '', '$2a$08$m3A6cwhk9ipmL9YdRzJygOdJE0mLAwOrhvp3.B25RIrPHQT5Zi0Lu', '2025-03-12 17:20:25', '17428685381944246539413067651201.jpg', '182.3.45.236', '2025-04-19 13:10:12', '2025-04-19 13:10:12', '2025-03-24 23:52:19', NULL, NULL, 0, 1, 0, '', '', 'alpons-alpons', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 3, 0, '', '', '', '', NULL, '', NULL, 0, '1234', 'working', '2025-03-25', NULL),
(33, 'indra@sealmis.com', 'INDRA', 'KURNIAWAN', '', '', '', '', '$2a$08$VSi5NQtz9/1ehl.SlNnMBOB487xDmPRDACZSmzPMO68jREwmOSktK', '2025-03-20 17:14:11', NULL, '116.254.97.68', '2025-06-19 08:52:53', '2025-06-19 09:41:10', NULL, NULL, NULL, 0, 1, 1, '', '', 'indra-kurniawan', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 5, 0, '', '', '', '', NULL, '', NULL, 27, '11', 'working', '2025-03-20', NULL),
(34, 'glensahroni@gmail.com', 'GLEN', 'SAHRONI', '', '', '', '', '$2a$08$rS1nz0QyHkQVT3NWPfYGQuetDyF5BaEKFGR7pxI3oQpfYF9eCG6m.', '2025-03-24 21:26:11', NULL, '140.213.14.217', '2025-06-17 16:52:55', '2025-06-17 17:23:57', '2025-04-12 19:11:47', NULL, NULL, 0, 1, 1, '', '', 'sahroni-glen', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 12, 0, '', '', '', '', NULL, '', NULL, 0, 'GS', 'working', '2025-04-16', NULL),
(35, 'jangkungsuwarno21@gmail.com', 'JANGKUNG', 'SUWARNO', '', '', '', '', '$2a$08$N5XgJZMGehyby.N8c7EIBegMrw94HrV9DXQi4ukxB0HeBM6OD6W0q', '2025-03-24 23:59:13', NULL, '202.65.229.89', '2025-06-17 17:16:47', '2025-06-17 22:44:46', '2025-03-25 06:40:20', NULL, NULL, 0, 1, 1, '', '', 'jangkung-suwarno', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 10, 0, '', '', '', '', NULL, '', NULL, 0, 'JGK', 'working', '2025-04-16', NULL),
(36, 'alfianichsan22@gmail.com', 'ALFIAN', 'ICHSAN', '', '', '', '', '$2a$08$n.otoG0Qi1srL7gKcHdAOuxcYFiOcVq0T9JYqSVochg1bi80WnndO', '2025-03-25 00:05:12', NULL, '140.213.33.143', '2025-06-18 09:32:34', '2025-06-18 15:42:02', '2025-05-15 09:33:35', NULL, NULL, 0, 1, 1, '', '', 'alfian-alfian', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 7, 0, '', '', '', '', NULL, '', NULL, 35, '112', 'working', '2025-03-25', NULL),
(37, 'rahmaseal513@gmail.com', 'RAHMA', 'RAHMA', '', '', '', '', '$2a$08$rey9BpQBGary/rmWEL7OH.PyrkZcnQo5iwyaTPRp8xRMMYrNWzKJa', '2025-03-25 06:48:29', NULL, '36.81.232.9', '2025-06-19 10:46:23', '2025-06-19 11:48:53', '2025-03-26 10:14:06', NULL, NULL, 0, 1, 1, '', '', 'rahma-rahma', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 7, 0, '', '', '', '', NULL, '', NULL, 24, '13124', 'working', '2025-03-25', NULL),
(38, 'arfanworks1@gmail.com', 'ARFAN', 'SANI', '', '', '', '', '$2a$08$JZmhf9xYuH4xlsoN8KHwg.ZFq7jbjVBJPFBFKRUxad2i8piCixPrq', '2025-03-27 11:59:07', NULL, '182.3.51.139', '2025-05-28 01:05:26', '2025-05-28 01:05:29', NULL, NULL, NULL, 0, 2, 1, '', '', 'arfan-sani', 0, 0.00, 0, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL),
(39, 'aderizaldym@gmail.com', 'ADE', 'RIZALDY', '', '', '', '', '$2a$08$LwkYtpgcOx4O4dFzC8arduu5lonUltgEwHyVZMT0Bv.vyJN5OldCi', '2025-04-17 20:14:24', NULL, '36.81.234.20', '2025-04-21 13:59:48', '2025-04-21 15:48:55', NULL, NULL, NULL, 0, 1, 1, '', '', 'ade-rizaldy', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 7, 0, '', '', '', '', NULL, '', NULL, 24, 'AD', 'working', '2025-04-17', NULL),
(40, 'arliefarhevan1826@gmail.com', 'ARLIEF', 'ARHEVAN', '', '', '', '', '$2a$08$GtyNzo7wzC6MAi4MJrrIJOw0sZ2n0xGkmg1PUr4GaiG5dRIt9TqOK', '2025-04-23 22:45:03', NULL, '103.228.242.171', '2025-06-18 21:43:34', '2025-06-18 22:23:36', NULL, NULL, NULL, 0, 1, 1, '', '', 'arlief-arhevan', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 7, 0, '', '', '', '', NULL, '', NULL, 40, 'AA', 'working', '2025-05-09', NULL),
(41, 'akbardavid779@gmail.com', 'AKBAR', 'DAVID', '', '', '', '', '$2a$08$C8To0gucrw7Rybc66Bpq6.ZLy5ECkZrFRl5fViGSULkuyrokB1O/K', '2025-04-23 22:54:06', NULL, '182.4.36.95', '2025-06-05 21:16:51', '2025-06-05 21:17:08', NULL, NULL, NULL, 0, 1, 1, 'indonesia', '', 'akbar-david', 0, 0.00, 0, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL),
(42, 'fajarshodiqcahblitar@gmail.com', 'FAJAR', 'SHODIQ', '', '', '', '', '$2a$08$3jf8KWB378DH9oQ4FwCT1.QAaclnxjCy9hZG4jEjUsd21yV1L1cjO', '2025-05-07 19:38:40', NULL, '180.252.17.109', '2025-05-24 23:00:50', '2025-05-24 23:03:04', NULL, NULL, NULL, 0, 1, 1, '', '', 'fajar-shodiq', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 7, 0, '', '', '', '', NULL, '', NULL, 24, 'FS', 'working', '2025-05-07', NULL),
(43, 'yuliratna.ratnawati@gmail.com', 'YULI', 'RATNA WATI', '', '', '', '', '$2a$08$reSrlZ1s/7A8z1D/WPfBOen.GH1fdS6uO8WDWuWZp257G3UYM21mS', '2025-05-08 13:35:18', NULL, '36.81.232.9', '2025-06-19 11:41:02', '2025-06-19 11:49:21', NULL, NULL, NULL, 0, 1, 1, '', '', 'yuli-ratna-wati', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 7, 0, '', '', '', '', NULL, '', NULL, 24, 'YRW', 'working', '2025-05-08', NULL),
(44, 'Bayufebrynto@gmail.com', 'BAYU', 'FEBRYANTO', '', '', '', '', '$2a$08$UNAccel2ODZfozcgU6BapeA/vzMMleKPAWms68o/DaH/tgFMJlP8q', '2025-05-28 10:07:43', NULL, '36.81.232.9', '2025-06-19 10:56:10', '2025-06-19 12:38:27', NULL, NULL, NULL, 0, 1, 1, '', '', 'bayu-febryanto', 0, 0.00, 0, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL),
(45, 'abdulthoriqalhamdamuhar@gmail.com', 'ABDUL THORIQ', 'ALHAMDAMUHAR', '', '', '', '', '$2a$08$ABGvlOurQdy5hfisxbCFRuc3c2YMAMZPnayjv2J6hjX10en9ppiHK', '2025-06-02 10:52:01', NULL, '36.81.232.9', '2025-06-19 09:59:11', '2025-06-19 15:23:24', NULL, NULL, NULL, 0, 1, 1, '', '', 'abdul-thoriq-alhamdamuhar', 0, 0.00, 0, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL),
(46, 'yanto.e.saputra@gmail.com', 'YANTO', 'E SAPUTRA', '', '', '', '', '$2a$08$TiKhbB6fa/uOzTzQg3fU3uULH9R.UAitP/HyZMQL2M80ND0hlckzC', '2025-06-17 10:27:57', NULL, '182.4.37.23', '2025-06-19 13:19:15', '2025-06-19 13:19:34', NULL, NULL, NULL, 0, 1, 1, '', '', 'yanto-e-saputra', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 15, 0, '', '', '', '', NULL, '', NULL, 0, 'YES', 'working', '2025-06-17', NULL),
(47, 'hernandar@gmail.com', 'HERNANDAR', 'HERNANDAR', '', '', '', '', '$2a$08$9bk.t5MS6q7UC21NFHnVS.QEmf3fwCEDZelttRUBAibv9bMo4FH0W', '2025-06-19 08:04:06', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, '', '', 'hernandar-hernandar', 0, 0.00, 0, NULL, NULL, '', NULL, '', 'male', '', '', '', '', NULL, '', '', '', '', '', 18, 0, '', '', '', '', NULL, '', NULL, 0, 'H', 'working', '2025-06-19', NULL),
(48, 'effendy@gmail.com', 'ABD ROCHIM', 'EFFENDY', '', '', '', '', '$2a$08$WQ3908xsF..6DA3/IteaFu0EFKlkTUOcYeWizfH7z33Xcnrt1Io.G', '2025-06-19 08:05:50', NULL, '182.4.37.3', '2025-06-19 10:14:15', '2025-06-19 10:32:39', NULL, NULL, NULL, 0, 1, 1, '', '', 'abd-rochim-effendy', 0, 0.00, 0, NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, '', '', '', '', '', 17, 0, '', '', '', '', NULL, '', NULL, 0, 'ARE', 'working', '2025-06-19', NULL);

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

--
-- Table structure for table `tblstaff_departments`
--

CREATE TABLE `tblstaff_departments` (
  `staffdepartmentid` int(11) NOT NULL,
  `staffid` int(11) NOT NULL,
  `departmentid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tblstaff_departments`
--

INSERT INTO `tblstaff_departments` (`staffdepartmentid`, `staffid`, `departmentid`) VALUES
(52, 33, 12),
(58, 31, 21),
(64, 36, 41),
(66, 37, 40),
(72, 32, 21),
(75, 19, 40),
(76, 24, 32),
(77, 30, 17),
(78, 28, 12),
(79, 27, 11),
(81, 23, 21),
(84, 39, 42),
(86, 3, 26),
(87, 1, 43),
(93, 42, 42),
(96, 43, 40),
(97, 40, 26),
(99, 26, 11),
(101, 22, 44),
(104, 48, 11),
(105, 47, 11);

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

--
-- Table structure for table `tblstaff_permissions`
--

CREATE TABLE `tblstaff_permissions` (
  `staff_id` int(11) NOT NULL,
  `feature` varchar(40) NOT NULL,
  `capability` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tblstaff_permissions`
--

INSERT INTO `tblstaff_permissions` (`staff_id`, `feature`, `capability`) VALUES
(33, 'purchase_request', 'view_own'),
(33, 'purchase_request', 'create'),
(33, 'purchase_request', 'edit'),
(33, 'approvify', 'view'),
(33, 'approvify', 'create'),
(33, 'approvify', 'edit'),
(31, 'purchase_request', 'view_own'),
(31, 'purchase_request', 'create'),
(31, 'purchase_request', 'edit'),
(31, 'approvify', 'view'),
(31, 'approvify', 'create'),
(31, 'approvify', 'edit'),
(17, 'contracts', 'view'),
(17, 'contracts', 'create'),
(17, 'contracts', 'edit'),
(17, 'contracts', 'delete'),
(17, 'contracts', 'view_all_templates'),
(17, 'credit_notes', 'view'),
(17, 'credit_notes', 'create'),
(17, 'credit_notes', 'edit'),
(17, 'credit_notes', 'delete'),
(17, 'customers', 'view'),
(17, 'customers', 'create'),
(17, 'customers', 'edit'),
(17, 'customers', 'delete'),
(17, 'email_templates', 'view'),
(17, 'estimates', 'view'),
(17, 'estimates', 'create'),
(17, 'estimates', 'edit'),
(17, 'estimates', 'delete'),
(17, 'expenses', 'view'),
(17, 'expenses', 'create'),
(17, 'expenses', 'edit'),
(17, 'expenses', 'delete'),
(17, 'invoices', 'view'),
(17, 'invoices', 'create'),
(17, 'invoices', 'edit'),
(17, 'invoices', 'delete'),
(17, 'items', 'view'),
(17, 'items', 'create'),
(17, 'items', 'edit'),
(17, 'items', 'delete'),
(17, 'knowledge_base', 'view'),
(17, 'knowledge_base', 'create'),
(17, 'knowledge_base', 'edit'),
(17, 'knowledge_base', 'delete'),
(17, 'payments', 'view'),
(17, 'payments', 'create'),
(17, 'payments', 'edit'),
(17, 'payments', 'delete'),
(17, 'projects', 'view'),
(17, 'projects', 'create'),
(17, 'projects', 'edit'),
(17, 'projects', 'delete'),
(17, 'projects', 'create_milestones'),
(17, 'projects', 'edit_milestones'),
(17, 'projects', 'delete_milestones'),
(17, 'proposals', 'view'),
(17, 'proposals', 'create'),
(17, 'proposals', 'edit'),
(17, 'proposals', 'delete'),
(17, 'proposals', 'view_all_templates'),
(17, 'reports', 'view'),
(17, 'reports', 'view-timesheets'),
(17, 'roles', 'view'),
(17, 'roles', 'create'),
(17, 'roles', 'edit'),
(17, 'roles', 'delete'),
(17, 'settings', 'view'),
(17, 'settings', 'edit'),
(17, 'staff', 'view'),
(17, 'staff', 'create'),
(17, 'staff', 'edit'),
(17, 'staff', 'delete'),
(17, 'subscriptions', 'view'),
(17, 'subscriptions', 'create'),
(17, 'subscriptions', 'edit'),
(17, 'subscriptions', 'delete'),
(17, 'tasks', 'view'),
(17, 'tasks', 'create'),
(17, 'tasks', 'edit'),
(17, 'tasks', 'delete'),
(17, 'tasks', 'edit_timesheet'),
(17, 'tasks', 'edit_own_timesheet'),
(17, 'tasks', 'delete_timesheet'),
(17, 'tasks', 'delete_own_timesheet'),
(17, 'checklist_templates', 'create'),
(17, 'checklist_templates', 'delete'),
(17, 'estimate_request', 'view'),
(17, 'estimate_request', 'create'),
(17, 'estimate_request', 'edit'),
(17, 'estimate_request', 'delete'),
(17, 'leads', 'view'),
(17, 'leads', 'delete'),
(17, 'purchase_items', 'view'),
(17, 'purchase_items', 'create'),
(17, 'purchase_items', 'edit'),
(17, 'purchase_items', 'delete'),
(17, 'purchase_vendors', 'view'),
(17, 'purchase_vendors', 'create'),
(17, 'purchase_vendors', 'edit'),
(17, 'purchase_vendors', 'delete'),
(17, 'purchase_vendor_items', 'view'),
(17, 'purchase_vendor_items', 'create'),
(17, 'purchase_vendor_items', 'edit'),
(17, 'purchase_vendor_items', 'delete'),
(17, 'purchase_request', 'view'),
(17, 'purchase_request', 'create'),
(17, 'purchase_request', 'edit'),
(17, 'purchase_request', 'delete'),
(17, 'purchase_quotations', 'view'),
(17, 'purchase_quotations', 'create'),
(17, 'purchase_quotations', 'edit'),
(17, 'purchase_quotations', 'delete'),
(17, 'purchase_orders', 'view'),
(17, 'purchase_orders', 'create'),
(17, 'purchase_orders', 'edit'),
(17, 'purchase_orders', 'delete'),
(17, 'purchase_faf', 'view'),
(17, 'purchase_faf', 'create'),
(17, 'purchase_faf', 'edit'),
(17, 'purchase_order_return', 'view'),
(17, 'purchase_order_return', 'create'),
(17, 'purchase_order_return', 'edit'),
(17, 'purchase_order_return', 'delete'),
(17, 'purchase_contracts', 'view'),
(17, 'purchase_contracts', 'create'),
(17, 'purchase_contracts', 'edit'),
(17, 'purchase_contracts', 'delete'),
(17, 'purchase_invoices', 'view'),
(17, 'purchase_invoices', 'create'),
(17, 'purchase_invoices', 'edit'),
(17, 'purchase_invoices', 'delete'),
(17, 'purchase_debit_notes', 'view'),
(17, 'purchase_debit_notes', 'create'),
(17, 'purchase_debit_notes', 'edit'),
(17, 'purchase_debit_notes', 'delete'),
(17, 'purchase_reports', 'view'),
(17, 'purchase_settings', 'edit'),
(17, 'purchase_order_change_approve_status', 'edit'),
(17, 'purchase_estimate_change_approve_status', 'edit'),
(17, 'purchase_request_change_approve_status', 'edit'),
(17, 'purchase_invoice_change_approve_status', 'edit'),
(17, 'warehouse', 'view'),
(17, 'warehouse', 'create'),
(17, 'warehouse', 'edit'),
(17, 'warehouse', 'delete'),
(17, 'attendance_management', 'view_own'),
(17, 'leave_management', 'view'),
(17, 'route_management', 'view'),
(17, 'additional_timesheets_management', 'view'),
(17, 'additional_timesheets_specific_employees', 'create'),
(17, 'table_shiftwork_management', 'view'),
(17, 'report_management', 'view'),
(17, 'table_workplace_management', 'view'),
(17, 'approvify', 'view'),
(17, 'approvify', 'create'),
(17, 'approvify', 'edit'),
(17, 'approvify', 'delete'),
(17, 'approvify', 'create_category'),
(17, 'hrm_dashboard', 'view'),
(17, 'staffmanage_orgchart', 'view'),
(17, 'staffmanage_orgchart', 'create'),
(17, 'staffmanage_orgchart', 'edit'),
(17, 'staffmanage_orgchart', 'delete'),
(17, 'hrm_reception_staff', 'view'),
(17, 'hrm_reception_staff', 'create'),
(17, 'hrm_reception_staff', 'edit'),
(17, 'hrm_reception_staff', 'delete'),
(17, 'hrm_hr_records', 'view'),
(17, 'hrm_hr_records', 'create'),
(17, 'hrm_hr_records', 'edit'),
(17, 'hrm_hr_records', 'delete'),
(17, 'staffmanage_job_position', 'view'),
(17, 'staffmanage_job_position', 'create'),
(17, 'staffmanage_job_position', 'edit'),
(17, 'staffmanage_job_position', 'delete'),
(17, 'staffmanage_training', 'view'),
(17, 'staffmanage_training', 'create'),
(17, 'staffmanage_training', 'edit'),
(17, 'staffmanage_training', 'delete'),
(17, 'hr_manage_q_a', 'view'),
(17, 'hr_manage_q_a', 'create'),
(17, 'hr_manage_q_a', 'edit'),
(17, 'hr_manage_q_a', 'delete'),
(17, 'hrm_contract', 'view'),
(17, 'hrm_contract', 'create'),
(17, 'hrm_contract', 'edit'),
(17, 'hrm_contract', 'delete'),
(17, 'hrm_dependent_person', 'view'),
(17, 'hrm_dependent_person', 'create'),
(17, 'hrm_dependent_person', 'edit'),
(17, 'hrm_dependent_person', 'delete'),
(17, 'hrm_procedures_for_quitting_work', 'view'),
(17, 'hrm_procedures_for_quitting_work', 'create'),
(17, 'hrm_procedures_for_quitting_work', 'edit'),
(17, 'hrm_procedures_for_quitting_work', 'delete'),
(17, 'hrm_report', 'view'),
(17, 'hrm_setting', 'view'),
(17, 'hrm_setting', 'create'),
(17, 'hrm_setting', 'edit'),
(17, 'hrm_setting', 'delete'),
(17, 'hrp_employee', 'view'),
(17, 'hrp_employee', 'create'),
(17, 'hrp_employee', 'edit'),
(17, 'hrp_employee', 'delete'),
(17, 'hrp_attendance', 'view'),
(17, 'hrp_attendance', 'create'),
(17, 'hrp_attendance', 'edit'),
(17, 'hrp_attendance', 'delete'),
(17, 'hrp_commission', 'view'),
(17, 'hrp_commission', 'create'),
(17, 'hrp_commission', 'edit'),
(17, 'hrp_commission', 'delete'),
(17, 'hrp_deduction', 'view'),
(17, 'hrp_deduction', 'create'),
(17, 'hrp_deduction', 'edit'),
(17, 'hrp_deduction', 'delete'),
(17, 'hrp_bonus_kpi', 'view'),
(17, 'hrp_bonus_kpi', 'create'),
(17, 'hrp_bonus_kpi', 'edit'),
(17, 'hrp_bonus_kpi', 'delete'),
(17, 'hrp_insurrance', 'view'),
(17, 'hrp_insurrance', 'create'),
(17, 'hrp_insurrance', 'edit'),
(17, 'hrp_insurrance', 'delete'),
(17, 'hrp_payslip', 'view'),
(17, 'hrp_payslip', 'create'),
(17, 'hrp_payslip', 'edit'),
(17, 'hrp_payslip', 'delete'),
(17, 'hrp_payslip_template', 'view'),
(17, 'hrp_payslip_template', 'create'),
(17, 'hrp_payslip_template', 'edit'),
(17, 'hrp_payslip_template', 'delete'),
(17, 'hrp_income_tax', 'view'),
(17, 'hrp_report', 'view'),
(17, 'hrp_setting', 'create'),
(17, 'hrp_setting', 'edit'),
(17, 'hrp_setting', 'delete'),
(17, 'accounting_dashboard', 'view'),
(17, 'accounting_banking', 'view'),
(17, 'accounting_banking', 'create'),
(17, 'accounting_banking', 'edit'),
(17, 'accounting_banking', 'delete'),
(17, 'accounting_transaction', 'view'),
(17, 'accounting_transaction', 'create'),
(17, 'accounting_transaction', 'edit'),
(17, 'accounting_transaction', 'delete'),
(17, 'accounting_registers', 'view'),
(17, 'accounting_registers', 'create'),
(17, 'accounting_registers', 'edit'),
(17, 'accounting_registers', 'delete'),
(17, 'accounting_bills', 'view'),
(17, 'accounting_bills', 'create'),
(17, 'accounting_checks', 'view'),
(17, 'accounting_checks', 'create'),
(17, 'accounting_journal_entry', 'view'),
(17, 'accounting_journal_entry', 'create'),
(17, 'accounting_journal_entry', 'edit'),
(17, 'accounting_journal_entry', 'delete'),
(17, 'accounting_transfer', 'view'),
(17, 'accounting_transfer', 'create'),
(17, 'accounting_transfer', 'edit'),
(17, 'accounting_transfer', 'delete'),
(17, 'accounting_chart_of_accounts', 'view'),
(17, 'accounting_chart_of_accounts', 'create'),
(17, 'accounting_chart_of_accounts', 'edit'),
(17, 'accounting_chart_of_accounts', 'delete'),
(17, 'accounting_reconcile', 'view'),
(17, 'accounting_reconcile', 'create'),
(17, 'accounting_reconcile', 'edit'),
(17, 'accounting_budget', 'view'),
(17, 'accounting_budget', 'create'),
(17, 'accounting_budget', 'edit'),
(17, 'accounting_budget', 'delete'),
(17, 'accounting_vendor', 'view'),
(17, 'accounting_vendor', 'create'),
(17, 'accounting_vendor', 'edit'),
(17, 'accounting_vendor', 'delete'),
(17, 'accounting_report', 'view'),
(17, 'accounting_setting', 'view'),
(17, 'accounting_setting', 'edit'),
(10, 'contracts', 'view'),
(10, 'contracts', 'create'),
(10, 'contracts', 'edit'),
(10, 'contracts', 'delete'),
(10, 'contracts', 'view_all_templates'),
(10, 'credit_notes', 'view'),
(10, 'credit_notes', 'create'),
(10, 'credit_notes', 'edit'),
(10, 'credit_notes', 'delete'),
(10, 'customers', 'view'),
(10, 'customers', 'create'),
(10, 'customers', 'edit'),
(10, 'customers', 'delete'),
(10, 'email_templates', 'view'),
(10, 'estimates', 'view'),
(10, 'estimates', 'create'),
(10, 'estimates', 'edit'),
(10, 'estimates', 'delete'),
(10, 'expenses', 'view'),
(10, 'expenses', 'create'),
(10, 'expenses', 'edit'),
(10, 'expenses', 'delete'),
(10, 'invoices', 'view'),
(10, 'invoices', 'create'),
(10, 'invoices', 'edit'),
(10, 'invoices', 'delete'),
(10, 'items', 'view'),
(10, 'items', 'create'),
(10, 'items', 'edit'),
(10, 'items', 'delete'),
(10, 'knowledge_base', 'view'),
(10, 'knowledge_base', 'create'),
(10, 'knowledge_base', 'edit'),
(10, 'knowledge_base', 'delete'),
(10, 'payments', 'view'),
(10, 'payments', 'create'),
(10, 'payments', 'edit'),
(10, 'payments', 'delete'),
(10, 'projects', 'view'),
(10, 'projects', 'create'),
(10, 'projects', 'edit'),
(10, 'projects', 'delete'),
(10, 'projects', 'create_milestones'),
(10, 'projects', 'edit_milestones'),
(10, 'projects', 'delete_milestones'),
(10, 'proposals', 'view'),
(10, 'proposals', 'create'),
(10, 'proposals', 'edit'),
(10, 'proposals', 'delete'),
(10, 'proposals', 'view_all_templates'),
(10, 'reports', 'view'),
(10, 'reports', 'view-timesheets'),
(10, 'roles', 'view'),
(10, 'roles', 'create'),
(10, 'roles', 'edit'),
(10, 'roles', 'delete'),
(10, 'settings', 'view'),
(10, 'settings', 'edit'),
(10, 'staff', 'view'),
(10, 'staff', 'create'),
(10, 'staff', 'edit'),
(10, 'staff', 'delete'),
(10, 'subscriptions', 'view'),
(10, 'subscriptions', 'create'),
(10, 'subscriptions', 'edit'),
(10, 'subscriptions', 'delete'),
(10, 'tasks', 'view'),
(10, 'tasks', 'create'),
(10, 'tasks', 'edit'),
(10, 'tasks', 'delete'),
(10, 'tasks', 'edit_timesheet'),
(10, 'tasks', 'edit_own_timesheet'),
(10, 'tasks', 'delete_timesheet'),
(10, 'tasks', 'delete_own_timesheet'),
(10, 'checklist_templates', 'create'),
(10, 'checklist_templates', 'delete'),
(10, 'estimate_request', 'view'),
(10, 'estimate_request', 'create'),
(10, 'estimate_request', 'edit'),
(10, 'estimate_request', 'delete'),
(10, 'leads', 'view'),
(10, 'leads', 'delete'),
(10, 'purchase_items', 'view'),
(10, 'purchase_items', 'create'),
(10, 'purchase_items', 'edit'),
(10, 'purchase_items', 'delete'),
(10, 'purchase_vendors', 'view'),
(10, 'purchase_vendors', 'create'),
(10, 'purchase_vendors', 'edit'),
(10, 'purchase_vendors', 'delete'),
(10, 'purchase_vendor_items', 'view'),
(10, 'purchase_vendor_items', 'create'),
(10, 'purchase_vendor_items', 'edit'),
(10, 'purchase_vendor_items', 'delete'),
(10, 'purchase_request', 'view'),
(10, 'purchase_request', 'create'),
(10, 'purchase_request', 'edit'),
(10, 'purchase_request', 'delete'),
(10, 'purchase_quotations', 'view'),
(10, 'purchase_quotations', 'create'),
(10, 'purchase_quotations', 'edit'),
(10, 'purchase_quotations', 'delete'),
(10, 'purchase_orders', 'view'),
(10, 'purchase_orders', 'create'),
(10, 'purchase_orders', 'edit'),
(10, 'purchase_orders', 'delete'),
(10, 'purchase_faf', 'view'),
(10, 'purchase_faf', 'create'),
(10, 'purchase_faf', 'edit'),
(10, 'purchase_order_return', 'view'),
(10, 'purchase_order_return', 'create'),
(10, 'purchase_order_return', 'edit'),
(10, 'purchase_order_return', 'delete'),
(10, 'purchase_contracts', 'view'),
(10, 'purchase_contracts', 'create'),
(10, 'purchase_contracts', 'edit'),
(10, 'purchase_contracts', 'delete'),
(10, 'purchase_invoices', 'view'),
(10, 'purchase_invoices', 'create'),
(10, 'purchase_invoices', 'edit'),
(10, 'purchase_invoices', 'delete'),
(10, 'purchase_debit_notes', 'view'),
(10, 'purchase_debit_notes', 'create'),
(10, 'purchase_debit_notes', 'edit'),
(10, 'purchase_debit_notes', 'delete'),
(10, 'purchase_reports', 'view'),
(10, 'purchase_settings', 'edit'),
(10, 'purchase_order_change_approve_status', 'edit'),
(10, 'purchase_estimate_change_approve_status', 'edit'),
(10, 'purchase_request_change_approve_status', 'edit'),
(10, 'purchase_invoice_change_approve_status', 'edit'),
(10, 'warehouse', 'view'),
(10, 'warehouse', 'create'),
(10, 'warehouse', 'edit'),
(10, 'warehouse', 'delete'),
(10, 'attendance_management', 'view_own'),
(10, 'leave_management', 'view'),
(10, 'route_management', 'view'),
(10, 'additional_timesheets_management', 'view'),
(10, 'additional_timesheets_specific_employees', 'create'),
(10, 'table_shiftwork_management', 'view'),
(10, 'report_management', 'view'),
(10, 'table_workplace_management', 'view'),
(10, 'approvify', 'view'),
(10, 'approvify', 'create'),
(10, 'approvify', 'edit'),
(10, 'approvify', 'delete'),
(10, 'approvify', 'create_category'),
(10, 'hrm_dashboard', 'view'),
(10, 'staffmanage_orgchart', 'view'),
(10, 'staffmanage_orgchart', 'create'),
(10, 'staffmanage_orgchart', 'edit'),
(10, 'staffmanage_orgchart', 'delete'),
(10, 'hrm_reception_staff', 'view'),
(10, 'hrm_reception_staff', 'create'),
(10, 'hrm_reception_staff', 'edit'),
(10, 'hrm_reception_staff', 'delete'),
(10, 'hrm_hr_records', 'view'),
(10, 'hrm_hr_records', 'create'),
(10, 'hrm_hr_records', 'edit'),
(10, 'hrm_hr_records', 'delete'),
(10, 'staffmanage_job_position', 'view'),
(10, 'staffmanage_job_position', 'create'),
(10, 'staffmanage_job_position', 'edit'),
(10, 'staffmanage_job_position', 'delete'),
(10, 'staffmanage_training', 'view'),
(10, 'staffmanage_training', 'create'),
(10, 'staffmanage_training', 'edit'),
(10, 'staffmanage_training', 'delete'),
(10, 'hr_manage_q_a', 'view'),
(10, 'hr_manage_q_a', 'create'),
(10, 'hr_manage_q_a', 'edit'),
(10, 'hr_manage_q_a', 'delete'),
(10, 'hrm_contract', 'view'),
(10, 'hrm_contract', 'create'),
(10, 'hrm_contract', 'edit'),
(10, 'hrm_contract', 'delete'),
(10, 'hrm_dependent_person', 'view'),
(10, 'hrm_dependent_person', 'create'),
(10, 'hrm_dependent_person', 'edit'),
(10, 'hrm_dependent_person', 'delete'),
(10, 'hrm_procedures_for_quitting_work', 'view'),
(10, 'hrm_procedures_for_quitting_work', 'create'),
(10, 'hrm_procedures_for_quitting_work', 'edit'),
(10, 'hrm_procedures_for_quitting_work', 'delete'),
(10, 'hrm_report', 'view'),
(10, 'hrm_setting', 'view'),
(10, 'hrm_setting', 'create'),
(10, 'hrm_setting', 'edit'),
(10, 'hrm_setting', 'delete'),
(10, 'hrp_employee', 'view'),
(10, 'hrp_employee', 'create'),
(10, 'hrp_employee', 'edit'),
(10, 'hrp_employee', 'delete'),
(10, 'hrp_attendance', 'view'),
(10, 'hrp_attendance', 'create'),
(10, 'hrp_attendance', 'edit'),
(10, 'hrp_attendance', 'delete'),
(10, 'hrp_commission', 'view'),
(10, 'hrp_commission', 'create'),
(10, 'hrp_commission', 'edit'),
(10, 'hrp_commission', 'delete'),
(10, 'hrp_deduction', 'view'),
(10, 'hrp_deduction', 'create'),
(10, 'hrp_deduction', 'edit'),
(10, 'hrp_deduction', 'delete'),
(10, 'hrp_bonus_kpi', 'view'),
(10, 'hrp_bonus_kpi', 'create'),
(10, 'hrp_bonus_kpi', 'edit'),
(10, 'hrp_bonus_kpi', 'delete'),
(10, 'hrp_insurrance', 'view'),
(10, 'hrp_insurrance', 'create'),
(10, 'hrp_insurrance', 'edit'),
(10, 'hrp_insurrance', 'delete'),
(10, 'hrp_payslip', 'view'),
(10, 'hrp_payslip', 'create'),
(10, 'hrp_payslip', 'edit'),
(10, 'hrp_payslip', 'delete'),
(10, 'hrp_payslip_template', 'view'),
(10, 'hrp_payslip_template', 'create'),
(10, 'hrp_payslip_template', 'edit'),
(10, 'hrp_payslip_template', 'delete'),
(10, 'hrp_income_tax', 'view'),
(10, 'hrp_report', 'view'),
(10, 'hrp_setting', 'create'),
(10, 'hrp_setting', 'edit'),
(10, 'hrp_setting', 'delete'),
(10, 'accounting_dashboard', 'view'),
(10, 'accounting_banking', 'view'),
(10, 'accounting_banking', 'create'),
(10, 'accounting_banking', 'edit'),
(10, 'accounting_banking', 'delete'),
(10, 'accounting_transaction', 'view'),
(10, 'accounting_transaction', 'create'),
(10, 'accounting_transaction', 'edit'),
(10, 'accounting_transaction', 'delete'),
(10, 'accounting_registers', 'view'),
(10, 'accounting_registers', 'create'),
(10, 'accounting_registers', 'edit'),
(10, 'accounting_registers', 'delete'),
(10, 'accounting_bills', 'view'),
(10, 'accounting_bills', 'create'),
(10, 'accounting_checks', 'view'),
(10, 'accounting_checks', 'create'),
(10, 'accounting_journal_entry', 'view'),
(10, 'accounting_journal_entry', 'create'),
(10, 'accounting_journal_entry', 'edit'),
(10, 'accounting_journal_entry', 'delete'),
(10, 'accounting_transfer', 'view'),
(10, 'accounting_transfer', 'create'),
(10, 'accounting_transfer', 'edit'),
(10, 'accounting_transfer', 'delete'),
(10, 'accounting_chart_of_accounts', 'view'),
(10, 'accounting_chart_of_accounts', 'create'),
(10, 'accounting_chart_of_accounts', 'edit'),
(10, 'accounting_chart_of_accounts', 'delete'),
(10, 'accounting_reconcile', 'view'),
(10, 'accounting_reconcile', 'create'),
(10, 'accounting_reconcile', 'edit'),
(10, 'accounting_budget', 'view'),
(10, 'accounting_budget', 'create'),
(10, 'accounting_budget', 'edit'),
(10, 'accounting_budget', 'delete'),
(10, 'accounting_vendor', 'view'),
(10, 'accounting_vendor', 'create'),
(10, 'accounting_vendor', 'edit'),
(10, 'accounting_vendor', 'delete'),
(10, 'accounting_report', 'view'),
(10, 'accounting_setting', 'view'),
(10, 'accounting_setting', 'edit'),
(2, 'contracts', 'view'),
(2, 'contracts', 'create'),
(2, 'contracts', 'edit'),
(2, 'contracts', 'delete'),
(2, 'contracts', 'view_all_templates'),
(2, 'credit_notes', 'view'),
(2, 'credit_notes', 'create'),
(2, 'credit_notes', 'edit'),
(2, 'credit_notes', 'delete'),
(2, 'customers', 'view'),
(2, 'customers', 'create'),
(2, 'customers', 'edit'),
(2, 'customers', 'delete'),
(2, 'email_templates', 'view'),
(2, 'estimates', 'view'),
(2, 'estimates', 'create'),
(2, 'estimates', 'edit'),
(2, 'estimates', 'delete'),
(2, 'expenses', 'view'),
(2, 'expenses', 'create'),
(2, 'expenses', 'edit'),
(2, 'expenses', 'delete'),
(2, 'invoices', 'view'),
(2, 'invoices', 'create'),
(2, 'invoices', 'edit'),
(2, 'invoices', 'delete'),
(2, 'items', 'view'),
(2, 'items', 'create'),
(2, 'items', 'edit'),
(2, 'items', 'delete'),
(2, 'knowledge_base', 'view'),
(2, 'knowledge_base', 'create'),
(2, 'knowledge_base', 'edit'),
(2, 'knowledge_base', 'delete'),
(2, 'payments', 'view'),
(2, 'payments', 'create'),
(2, 'payments', 'edit'),
(2, 'payments', 'delete'),
(2, 'projects', 'view'),
(2, 'projects', 'create'),
(2, 'projects', 'edit'),
(2, 'projects', 'delete'),
(2, 'projects', 'create_milestones'),
(2, 'projects', 'edit_milestones'),
(2, 'projects', 'delete_milestones'),
(2, 'proposals', 'view'),
(2, 'proposals', 'create'),
(2, 'proposals', 'edit'),
(2, 'proposals', 'delete'),
(2, 'proposals', 'view_all_templates'),
(2, 'reports', 'view'),
(2, 'reports', 'view-timesheets'),
(2, 'roles', 'view'),
(2, 'roles', 'create'),
(2, 'roles', 'edit'),
(2, 'roles', 'delete'),
(2, 'settings', 'view'),
(2, 'settings', 'edit'),
(2, 'staff', 'view'),
(2, 'staff', 'create'),
(2, 'staff', 'edit'),
(2, 'staff', 'delete'),
(2, 'subscriptions', 'view'),
(2, 'subscriptions', 'create'),
(2, 'subscriptions', 'edit'),
(2, 'subscriptions', 'delete'),
(2, 'tasks', 'view'),
(2, 'tasks', 'create'),
(2, 'tasks', 'edit'),
(2, 'tasks', 'delete'),
(2, 'tasks', 'edit_timesheet'),
(2, 'tasks', 'edit_own_timesheet'),
(2, 'tasks', 'delete_timesheet'),
(2, 'tasks', 'delete_own_timesheet'),
(2, 'checklist_templates', 'create'),
(2, 'checklist_templates', 'delete'),
(2, 'estimate_request', 'view'),
(2, 'estimate_request', 'create'),
(2, 'estimate_request', 'edit'),
(2, 'estimate_request', 'delete'),
(2, 'leads', 'view'),
(2, 'leads', 'delete'),
(2, 'purchase_items', 'view'),
(2, 'purchase_items', 'create'),
(2, 'purchase_items', 'edit'),
(2, 'purchase_items', 'delete'),
(2, 'purchase_vendors', 'view'),
(2, 'purchase_vendors', 'create'),
(2, 'purchase_vendors', 'edit'),
(2, 'purchase_vendors', 'delete'),
(2, 'purchase_vendor_items', 'view'),
(2, 'purchase_vendor_items', 'create'),
(2, 'purchase_vendor_items', 'edit'),
(2, 'purchase_vendor_items', 'delete'),
(2, 'purchase_request', 'view'),
(2, 'purchase_request', 'create'),
(2, 'purchase_request', 'edit'),
(2, 'purchase_request', 'delete'),
(2, 'purchase_quotations', 'view'),
(2, 'purchase_quotations', 'create'),
(2, 'purchase_quotations', 'edit'),
(2, 'purchase_quotations', 'delete'),
(2, 'purchase_orders', 'view'),
(2, 'purchase_orders', 'create'),
(2, 'purchase_orders', 'edit'),
(2, 'purchase_orders', 'delete'),
(2, 'purchase_faf', 'view'),
(2, 'purchase_faf', 'create'),
(2, 'purchase_faf', 'edit'),
(2, 'purchase_order_return', 'view'),
(2, 'purchase_order_return', 'create'),
(2, 'purchase_order_return', 'edit'),
(2, 'purchase_order_return', 'delete'),
(2, 'purchase_contracts', 'view'),
(2, 'purchase_contracts', 'create'),
(2, 'purchase_contracts', 'edit'),
(2, 'purchase_contracts', 'delete'),
(2, 'purchase_invoices', 'view'),
(2, 'purchase_invoices', 'create'),
(2, 'purchase_invoices', 'edit'),
(2, 'purchase_invoices', 'delete'),
(2, 'purchase_debit_notes', 'view'),
(2, 'purchase_debit_notes', 'create'),
(2, 'purchase_debit_notes', 'edit'),
(2, 'purchase_debit_notes', 'delete'),
(2, 'purchase_reports', 'view'),
(2, 'purchase_settings', 'edit'),
(2, 'purchase_order_change_approve_status', 'edit'),
(2, 'purchase_estimate_change_approve_status', 'edit'),
(2, 'purchase_request_change_approve_status', 'edit'),
(2, 'purchase_invoice_change_approve_status', 'edit'),
(2, 'warehouse', 'view'),
(2, 'warehouse', 'create'),
(2, 'warehouse', 'edit'),
(2, 'warehouse', 'delete'),
(2, 'attendance_management', 'view_own'),
(2, 'leave_management', 'view'),
(2, 'route_management', 'view'),
(2, 'additional_timesheets_management', 'view'),
(2, 'additional_timesheets_specific_employees', 'create'),
(2, 'table_shiftwork_management', 'view'),
(2, 'report_management', 'view'),
(2, 'table_workplace_management', 'view'),
(2, 'approvify', 'view'),
(2, 'approvify', 'create'),
(2, 'approvify', 'edit'),
(2, 'approvify', 'delete'),
(2, 'approvify', 'create_category'),
(2, 'hrm_dashboard', 'view'),
(2, 'staffmanage_orgchart', 'view'),
(2, 'staffmanage_orgchart', 'create'),
(2, 'staffmanage_orgchart', 'edit'),
(2, 'staffmanage_orgchart', 'delete'),
(2, 'hrm_reception_staff', 'view'),
(2, 'hrm_reception_staff', 'create'),
(2, 'hrm_reception_staff', 'edit'),
(2, 'hrm_reception_staff', 'delete'),
(2, 'hrm_hr_records', 'view'),
(2, 'hrm_hr_records', 'create'),
(2, 'hrm_hr_records', 'edit'),
(2, 'hrm_hr_records', 'delete'),
(2, 'staffmanage_job_position', 'view'),
(2, 'staffmanage_job_position', 'create'),
(2, 'staffmanage_job_position', 'edit'),
(2, 'staffmanage_job_position', 'delete'),
(2, 'staffmanage_training', 'view'),
(2, 'staffmanage_training', 'create'),
(2, 'staffmanage_training', 'edit'),
(2, 'staffmanage_training', 'delete'),
(2, 'hr_manage_q_a', 'view'),
(2, 'hr_manage_q_a', 'create'),
(2, 'hr_manage_q_a', 'edit'),
(2, 'hr_manage_q_a', 'delete'),
(2, 'hrm_contract', 'view'),
(2, 'hrm_contract', 'create'),
(2, 'hrm_contract', 'edit'),
(2, 'hrm_contract', 'delete'),
(2, 'hrm_dependent_person', 'view'),
(2, 'hrm_dependent_person', 'create'),
(2, 'hrm_dependent_person', 'edit'),
(2, 'hrm_dependent_person', 'delete'),
(2, 'hrm_procedures_for_quitting_work', 'view'),
(2, 'hrm_procedures_for_quitting_work', 'create'),
(2, 'hrm_procedures_for_quitting_work', 'edit'),
(2, 'hrm_procedures_for_quitting_work', 'delete'),
(2, 'hrm_report', 'view'),
(2, 'hrm_setting', 'view'),
(2, 'hrm_setting', 'create'),
(2, 'hrm_setting', 'edit'),
(2, 'hrm_setting', 'delete'),
(2, 'hrp_employee', 'view'),
(2, 'hrp_employee', 'create'),
(2, 'hrp_employee', 'edit'),
(2, 'hrp_employee', 'delete'),
(2, 'hrp_attendance', 'view'),
(2, 'hrp_attendance', 'create'),
(2, 'hrp_attendance', 'edit'),
(2, 'hrp_attendance', 'delete'),
(2, 'hrp_commission', 'view'),
(2, 'hrp_commission', 'create'),
(2, 'hrp_commission', 'edit'),
(2, 'hrp_commission', 'delete'),
(2, 'hrp_deduction', 'view'),
(2, 'hrp_deduction', 'create'),
(2, 'hrp_deduction', 'edit'),
(2, 'hrp_deduction', 'delete'),
(2, 'hrp_bonus_kpi', 'view'),
(2, 'hrp_bonus_kpi', 'create'),
(2, 'hrp_bonus_kpi', 'edit'),
(2, 'hrp_bonus_kpi', 'delete'),
(2, 'hrp_insurrance', 'view'),
(2, 'hrp_insurrance', 'create'),
(2, 'hrp_insurrance', 'edit'),
(2, 'hrp_insurrance', 'delete'),
(2, 'hrp_payslip', 'view'),
(2, 'hrp_payslip', 'create'),
(2, 'hrp_payslip', 'edit'),
(2, 'hrp_payslip', 'delete'),
(2, 'hrp_payslip_template', 'view'),
(2, 'hrp_payslip_template', 'create'),
(2, 'hrp_payslip_template', 'edit'),
(2, 'hrp_payslip_template', 'delete'),
(2, 'hrp_income_tax', 'view'),
(2, 'hrp_report', 'view'),
(2, 'hrp_setting', 'create'),
(2, 'hrp_setting', 'edit'),
(2, 'hrp_setting', 'delete'),
(2, 'accounting_dashboard', 'view'),
(2, 'accounting_banking', 'view'),
(2, 'accounting_banking', 'create'),
(2, 'accounting_banking', 'edit'),
(2, 'accounting_banking', 'delete'),
(2, 'accounting_transaction', 'view'),
(2, 'accounting_transaction', 'create'),
(2, 'accounting_transaction', 'edit'),
(2, 'accounting_transaction', 'delete'),
(2, 'accounting_registers', 'view'),
(2, 'accounting_registers', 'create'),
(2, 'accounting_registers', 'edit'),
(2, 'accounting_registers', 'delete'),
(2, 'accounting_bills', 'view'),
(2, 'accounting_bills', 'create'),
(2, 'accounting_checks', 'view'),
(2, 'accounting_checks', 'create'),
(2, 'accounting_journal_entry', 'view'),
(2, 'accounting_journal_entry', 'create'),
(2, 'accounting_journal_entry', 'edit'),
(2, 'accounting_journal_entry', 'delete'),
(2, 'accounting_transfer', 'view'),
(2, 'accounting_transfer', 'create'),
(2, 'accounting_transfer', 'edit'),
(2, 'accounting_transfer', 'delete'),
(2, 'accounting_chart_of_accounts', 'view'),
(2, 'accounting_chart_of_accounts', 'create'),
(2, 'accounting_chart_of_accounts', 'edit'),
(2, 'accounting_chart_of_accounts', 'delete'),
(2, 'accounting_reconcile', 'view'),
(2, 'accounting_reconcile', 'create'),
(2, 'accounting_reconcile', 'edit'),
(2, 'accounting_budget', 'view'),
(2, 'accounting_budget', 'create'),
(2, 'accounting_budget', 'edit'),
(2, 'accounting_budget', 'delete'),
(2, 'accounting_vendor', 'view'),
(2, 'accounting_vendor', 'create'),
(2, 'accounting_vendor', 'edit'),
(2, 'accounting_vendor', 'delete'),
(2, 'accounting_report', 'view'),
(2, 'accounting_setting', 'view'),
(2, 'accounting_setting', 'edit'),
(21, 'contracts', 'view'),
(21, 'contracts', 'create'),
(21, 'contracts', 'edit'),
(21, 'contracts', 'delete'),
(21, 'contracts', 'view_all_templates'),
(21, 'credit_notes', 'view'),
(21, 'credit_notes', 'create'),
(21, 'credit_notes', 'edit'),
(21, 'credit_notes', 'delete'),
(21, 'customers', 'view'),
(21, 'customers', 'create'),
(21, 'customers', 'edit'),
(21, 'customers', 'delete'),
(21, 'email_templates', 'view'),
(21, 'estimates', 'view'),
(21, 'estimates', 'create'),
(21, 'estimates', 'edit'),
(21, 'estimates', 'delete'),
(21, 'expenses', 'view'),
(21, 'expenses', 'create'),
(21, 'expenses', 'edit'),
(21, 'expenses', 'delete'),
(21, 'invoices', 'view'),
(21, 'invoices', 'create'),
(21, 'invoices', 'edit'),
(21, 'invoices', 'delete'),
(21, 'items', 'view'),
(21, 'items', 'create'),
(21, 'items', 'edit'),
(21, 'items', 'delete'),
(21, 'knowledge_base', 'view'),
(21, 'knowledge_base', 'create'),
(21, 'knowledge_base', 'edit'),
(21, 'knowledge_base', 'delete'),
(21, 'payments', 'view'),
(21, 'payments', 'create'),
(21, 'payments', 'edit'),
(21, 'payments', 'delete'),
(21, 'projects', 'view'),
(21, 'projects', 'create'),
(21, 'projects', 'edit'),
(21, 'projects', 'delete'),
(21, 'projects', 'create_milestones'),
(21, 'projects', 'edit_milestones'),
(21, 'projects', 'delete_milestones'),
(21, 'proposals', 'view'),
(21, 'proposals', 'create'),
(21, 'proposals', 'edit'),
(21, 'proposals', 'delete'),
(21, 'proposals', 'view_all_templates'),
(21, 'reports', 'view'),
(21, 'reports', 'view-timesheets'),
(21, 'roles', 'view'),
(21, 'roles', 'create'),
(21, 'roles', 'edit'),
(21, 'roles', 'delete'),
(21, 'settings', 'view'),
(21, 'settings', 'edit'),
(21, 'staff', 'view'),
(21, 'staff', 'create'),
(21, 'staff', 'edit'),
(21, 'staff', 'delete'),
(21, 'subscriptions', 'view'),
(21, 'subscriptions', 'create'),
(21, 'subscriptions', 'edit'),
(21, 'subscriptions', 'delete'),
(21, 'tasks', 'view'),
(21, 'tasks', 'create'),
(21, 'tasks', 'edit'),
(21, 'tasks', 'delete'),
(21, 'tasks', 'edit_timesheet'),
(21, 'tasks', 'edit_own_timesheet'),
(21, 'tasks', 'delete_timesheet'),
(21, 'tasks', 'delete_own_timesheet'),
(21, 'checklist_templates', 'create'),
(21, 'checklist_templates', 'delete'),
(21, 'estimate_request', 'view'),
(21, 'estimate_request', 'create'),
(21, 'estimate_request', 'edit'),
(21, 'estimate_request', 'delete'),
(21, 'leads', 'view'),
(21, 'leads', 'delete'),
(21, 'purchase_items', 'view'),
(21, 'purchase_items', 'create'),
(21, 'purchase_items', 'edit'),
(21, 'purchase_items', 'delete'),
(21, 'purchase_vendors', 'view'),
(21, 'purchase_vendors', 'create'),
(21, 'purchase_vendors', 'edit'),
(21, 'purchase_vendors', 'delete'),
(21, 'purchase_vendor_items', 'view'),
(21, 'purchase_vendor_items', 'create'),
(21, 'purchase_vendor_items', 'edit'),
(21, 'purchase_vendor_items', 'delete'),
(21, 'purchase_request', 'view'),
(21, 'purchase_request', 'create'),
(21, 'purchase_request', 'edit'),
(21, 'purchase_request', 'delete'),
(21, 'purchase_quotations', 'view'),
(21, 'purchase_quotations', 'create'),
(21, 'purchase_quotations', 'edit'),
(21, 'purchase_quotations', 'delete'),
(21, 'purchase_orders', 'view'),
(21, 'purchase_orders', 'create'),
(21, 'purchase_orders', 'edit'),
(21, 'purchase_orders', 'delete'),
(21, 'purchase_faf', 'view'),
(21, 'purchase_faf', 'create'),
(21, 'purchase_faf', 'edit'),
(21, 'purchase_order_return', 'view'),
(21, 'purchase_order_return', 'create'),
(21, 'purchase_order_return', 'edit'),
(21, 'purchase_order_return', 'delete'),
(21, 'purchase_contracts', 'view'),
(21, 'purchase_contracts', 'create'),
(21, 'purchase_contracts', 'edit'),
(21, 'purchase_contracts', 'delete'),
(21, 'purchase_invoices', 'view'),
(21, 'purchase_invoices', 'create'),
(21, 'purchase_invoices', 'edit'),
(21, 'purchase_invoices', 'delete'),
(21, 'purchase_debit_notes', 'view'),
(21, 'purchase_debit_notes', 'create'),
(21, 'purchase_debit_notes', 'edit'),
(21, 'purchase_debit_notes', 'delete'),
(21, 'purchase_reports', 'view'),
(21, 'purchase_settings', 'edit'),
(21, 'purchase_order_change_approve_status', 'edit'),
(21, 'purchase_estimate_change_approve_status', 'edit'),
(21, 'purchase_request_change_approve_status', 'edit'),
(21, 'purchase_invoice_change_approve_status', 'edit'),
(21, 'warehouse', 'view'),
(21, 'warehouse', 'create'),
(21, 'warehouse', 'edit'),
(21, 'warehouse', 'delete'),
(21, 'attendance_management', 'view_own'),
(21, 'leave_management', 'view'),
(21, 'route_management', 'view'),
(21, 'additional_timesheets_management', 'view'),
(21, 'additional_timesheets_specific_employees', 'create'),
(21, 'table_shiftwork_management', 'view'),
(21, 'report_management', 'view'),
(21, 'table_workplace_management', 'view'),
(21, 'approvify', 'view'),
(21, 'approvify', 'create'),
(21, 'approvify', 'edit'),
(21, 'approvify', 'delete'),
(21, 'approvify', 'create_category'),
(21, 'hrm_dashboard', 'view'),
(21, 'staffmanage_orgchart', 'view'),
(21, 'staffmanage_orgchart', 'create'),
(21, 'staffmanage_orgchart', 'edit'),
(21, 'staffmanage_orgchart', 'delete'),
(21, 'hrm_reception_staff', 'view'),
(21, 'hrm_reception_staff', 'create'),
(21, 'hrm_reception_staff', 'edit'),
(21, 'hrm_reception_staff', 'delete'),
(21, 'hrm_hr_records', 'view'),
(21, 'hrm_hr_records', 'create'),
(21, 'hrm_hr_records', 'edit'),
(21, 'hrm_hr_records', 'delete'),
(21, 'staffmanage_job_position', 'view'),
(21, 'staffmanage_job_position', 'create'),
(21, 'staffmanage_job_position', 'edit'),
(21, 'staffmanage_job_position', 'delete'),
(21, 'staffmanage_training', 'view'),
(21, 'staffmanage_training', 'create'),
(21, 'staffmanage_training', 'edit'),
(21, 'staffmanage_training', 'delete'),
(21, 'hr_manage_q_a', 'view'),
(21, 'hr_manage_q_a', 'create'),
(21, 'hr_manage_q_a', 'edit'),
(21, 'hr_manage_q_a', 'delete'),
(21, 'hrm_contract', 'view'),
(21, 'hrm_contract', 'create'),
(21, 'hrm_contract', 'edit'),
(21, 'hrm_contract', 'delete'),
(21, 'hrm_dependent_person', 'view'),
(21, 'hrm_dependent_person', 'create'),
(21, 'hrm_dependent_person', 'edit'),
(21, 'hrm_dependent_person', 'delete'),
(21, 'hrm_procedures_for_quitting_work', 'view'),
(21, 'hrm_procedures_for_quitting_work', 'create'),
(21, 'hrm_procedures_for_quitting_work', 'edit'),
(21, 'hrm_procedures_for_quitting_work', 'delete'),
(21, 'hrm_report', 'view'),
(21, 'hrm_setting', 'view'),
(21, 'hrm_setting', 'create'),
(21, 'hrm_setting', 'edit'),
(21, 'hrm_setting', 'delete'),
(21, 'hrp_employee', 'view'),
(21, 'hrp_employee', 'create'),
(21, 'hrp_employee', 'edit'),
(21, 'hrp_employee', 'delete'),
(21, 'hrp_attendance', 'view'),
(21, 'hrp_attendance', 'create'),
(21, 'hrp_attendance', 'edit'),
(21, 'hrp_attendance', 'delete'),
(21, 'hrp_commission', 'view'),
(21, 'hrp_commission', 'create'),
(21, 'hrp_commission', 'edit'),
(21, 'hrp_commission', 'delete'),
(21, 'hrp_deduction', 'view'),
(21, 'hrp_deduction', 'create'),
(21, 'hrp_deduction', 'edit'),
(21, 'hrp_deduction', 'delete'),
(21, 'hrp_bonus_kpi', 'view'),
(21, 'hrp_bonus_kpi', 'create'),
(21, 'hrp_bonus_kpi', 'edit'),
(21, 'hrp_bonus_kpi', 'delete'),
(21, 'hrp_insurrance', 'view'),
(21, 'hrp_insurrance', 'create'),
(21, 'hrp_insurrance', 'edit'),
(21, 'hrp_insurrance', 'delete'),
(21, 'hrp_payslip', 'view'),
(21, 'hrp_payslip', 'create'),
(21, 'hrp_payslip', 'edit'),
(21, 'hrp_payslip', 'delete'),
(21, 'hrp_payslip_template', 'view'),
(21, 'hrp_payslip_template', 'create'),
(21, 'hrp_payslip_template', 'edit'),
(21, 'hrp_payslip_template', 'delete'),
(21, 'hrp_income_tax', 'view'),
(21, 'hrp_report', 'view'),
(21, 'hrp_setting', 'create'),
(21, 'hrp_setting', 'edit'),
(21, 'hrp_setting', 'delete'),
(21, 'accounting_dashboard', 'view'),
(21, 'accounting_banking', 'view'),
(21, 'accounting_banking', 'create'),
(21, 'accounting_banking', 'edit'),
(21, 'accounting_banking', 'delete'),
(21, 'accounting_transaction', 'view'),
(21, 'accounting_transaction', 'create'),
(21, 'accounting_transaction', 'edit'),
(21, 'accounting_transaction', 'delete'),
(21, 'accounting_registers', 'view'),
(21, 'accounting_registers', 'create'),
(21, 'accounting_registers', 'edit'),
(21, 'accounting_registers', 'delete'),
(21, 'accounting_bills', 'view'),
(21, 'accounting_bills', 'create'),
(21, 'accounting_checks', 'view'),
(21, 'accounting_checks', 'create'),
(21, 'accounting_journal_entry', 'view'),
(21, 'accounting_journal_entry', 'create'),
(21, 'accounting_journal_entry', 'edit'),
(21, 'accounting_journal_entry', 'delete'),
(21, 'accounting_transfer', 'view'),
(21, 'accounting_transfer', 'create'),
(21, 'accounting_transfer', 'edit'),
(21, 'accounting_transfer', 'delete'),
(21, 'accounting_chart_of_accounts', 'view'),
(21, 'accounting_chart_of_accounts', 'create'),
(21, 'accounting_chart_of_accounts', 'edit'),
(21, 'accounting_chart_of_accounts', 'delete'),
(21, 'accounting_reconcile', 'view'),
(21, 'accounting_reconcile', 'create'),
(21, 'accounting_reconcile', 'edit'),
(21, 'accounting_budget', 'view'),
(21, 'accounting_budget', 'create'),
(21, 'accounting_budget', 'edit'),
(21, 'accounting_budget', 'delete'),
(21, 'accounting_vendor', 'view'),
(21, 'accounting_vendor', 'create'),
(21, 'accounting_vendor', 'edit'),
(21, 'accounting_vendor', 'delete'),
(21, 'accounting_report', 'view'),
(21, 'accounting_setting', 'view'),
(21, 'accounting_setting', 'edit'),
(36, 'purchase_request', 'view_own'),
(36, 'purchase_request', 'create'),
(36, 'purchase_request', 'edit'),
(36, 'approvify', 'view'),
(36, 'approvify', 'create'),
(36, 'approvify', 'edit'),
(37, 'purchase_request', 'view_own'),
(37, 'purchase_request', 'create'),
(37, 'purchase_request', 'edit'),
(37, 'approvify', 'view'),
(37, 'approvify', 'create'),
(37, 'approvify', 'edit'),
(25, 'contracts', 'view'),
(25, 'contracts', 'create'),
(25, 'contracts', 'edit'),
(25, 'contracts', 'view_all_templates'),
(25, 'credit_notes', 'view'),
(25, 'credit_notes', 'create'),
(25, 'credit_notes', 'edit'),
(25, 'customers', 'view'),
(25, 'customers', 'create'),
(25, 'customers', 'edit'),
(25, 'estimates', 'view'),
(25, 'estimates', 'create'),
(25, 'estimates', 'edit'),
(25, 'expenses', 'view'),
(25, 'expenses', 'create'),
(25, 'expenses', 'edit'),
(25, 'invoices', 'view'),
(25, 'invoices', 'create'),
(25, 'invoices', 'edit'),
(25, 'items', 'view'),
(25, 'items', 'create'),
(25, 'items', 'edit'),
(25, 'knowledge_base', 'view'),
(25, 'knowledge_base', 'create'),
(25, 'knowledge_base', 'edit'),
(25, 'payments', 'view'),
(25, 'payments', 'create'),
(25, 'payments', 'edit'),
(25, 'projects', 'view'),
(25, 'projects', 'create'),
(25, 'projects', 'edit'),
(25, 'projects', 'create_milestones'),
(25, 'projects', 'edit_milestones'),
(25, 'proposals', 'view'),
(25, 'proposals', 'create'),
(25, 'proposals', 'edit'),
(25, 'proposals', 'view_all_templates'),
(25, 'reports', 'view'),
(25, 'reports', 'view-timesheets'),
(25, 'roles', 'view'),
(25, 'roles', 'create'),
(25, 'roles', 'edit'),
(25, 'settings', 'view'),
(25, 'settings', 'edit'),
(25, 'staff', 'view'),
(25, 'staff', 'create'),
(25, 'staff', 'edit'),
(25, 'subscriptions', 'view'),
(25, 'subscriptions', 'create'),
(25, 'subscriptions', 'edit'),
(25, 'tasks', 'view'),
(25, 'tasks', 'create'),
(25, 'tasks', 'edit'),
(25, 'tasks', 'edit_timesheet'),
(25, 'tasks', 'edit_own_timesheet'),
(25, 'checklist_templates', 'create'),
(25, 'estimate_request', 'view'),
(25, 'estimate_request', 'create'),
(25, 'estimate_request', 'edit'),
(25, 'leads', 'view'),
(25, 'purchase_items', 'view'),
(25, 'purchase_items', 'create'),
(25, 'purchase_items', 'edit'),
(25, 'purchase_vendors', 'view'),
(25, 'purchase_vendors', 'create'),
(25, 'purchase_vendors', 'edit'),
(25, 'purchase_vendor_items', 'view'),
(25, 'purchase_vendor_items', 'create'),
(25, 'purchase_vendor_items', 'edit'),
(25, 'purchase_request', 'view'),
(25, 'purchase_request', 'create'),
(25, 'purchase_request', 'edit'),
(25, 'purchase_quotations', 'view'),
(25, 'purchase_quotations', 'create'),
(25, 'purchase_quotations', 'edit'),
(25, 'purchase_orders', 'view'),
(25, 'purchase_orders', 'create'),
(25, 'purchase_orders', 'edit'),
(25, 'purchase_faf', 'view'),
(25, 'purchase_faf', 'create'),
(25, 'purchase_faf', 'edit'),
(25, 'purchase_order_return', 'view'),
(25, 'purchase_order_return', 'create'),
(25, 'purchase_order_return', 'edit'),
(25, 'purchase_contracts', 'view'),
(25, 'purchase_contracts', 'create'),
(25, 'purchase_contracts', 'edit'),
(25, 'purchase_invoices', 'view'),
(25, 'purchase_invoices', 'create'),
(25, 'purchase_invoices', 'edit'),
(25, 'purchase_debit_notes', 'view'),
(25, 'purchase_debit_notes', 'create'),
(25, 'purchase_debit_notes', 'edit'),
(25, 'purchase_reports', 'view'),
(25, 'purchase_settings', 'edit'),
(25, 'purchase_order_change_approve_status', 'edit'),
(25, 'purchase_estimate_change_approve_status', 'edit'),
(25, 'purchase_request_change_approve_status', 'edit'),
(25, 'purchase_invoice_change_approve_status', 'edit'),
(25, 'warehouse', 'view'),
(25, 'warehouse', 'create'),
(25, 'warehouse', 'edit'),
(25, 'attendance_management', 'view_own'),
(25, 'leave_management', 'view'),
(25, 'route_management', 'view'),
(25, 'additional_timesheets_management', 'view'),
(25, 'additional_timesheets_specific_employees', 'create'),
(25, 'table_shiftwork_management', 'view'),
(25, 'report_management', 'view'),
(25, 'table_workplace_management', 'view'),
(25, 'approvify', 'view'),
(25, 'approvify', 'create'),
(25, 'approvify', 'edit'),
(25, 'approvify', 'create_category'),
(25, 'hrm_dashboard', 'view'),
(25, 'staffmanage_orgchart', 'view'),
(25, 'staffmanage_orgchart', 'create'),
(25, 'staffmanage_orgchart', 'edit'),
(25, 'hrm_reception_staff', 'view'),
(25, 'hrm_reception_staff', 'create'),
(25, 'hrm_reception_staff', 'edit'),
(25, 'hrm_hr_records', 'view'),
(25, 'hrm_hr_records', 'create'),
(25, 'hrm_hr_records', 'edit'),
(25, 'staffmanage_job_position', 'view'),
(25, 'staffmanage_job_position', 'create'),
(25, 'staffmanage_job_position', 'edit'),
(25, 'staffmanage_training', 'view'),
(25, 'staffmanage_training', 'create'),
(25, 'staffmanage_training', 'edit'),
(25, 'hr_manage_q_a', 'view'),
(25, 'hr_manage_q_a', 'create'),
(25, 'hr_manage_q_a', 'edit'),
(25, 'hrm_contract', 'view'),
(25, 'hrm_contract', 'create'),
(25, 'hrm_contract', 'edit'),
(25, 'hrm_dependent_person', 'view'),
(25, 'hrm_dependent_person', 'create'),
(25, 'hrm_dependent_person', 'edit'),
(25, 'hrm_procedures_for_quitting_work', 'view'),
(25, 'hrm_procedures_for_quitting_work', 'create'),
(25, 'hrm_procedures_for_quitting_work', 'edit'),
(25, 'hrm_report', 'view'),
(25, 'hrm_setting', 'view'),
(25, 'hrm_setting', 'create'),
(25, 'hrm_setting', 'edit'),
(25, 'hrp_employee', 'view'),
(25, 'hrp_employee', 'create'),
(25, 'hrp_employee', 'edit'),
(25, 'hrp_attendance', 'view'),
(25, 'hrp_attendance', 'create'),
(25, 'hrp_attendance', 'edit'),
(25, 'hrp_commission', 'view'),
(25, 'hrp_commission', 'create'),
(25, 'hrp_commission', 'edit'),
(25, 'hrp_deduction', 'view'),
(25, 'hrp_deduction', 'create'),
(25, 'hrp_deduction', 'edit'),
(25, 'hrp_bonus_kpi', 'view'),
(25, 'hrp_bonus_kpi', 'create'),
(25, 'hrp_bonus_kpi', 'edit'),
(25, 'hrp_insurrance', 'view'),
(25, 'hrp_insurrance', 'create'),
(25, 'hrp_insurrance', 'edit'),
(25, 'hrp_payslip', 'view'),
(25, 'hrp_payslip', 'create'),
(25, 'hrp_payslip', 'edit'),
(25, 'hrp_payslip_template', 'view'),
(25, 'hrp_payslip_template', 'create'),
(25, 'hrp_payslip_template', 'edit'),
(25, 'hrp_income_tax', 'view'),
(25, 'hrp_report', 'view'),
(25, 'hrp_setting', 'view'),
(25, 'hrp_setting', 'create'),
(25, 'hrp_setting', 'edit'),
(25, 'fixed_equipment_dashboard', 'view'),
(25, 'fixed_equipment_assets', 'view'),
(25, 'fixed_equipment_assets', 'create'),
(25, 'fixed_equipment_assets', 'edit'),
(25, 'fixed_equipment_licenses', 'view'),
(25, 'fixed_equipment_licenses', 'create'),
(25, 'fixed_equipment_licenses', 'edit'),
(25, 'fixed_equipment_accessories', 'view'),
(25, 'fixed_equipment_accessories', 'create'),
(25, 'fixed_equipment_accessories', 'edit'),
(25, 'fixed_equipment_consumables', 'view'),
(25, 'fixed_equipment_consumables', 'create'),
(25, 'fixed_equipment_consumables', 'edit'),
(25, 'fixed_equipment_components', 'view'),
(25, 'fixed_equipment_components', 'create'),
(25, 'fixed_equipment_components', 'edit'),
(25, 'fixed_equipment_predefined_kits', 'view'),
(25, 'fixed_equipment_predefined_kits', 'create'),
(25, 'fixed_equipment_predefined_kits', 'edit'),
(25, 'fixed_equipment_requested', 'view'),
(25, 'fixed_equipment_requested', 'create'),
(25, 'fixed_equipment_maintenances', 'view'),
(25, 'fixed_equipment_maintenances', 'create'),
(25, 'fixed_equipment_maintenances', 'edit'),
(25, 'fixed_equipment_audit', 'view'),
(25, 'fixed_equipment_audit', 'create'),
(25, 'fixed_equipment_locations', 'view'),
(25, 'fixed_equipment_locations', 'create'),
(25, 'fixed_equipment_locations', 'edit'),
(25, 'fixed_equipment_inventory', 'view'),
(25, 'fixed_equipment_inventory', 'create'),
(25, 'fixed_equipment_inventory', 'edit'),
(25, 'fixed_equipment_order_list', 'view'),
(25, 'fixed_equipment_order_list', 'create'),
(25, 'fixed_equipment_order_list', 'edit'),
(25, 'fixed_equipment_report', 'view'),
(25, 'fixed_equipment_sign_manager', 'view'),
(25, 'fixed_equipment_sign_manager', 'create'),
(25, 'fixed_equipment_depreciations', 'view'),
(25, 'fixed_equipment_setting_model', 'view'),
(25, 'fixed_equipment_setting_model', 'create'),
(25, 'fixed_equipment_setting_model', 'edit'),
(25, 'fixed_equipment_setting_manufacturer', 'view'),
(25, 'fixed_equipment_setting_manufacturer', 'create'),
(25, 'fixed_equipment_setting_manufacturer', 'edit'),
(25, 'fixed_equipment_setting_depreciation', 'view'),
(25, 'fixed_equipment_setting_depreciation', 'create'),
(25, 'fixed_equipment_setting_depreciation', 'edit'),
(25, 'fixed_equipment_setting_category', 'view'),
(25, 'fixed_equipment_setting_category', 'create'),
(25, 'fixed_equipment_setting_category', 'edit'),
(25, 'fixed_equipment_setting_status_label', 'view'),
(25, 'fixed_equipment_setting_status_label', 'create'),
(25, 'fixed_equipment_setting_status_label', 'edit'),
(25, 'fixed_equipment_setting_custom_field', 'view'),
(25, 'fixed_equipment_setting_custom_field', 'create'),
(25, 'fixed_equipment_setting_custom_field', 'edit'),
(25, 'fixed_equipment_setting_supplier', 'view'),
(25, 'fixed_equipment_setting_supplier', 'create'),
(25, 'fixed_equipment_setting_supplier', 'edit'),
(25, 'accounting_dashboard', 'view'),
(25, 'accounting_banking', 'view'),
(25, 'accounting_banking', 'create'),
(25, 'accounting_banking', 'edit'),
(25, 'accounting_transaction', 'view'),
(25, 'accounting_transaction', 'create'),
(25, 'accounting_transaction', 'edit'),
(25, 'accounting_registers', 'view'),
(25, 'accounting_registers', 'create'),
(25, 'accounting_registers', 'edit'),
(25, 'accounting_bills', 'view'),
(25, 'accounting_bills', 'create'),
(25, 'accounting_checks', 'view'),
(25, 'accounting_checks', 'create'),
(25, 'accounting_journal_entry', 'view'),
(25, 'accounting_journal_entry', 'create'),
(25, 'accounting_journal_entry', 'edit'),
(25, 'accounting_transfer', 'view'),
(25, 'accounting_transfer', 'create'),
(25, 'accounting_transfer', 'edit'),
(25, 'accounting_chart_of_accounts', 'view'),
(25, 'accounting_chart_of_accounts', 'create'),
(25, 'accounting_chart_of_accounts', 'edit'),
(25, 'accounting_reconcile', 'view'),
(25, 'accounting_reconcile', 'create'),
(25, 'accounting_reconcile', 'edit'),
(25, 'accounting_budget', 'view'),
(25, 'accounting_budget', 'create'),
(25, 'accounting_budget', 'edit'),
(25, 'accounting_vendor', 'view'),
(25, 'accounting_vendor', 'create'),
(25, 'accounting_vendor', 'edit'),
(25, 'accounting_report', 'view'),
(25, 'accounting_setting', 'view'),
(25, 'accounting_setting', 'edit'),
(38, 'contracts', 'view'),
(38, 'contracts', 'create'),
(38, 'contracts', 'edit'),
(38, 'contracts', 'view_all_templates'),
(38, 'credit_notes', 'view'),
(38, 'credit_notes', 'create'),
(38, 'credit_notes', 'edit'),
(38, 'customers', 'view'),
(38, 'customers', 'create'),
(38, 'customers', 'edit'),
(38, 'email_templates', 'view'),
(38, 'estimates', 'view'),
(38, 'estimates', 'create'),
(38, 'estimates', 'edit'),
(38, 'expenses', 'view'),
(38, 'expenses', 'create'),
(38, 'expenses', 'edit'),
(38, 'invoices', 'view'),
(38, 'invoices', 'create'),
(38, 'invoices', 'edit'),
(38, 'items', 'view'),
(38, 'items', 'create'),
(38, 'items', 'edit'),
(38, 'knowledge_base', 'view'),
(38, 'knowledge_base', 'create'),
(38, 'knowledge_base', 'edit'),
(38, 'payments', 'view'),
(38, 'payments', 'create'),
(38, 'payments', 'edit'),
(38, 'projects', 'view'),
(38, 'projects', 'create'),
(38, 'projects', 'edit'),
(38, 'projects', 'create_milestones'),
(38, 'projects', 'edit_milestones'),
(38, 'proposals', 'view'),
(38, 'proposals', 'create'),
(38, 'proposals', 'edit'),
(38, 'proposals', 'view_all_templates'),
(38, 'reports', 'view'),
(38, 'reports', 'view-timesheets'),
(38, 'roles', 'view'),
(38, 'roles', 'create'),
(38, 'roles', 'edit'),
(38, 'settings', 'view'),
(38, 'settings', 'edit'),
(38, 'staff', 'view'),
(38, 'staff', 'create'),
(38, 'staff', 'edit'),
(38, 'subscriptions', 'view'),
(38, 'subscriptions', 'create'),
(38, 'subscriptions', 'edit'),
(38, 'tasks', 'view'),
(38, 'tasks', 'create'),
(38, 'tasks', 'edit'),
(38, 'tasks', 'edit_timesheet'),
(38, 'tasks', 'edit_own_timesheet'),
(38, 'checklist_templates', 'create'),
(38, 'estimate_request', 'view'),
(38, 'estimate_request', 'create'),
(38, 'estimate_request', 'edit'),
(38, 'leads', 'view'),
(38, 'purchase_items', 'view'),
(38, 'purchase_items', 'create'),
(38, 'purchase_items', 'edit'),
(38, 'purchase_vendors', 'view'),
(38, 'purchase_vendors', 'create'),
(38, 'purchase_vendors', 'edit'),
(38, 'purchase_vendor_items', 'view'),
(38, 'purchase_vendor_items', 'create'),
(38, 'purchase_vendor_items', 'edit'),
(38, 'purchase_request', 'view'),
(38, 'purchase_request', 'create'),
(38, 'purchase_request', 'edit'),
(38, 'purchase_quotations', 'view'),
(38, 'purchase_quotations', 'create'),
(38, 'purchase_quotations', 'edit'),
(38, 'purchase_orders', 'view'),
(38, 'purchase_orders', 'create'),
(38, 'purchase_orders', 'edit'),
(38, 'purchase_faf', 'view'),
(38, 'purchase_faf', 'create'),
(38, 'purchase_faf', 'edit'),
(38, 'purchase_order_return', 'view'),
(38, 'purchase_order_return', 'create'),
(38, 'purchase_order_return', 'edit'),
(38, 'purchase_contracts', 'view'),
(38, 'purchase_contracts', 'create'),
(38, 'purchase_contracts', 'edit'),
(38, 'purchase_invoices', 'view'),
(38, 'purchase_invoices', 'create'),
(38, 'purchase_invoices', 'edit'),
(38, 'purchase_debit_notes', 'view'),
(38, 'purchase_debit_notes', 'create'),
(38, 'purchase_debit_notes', 'edit'),
(38, 'purchase_reports', 'view'),
(38, 'purchase_settings', 'edit'),
(38, 'purchase_order_change_approve_status', 'edit'),
(38, 'purchase_estimate_change_approve_status', 'edit'),
(38, 'purchase_request_change_approve_status', 'edit'),
(38, 'purchase_invoice_change_approve_status', 'edit'),
(38, 'warehouse', 'view'),
(38, 'warehouse', 'create'),
(38, 'warehouse', 'edit'),
(38, 'attendance_management', 'view_own'),
(38, 'leave_management', 'view'),
(38, 'route_management', 'view'),
(38, 'additional_timesheets_management', 'view'),
(38, 'additional_timesheets_specific_employees', 'create'),
(38, 'table_shiftwork_management', 'view'),
(38, 'report_management', 'view'),
(38, 'table_workplace_management', 'view'),
(38, 'approvify', 'view'),
(38, 'approvify', 'create'),
(38, 'approvify', 'edit'),
(38, 'approvify', 'create_category'),
(38, 'hrm_dashboard', 'view'),
(38, 'staffmanage_orgchart', 'view'),
(38, 'staffmanage_orgchart', 'create'),
(38, 'staffmanage_orgchart', 'edit'),
(38, 'hrm_reception_staff', 'view'),
(38, 'hrm_reception_staff', 'create'),
(38, 'hrm_reception_staff', 'edit'),
(38, 'hrm_hr_records', 'view'),
(38, 'hrm_hr_records', 'create'),
(38, 'hrm_hr_records', 'edit'),
(38, 'staffmanage_job_position', 'view'),
(38, 'staffmanage_job_position', 'create'),
(38, 'staffmanage_job_position', 'edit'),
(38, 'staffmanage_training', 'view'),
(38, 'staffmanage_training', 'create'),
(38, 'staffmanage_training', 'edit'),
(38, 'hr_manage_q_a', 'view'),
(38, 'hr_manage_q_a', 'create'),
(38, 'hr_manage_q_a', 'edit'),
(38, 'hrm_contract', 'view'),
(38, 'hrm_contract', 'create'),
(38, 'hrm_contract', 'edit'),
(38, 'hrm_dependent_person', 'view'),
(38, 'hrm_dependent_person', 'create'),
(38, 'hrm_dependent_person', 'edit'),
(38, 'hrm_procedures_for_quitting_work', 'view'),
(38, 'hrm_procedures_for_quitting_work', 'create'),
(38, 'hrm_procedures_for_quitting_work', 'edit'),
(38, 'hrm_report', 'view'),
(38, 'hrm_setting', 'view'),
(38, 'hrm_setting', 'create'),
(38, 'hrm_setting', 'edit'),
(38, 'hrp_employee', 'view'),
(38, 'hrp_employee', 'create'),
(38, 'hrp_employee', 'edit'),
(38, 'hrp_attendance', 'view'),
(38, 'hrp_attendance', 'create'),
(38, 'hrp_attendance', 'edit'),
(38, 'hrp_commission', 'view'),
(38, 'hrp_commission', 'create'),
(38, 'hrp_commission', 'edit'),
(38, 'hrp_deduction', 'view');
INSERT INTO `tblstaff_permissions` (`staff_id`, `feature`, `capability`) VALUES
(38, 'hrp_deduction', 'create'),
(38, 'hrp_deduction', 'edit'),
(38, 'hrp_bonus_kpi', 'view'),
(38, 'hrp_bonus_kpi', 'create'),
(38, 'hrp_bonus_kpi', 'edit'),
(38, 'hrp_insurrance', 'view'),
(38, 'hrp_insurrance', 'create'),
(38, 'hrp_insurrance', 'edit'),
(38, 'hrp_payslip', 'view'),
(38, 'hrp_payslip', 'create'),
(38, 'hrp_payslip', 'edit'),
(38, 'hrp_payslip_template', 'view'),
(38, 'hrp_payslip_template', 'create'),
(38, 'hrp_payslip_template', 'edit'),
(38, 'hrp_income_tax', 'view'),
(38, 'hrp_report', 'view'),
(38, 'hrp_setting', 'create'),
(38, 'hrp_setting', 'edit'),
(38, 'accounting_dashboard', 'view'),
(38, 'accounting_banking', 'view'),
(38, 'accounting_banking', 'create'),
(38, 'accounting_banking', 'edit'),
(38, 'accounting_transaction', 'view'),
(38, 'accounting_transaction', 'create'),
(38, 'accounting_transaction', 'edit'),
(38, 'accounting_registers', 'view'),
(38, 'accounting_registers', 'create'),
(38, 'accounting_registers', 'edit'),
(38, 'accounting_bills', 'view'),
(38, 'accounting_bills', 'create'),
(38, 'accounting_checks', 'view'),
(38, 'accounting_checks', 'create'),
(38, 'accounting_journal_entry', 'view'),
(38, 'accounting_journal_entry', 'create'),
(38, 'accounting_journal_entry', 'edit'),
(38, 'accounting_transfer', 'view'),
(38, 'accounting_transfer', 'create'),
(38, 'accounting_transfer', 'edit'),
(38, 'accounting_chart_of_accounts', 'view'),
(38, 'accounting_chart_of_accounts', 'create'),
(38, 'accounting_chart_of_accounts', 'edit'),
(38, 'accounting_reconcile', 'view'),
(38, 'accounting_reconcile', 'create'),
(38, 'accounting_reconcile', 'edit'),
(38, 'accounting_budget', 'view'),
(38, 'accounting_budget', 'create'),
(38, 'accounting_budget', 'edit'),
(38, 'accounting_vendor', 'view'),
(38, 'accounting_vendor', 'create'),
(38, 'accounting_vendor', 'edit'),
(38, 'accounting_report', 'view'),
(38, 'accounting_setting', 'view'),
(38, 'accounting_setting', 'edit'),
(32, 'purchase_request', 'view_own'),
(19, 'purchase_items', 'view'),
(19, 'purchase_vendors', 'view'),
(19, 'purchase_vendor_items', 'view'),
(19, 'purchase_request', 'view'),
(19, 'purchase_request', 'edit'),
(19, 'purchase_quotations', 'view'),
(19, 'purchase_orders', 'view'),
(19, 'purchase_orders', 'edit'),
(19, 'purchase_faf', 'view'),
(19, 'purchase_faf', 'edit'),
(19, 'purchase_order_return', 'view'),
(19, 'purchase_order_return', 'edit'),
(19, 'purchase_contracts', 'view'),
(19, 'purchase_contracts', 'edit'),
(19, 'purchase_invoices', 'view'),
(19, 'purchase_invoices', 'edit'),
(19, 'purchase_debit_notes', 'view'),
(19, 'purchase_debit_notes', 'edit'),
(19, 'purchase_reports', 'view'),
(19, 'approvify', 'view'),
(19, 'approvify', 'edit'),
(35, 'purchase_request', 'view_own'),
(35, 'purchase_request', 'edit'),
(35, 'approvify', 'view'),
(35, 'approvify', 'edit'),
(24, 'contracts', 'view'),
(24, 'contracts', 'create'),
(24, 'contracts', 'edit'),
(24, 'contracts', 'view_all_templates'),
(24, 'credit_notes', 'view'),
(24, 'credit_notes', 'create'),
(24, 'credit_notes', 'edit'),
(24, 'customers', 'view'),
(24, 'customers', 'create'),
(24, 'customers', 'edit'),
(24, 'email_templates', 'view'),
(24, 'estimates', 'view'),
(24, 'estimates', 'create'),
(24, 'estimates', 'edit'),
(24, 'expenses', 'view'),
(24, 'expenses', 'create'),
(24, 'expenses', 'edit'),
(24, 'invoices', 'view'),
(24, 'invoices', 'create'),
(24, 'invoices', 'edit'),
(24, 'items', 'view'),
(24, 'items', 'create'),
(24, 'items', 'edit'),
(24, 'knowledge_base', 'view'),
(24, 'knowledge_base', 'create'),
(24, 'knowledge_base', 'edit'),
(24, 'payments', 'view'),
(24, 'payments', 'create'),
(24, 'payments', 'edit'),
(24, 'projects', 'view'),
(24, 'projects', 'create'),
(24, 'projects', 'edit'),
(24, 'projects', 'create_milestones'),
(24, 'projects', 'edit_milestones'),
(24, 'proposals', 'view'),
(24, 'proposals', 'create'),
(24, 'proposals', 'edit'),
(24, 'proposals', 'view_all_templates'),
(24, 'reports', 'view'),
(24, 'reports', 'view-timesheets'),
(24, 'roles', 'view'),
(24, 'roles', 'create'),
(24, 'roles', 'edit'),
(24, 'settings', 'view'),
(24, 'settings', 'edit'),
(24, 'staff', 'view'),
(24, 'staff', 'create'),
(24, 'staff', 'edit'),
(24, 'subscriptions', 'view'),
(24, 'subscriptions', 'create'),
(24, 'subscriptions', 'edit'),
(24, 'tasks', 'view'),
(24, 'tasks', 'create'),
(24, 'tasks', 'edit'),
(24, 'tasks', 'edit_timesheet'),
(24, 'tasks', 'edit_own_timesheet'),
(24, 'checklist_templates', 'create'),
(24, 'estimate_request', 'view'),
(24, 'estimate_request', 'create'),
(24, 'estimate_request', 'edit'),
(24, 'leads', 'view'),
(24, 'purchase_items', 'view'),
(24, 'purchase_items', 'create'),
(24, 'purchase_items', 'edit'),
(24, 'purchase_vendors', 'view'),
(24, 'purchase_vendors', 'create'),
(24, 'purchase_vendors', 'edit'),
(24, 'purchase_vendor_items', 'view'),
(24, 'purchase_vendor_items', 'create'),
(24, 'purchase_vendor_items', 'edit'),
(24, 'purchase_request', 'view'),
(24, 'purchase_request', 'create'),
(24, 'purchase_request', 'edit'),
(24, 'purchase_quotations', 'view'),
(24, 'purchase_quotations', 'create'),
(24, 'purchase_quotations', 'edit'),
(24, 'purchase_orders', 'view'),
(24, 'purchase_orders', 'create'),
(24, 'purchase_orders', 'edit'),
(24, 'purchase_faf', 'view'),
(24, 'purchase_faf', 'create'),
(24, 'purchase_faf', 'edit'),
(24, 'purchase_order_return', 'view'),
(24, 'purchase_order_return', 'create'),
(24, 'purchase_order_return', 'edit'),
(24, 'purchase_contracts', 'view'),
(24, 'purchase_contracts', 'create'),
(24, 'purchase_contracts', 'edit'),
(24, 'purchase_invoices', 'view'),
(24, 'purchase_invoices', 'create'),
(24, 'purchase_invoices', 'edit'),
(24, 'purchase_debit_notes', 'view'),
(24, 'purchase_debit_notes', 'create'),
(24, 'purchase_debit_notes', 'edit'),
(24, 'purchase_reports', 'view'),
(24, 'purchase_order_change_approve_status', 'edit'),
(24, 'purchase_request_change_approve_status', 'edit'),
(24, 'purchase_invoice_change_approve_status', 'edit'),
(24, 'warehouse', 'view'),
(24, 'warehouse', 'create'),
(24, 'warehouse', 'edit'),
(24, 'attendance_management', 'view_own'),
(24, 'leave_management', 'view'),
(24, 'route_management', 'view'),
(24, 'additional_timesheets_management', 'view'),
(24, 'additional_timesheets_specific_employees', 'create'),
(24, 'table_shiftwork_management', 'view'),
(24, 'report_management', 'view'),
(24, 'table_workplace_management', 'view'),
(24, 'approvify', 'view'),
(24, 'approvify', 'create'),
(24, 'approvify', 'edit'),
(24, 'approvify', 'create_category'),
(24, 'hrm_dashboard', 'view'),
(24, 'staffmanage_orgchart', 'view'),
(24, 'staffmanage_orgchart', 'create'),
(24, 'staffmanage_orgchart', 'edit'),
(24, 'hrm_reception_staff', 'view'),
(24, 'hrm_reception_staff', 'create'),
(24, 'hrm_reception_staff', 'edit'),
(24, 'hrm_hr_records', 'view'),
(24, 'hrm_hr_records', 'create'),
(24, 'hrm_hr_records', 'edit'),
(24, 'staffmanage_job_position', 'view'),
(24, 'staffmanage_job_position', 'create'),
(24, 'staffmanage_job_position', 'edit'),
(24, 'staffmanage_training', 'view'),
(24, 'staffmanage_training', 'create'),
(24, 'staffmanage_training', 'edit'),
(24, 'hr_manage_q_a', 'view'),
(24, 'hr_manage_q_a', 'create'),
(24, 'hr_manage_q_a', 'edit'),
(24, 'hrm_contract', 'view'),
(24, 'hrm_contract', 'create'),
(24, 'hrm_contract', 'edit'),
(24, 'hrm_dependent_person', 'view'),
(24, 'hrm_dependent_person', 'create'),
(24, 'hrm_dependent_person', 'edit'),
(24, 'hrm_procedures_for_quitting_work', 'view'),
(24, 'hrm_procedures_for_quitting_work', 'create'),
(24, 'hrm_procedures_for_quitting_work', 'edit'),
(24, 'hrm_report', 'view'),
(24, 'hrm_setting', 'view'),
(24, 'hrm_setting', 'create'),
(24, 'hrm_setting', 'edit'),
(24, 'hrp_employee', 'view'),
(24, 'hrp_employee', 'create'),
(24, 'hrp_employee', 'edit'),
(24, 'hrp_attendance', 'view'),
(24, 'hrp_attendance', 'create'),
(24, 'hrp_attendance', 'edit'),
(24, 'hrp_commission', 'view'),
(24, 'hrp_commission', 'create'),
(24, 'hrp_commission', 'edit'),
(24, 'hrp_deduction', 'view'),
(24, 'hrp_deduction', 'create'),
(24, 'hrp_deduction', 'edit'),
(24, 'hrp_bonus_kpi', 'view'),
(24, 'hrp_bonus_kpi', 'create'),
(24, 'hrp_bonus_kpi', 'edit'),
(24, 'hrp_insurrance', 'view'),
(24, 'hrp_insurrance', 'create'),
(24, 'hrp_insurrance', 'edit'),
(24, 'hrp_payslip', 'view'),
(24, 'hrp_payslip', 'create'),
(24, 'hrp_payslip', 'edit'),
(24, 'hrp_payslip_template', 'view'),
(24, 'hrp_payslip_template', 'create'),
(24, 'hrp_payslip_template', 'edit'),
(24, 'hrp_income_tax', 'view'),
(24, 'hrp_report', 'view'),
(24, 'hrp_setting', 'create'),
(24, 'hrp_setting', 'edit'),
(24, 'accounting_dashboard', 'view'),
(24, 'accounting_banking', 'view'),
(24, 'accounting_banking', 'create'),
(24, 'accounting_banking', 'edit'),
(24, 'accounting_transaction', 'view'),
(24, 'accounting_transaction', 'create'),
(24, 'accounting_transaction', 'edit'),
(24, 'accounting_registers', 'view'),
(24, 'accounting_registers', 'create'),
(24, 'accounting_registers', 'edit'),
(24, 'accounting_bills', 'view'),
(24, 'accounting_bills', 'create'),
(24, 'accounting_checks', 'view'),
(24, 'accounting_checks', 'create'),
(24, 'accounting_journal_entry', 'view'),
(24, 'accounting_journal_entry', 'create'),
(24, 'accounting_journal_entry', 'edit'),
(24, 'accounting_transfer', 'view'),
(24, 'accounting_transfer', 'create'),
(24, 'accounting_transfer', 'edit'),
(24, 'accounting_chart_of_accounts', 'view'),
(24, 'accounting_chart_of_accounts', 'create'),
(24, 'accounting_chart_of_accounts', 'edit'),
(24, 'accounting_reconcile', 'view'),
(24, 'accounting_reconcile', 'create'),
(24, 'accounting_reconcile', 'edit'),
(24, 'accounting_budget', 'view'),
(24, 'accounting_budget', 'create'),
(24, 'accounting_budget', 'edit'),
(24, 'accounting_vendor', 'view'),
(24, 'accounting_vendor', 'create'),
(24, 'accounting_vendor', 'edit'),
(24, 'accounting_report', 'view'),
(24, 'accounting_setting', 'view'),
(24, 'accounting_setting', 'edit'),
(30, 'purchase_request', 'view_own'),
(30, 'purchase_request', 'edit'),
(34, 'purchase_request', 'view_own'),
(34, 'purchase_request', 'edit'),
(34, 'approvify', 'view'),
(6, 'purchase_items', 'view'),
(6, 'purchase_items', 'create'),
(6, 'purchase_items', 'edit'),
(6, 'purchase_vendors', 'view'),
(6, 'purchase_vendors', 'create'),
(6, 'purchase_vendors', 'edit'),
(6, 'purchase_vendor_items', 'view'),
(6, 'purchase_vendor_items', 'create'),
(6, 'purchase_vendor_items', 'edit'),
(6, 'purchase_request', 'view'),
(6, 'purchase_request', 'create'),
(6, 'purchase_request', 'edit'),
(6, 'purchase_quotations', 'view'),
(6, 'purchase_quotations', 'create'),
(6, 'purchase_quotations', 'edit'),
(6, 'purchase_orders', 'view'),
(6, 'purchase_orders', 'create'),
(6, 'purchase_orders', 'edit'),
(6, 'purchase_faf', 'view'),
(6, 'purchase_faf', 'create'),
(6, 'purchase_faf', 'edit'),
(6, 'purchase_order_return', 'view'),
(6, 'purchase_order_return', 'create'),
(6, 'purchase_order_return', 'edit'),
(6, 'purchase_contracts', 'view'),
(6, 'purchase_contracts', 'create'),
(6, 'purchase_contracts', 'edit'),
(6, 'purchase_invoices', 'view'),
(6, 'purchase_invoices', 'create'),
(6, 'purchase_invoices', 'edit'),
(6, 'purchase_debit_notes', 'view'),
(6, 'purchase_debit_notes', 'create'),
(6, 'purchase_debit_notes', 'edit'),
(6, 'warehouse', 'view'),
(6, 'warehouse', 'create'),
(6, 'warehouse', 'edit'),
(6, 'attendance_management', 'view'),
(6, 'leave_management', 'view'),
(6, 'route_management', 'view'),
(6, 'additional_timesheets_management', 'view'),
(6, 'additional_timesheets_specific_employees', 'create'),
(6, 'table_shiftwork_management', 'view'),
(6, 'report_management', 'view'),
(6, 'table_workplace_management', 'view'),
(6, 'approvify', 'view'),
(6, 'approvify', 'create'),
(6, 'approvify', 'edit'),
(6, 'hrm_dashboard', 'view'),
(6, 'staffmanage_orgchart', 'view'),
(6, 'staffmanage_orgchart', 'create'),
(6, 'staffmanage_orgchart', 'edit'),
(6, 'hrm_reception_staff', 'view'),
(6, 'hrm_reception_staff', 'create'),
(6, 'hrm_reception_staff', 'edit'),
(6, 'hrm_hr_records', 'view'),
(6, 'hrm_hr_records', 'create'),
(6, 'hrm_hr_records', 'edit'),
(6, 'staffmanage_job_position', 'view'),
(6, 'staffmanage_job_position', 'create'),
(6, 'staffmanage_job_position', 'edit'),
(6, 'staffmanage_training', 'view'),
(6, 'staffmanage_training', 'create'),
(6, 'staffmanage_training', 'edit'),
(6, 'hr_manage_q_a', 'view'),
(6, 'hr_manage_q_a', 'create'),
(6, 'hr_manage_q_a', 'edit'),
(6, 'hrm_contract', 'view'),
(6, 'hrm_contract', 'create'),
(6, 'hrm_contract', 'edit'),
(6, 'hrm_dependent_person', 'view'),
(6, 'hrm_dependent_person', 'create'),
(6, 'hrm_dependent_person', 'edit'),
(6, 'hrm_procedures_for_quitting_work', 'view'),
(6, 'hrm_procedures_for_quitting_work', 'create'),
(6, 'hrm_procedures_for_quitting_work', 'edit'),
(6, 'hrp_employee', 'view'),
(6, 'hrp_employee', 'create'),
(6, 'hrp_employee', 'edit'),
(6, 'hrp_attendance', 'view'),
(6, 'hrp_attendance', 'create'),
(6, 'hrp_attendance', 'edit'),
(6, 'hrp_commission', 'view'),
(6, 'hrp_commission', 'create'),
(6, 'hrp_commission', 'edit'),
(6, 'hrp_deduction', 'view'),
(6, 'hrp_deduction', 'create'),
(6, 'hrp_deduction', 'edit'),
(6, 'hrp_bonus_kpi', 'view'),
(6, 'hrp_bonus_kpi', 'create'),
(6, 'hrp_bonus_kpi', 'edit'),
(6, 'hrp_insurrance', 'view'),
(6, 'hrp_insurrance', 'create'),
(6, 'hrp_insurrance', 'edit'),
(6, 'hrp_payslip', 'view'),
(6, 'hrp_payslip', 'create'),
(6, 'hrp_payslip', 'edit'),
(6, 'hrp_payslip_template', 'view'),
(6, 'hrp_payslip_template', 'create'),
(6, 'hrp_payslip_template', 'edit'),
(6, 'hrp_income_tax', 'view'),
(6, 'hrp_report', 'view'),
(6, 'accounting_banking', 'view'),
(6, 'accounting_banking', 'create'),
(6, 'accounting_banking', 'edit'),
(6, 'accounting_transaction', 'view'),
(6, 'accounting_transaction', 'create'),
(6, 'accounting_transaction', 'edit'),
(6, 'accounting_registers', 'view'),
(6, 'accounting_registers', 'create'),
(6, 'accounting_registers', 'edit'),
(6, 'accounting_bills', 'view'),
(6, 'accounting_journal_entry', 'view'),
(6, 'accounting_journal_entry', 'create'),
(6, 'accounting_journal_entry', 'edit'),
(6, 'accounting_transfer', 'view'),
(6, 'accounting_transfer', 'create'),
(6, 'accounting_transfer', 'edit'),
(6, 'accounting_chart_of_accounts', 'view'),
(6, 'accounting_chart_of_accounts', 'create'),
(6, 'accounting_chart_of_accounts', 'edit'),
(6, 'accounting_reconcile', 'view'),
(6, 'accounting_reconcile', 'create'),
(6, 'accounting_reconcile', 'edit'),
(6, 'accounting_budget', 'view'),
(6, 'accounting_budget', 'create'),
(6, 'accounting_budget', 'edit'),
(6, 'accounting_vendor', 'view'),
(6, 'accounting_vendor', 'create'),
(6, 'accounting_vendor', 'edit'),
(28, 'projects', 'view'),
(28, 'projects', 'create'),
(28, 'projects', 'edit'),
(28, 'projects', 'create_milestones'),
(28, 'projects', 'edit_milestones'),
(28, 'purchase_request', 'view_own'),
(28, 'approvify', 'view'),
(27, 'projects', 'view'),
(27, 'projects', 'create'),
(27, 'projects', 'edit'),
(27, 'projects', 'create_milestones'),
(27, 'projects', 'edit_milestones'),
(27, 'purchase_request', 'view_own'),
(27, 'approvify', 'view'),
(23, 'purchase_request', 'view_own'),
(23, 'purchase_request', 'create'),
(23, 'purchase_request', 'edit'),
(23, 'approvify', 'view'),
(23, 'approvify', 'create'),
(23, 'approvify', 'edit'),
(18, 'purchase_request', 'view_own'),
(18, 'purchase_request', 'edit'),
(18, 'approvify', 'view'),
(18, 'approvify', 'edit'),
(39, 'purchase_request', 'view_own'),
(39, 'purchase_request', 'create'),
(39, 'purchase_request', 'edit'),
(41, 'purchase_request', 'view_own'),
(41, 'purchase_request', 'edit'),
(7, 'purchase_request', 'view_own'),
(7, 'purchase_request', 'edit'),
(42, 'purchase_request', 'view'),
(42, 'purchase_request', 'create'),
(42, 'purchase_request', 'edit'),
(42, 'purchase_orders', 'view'),
(42, 'purchase_orders', 'create'),
(42, 'purchase_orders', 'edit'),
(43, 'purchase_request', 'view_own'),
(43, 'purchase_request', 'create'),
(43, 'purchase_request', 'edit'),
(43, 'approvify', 'view'),
(43, 'approvify', 'create'),
(43, 'approvify', 'edit'),
(40, 'purchase_request', 'view_own'),
(40, 'purchase_request', 'create'),
(40, 'purchase_request', 'edit'),
(44, 'purchase_items', 'view'),
(44, 'purchase_items', 'create'),
(44, 'purchase_items', 'edit'),
(44, 'purchase_vendors', 'view'),
(44, 'purchase_vendors', 'create'),
(44, 'purchase_vendors', 'edit'),
(44, 'purchase_request', 'view'),
(44, 'purchase_request', 'create'),
(44, 'purchase_request', 'edit'),
(44, 'purchase_orders', 'view'),
(44, 'purchase_orders', 'create'),
(44, 'purchase_orders', 'edit'),
(44, 'purchase_contracts', 'view'),
(44, 'purchase_contracts', 'create'),
(44, 'purchase_contracts', 'edit'),
(44, 'purchase_invoices', 'view'),
(44, 'purchase_invoices', 'create'),
(44, 'purchase_invoices', 'edit'),
(44, 'purchase_debit_notes', 'view'),
(44, 'purchase_debit_notes', 'create'),
(44, 'purchase_debit_notes', 'edit'),
(44, 'warehouse', 'view'),
(44, 'warehouse', 'create'),
(44, 'warehouse', 'edit'),
(44, 'approvify', 'view'),
(44, 'approvify', 'create'),
(44, 'approvify', 'edit'),
(44, 'approvify', 'create_category'),
(26, 'projects', 'view'),
(26, 'projects', 'create'),
(26, 'projects', 'edit'),
(26, 'projects', 'create_milestones'),
(26, 'projects', 'edit_milestones'),
(26, 'approvify', 'view'),
(26, 'approvify', 'edit'),
(45, 'purchase_request', 'view'),
(45, 'purchase_orders', 'view'),
(45, 'purchase_orders', 'create'),
(45, 'purchase_orders', 'edit'),
(45, 'purchase_invoices', 'view'),
(45, 'purchase_invoices', 'create'),
(45, 'purchase_invoices', 'edit'),
(22, 'purchase_vendors', 'view'),
(22, 'purchase_request', 'view_own'),
(22, 'purchase_request', 'create'),
(22, 'purchase_request', 'edit'),
(22, 'approvify', 'view'),
(22, 'approvify', 'create'),
(22, 'approvify', 'edit'),
(46, 'purchase_request', 'view_own'),
(46, 'purchase_request', 'edit');

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

--
-- Table structure for table `tblstock_take`
--

CREATE TABLE `tblstock_take` (
  `id` int(11) UNSIGNED NOT NULL,
  `description` text DEFAULT NULL COMMENT 'the reason stock take',
  `warehouse_id` int(11) DEFAULT NULL,
  `date_stock_take` date DEFAULT NULL,
  `stock_take_code` varchar(100) DEFAULT NULL COMMENT 'số kiểm kê kho',
  `date_add` date DEFAULT NULL,
  `hour_add` date DEFAULT NULL,
  `staff_id` varchar(100) DEFAULT NULL,
  `approval` int(11) DEFAULT 0 COMMENT 'status approval ',
  `addedfrom` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblstock_take_detail`
--

CREATE TABLE `tblstock_take_detail` (
  `id` int(11) UNSIGNED NOT NULL,
  `stock_take_id` int(11) NOT NULL,
  `commodity_code` varchar(100) DEFAULT NULL,
  `commodity_name` text DEFAULT NULL,
  `unit_id` text DEFAULT NULL,
  `unit_price` varchar(100) DEFAULT NULL,
  `quantity_stock_take` varchar(100) DEFAULT NULL,
  `quantity_accounting_book` varchar(100) DEFAULT NULL,
  `quantity_change` varchar(100) DEFAULT NULL,
  `handling` text DEFAULT NULL,
  `reason` text DEFAULT NULL,
  `approval` int(11) DEFAULT 0 COMMENT 'status approval '
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblsubscriptions`
--

CREATE TABLE `tblsubscriptions` (
  `id` int(11) NOT NULL,
  `name` varchar(191) NOT NULL,
  `description` mediumtext DEFAULT NULL,
  `description_in_item` tinyint(1) NOT NULL DEFAULT 0,
  `clientid` int(11) NOT NULL,
  `date` date DEFAULT NULL,
  `terms` mediumtext DEFAULT NULL,
  `currency` int(11) NOT NULL,
  `tax_id` int(11) NOT NULL DEFAULT 0,
  `stripe_tax_id` varchar(50) DEFAULT NULL,
  `tax_id_2` int(11) NOT NULL DEFAULT 0,
  `stripe_tax_id_2` varchar(50) DEFAULT NULL,
  `stripe_plan_id` mediumtext DEFAULT NULL,
  `stripe_subscription_id` mediumtext NOT NULL,
  `next_billing_cycle` bigint(20) DEFAULT NULL,
  `ends_at` bigint(20) DEFAULT NULL,
  `status` varchar(50) DEFAULT NULL,
  `quantity` int(11) NOT NULL DEFAULT 1,
  `project_id` int(11) NOT NULL DEFAULT 0,
  `hash` varchar(32) NOT NULL,
  `created` datetime NOT NULL,
  `created_from` int(11) NOT NULL,
  `date_subscribed` datetime DEFAULT NULL,
  `in_test_environment` int(11) DEFAULT NULL,
  `last_sent_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tbltaggables`
--

CREATE TABLE `tbltaggables` (
  `rel_id` int(11) NOT NULL,
  `rel_type` varchar(20) NOT NULL,
  `tag_id` int(11) NOT NULL,
  `tag_order` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tbltags`
--

CREATE TABLE `tbltags` (
  `id` int(11) NOT NULL,
  `name` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tbltags`
--

INSERT INTO `tbltags` (`id`, `name`) VALUES
(2, 'Proses Initial'),
(1, 'Sandar TB');

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

--
-- Table structure for table `tbltasks`
--

CREATE TABLE `tbltasks` (
  `id` int(11) NOT NULL,
  `name` longtext DEFAULT NULL,
  `description` mediumtext DEFAULT NULL,
  `priority` int(11) DEFAULT NULL,
  `dateadded` datetime NOT NULL,
  `startdate` date NOT NULL,
  `duedate` date DEFAULT NULL,
  `datefinished` datetime DEFAULT NULL,
  `addedfrom` int(11) NOT NULL,
  `is_added_from_contact` tinyint(1) NOT NULL DEFAULT 0,
  `status` int(11) NOT NULL DEFAULT 0,
  `recurring_type` varchar(10) DEFAULT NULL,
  `repeat_every` int(11) DEFAULT NULL,
  `recurring` int(11) NOT NULL DEFAULT 0,
  `is_recurring_from` int(11) DEFAULT NULL,
  `cycles` int(11) NOT NULL DEFAULT 0,
  `total_cycles` int(11) NOT NULL DEFAULT 0,
  `custom_recurring` tinyint(1) NOT NULL DEFAULT 0,
  `last_recurring_date` date DEFAULT NULL,
  `rel_id` int(11) DEFAULT NULL,
  `rel_type` varchar(30) DEFAULT NULL,
  `is_public` tinyint(1) NOT NULL DEFAULT 0,
  `billable` tinyint(1) NOT NULL DEFAULT 0,
  `billed` tinyint(1) NOT NULL DEFAULT 0,
  `invoice_id` int(11) NOT NULL DEFAULT 0,
  `hourly_rate` decimal(15,2) NOT NULL DEFAULT 0.00,
  `milestone` int(11) DEFAULT 0,
  `kanban_order` int(11) DEFAULT 1,
  `milestone_order` int(11) NOT NULL DEFAULT 0,
  `visible_to_client` tinyint(1) NOT NULL DEFAULT 0,
  `deadline_notified` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tbltasks`
--

INSERT INTO `tbltasks` (`id`, `name`, `description`, `priority`, `dateadded`, `startdate`, `duedate`, `datefinished`, `addedfrom`, `is_added_from_contact`, `status`, `recurring_type`, `repeat_every`, `recurring`, `is_recurring_from`, `cycles`, `total_cycles`, `custom_recurring`, `last_recurring_date`, `rel_id`, `rel_type`, `is_public`, `billable`, `billed`, `invoice_id`, `hourly_rate`, `milestone`, `kanban_order`, `milestone_order`, `visible_to_client`, `deadline_notified`) VALUES
(1, 'Training Over Burden', '', 2, '2024-06-12 11:42:26', '2024-07-01', NULL, NULL, 3, 0, 1, NULL, 0, 0, NULL, 0, 0, 0, NULL, 1, 'project', 0, 1, 0, 0, 0.00, 0, 1, 0, 1, 0),
(2, 'Sebagian yang dibayarkan', '<p>Transfer sebesar 600.000</p>', 2, '2024-08-08 14:08:29', '2024-08-08', NULL, NULL, 3, 0, 4, NULL, NULL, 0, NULL, 0, 0, 0, NULL, NULL, NULL, 1, 1, 0, 0, 0.00, 0, 1, 0, 0, 0),
(3, 'Test Task dari Purchase Invoice', '<p>Test coa.. klihat apakah ada di task</p>', 3, '2024-08-08 15:04:22', '2024-08-08', '2024-08-09', NULL, 1, 0, 4, NULL, 0, 0, NULL, 0, 0, 0, NULL, 13, 'pur_invoice', 0, 0, 0, 0, 0.00, 0, 1, 0, 0, 0),
(4, 'Silahkan dilunaskan sisa nya', '<p>Lunaskan sisanya ya</p>', 2, '2024-08-08 16:14:25', '2024-08-08', NULL, NULL, 3, 0, 4, NULL, 0, 0, NULL, 0, 0, 0, NULL, 19, 'pur_invoice', 1, 1, 0, 0, 0.00, 0, 1, 0, 0, 0),
(5, 'Test PO Approve Task', '<p>Mohon approve nya pa</p>', 2, '2024-09-12 10:12:54', '2024-09-12', NULL, '2024-09-12 10:22:05', 3, 0, 5, NULL, NULL, 0, NULL, 0, 0, 0, NULL, 29, 'pur_order', 0, 1, 0, 0, 0.00, 0, 1, 0, 0, 0),
(7, 'TIME SHEET LOADING JETTY', '', 2, '2025-06-19 09:47:29', '2025-06-19', '2025-06-20', NULL, 3, 0, 4, NULL, NULL, 0, NULL, 0, 0, 0, NULL, 2, 'project', 0, 1, 0, 0, 0.00, 0, 1, 0, 1, 0),
(8, 'TIME SHEET LOADING JETTY 2', '', 2, '2025-06-19 09:49:13', '2025-06-19', '2025-06-20', NULL, 3, 0, 4, NULL, NULL, 0, NULL, 0, 0, 0, NULL, 2, 'project', 0, 1, 0, 0, 0.00, 0, 1, 0, 1, 0);

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

--
-- Table structure for table `tbltaskstimers`
--

CREATE TABLE `tbltaskstimers` (
  `id` int(11) NOT NULL,
  `task_id` int(11) NOT NULL,
  `start_time` varchar(64) NOT NULL,
  `end_time` varchar(64) DEFAULT NULL,
  `staff_id` int(11) NOT NULL,
  `hourly_rate` decimal(15,2) NOT NULL DEFAULT 0.00,
  `note` mediumtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tbltasks_checklist_templates`
--

CREATE TABLE `tbltasks_checklist_templates` (
  `id` int(11) NOT NULL,
  `description` mediumtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tbltask_assigned`
--

CREATE TABLE `tbltask_assigned` (
  `id` int(11) NOT NULL,
  `staffid` int(11) NOT NULL,
  `taskid` int(11) NOT NULL,
  `assigned_from` int(11) NOT NULL DEFAULT 0,
  `is_assigned_from_contact` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tbltask_assigned`
--

INSERT INTO `tbltask_assigned` (`id`, `staffid`, `taskid`, `assigned_from`, `is_assigned_from_contact`) VALUES
(1, 3, 1, 3, 0),
(2, 3, 2, 3, 0),
(3, 2, 3, 1, 0),
(4, 1, 3, 1, 0),
(5, 3, 4, 3, 0),
(8, 3, 7, 3, 0),
(9, 3, 8, 3, 0),
(10, 47, 8, 3, 0),
(11, 48, 8, 3, 0);

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

--
-- Table structure for table `tbltask_checklist_items`
--

CREATE TABLE `tbltask_checklist_items` (
  `id` int(11) NOT NULL,
  `taskid` int(11) NOT NULL,
  `description` mediumtext NOT NULL,
  `finished` int(11) NOT NULL DEFAULT 0,
  `dateadded` datetime NOT NULL,
  `addedfrom` int(11) NOT NULL,
  `finished_from` int(11) DEFAULT 0,
  `list_order` int(11) NOT NULL DEFAULT 0,
  `assigned` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tbltask_comments`
--

CREATE TABLE `tbltask_comments` (
  `id` int(11) NOT NULL,
  `content` mediumtext NOT NULL,
  `taskid` int(11) NOT NULL,
  `staffid` int(11) NOT NULL,
  `contact_id` int(11) NOT NULL DEFAULT 0,
  `file_id` int(11) NOT NULL DEFAULT 0,
  `dateadded` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tbltask_comments`
--

INSERT INTO `tbltask_comments` (`id`, `content`, `taskid`, `staffid`, `contact_id`, `file_id`, `dateadded`) VALUES
(1, '<p>Siap pa laksanakan</p>', 4, 3, 0, 0, '2024-08-08 16:15:09'),
(2, '[task_attachment]', 4, 3, 0, 4, '2024-08-09 10:03:23'),
(3, '<p>Ok approve</p>', 5, 3, 0, 0, '2024-09-12 10:20:39');

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

--
-- Table structure for table `tbltask_followers`
--

CREATE TABLE `tbltask_followers` (
  `id` int(11) NOT NULL,
  `staffid` int(11) NOT NULL,
  `taskid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tbltask_followers`
--

INSERT INTO `tbltask_followers` (`id`, `staffid`, `taskid`) VALUES
(2, 47, 8),
(3, 48, 8);

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

--
-- Table structure for table `tbltaxes`
--

CREATE TABLE `tbltaxes` (
  `id` int(11) NOT NULL,
  `name` varchar(100) NOT NULL,
  `taxrate` decimal(15,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tbltemplates`
--

CREATE TABLE `tbltemplates` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `type` varchar(100) NOT NULL,
  `addedfrom` int(11) NOT NULL,
  `content` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tbltickets`
--

CREATE TABLE `tbltickets` (
  `ticketid` int(11) NOT NULL,
  `adminreplying` int(11) NOT NULL DEFAULT 0,
  `userid` int(11) NOT NULL,
  `contactid` int(11) NOT NULL DEFAULT 0,
  `merged_ticket_id` int(11) DEFAULT NULL,
  `email` mediumtext DEFAULT NULL,
  `name` mediumtext DEFAULT NULL,
  `department` int(11) NOT NULL,
  `priority` int(11) NOT NULL,
  `status` int(11) NOT NULL,
  `service` int(11) DEFAULT NULL,
  `ticketkey` varchar(32) NOT NULL,
  `subject` varchar(191) NOT NULL,
  `message` mediumtext DEFAULT NULL,
  `admin` int(11) DEFAULT NULL,
  `date` datetime NOT NULL,
  `project_id` int(11) NOT NULL DEFAULT 0,
  `lastreply` datetime DEFAULT NULL,
  `clientread` int(11) NOT NULL DEFAULT 0,
  `adminread` int(11) NOT NULL DEFAULT 0,
  `assigned` int(11) NOT NULL DEFAULT 0,
  `staff_id_replying` int(11) DEFAULT NULL,
  `cc` varchar(191) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tbltickets_pipe_log`
--

CREATE TABLE `tbltickets_pipe_log` (
  `id` int(11) NOT NULL,
  `date` datetime NOT NULL,
  `email_to` varchar(100) NOT NULL,
  `name` varchar(191) NOT NULL,
  `subject` varchar(191) NOT NULL,
  `message` longtext NOT NULL,
  `email` varchar(100) NOT NULL,
  `status` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tbltickets_predefined_replies`
--

CREATE TABLE `tbltickets_predefined_replies` (
  `id` int(11) NOT NULL,
  `name` varchar(191) NOT NULL,
  `message` mediumtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tbltickets_priorities`
--

CREATE TABLE `tbltickets_priorities` (
  `priorityid` int(11) NOT NULL,
  `name` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tbltickets_priorities`
--

INSERT INTO `tbltickets_priorities` (`priorityid`, `name`) VALUES
(1, 'Low'),
(2, 'Medium'),
(3, 'High');

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

--
-- Table structure for table `tbltickets_status`
--

CREATE TABLE `tbltickets_status` (
  `ticketstatusid` int(11) NOT NULL,
  `name` varchar(50) NOT NULL,
  `isdefault` int(11) NOT NULL DEFAULT 0,
  `statuscolor` varchar(7) DEFAULT NULL,
  `statusorder` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tbltickets_status`
--

INSERT INTO `tbltickets_status` (`ticketstatusid`, `name`, `isdefault`, `statuscolor`, `statusorder`) VALUES
(1, 'Open', 1, '#ff2d42', 1),
(2, 'In progress', 1, '#22c55e', 2),
(3, 'Answered', 1, '#2563eb', 3),
(4, 'On Hold', 1, '#64748b', 4),
(5, 'Closed', 1, '#03a9f4', 5);

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

--
-- Table structure for table `tblticket_attachments`
--

CREATE TABLE `tblticket_attachments` (
  `id` int(11) NOT NULL,
  `ticketid` int(11) NOT NULL,
  `replyid` int(11) DEFAULT NULL,
  `file_name` varchar(191) NOT NULL,
  `filetype` varchar(50) DEFAULT NULL,
  `dateadded` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tblticket_replies`
--

CREATE TABLE `tblticket_replies` (
  `id` int(11) NOT NULL,
  `ticketid` int(11) NOT NULL,
  `userid` int(11) DEFAULT NULL,
  `contactid` int(11) NOT NULL DEFAULT 0,
  `name` mediumtext DEFAULT NULL,
  `email` mediumtext DEFAULT NULL,
  `date` datetime NOT NULL,
  `message` mediumtext DEFAULT NULL,
  `attachment` int(11) DEFAULT NULL,
  `admin` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tbltimesheets_additional_timesheet`
--

CREATE TABLE `tbltimesheets_additional_timesheet` (
  `id` int(11) NOT NULL,
  `additional_day` varchar(45) NOT NULL,
  `status` varchar(45) NOT NULL,
  `timekeeping_type` varchar(50) DEFAULT NULL,
  `timekeeping_value` varchar(45) NOT NULL,
  `approver` int(11) NOT NULL,
  `creator` int(11) NOT NULL,
  `old_timekeeping` varchar(50) DEFAULT NULL,
  `time_in` varchar(45) DEFAULT NULL,
  `time_out` varchar(45) DEFAULT NULL,
  `overtime_setting` int(11) DEFAULT NULL,
  `reason` text DEFAULT NULL,
  `staff_id` int(11) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

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

--
-- Table structure for table `tbltimesheets_approval_details`
--

CREATE TABLE `tbltimesheets_approval_details` (
  `id` int(11) NOT NULL,
  `rel_id` int(11) NOT NULL,
  `rel_type` varchar(45) NOT NULL,
  `staffid` varchar(45) DEFAULT NULL,
  `approve` varchar(45) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `approve_action` varchar(255) DEFAULT NULL,
  `reject_action` varchar(255) DEFAULT NULL,
  `approve_value` varchar(255) DEFAULT NULL,
  `reject_value` varchar(255) DEFAULT NULL,
  `staff_approve` int(11) DEFAULT NULL,
  `action` varchar(45) DEFAULT NULL,
  `sender` int(11) DEFAULT NULL,
  `date_send` datetime DEFAULT NULL,
  `notification_recipient` longtext DEFAULT NULL,
  `approval_deadline` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

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

--
-- Table structure for table `tbltimesheets_approval_setting`
--

CREATE TABLE `tbltimesheets_approval_setting` (
  `id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `related` varchar(255) NOT NULL,
  `setting` longtext NOT NULL,
  `choose_when_approving` int(11) NOT NULL DEFAULT 0,
  `notification_recipient` longtext DEFAULT NULL,
  `number_day_approval` int(11) DEFAULT NULL,
  `departments` text DEFAULT NULL,
  `job_positions` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

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

--
-- Table structure for table `tbltimesheets_day_off`
--

CREATE TABLE `tbltimesheets_day_off` (
  `id` int(11) UNSIGNED NOT NULL,
  `staffid` int(11) NOT NULL,
  `year` varchar(45) DEFAULT NULL,
  `total` varchar(45) DEFAULT NULL,
  `remain` varchar(45) DEFAULT NULL,
  `accumulated` varchar(45) DEFAULT NULL,
  `days_off` float DEFAULT 0,
  `type_of_leave` varchar(200) NOT NULL DEFAULT '8'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tbltimesheets_go_bussiness_advance_payment`
--

CREATE TABLE `tbltimesheets_go_bussiness_advance_payment` (
  `id` int(11) UNSIGNED NOT NULL,
  `requisition_leave` int(11) NOT NULL,
  `used_to` varchar(200) DEFAULT NULL,
  `amoun_of_money` varchar(200) DEFAULT NULL,
  `request_date` date DEFAULT NULL,
  `advance_payment_reason` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `tbltimesheets_go_bussiness_advance_payment`
--

INSERT INTO `tbltimesheets_go_bussiness_advance_payment` (`id`, `requisition_leave`, `used_to`, `amoun_of_money`, `request_date`, `advance_payment_reason`) VALUES
(1, 1, 'Tiket', '2000000', '2024-07-31', ''),
(2, 1, 'Hotel', '700000', '2024-07-31', ''),
(3, 1, '', '', '2024-07-31', ''),
(4, 2, 'Tiket Pesawat PP', '2500000', '2025-01-05', 'Ini hanya test aja'),
(5, 2, 'Insentif 3 hari', '1500000', '2025-01-05', 'Ini hanya test aja'),
(6, 2, 'Hotel 2 hari', '800000', '2025-01-05', 'Ini hanya test aja');

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

--
-- Table structure for table `tbltimesheets_latch_timesheet`
--

CREATE TABLE `tbltimesheets_latch_timesheet` (
  `id` int(11) NOT NULL,
  `month_latch` varchar(45) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

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

--
-- Table structure for table `tbltimesheets_leave`
--

CREATE TABLE `tbltimesheets_leave` (
  `id` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL,
  `date_work` date NOT NULL,
  `value` text DEFAULT NULL,
  `type` varchar(45) DEFAULT NULL,
  `add_from` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tbltimesheets_log_send_notify`
--

CREATE TABLE `tbltimesheets_log_send_notify` (
  `id` int(11) UNSIGNED NOT NULL,
  `sent` int(11) NOT NULL DEFAULT 0,
  `staffid` int(11) NOT NULL DEFAULT 0,
  `date` datetime NOT NULL DEFAULT current_timestamp(),
  `type` varchar(200) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `tbltimesheets_log_send_notify`
--

INSERT INTO `tbltimesheets_log_send_notify` (`id`, `sent`, `staffid`, `date`, `type`) VALUES
(1, 1, 0, '2024-09-29 00:00:00', 'approval_expiration');

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

--
-- Table structure for table `tbltimesheets_option`
--

CREATE TABLE `tbltimesheets_option` (
  `option_id` int(11) UNSIGNED NOT NULL,
  `option_name` varchar(200) NOT NULL,
  `option_val` longtext DEFAULT NULL,
  `auto` tinyint(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `tbltimesheets_option`
--

INSERT INTO `tbltimesheets_option` (`option_id`, `option_name`, `option_val`, `auto`) VALUES
(1, 'shift_applicable_object', '', 1),
(2, 'timekeeping_form', 'timekeeping_manually', 1),
(3, 'timekeeping_manually_role', '', 1),
(4, 'timekeeping_task_role', '', 1),
(5, 'csv_clsx_role', '', 1),
(6, 'attendance_notice_recipient', '', 1),
(7, 'allows_updating_check_in_time', '1', 1),
(8, 'allows_to_choose_an_older_date', '0', 1),
(9, 'allow_attendance_by_coordinates', '1', 1),
(10, 'googlemap_api_key', '', 1),
(11, 'allow_attendance_by_route', '1', 1),
(12, 'auto_checkout', '0', 1),
(13, 'auto_checkout_type', '1', 1),
(14, 'auto_checkout_value', '1', 1),
(15, 'send_notification_if_check_in_forgotten', '0', 1),
(16, 'send_notification_if_check_in_forgotten_value', '30', 1),
(17, 'start_month_for_annual_leave_cycle', '1', 1),
(18, 'start_year_for_annual_leave_cycle', '2024', 1),
(19, 'hour_notification_approval_exp', '3', 1),
(20, 'timekeeping_enable_valid_ip', '0', 1),
(21, 'send_email_check_in_out_customer_location', '0', 1),
(22, 'allow_employees_to_create_work_points', '0', 1),
(23, 'type_of_leave_selected', '8', 1),
(24, 'googlemap_api_key', '', 1);

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

--
-- Table structure for table `tbltimesheets_requisition_leave`
--

CREATE TABLE `tbltimesheets_requisition_leave` (
  `id` int(11) UNSIGNED NOT NULL,
  `staff_id` int(11) NOT NULL,
  `subject` varchar(100) DEFAULT NULL,
  `start_time` datetime DEFAULT NULL,
  `end_time` datetime DEFAULT NULL,
  `reason` text DEFAULT NULL,
  `received_date` date DEFAULT NULL,
  `amount_received` text DEFAULT NULL,
  `approver_id` int(11) NOT NULL,
  `followers_id` int(11) DEFAULT NULL,
  `rel_type` int(11) NOT NULL COMMENT '1:Leave 2:Late_early 3:Go_out 4:Go_on_bussiness',
  `status` int(11) DEFAULT 0 COMMENT '0:Create 1:Approver 2:Reject',
  `place_of_business` longtext DEFAULT NULL,
  `type_of_leave` int(11) DEFAULT 0,
  `according_to_the_plan` int(11) DEFAULT 0,
  `handover_recipients` longtext DEFAULT NULL,
  `datecreated` datetime DEFAULT NULL,
  `number_of_days` float DEFAULT NULL,
  `number_of_leaving_day` varchar(45) DEFAULT NULL,
  `type_of_leave_text` varchar(200) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `tbltimesheets_requisition_leave`
--

INSERT INTO `tbltimesheets_requisition_leave` (`id`, `staff_id`, `subject`, `start_time`, `end_time`, `reason`, `received_date`, `amount_received`, `approver_id`, `followers_id`, `rel_type`, `status`, `place_of_business`, `type_of_leave`, `according_to_the_plan`, `handover_recipients`, `datecreated`, `number_of_days`, `number_of_leaving_day`, `type_of_leave_text`) VALUES
(1, 3, 'Test Biaya Dinas', '2024-08-02 00:00:00', '2024-08-03 00:00:00', '', NULL, NULL, 0, 2, 4, 1, NULL, 8, 0, '', '2024-07-30 15:36:16', 0, '0', 'Go_on_bussiness'),
(2, 21, 'Test Perjalanan Dinas', '2025-01-05 23:03:26', '2025-01-07 23:03:00', 'Test Implementasi', NULL, NULL, 0, 0, 4, 1, NULL, 8, 0, '', '2025-01-05 23:06:56', 0, '0.5', 'Go_on_bussiness');

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

--
-- Table structure for table `tbltimesheets_route`
--

CREATE TABLE `tbltimesheets_route` (
  `id` int(11) UNSIGNED NOT NULL,
  `staffid` int(11) NOT NULL,
  `route_point_id` int(11) NOT NULL,
  `date_work` date NOT NULL,
  `order` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tbltimesheets_route_point`
--

CREATE TABLE `tbltimesheets_route_point` (
  `id` int(11) UNSIGNED NOT NULL,
  `name` varchar(200) NOT NULL,
  `route_point_address` varchar(400) DEFAULT NULL,
  `latitude` varchar(30) DEFAULT NULL,
  `longitude` varchar(30) DEFAULT NULL,
  `distance` double DEFAULT NULL,
  `related_to` int(11) NOT NULL,
  `related_id` int(11) NOT NULL,
  `default` bit(1) NOT NULL DEFAULT b'0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tbltimesheets_shiftwork_sc`
--

CREATE TABLE `tbltimesheets_shiftwork_sc` (
  `id` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL,
  `date_work` date NOT NULL,
  `shift` int(11) NOT NULL,
  `datecreated` datetime DEFAULT NULL,
  `add_from` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tbltimesheets_shift_sc`
--

CREATE TABLE `tbltimesheets_shift_sc` (
  `id` int(11) NOT NULL,
  `shift_symbol` varchar(45) NOT NULL,
  `time_start_work` varchar(45) NOT NULL,
  `time_end_work` varchar(45) NOT NULL,
  `start_lunch_break_time` varchar(45) NOT NULL,
  `end_lunch_break_time` varchar(45) NOT NULL,
  `late_latency_allowed` varchar(45) NOT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tbltimesheets_timekeeper_data`
--

CREATE TABLE `tbltimesheets_timekeeper_data` (
  `staff_identifi` varchar(25) NOT NULL,
  `time` datetime NOT NULL,
  `type` varchar(45) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

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

--
-- Table structure for table `tbltimesheets_timesheet`
--

CREATE TABLE `tbltimesheets_timesheet` (
  `id` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL,
  `date_work` date NOT NULL,
  `value` text DEFAULT NULL,
  `type` varchar(45) DEFAULT NULL,
  `add_from` int(11) NOT NULL,
  `overtime_setting` int(11) DEFAULT NULL,
  `relate_id` int(11) DEFAULT NULL,
  `relate_type` varchar(25) DEFAULT NULL,
  `latch` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `tbltimesheets_timesheet`
--

INSERT INTO `tbltimesheets_timesheet` (`id`, `staff_id`, `date_work`, `value`, `type`, `add_from`, `overtime_setting`, `relate_id`, `relate_type`, `latch`) VALUES
(1, 3, '2024-08-02', '0', 'B', 3, NULL, 1, 'leave', 0),
(2, 3, '2024-08-03', '0', 'B', 3, NULL, 1, 'leave', 0),
(3, 21, '2025-01-05', '0', 'B', 1, NULL, 2, 'leave', 0),
(4, 21, '2025-01-06', '0', 'B', 1, NULL, 2, 'leave', 0),
(5, 21, '2025-01-07', '0', 'B', 1, NULL, 2, 'leave', 0);

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

--
-- Table structure for table `tbltimesheets_type_of_leave`
--

CREATE TABLE `tbltimesheets_type_of_leave` (
  `id` int(11) UNSIGNED NOT NULL,
  `type_name` varchar(200) DEFAULT NULL,
  `slug` varchar(200) DEFAULT NULL,
  `symbol` varchar(5) DEFAULT NULL,
  `date_creator` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tbltimesheets_valid_ip`
--

CREATE TABLE `tbltimesheets_valid_ip` (
  `id` int(11) UNSIGNED NOT NULL,
  `ip` varchar(30) DEFAULT NULL,
  `enable` int(11) NOT NULL DEFAULT 1,
  `date_creator` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tbltimesheets_workplace`
--

CREATE TABLE `tbltimesheets_workplace` (
  `id` int(11) UNSIGNED NOT NULL,
  `name` varchar(200) NOT NULL,
  `workplace_address` varchar(400) DEFAULT NULL,
  `latitude` varchar(30) DEFAULT NULL,
  `longitude` varchar(30) DEFAULT NULL,
  `distance` double DEFAULT NULL,
  `default` bit(1) NOT NULL DEFAULT b'0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tbltimesheets_workplace_assign`
--

CREATE TABLE `tbltimesheets_workplace_assign` (
  `id` int(11) UNSIGNED NOT NULL,
  `staffid` int(11) NOT NULL,
  `workplace_id` int(11) NOT NULL,
  `datecreator` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tbltodos`
--

CREATE TABLE `tbltodos` (
  `todoid` int(11) NOT NULL,
  `description` mediumtext NOT NULL,
  `staffid` int(11) NOT NULL,
  `dateadded` datetime NOT NULL,
  `finished` tinyint(1) NOT NULL,
  `datefinished` datetime DEFAULT NULL,
  `item_order` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tbltracked_mails`
--

CREATE TABLE `tbltracked_mails` (
  `id` int(11) NOT NULL,
  `uid` varchar(32) NOT NULL,
  `rel_id` int(11) NOT NULL,
  `rel_type` varchar(40) NOT NULL,
  `date` datetime NOT NULL,
  `email` varchar(100) NOT NULL,
  `opened` tinyint(1) NOT NULL DEFAULT 0,
  `date_opened` datetime DEFAULT NULL,
  `subject` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tbltracked_mails`
--

INSERT INTO `tbltracked_mails` (`id`, `uid`, `rel_id`, `rel_type`, `date`, `email`, `opened`, `date_opened`, `subject`) VALUES
(1, '8e253b46d78d2244505031c3c2a211fc', 4, 'invoice', '2024-06-20 10:38:43', 'customer01@test.com', 0, NULL, 'Invoice with number INV-000004 created');

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

--
-- Table structure for table `tbltraining_allocation`
--

CREATE TABLE `tbltraining_allocation` (
  `id` int(11) NOT NULL,
  `training_process_id` varchar(100) NOT NULL,
  `staffid` int(11) DEFAULT NULL,
  `training_type` int(11) DEFAULT NULL,
  `date_add` datetime NOT NULL DEFAULT current_timestamp(),
  `training_name` varchar(150) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

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

--
-- Table structure for table `tbltransfer_records_reception`
--

CREATE TABLE `tbltransfer_records_reception` (
  `id` int(11) UNSIGNED NOT NULL,
  `name` varchar(150) DEFAULT NULL,
  `meta` varchar(50) DEFAULT NULL,
  `staffid` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tbltwocheckout_log`
--

CREATE TABLE `tbltwocheckout_log` (
  `id` int(10) UNSIGNED NOT NULL,
  `reference` varchar(64) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `amount` varchar(25) NOT NULL,
  `created_at` datetime NOT NULL,
  `attempt_reference` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tbluser_auto_login`
--

CREATE TABLE `tbluser_auto_login` (
  `key_id` char(32) NOT NULL,
  `user_id` int(11) NOT NULL,
  `user_agent` varchar(150) NOT NULL,
  `last_ip` varchar(40) NOT NULL,
  `last_login` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `staff` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tbluser_auto_login`
--

INSERT INTO `tbluser_auto_login` (`key_id`, `user_id`, `user_agent`, `last_ip`, `last_login`, `staff`) VALUES
('21fc8aa332f5da45fb0e242d32eabb78', 1, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36', '180.244.139.150', '2024-03-31 05:12:37', 1),
('5cfd1ef511d4292d25172cce933f724b', 1, 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Mobile Safari/537.36', '180.244.139.150', '2024-03-31 06:02:47', 1),
('9eb7666e249e35a05046aadcc113b3a8', 1, 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36', '180.244.132.148', '2024-03-31 14:21:55', 1),
('beeb6cda4188297804228381472148f5', 1, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36', '180.244.138.44', '2024-04-21 10:29:47', 1),
('e3cc133caf214ea03ac37dadcb7b640c', 2, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36', '180.244.138.44', '2024-04-21 12:33:09', 1),
('263447ccc49399a43ee2f1878986c778', 1, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36', '182.2.165.29', '2024-04-24 06:08:31', 1),
('8f9dae56dc7fe947e7f5604c21877640', 1, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36', '180.244.139.191', '2024-04-27 11:03:31', 1),
('03a55ccc434fa081bdecf004253c2142', 3, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36', '183.91.79.130', '2024-04-29 08:43:46', 1),
('fe423add56dd691491bc86a6fd00c705', 1, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36', '183.91.79.130', '2024-04-29 10:50:29', 1),
('0404535d01d00d2f710700b518529445', 1, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36', '180.244.134.70', '2024-05-02 14:39:58', 1),
('6508fe824e580ce7657b9037d04714db', 1, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36', '183.91.79.130', '2024-05-14 01:28:25', 0),
('c5e4d221267865b57a7ad3b5bc656a62', 1, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36', '180.244.128.238', '2024-05-14 15:25:17', 1),
('89eed2fe855e0847bb82e388883a260e', 2, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36', '183.91.79.130', '2024-06-18 08:25:33', 1),
('261308a1a02a004c6b482252aee806df', 1, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36', '36.74.44.192', '2024-07-30 08:58:38', 1),
('cce01a2930e41f68459d96e5cc7493c6', 2, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36', '180.244.139.19', '2024-08-09 22:29:35', 0),
('4023e919d0062a14f20b4cf59b5e1817', 1, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36', '183.91.79.130', '2024-08-20 05:32:15', 1),
('af6b89abeb69917c73a67dcd998ed5ac', 1, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36', '180.244.138.159', '2024-09-21 00:32:51', 1),
('44a96f37b9c76ee6f0827e8251aa6dd9', 1, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36', '183.91.79.131', '2024-12-18 07:18:11', 1),
('421f92dc79a45d02f3dbf80a13a1b051', 21, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36', '183.91.79.131', '2025-01-06 06:54:34', 1),
('8dfbf15376e39ad6c3fab2207cd8d805', 23, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0', '114.122.198.95', '2025-01-29 03:47:18', 1),
('aaa40744750d173b4a29ec17346aeb95', 24, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0', '36.77.30.37', '2025-02-11 04:26:22', 1),
('c97acbad048d8b819d1017c5d5c3f23e', 24, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0', '36.83.123.5', '2025-02-24 05:50:35', 1),
('33ca5d5b75f4b4028f34c92b6c35965a', 1, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36', '183.91.79.131', '2025-03-04 08:18:02', 1),
('e653db3c1b2adc2ffbe0f099ea455c11', 30, 'Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3.1 Mobile/15E148 Safari/604.1', '27.131.250.42', '2025-03-12 10:18:27', 1),
('4470b3e0bb9c17565bc360560f98b839', 2, 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Mobile Safari/537.36', '180.244.134.127', '2025-03-19 00:22:52', 1),
('4c5d9f0ce99b44b2d675f3e3fe8294f5', 26, 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36', '182.4.37.133', '2025-03-20 10:48:00', 1),
('5da71b9d8410fed9ee2525ec1bb3eca8', 30, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36', '202.125.100.114', '2025-03-24 09:41:03', 1),
('c3e6bc03faf37bca56548af74d65554d', 34, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36', '180.252.19.33', '2025-03-24 14:31:45', 1),
('c3f107ca32510e7532aa0b64d3b4cc7a', 28, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36', '180.252.19.33', '2025-03-24 15:53:18', 1),
('c74b87959a1bbcdbfd268da5d5982487', 25, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36', '180.243.252.119', '2025-03-24 16:42:52', 1),
('6f8df967915874602e50a644ce8e74db', 35, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36', '180.243.252.119', '2025-03-24 17:00:13', 1),
('c843f11818d50c6be1020038111947e8', 21, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36', '180.244.132.4', '2025-03-25 00:07:23', 1),
('4ab42686d47f0cd7ab122f4eef448c76', 28, 'Mozilla/5.0 (iPad; CPU OS 18_3_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/134.0.6998.99 Mobile/15E148 Safari/604.1', '182.3.47.181', '2025-03-25 01:34:37', 1),
('ba124ad8ede769974364801b08dc7817', 2, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36', '180.244.132.4', '2025-03-25 02:03:41', 1),
('28c45b9a04322fa720dcae1a224a1a7b', 28, 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3.1 Safari/605.1.15', '182.3.47.181', '2025-03-25 02:57:41', 1),
('bb64c777e5048f49e7dac78d6d4030cb', 19, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36', '182.2.165.10', '2025-03-25 04:06:01', 1),
('1de3e95416d26985984260065600d3d8', 36, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36', '112.215.45.23', '2025-03-25 06:00:13', 1),
('fc3a55491d16b457edf8f2ea949a8fe3', 18, 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Mobile Safari/537.36', '182.4.39.127', '2025-03-25 13:04:08', 1),
('cef6ed8550fe68873c5191bd37147ae5', 3, 'Mozilla/5.0 (iPhone; CPU iPhone OS 15_8_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.6 Mobile/15E148 Safari/604.1', '180.244.133.15', '2025-03-25 13:45:42', 1),
('7b71aa4f4e757f2f6987b8e19b58048f', 3, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36', '36.83.118.148', '2025-03-26 02:22:41', 1),
('d129e6dab72b579e66a4a598bcf9530c', 33, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36', '182.4.36.129', '2025-03-26 02:48:30', 1),
('d02ed25fe382fa0db716ccf0cb5458ce', 37, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36', '36.83.118.148', '2025-03-26 03:15:39', 1),
('4b2b32ec44f2ecc2e6eacb9da322274e', 24, 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.6312.118 Mobile Safari/537.36 XiaoMi/MiuiBrowser/14.30.0-gn', '110.138.86.203', '2025-03-26 07:54:21', 1),
('c9f0a339f6e6e8221e022a7b17ef90a0', 24, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0', '110.138.86.203', '2025-03-26 13:36:20', 1),
('0f4ec5232fb251b421ef2f153388f393', 28, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36', '103.87.87.118', '2025-03-27 02:32:35', 1),
('cbb6ebf0c1e55b0826af7ed5472760cd', 38, 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3.1 Safari/605.1.15', '36.83.117.146', '2025-03-27 05:07:44', 1),
('ace88fd6886634fa957c0f41fae4aa1a', 26, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36', '114.122.236.178', '2025-03-27 22:58:01', 1),
('9a5839d86d014dbf91729fa41408d334', 3, 'Mozilla/5.0 (iPhone; CPU iPhone OS 15_8 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/125.0.6422.51 Mobile/15E148 Safari/604.1', '180.244.133.116', '2025-03-27 23:17:34', 1),
('689d357b06cc8014b580c1d667a5477a', 26, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36', '180.241.177.195', '2025-03-28 16:58:31', 1),
('ba1a5a7150d6caa71814af866d37846b', 26, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36', '114.122.199.52', '2025-04-06 06:10:11', 1),
('8902cbcbea36b1c6ec1d321fb4487bee', 23, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36', '182.4.37.77', '2025-04-06 15:08:23', 1),
('8746d5bb62d3cd0584cfc5ab2470d121', 3, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0', '36.83.122.165', '2025-04-11 02:27:01', 1),
('cdf374b954f2345b4327e6fcebe096f0', 6, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36', '180.252.22.113', '2025-04-14 01:47:18', 1),
('ff32bc5a65b7ac5558c567bebca7c556', 26, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36', '182.4.36.164', '2025-04-14 09:15:05', 1),
('0b7c731687b0473021f439715417f8bb', 23, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36', '114.122.199.109', '2025-04-17 05:08:32', 1),
('b3b493f13ac9db82b043772b35ae3b42', 26, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36', '182.4.37.218', '2025-04-18 11:51:26', 1),
('6b5c877b435a9a5f26b9954dfe26e6e0', 26, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36', '182.4.39.9', '2025-04-19 10:48:41', 1),
('5849770a88686189ccb75783ad1e83e9', 23, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0', '202.65.225.238', '2025-04-23 01:41:49', 1),
('2e9064ab1c303bff5136dc2664913880', 7, 'Mozilla/5.0 (iPhone; CPU iPhone OS 18_2_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.2 Mobile/15E148 Safari/604.1', '182.4.39.63', '2025-04-24 08:30:52', 1),
('3942c7ebe75df04fdcca909d23ec6b26', 26, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36', '103.108.31.97', '2025-04-26 01:31:48', 1),
('c8a85b12c98fdbeaccc0a458e4c64951', 7, 'Mozilla/5.0 (iPhone; CPU iPhone OS 18_2_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/135.0.7049.83 Mobile/15E148 Safari/604.1', '182.4.38.55', '2025-04-26 03:14:53', 1),
('209c394eb05ee40fabe78b0b5fca5ae3', 7, 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36', '182.4.38.55', '2025-04-26 03:21:14', 1),
('775e30455ef293ea58d2d767b80e6f88', 26, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36', '182.4.39.96', '2025-04-28 06:54:00', 1),
('ec881a65059f6687a1ddd2a48e0434c2', 26, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36', '182.4.37.215', '2025-05-02 06:11:09', 1),
('08a29a64bb3b62ac3d56b9e9f0855245', 26, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36', '182.4.36.68', '2025-05-05 04:35:06', 1),
('80a26484b242804aa424950e5360683b', 42, 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Mobile Safari/537.36', '36.77.25.119', '2025-05-08 07:36:17', 1),
('6b9a3aa0f2199902265a915297dcbb46', 26, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36', '182.4.39.35', '2025-05-10 07:27:59', 1),
('d3e35ff7c2049d6c49274f8fa8e6b8d1', 36, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36', '112.215.225.22', '2025-05-15 02:34:00', 1),
('a1fb75e77e853975e963971ea785f7ff', 26, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36', '182.4.38.14', '2025-05-16 03:51:01', 1),
('1e94411928370b58ade14c693371b1c9', 40, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36', '36.81.233.158', '2025-05-16 09:13:15', 1),
('dc9a4198e4c8e64ba778cdd9e8c46183', 26, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36', '182.4.38.169', '2025-05-16 23:50:01', 1),
('3f972bc2ed6ea80aaa699b6463c2d01e', 26, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36', '182.4.37.176', '2025-05-19 13:53:27', 1),
('933652c1161f61eebede129b64d9f134', 40, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36', '202.65.239.186', '2025-05-21 13:42:48', 1),
('08c9d509ccf66d171ae3194d92c10cbc', 26, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36', '182.4.39.205', '2025-05-21 20:38:44', 1),
('cf0e16c405c326bd2dc9d50d62502b46', 26, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36', '182.4.37.204', '2025-05-21 23:40:20', 1),
('21e51ba3c82e72849373df37b8f96950', 26, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36', '182.4.38.219', '2025-05-26 05:47:48', 1),
('25f3404f36648f5db7efc844368b1ff4', 44, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36', '112.215.208.85', '2025-05-28 03:11:34', 1),
('5095a65c4b3bcee213ab1c72ad5f5f79', 45, 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36', '114.122.108.17', '2025-06-02 04:13:48', 1),
('c1fa35d2677a752d623da033937f3ff7', 6, 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36', '36.83.116.148', '2025-06-10 04:14:45', 1),
('0da6a9ade7505f14a509772e8e5fc46a', 26, 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36', '182.4.36.44', '2025-06-11 06:17:28', 1),
('7fdc9c406c650bf9a4efe553c76b78cd', 24, 'Mozilla/5.0 (iPhone; CPU iPhone OS 18_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Mobile/15E148 Safari/604.1', '114.122.105.165', '2025-06-18 10:44:14', 1);

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

--
-- Table structure for table `tbluser_meta`
--

CREATE TABLE `tbluser_meta` (
  `umeta_id` bigint(20) UNSIGNED NOT NULL,
  `staff_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
  `client_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
  `contact_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
  `meta_key` varchar(191) DEFAULT NULL,
  `meta_value` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tbluser_meta`
--

INSERT INTO `tbluser_meta` (`umeta_id`, `staff_id`, `client_id`, `contact_id`, `meta_key`, `meta_value`) VALUES
(1, 0, 0, 1, 'consent_key', 'fd8ce6cea18e00f8f302102258b7aedf-7dc38ac9131afbc527f729169f9bd582'),
(3, 0, 0, 2, 'consent_key', 'd67277ba95388c2b5b372c25f5d132c0-7c0f6c4d4a5f7e8810a501564acd018b'),
(4, 36, 0, 0, 'recent_searches', '[\"Kantor jakarta\",\"Op\",\"Ka\",\"Kanto\"]'),
(5, 45, 0, 0, 'recent_searches', '[\"Imron\"]');

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

--
-- Table structure for table `tblvault`
--

CREATE TABLE `tblvault` (
  `id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `server_address` varchar(191) NOT NULL,
  `port` int(11) DEFAULT NULL,
  `username` varchar(191) NOT NULL,
  `password` mediumtext NOT NULL,
  `description` mediumtext DEFAULT NULL,
  `creator` int(11) NOT NULL,
  `creator_name` varchar(100) DEFAULT NULL,
  `visibility` tinyint(1) NOT NULL DEFAULT 1,
  `share_in_projects` tinyint(1) NOT NULL DEFAULT 0,
  `last_updated` datetime DEFAULT NULL,
  `last_updated_from` varchar(100) DEFAULT NULL,
  `date_created` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tblviews_tracking`
--

CREATE TABLE `tblviews_tracking` (
  `id` int(11) NOT NULL,
  `rel_id` int(11) NOT NULL,
  `rel_type` varchar(40) NOT NULL,
  `date` datetime NOT NULL,
  `view_ip` varchar(40) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tblviews_tracking`
--

INSERT INTO `tblviews_tracking` (`id`, `rel_id`, `rel_type`, `date`, `view_ip`) VALUES
(1, 6, 'invoice', '2024-08-10 05:30:09', '180.244.139.19');

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

--
-- Table structure for table `tblwarehouse`
--

CREATE TABLE `tblwarehouse` (
  `warehouse_id` int(11) UNSIGNED NOT NULL,
  `warehouse_code` varchar(100) DEFAULT NULL,
  `warehouse_name` text DEFAULT NULL,
  `warehouse_address` text DEFAULT NULL,
  `order` int(10) DEFAULT NULL,
  `display` int(1) DEFAULT NULL COMMENT 'display 1: display (yes)  0: not displayed (no)',
  `note` text DEFAULT NULL,
  `city` text DEFAULT NULL,
  `state` text DEFAULT NULL,
  `zip_code` text DEFAULT NULL,
  `country` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `tblwarehouse`
--

INSERT INTO `tblwarehouse` (`warehouse_id`, `warehouse_code`, `warehouse_name`, `warehouse_address`, `order`, `display`, `note`, `city`, `state`, `zip_code`, `country`) VALUES
(1, 'SW01', 'Intermediate Samba', 'Samba', 1, 1, '0', '', '', '', '103'),
(2, 'SW02', 'Jeti Sampit', 'Sampit', 2, 1, '0', NULL, NULL, NULL, NULL),
(3, 'SW03', 'Gudang Spare Part Site', 'Katingan', 3, 1, '0', NULL, NULL, NULL, NULL),
(4, 'SW04', 'PIT', '', 1, 1, '', '', '', '', ''),
(5, 'SW05', 'STOCKROOM TUMBANG MARAK', '', 1, 1, '', '', '', '', ''),
(6, 'SW06', 'STOCKROOM PIT', '', 0, 1, '', '', '', '', ''),
(7, 'SW07', 'TANK PIT', '', 0, 1, '', '', '', '', '');

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

--
-- Table structure for table `tblware_body_type`
--

CREATE TABLE `tblware_body_type` (
  `body_type_id` int(11) UNSIGNED NOT NULL,
  `body_code` varchar(100) DEFAULT NULL,
  `body_name` text DEFAULT NULL,
  `order` int(10) DEFAULT NULL,
  `display` int(1) DEFAULT NULL COMMENT 'display 1: display (yes)  0: not displayed (no)',
  `note` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblware_color`
--

CREATE TABLE `tblware_color` (
  `color_id` int(11) UNSIGNED NOT NULL,
  `color_code` varchar(100) DEFAULT NULL,
  `color_name` varchar(100) DEFAULT NULL,
  `color_hex` text DEFAULT NULL,
  `order` int(10) DEFAULT NULL,
  `display` int(1) DEFAULT NULL COMMENT 'display 1: display (yes)  0: not displayed (no)',
  `note` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblware_commodity_type`
--

CREATE TABLE `tblware_commodity_type` (
  `commodity_type_id` int(11) UNSIGNED NOT NULL,
  `commondity_code` varchar(100) DEFAULT NULL,
  `commondity_name` text DEFAULT NULL,
  `order` int(10) DEFAULT NULL,
  `display` int(1) DEFAULT NULL COMMENT 'display 1: display (yes)  0: not displayed (no)',
  `note` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `tblware_commodity_type`
--

INSERT INTO `tblware_commodity_type` (`commodity_type_id`, `commondity_code`, `commondity_name`, `order`, `display`, `note`) VALUES
(1, '01', 'Mineral', 1, 1, '');

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

--
-- Table structure for table `tblware_size_type`
--

CREATE TABLE `tblware_size_type` (
  `size_type_id` int(11) UNSIGNED NOT NULL,
  `size_code` varchar(100) DEFAULT NULL,
  `size_name` text DEFAULT NULL,
  `size_symbol` text DEFAULT NULL,
  `order` int(10) DEFAULT NULL,
  `display` int(1) DEFAULT NULL COMMENT 'display 1: display (yes)  0: not displayed (no)',
  `note` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblware_style_type`
--

CREATE TABLE `tblware_style_type` (
  `style_type_id` int(11) UNSIGNED NOT NULL,
  `style_code` varchar(100) DEFAULT NULL,
  `style_barcode` text DEFAULT NULL,
  `style_name` text DEFAULT NULL,
  `order` int(10) DEFAULT NULL,
  `display` int(1) DEFAULT NULL COMMENT 'display 1: display (yes)  0: not displayed (no)',
  `note` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblware_unit_type`
--

CREATE TABLE `tblware_unit_type` (
  `unit_type_id` int(11) UNSIGNED NOT NULL,
  `unit_code` varchar(100) DEFAULT NULL,
  `unit_name` text DEFAULT NULL,
  `unit_symbol` text DEFAULT NULL,
  `order` int(10) DEFAULT NULL,
  `display` int(1) DEFAULT NULL COMMENT 'display 1: display (yes)  0: not displayed (no)',
  `note` text DEFAULT NULL,
  `category_id` int(11) DEFAULT NULL,
  `unit_measure_type` varchar(100) DEFAULT 'reference',
  `bigger_ratio` decimal(15,5) DEFAULT 0.00000,
  `smaller_ratio` decimal(15,5) DEFAULT 0.00000,
  `rounding` decimal(15,5) DEFAULT 0.00000
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `tblware_unit_type`
--

INSERT INTO `tblware_unit_type` (`unit_type_id`, `unit_code`, `unit_name`, `unit_symbol`, `order`, `display`, `note`, `category_id`, `unit_measure_type`, `bigger_ratio`, `smaller_ratio`, `rounding`) VALUES
(6, 'TON', 'Ton\'s', 'Ton\'s', 1, 1, '', NULL, 'reference', 0.00000, 0.00000, 0.00000),
(7, 'KG', 'Kilo Gram', 'Kg', 2, 1, '', NULL, 'reference', 0.00000, 0.00000, 0.00000),
(8, 'LTR', 'Liter', 'Ltr', 3, 1, '', NULL, 'reference', 0.00000, 0.00000, 0.00000),
(9, 'PCS', 'Pieces', 'Pcs', 0, 1, '', NULL, 'reference', 0.00000, 0.00000, 0.00000);

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

--
-- Table structure for table `tblweb_to_lead`
--

CREATE TABLE `tblweb_to_lead` (
  `id` int(11) NOT NULL,
  `form_key` varchar(32) NOT NULL,
  `lead_source` int(11) NOT NULL,
  `lead_status` int(11) NOT NULL,
  `notify_lead_imported` int(11) NOT NULL DEFAULT 1,
  `notify_type` varchar(20) DEFAULT NULL,
  `notify_ids` longtext DEFAULT NULL,
  `responsible` int(11) NOT NULL DEFAULT 0,
  `name` varchar(191) NOT NULL,
  `form_data` longtext DEFAULT NULL,
  `recaptcha` int(11) NOT NULL DEFAULT 0,
  `submit_btn_name` varchar(40) DEFAULT NULL,
  `submit_btn_text_color` varchar(10) DEFAULT '#ffffff',
  `submit_btn_bg_color` varchar(10) DEFAULT '#84c529',
  `success_submit_msg` mediumtext DEFAULT NULL,
  `submit_action` int(11) DEFAULT 0,
  `lead_name_prefix` varchar(255) DEFAULT NULL,
  `submit_redirect_url` longtext DEFAULT NULL,
  `language` varchar(40) DEFAULT NULL,
  `allow_duplicate` int(11) NOT NULL DEFAULT 1,
  `mark_public` int(11) NOT NULL DEFAULT 0,
  `track_duplicate_field` varchar(20) DEFAULT NULL,
  `track_duplicate_field_and` varchar(20) DEFAULT NULL,
  `create_task_on_duplicate` int(11) NOT NULL DEFAULT 0,
  `dateadded` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tblwh_activity_log`
--

CREATE TABLE `tblwh_activity_log` (
  `id` int(11) NOT NULL,
  `rel_id` int(11) NOT NULL,
  `rel_type` varchar(45) NOT NULL,
  `staffid` int(11) DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `note` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `tblwh_activity_log`
--

INSERT INTO `tblwh_activity_log` (`id`, `rel_id`, `rel_type`, `staffid`, `date`, `note`) VALUES
(1, 1, 'stock_import', 3, '2024-06-10 17:26:25', 'stock_import'),
(2, 2, 'stock_import', 1, '2024-06-18 15:18:24', 'stock_import'),
(3, 2, '1', 12, '2024-06-18 15:19:35', 'approve_request'),
(4, 2, '1', 2, '2024-06-18 15:29:27', 'approve_request'),
(5, 3, 'stock_import', 2, '2024-06-18 16:43:29', 'stock_import'),
(6, 3, '1', 12, '2024-06-18 16:44:18', 'approve_request'),
(7, 1, 'stock_export', 2, '2024-06-18 16:54:07', 'stock_export'),
(8, 4, 'stock_import', 11, '2024-06-19 10:53:00', 'stock_import'),
(9, 4, '1', 12, '2024-06-19 11:10:15', 'approve_request'),
(10, 1, 'internal_delivery', 12, '2024-06-19 11:12:56', 'internal_delivery_note'),
(11, 2, 'stock_export', 12, '2024-06-19 13:32:42', 'stock_export'),
(12, 3, 'stock_export', 3, '2024-08-09 20:03:28', 'stock_export'),
(13, 4, 'stock_export', 3, '2024-08-09 20:07:04', 'stock_export'),
(14, 5, 'stock_import', 23, '2025-01-29 11:27:12', 'stock_import'),
(15, 6, 'stock_import', 22, '2025-01-29 11:28:25', 'stock_import'),
(16, 6, '1', 12, '2025-01-29 11:33:01', 'approve_request'),
(17, 5, '1', 12, '2025-01-29 11:33:31', 'approve_request');

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

--
-- Table structure for table `tblwh_approval_details`
--

CREATE TABLE `tblwh_approval_details` (
  `id` int(11) NOT NULL,
  `rel_id` int(11) NOT NULL,
  `rel_type` varchar(45) NOT NULL,
  `staffid` varchar(45) DEFAULT NULL,
  `approve` varchar(45) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `approve_action` varchar(255) DEFAULT NULL,
  `reject_action` varchar(255) DEFAULT NULL,
  `approve_value` varchar(255) DEFAULT NULL,
  `reject_value` varchar(255) DEFAULT NULL,
  `staff_approve` int(11) DEFAULT NULL,
  `action` varchar(45) DEFAULT NULL,
  `sender` int(11) DEFAULT NULL,
  `date_send` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `tblwh_approval_details`
--

INSERT INTO `tblwh_approval_details` (`id`, `rel_id`, `rel_type`, `staffid`, `approve`, `note`, `date`, `approve_action`, `reject_action`, `approve_value`, `reject_value`, `staff_approve`, `action`, `sender`, `date_send`) VALUES
(1, 2, '1', '12', '1', 'Oke', '2024-06-18 15:19:35', NULL, NULL, NULL, NULL, 12, 'approve', 1, '2024-06-18 15:18:35'),
(2, 2, '1', '2', '1', '', '2024-06-18 15:29:27', NULL, NULL, NULL, NULL, 2, 'approve', 1, '2024-06-18 15:18:35'),
(3, 3, '1', '12', '1', '', '2024-06-18 16:44:18', NULL, NULL, NULL, NULL, 12, 'approve', 2, '2024-06-18 16:43:29'),
(4, 4, '1', '12', '1', '', '2024-06-19 11:10:15', NULL, NULL, NULL, NULL, 12, 'approve', 11, '2024-06-19 10:53:00'),
(5, 5, '1', '12', '1', '', '2025-01-29 11:33:31', NULL, NULL, NULL, NULL, 12, 'approve', 23, '2025-01-29 11:28:58'),
(6, 6, '1', '12', '1', '', '2025-01-29 11:33:01', NULL, NULL, NULL, NULL, 12, 'approve', 22, '2025-01-29 11:29:06');

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

--
-- Table structure for table `tblwh_approval_setting`
--

CREATE TABLE `tblwh_approval_setting` (
  `id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `related` varchar(255) NOT NULL,
  `setting` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `tblwh_approval_setting`
--

INSERT INTO `tblwh_approval_setting` (`id`, `name`, `related`, `setting`) VALUES
(1, 'Approval Receiving Voucher', '1', '[{\"approver\":\"staff\",\"staff\":\"12\",\"action\":\"approve\"}]');

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

--
-- Table structure for table `tblwh_brand`
--

CREATE TABLE `tblwh_brand` (
  `id` int(11) UNSIGNED NOT NULL,
  `name` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblwh_custom_fields`
--

CREATE TABLE `tblwh_custom_fields` (
  `id` int(11) UNSIGNED NOT NULL,
  `custom_fields_id` int(11) DEFAULT NULL,
  `warehouse_id` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblwh_goods_delivery_activity_log`
--

CREATE TABLE `tblwh_goods_delivery_activity_log` (
  `id` int(11) UNSIGNED NOT NULL,
  `rel_id` int(11) DEFAULT NULL,
  `rel_type` varchar(100) DEFAULT NULL,
  `description` mediumtext DEFAULT NULL,
  `additional_data` text DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `staffid` int(11) DEFAULT NULL,
  `full_name` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `tblwh_goods_delivery_activity_log`
--

INSERT INTO `tblwh_goods_delivery_activity_log` (`id`, `rel_id`, `rel_type`, `description`, `additional_data`, `date`, `staffid`, `full_name`) VALUES
(1, 1, 'delivery', 'Delivered', NULL, '2024-06-18 16:54:54', 2, 'Unggul Pambudy'),
(2, 1, 'shipment', 'The order has been confirmed', NULL, '2024-06-19 13:32:42', 12, 'irfan apr'),
(3, 1, 'shipment', 'The shipment has been created', NULL, '2024-06-19 13:32:42', 12, 'irfan apr'),
(4, 2, 'shipment', 'The order has been confirmed', NULL, '2024-08-09 20:03:28', 3, 'Irfansyah Irfansyah'),
(5, 2, 'shipment', 'The shipment has been created', NULL, '2024-08-09 20:03:28', 3, 'Irfansyah Irfansyah'),
(6, 3, 'shipment', 'The order has been confirmed', NULL, '2024-08-09 20:07:04', 3, 'Irfansyah Irfansyah'),
(7, 3, 'shipment', 'The shipment has been created', NULL, '2024-08-09 20:07:04', 3, 'Irfansyah Irfansyah'),
(8, 4, 'delivery', 'Delivered', NULL, '2024-08-09 20:10:12', 3, 'Irfansyah Irfansyah');

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

--
-- Table structure for table `tblwh_inventory_serial_numbers`
--

CREATE TABLE `tblwh_inventory_serial_numbers` (
  `id` int(11) NOT NULL,
  `commodity_id` int(11) NOT NULL,
  `warehouse_id` int(11) DEFAULT NULL,
  `inventory_manage_id` int(11) DEFAULT NULL,
  `serial_number` varchar(255) DEFAULT NULL,
  `is_used` varchar(20) DEFAULT 'no'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblwh_loss_adjustment`
--

CREATE TABLE `tblwh_loss_adjustment` (
  `id` int(11) UNSIGNED NOT NULL,
  `type` varchar(15) DEFAULT NULL,
  `addfrom` int(11) DEFAULT NULL,
  `reason` longtext DEFAULT NULL,
  `time` datetime DEFAULT NULL,
  `date_create` date NOT NULL,
  `status` int(11) NOT NULL,
  `warehouses` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblwh_loss_adjustment_detail`
--

CREATE TABLE `tblwh_loss_adjustment_detail` (
  `id` int(11) UNSIGNED NOT NULL,
  `items` int(11) DEFAULT NULL,
  `unit` int(11) DEFAULT NULL,
  `current_number` int(15) DEFAULT NULL,
  `updates_number` int(15) DEFAULT NULL,
  `loss_adjustment` int(11) DEFAULT NULL,
  `expiry_date` text DEFAULT NULL,
  `lot_number` text DEFAULT NULL,
  `commodity_name` text DEFAULT NULL,
  `serial_number` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblwh_model`
--

CREATE TABLE `tblwh_model` (
  `id` int(11) UNSIGNED NOT NULL,
  `name` text DEFAULT NULL,
  `brand_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblwh_omni_shipments`
--

CREATE TABLE `tblwh_omni_shipments` (
  `id` int(11) NOT NULL,
  `cart_id` int(11) DEFAULT NULL,
  `shipment_number` varchar(100) DEFAULT NULL,
  `planned_shipping_date` datetime DEFAULT NULL,
  `shipment_status` varchar(50) DEFAULT NULL,
  `datecreated` datetime DEFAULT NULL,
  `goods_delivery_id` int(11) DEFAULT NULL,
  `shipment_hash` varchar(32) DEFAULT NULL,
  `order_id` int(11) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `tblwh_omni_shipments`
--

INSERT INTO `tblwh_omni_shipments` (`id`, `cart_id`, `shipment_number`, `planned_shipping_date`, `shipment_status`, `datecreated`, `goods_delivery_id`, `shipment_hash`, `order_id`) VALUES
(1, NULL, 'SHIPMENT202406191332', NULL, 'confirmed_order', '2024-06-19 13:32:42', 2, '1433b96334bc5750e840a3aa7de055f0', 0),
(2, NULL, 'SHIPMENT202408092003', NULL, 'confirmed_order', '2024-08-09 20:03:28', 3, '989b4211372f23f8dd384f737dfba46a', 0),
(3, NULL, 'SHIPMENT202408092007', NULL, 'product_delivered', '2024-08-09 20:07:04', 4, 'a956769e047ab5d3fcbaa928ad93e6f1', 0);

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

--
-- Table structure for table `tblwh_order_returns`
--

CREATE TABLE `tblwh_order_returns` (
  `id` int(11) NOT NULL,
  `rel_id` int(11) DEFAULT NULL,
  `rel_type` varchar(50) NOT NULL COMMENT 'manual, sales_return_order, purchasing_return_order',
  `return_type` varchar(50) DEFAULT NULL COMMENT 'manual, partially, fully',
  `company_id` int(11) DEFAULT NULL,
  `company_name` varchar(500) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `phonenumber` varchar(20) DEFAULT NULL,
  `order_number` varchar(500) DEFAULT NULL,
  `order_date` datetime DEFAULT NULL,
  `number_of_item` decimal(15,2) DEFAULT 0.00,
  `order_total` decimal(15,2) DEFAULT 0.00,
  `order_return_number` varchar(200) DEFAULT NULL,
  `order_return_name` varchar(500) DEFAULT NULL,
  `fee_return_order` decimal(15,2) DEFAULT 0.00,
  `refund_loyaty_point` int(11) DEFAULT 0,
  `subtotal` decimal(15,2) DEFAULT 0.00,
  `total_amount` decimal(15,2) DEFAULT 0.00,
  `discount_total` decimal(15,2) DEFAULT 0.00,
  `additional_discount` decimal(15,2) DEFAULT 0.00,
  `adjustment_amount` decimal(15,2) DEFAULT 0.00,
  `total_after_discount` decimal(15,2) DEFAULT 0.00,
  `return_policies_information` text DEFAULT NULL,
  `admin_note` text DEFAULT NULL,
  `approval` int(11) DEFAULT 0,
  `datecreated` datetime DEFAULT NULL,
  `staff_id` int(11) DEFAULT NULL,
  `currency` int(11) DEFAULT NULL,
  `receipt_delivery_id` int(1) DEFAULT 0,
  `return_reason` longtext DEFAULT NULL,
  `status` varchar(30) DEFAULT 'draft',
  `receipt_delivery_type` varchar(100) DEFAULT NULL,
  `discount_type` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblwh_order_returns_refunds`
--

CREATE TABLE `tblwh_order_returns_refunds` (
  `id` int(11) UNSIGNED NOT NULL,
  `order_return_id` int(11) DEFAULT NULL,
  `staff_id` int(11) DEFAULT NULL,
  `refunded_on` date DEFAULT NULL,
  `payment_mode` varchar(40) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `amount` decimal(15,2) DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `acc_mapping` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblwh_order_return_details`
--

CREATE TABLE `tblwh_order_return_details` (
  `id` int(11) NOT NULL,
  `order_return_id` int(11) NOT NULL,
  `rel_type_detail_id` int(11) DEFAULT NULL,
  `commodity_code` int(11) DEFAULT NULL,
  `commodity_name` text DEFAULT NULL,
  `quantity` decimal(15,2) DEFAULT 0.00,
  `unit_id` int(11) DEFAULT NULL,
  `unit_price` decimal(15,2) DEFAULT 0.00,
  `sub_total` decimal(15,2) DEFAULT 0.00,
  `tax_id` text DEFAULT NULL,
  `tax_rate` text DEFAULT NULL,
  `tax_name` text DEFAULT NULL,
  `total_amount` decimal(15,2) DEFAULT 0.00,
  `discount` decimal(15,2) DEFAULT 0.00,
  `discount_total` decimal(15,2) DEFAULT 0.00,
  `total_after_discount` decimal(15,2) DEFAULT 0.00,
  `reason_return` varchar(200) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblwh_packing_lists`
--

CREATE TABLE `tblwh_packing_lists` (
  `id` int(11) NOT NULL,
  `delivery_note_id` int(11) DEFAULT NULL,
  `packing_list_number` varchar(100) DEFAULT NULL,
  `packing_list_name` varchar(200) DEFAULT NULL,
  `width` decimal(15,2) DEFAULT 0.00,
  `height` decimal(15,2) DEFAULT 0.00,
  `lenght` decimal(15,2) DEFAULT 0.00,
  `weight` decimal(15,2) DEFAULT 0.00,
  `volume` decimal(15,2) DEFAULT 0.00,
  `clientid` int(11) DEFAULT NULL,
  `subtotal` decimal(15,2) DEFAULT 0.00,
  `total_amount` decimal(15,2) DEFAULT 0.00,
  `discount_total` decimal(15,2) DEFAULT 0.00,
  `additional_discount` decimal(15,2) DEFAULT 0.00,
  `total_after_discount` decimal(15,2) DEFAULT 0.00,
  `billing_street` varchar(200) DEFAULT NULL,
  `billing_city` varchar(100) DEFAULT NULL,
  `billing_state` varchar(100) DEFAULT NULL,
  `billing_zip` varchar(100) DEFAULT NULL,
  `billing_country` int(11) DEFAULT NULL,
  `shipping_street` varchar(200) DEFAULT NULL,
  `shipping_city` varchar(100) DEFAULT NULL,
  `shipping_state` varchar(100) DEFAULT NULL,
  `shipping_zip` varchar(100) DEFAULT NULL,
  `shipping_country` int(11) DEFAULT NULL,
  `client_note` text DEFAULT NULL,
  `admin_note` text DEFAULT NULL,
  `approval` int(11) DEFAULT 0,
  `datecreated` datetime DEFAULT NULL,
  `staff_id` int(11) DEFAULT NULL,
  `type_of_packing_list` varchar(100) DEFAULT 'total',
  `delivery_status` varchar(100) DEFAULT 'wh_ready_to_deliver',
  `shipping_fee` decimal(15,2) DEFAULT 0.00
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblwh_packing_list_details`
--

CREATE TABLE `tblwh_packing_list_details` (
  `id` int(11) NOT NULL,
  `packing_list_id` int(11) NOT NULL,
  `delivery_detail_id` int(11) DEFAULT NULL,
  `commodity_code` int(11) DEFAULT NULL,
  `commodity_name` text DEFAULT NULL,
  `quantity` decimal(15,2) DEFAULT 0.00,
  `unit_id` int(11) DEFAULT NULL,
  `unit_price` decimal(15,2) DEFAULT 0.00,
  `sub_total` decimal(15,2) DEFAULT 0.00,
  `tax_id` text DEFAULT NULL,
  `tax_rate` text DEFAULT NULL,
  `tax_name` text DEFAULT NULL,
  `total_amount` decimal(15,2) DEFAULT 0.00,
  `discount` decimal(15,2) DEFAULT 0.00,
  `discount_total` decimal(15,2) DEFAULT 0.00,
  `total_after_discount` decimal(15,2) DEFAULT 0.00,
  `serial_number` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblwh_series`
--

CREATE TABLE `tblwh_series` (
  `id` int(11) UNSIGNED NOT NULL,
  `name` text DEFAULT NULL,
  `model_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblwh_sub_group`
--

CREATE TABLE `tblwh_sub_group` (
  `id` int(11) UNSIGNED NOT NULL,
  `sub_group_code` varchar(100) DEFAULT NULL,
  `sub_group_name` text DEFAULT NULL,
  `order` int(10) DEFAULT NULL,
  `display` int(1) DEFAULT NULL COMMENT 'display 1: display (yes)  0: not displayed (no)',
  `note` text DEFAULT NULL,
  `group_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `tblwh_sub_group`
--

INSERT INTO `tblwh_sub_group` (`id`, `sub_group_code`, `sub_group_name`, `order`, `display`, `note`, `group_id`) VALUES
(5, 'CO', 'Coal', 1, 1, '', 1),
(6, 'OB', 'Over Burden', 2, 1, '', 2),
(7, 'CG', 'Coal Getting', 3, 1, '', 2),
(8, 'HA', 'Hauling', 4, 1, '', 2),
(9, 'BB', 'Bahan Bakar', 1, 1, '', 3),
(10, 'SP', 'Spare Part', 2, 1, '', 3),
(12, 'SW', 'Sewa', 1, 1, '0', 0);

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

--
-- Table structure for table `tblwork_shift`
--

CREATE TABLE `tblwork_shift` (
  `id` int(11) NOT NULL,
  `shift_code` varchar(45) NOT NULL,
  `shift_name` varchar(200) NOT NULL,
  `shift_type` varchar(200) NOT NULL,
  `department` varchar(45) DEFAULT NULL,
  `position` varchar(45) DEFAULT NULL,
  `add_from` int(11) NOT NULL,
  `staff` text DEFAULT NULL,
  `date_create` date DEFAULT NULL,
  `from_date` date DEFAULT NULL,
  `to_date` date DEFAULT NULL,
  `shifts_detail` text NOT NULL,
  `type_shiftwork` varchar(25) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblwork_shift_detail`
--

CREATE TABLE `tblwork_shift_detail` (
  `id` int(11) NOT NULL,
  `staff_id` int(11) DEFAULT NULL,
  `date` date DEFAULT NULL,
  `shift_id` int(11) DEFAULT NULL,
  `work_shift_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblwork_shift_detail_day_name`
--

CREATE TABLE `tblwork_shift_detail_day_name` (
  `id` int(11) NOT NULL,
  `staff_id` int(11) DEFAULT NULL,
  `day_name` varchar(45) DEFAULT NULL,
  `shift_id` int(11) DEFAULT NULL,
  `work_shift_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `tblwork_shift_detail_number_day`
--

CREATE TABLE `tblwork_shift_detail_number_day` (
  `id` int(11) NOT NULL,
  `staff_id` int(11) DEFAULT NULL,
  `number` int(11) DEFAULT NULL,
  `shift_id` int(11) DEFAULT NULL,
  `work_shift_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Indexes for dumped tables
--

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `tblannouncements`
--
ALTER TABLE `tblannouncements`
  ADD PRIMARY KEY (`announcementid`);

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `tblclients`
--
ALTER TABLE `tblclients`
  ADD PRIMARY KEY (`userid`),
  ADD KEY `country` (`country`),
  ADD KEY `leadid` (`leadid`),
  ADD KEY `company` (`company`),
  ADD KEY `active` (`active`);

--
-- Indexes for table `tblconsents`
--
ALTER TABLE `tblconsents`
  ADD PRIMARY KEY (`id`),
  ADD KEY `purpose_id` (`purpose_id`),
  ADD KEY `contact_id` (`contact_id`),
  ADD KEY `lead_id` (`lead_id`);

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

--
-- Indexes for table `tblcontacts`
--
ALTER TABLE `tblcontacts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `userid` (`userid`),
  ADD KEY `firstname` (`firstname`),
  ADD KEY `lastname` (`lastname`),
  ADD KEY `email` (`email`),
  ADD KEY `is_primary` (`is_primary`);

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

--
-- Indexes for table `tblcontracts`
--
ALTER TABLE `tblcontracts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `client` (`client`),
  ADD KEY `contract_type` (`contract_type`);

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

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

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

--
-- Indexes for table `tblcountries`
--
ALTER TABLE `tblcountries`
  ADD PRIMARY KEY (`country_id`);

--
-- Indexes for table `tblcreditnotes`
--
ALTER TABLE `tblcreditnotes`
  ADD PRIMARY KEY (`id`),
  ADD KEY `currency` (`currency`),
  ADD KEY `clientid` (`clientid`),
  ADD KEY `project_id` (`project_id`),
  ADD KEY `formatted_number` (`formatted_number`);

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

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

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

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

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

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

--
-- Indexes for table `tblcustomer_admins`
--
ALTER TABLE `tblcustomer_admins`
  ADD KEY `customer_id` (`customer_id`),
  ADD KEY `staff_id` (`staff_id`);

--
-- Indexes for table `tblcustomer_groups`
--
ALTER TABLE `tblcustomer_groups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `groupid` (`groupid`),
  ADD KEY `customer_id` (`customer_id`);

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

--
-- Indexes for table `tblcustomfieldsvalues`
--
ALTER TABLE `tblcustomfieldsvalues`
  ADD PRIMARY KEY (`id`),
  ADD KEY `relid` (`relid`),
  ADD KEY `fieldto` (`fieldto`),
  ADD KEY `fieldid` (`fieldid`);

--
-- Indexes for table `tblcustom_links`
--
ALTER TABLE `tblcustom_links`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_id` (`unique_id`);

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

--
-- Indexes for table `tbldepartments`
--
ALTER TABLE `tbldepartments`
  ADD PRIMARY KEY (`departmentid`),
  ADD KEY `name` (`name`);

--
-- Indexes for table `tbldismissed_announcements`
--
ALTER TABLE `tbldismissed_announcements`
  ADD PRIMARY KEY (`dismissedannouncementid`),
  ADD KEY `announcementid` (`announcementid`),
  ADD KEY `staff` (`staff`),
  ADD KEY `userid` (`userid`);

--
-- Indexes for table `tblemailtemplates`
--
ALTER TABLE `tblemailtemplates`
  ADD PRIMARY KEY (`emailtemplateid`);

--
-- Indexes for table `tblestimates`
--
ALTER TABLE `tblestimates`
  ADD PRIMARY KEY (`id`),
  ADD KEY `clientid` (`clientid`),
  ADD KEY `currency` (`currency`),
  ADD KEY `project_id` (`project_id`),
  ADD KEY `sale_agent` (`sale_agent`),
  ADD KEY `status` (`status`),
  ADD KEY `formatted_number` (`formatted_number`);

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

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

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

--
-- Indexes for table `tblevents`
--
ALTER TABLE `tblevents`
  ADD PRIMARY KEY (`eventid`);

--
-- Indexes for table `tblexpenses`
--
ALTER TABLE `tblexpenses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `clientid` (`clientid`),
  ADD KEY `project_id` (`project_id`),
  ADD KEY `category` (`category`),
  ADD KEY `currency` (`currency`);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `tblfiles`
--
ALTER TABLE `tblfiles`
  ADD PRIMARY KEY (`id`),
  ADD KEY `rel_id` (`rel_id`),
  ADD KEY `rel_type` (`rel_type`);

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

--
-- Indexes for table `tblfilter_defaults`
--
ALTER TABLE `tblfilter_defaults`
  ADD KEY `filter_id` (`filter_id`),
  ADD KEY `staff_id` (`staff_id`);

--
-- Indexes for table `tblform_questions`
--
ALTER TABLE `tblform_questions`
  ADD PRIMARY KEY (`questionid`);

--
-- Indexes for table `tblform_question_box`
--
ALTER TABLE `tblform_question_box`
  ADD PRIMARY KEY (`boxid`);

--
-- Indexes for table `tblform_question_box_description`
--
ALTER TABLE `tblform_question_box_description`
  ADD PRIMARY KEY (`questionboxdescriptionid`);

--
-- Indexes for table `tblform_results`
--
ALTER TABLE `tblform_results`
  ADD PRIMARY KEY (`resultid`);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `tblhr_allocation_asset`
--
ALTER TABLE `tblhr_allocation_asset`
  ADD PRIMARY KEY (`allocation_id`);

--
-- Indexes for table `tblhr_allowance_type`
--
ALTER TABLE `tblhr_allowance_type`
  ADD PRIMARY KEY (`type_id`);

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

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

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

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

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

--
-- Indexes for table `tblhr_job_p`
--
ALTER TABLE `tblhr_job_p`
  ADD PRIMARY KEY (`job_id`);

--
-- Indexes for table `tblhr_job_position`
--
ALTER TABLE `tblhr_job_position`
  ADD PRIMARY KEY (`position_id`);

--
-- Indexes for table `tblhr_jp_interview_training`
--
ALTER TABLE `tblhr_jp_interview_training`
  ADD PRIMARY KEY (`training_process_id`);

--
-- Indexes for table `tblhr_jp_salary_scale`
--
ALTER TABLE `tblhr_jp_salary_scale`
  ADD PRIMARY KEY (`salary_scale_id`);

--
-- Indexes for table `tblhr_knowedge_base_article_feedback`
--
ALTER TABLE `tblhr_knowedge_base_article_feedback`
  ADD PRIMARY KEY (`articleanswerid`);

--
-- Indexes for table `tblhr_knowledge_base`
--
ALTER TABLE `tblhr_knowledge_base`
  ADD PRIMARY KEY (`articleid`);

--
-- Indexes for table `tblhr_knowledge_base_groups`
--
ALTER TABLE `tblhr_knowledge_base_groups`
  ADD PRIMARY KEY (`groupid`);

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

--
-- Indexes for table `tblhr_payroll_option`
--
ALTER TABLE `tblhr_payroll_option`
  ADD PRIMARY KEY (`option_id`);

--
-- Indexes for table `tblhr_position_training`
--
ALTER TABLE `tblhr_position_training`
  ADD PRIMARY KEY (`training_id`);

--
-- Indexes for table `tblhr_position_training_question_form`
--
ALTER TABLE `tblhr_position_training_question_form`
  ADD PRIMARY KEY (`questionid`);

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

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

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

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

--
-- Indexes for table `tblhr_profile_option`
--
ALTER TABLE `tblhr_profile_option`
  ADD PRIMARY KEY (`option_id`);

--
-- Indexes for table `tblhr_p_t_form_question_box`
--
ALTER TABLE `tblhr_p_t_form_question_box`
  ADD PRIMARY KEY (`boxid`);

--
-- Indexes for table `tblhr_p_t_form_question_box_description`
--
ALTER TABLE `tblhr_p_t_form_question_box_description`
  ADD PRIMARY KEY (`questionboxdescriptionid`);

--
-- Indexes for table `tblhr_p_t_form_results`
--
ALTER TABLE `tblhr_p_t_form_results`
  ADD PRIMARY KEY (`resultid`);

--
-- Indexes for table `tblhr_p_t_surveyresultsets`
--
ALTER TABLE `tblhr_p_t_surveyresultsets`
  ADD PRIMARY KEY (`resultsetid`);

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

--
-- Indexes for table `tblhr_salary_form`
--
ALTER TABLE `tblhr_salary_form`
  ADD PRIMARY KEY (`form_id`);

--
-- Indexes for table `tblhr_staff_contract`
--
ALTER TABLE `tblhr_staff_contract`
  ADD PRIMARY KEY (`id_contract`);

--
-- Indexes for table `tblhr_staff_contract_detail`
--
ALTER TABLE `tblhr_staff_contract_detail`
  ADD PRIMARY KEY (`contract_detail_id`);

--
-- Indexes for table `tblhr_staff_contract_type`
--
ALTER TABLE `tblhr_staff_contract_type`
  ADD PRIMARY KEY (`id_contracttype`);

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

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

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

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

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

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

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

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

--
-- Indexes for table `tblinvoicepaymentrecords`
--
ALTER TABLE `tblinvoicepaymentrecords`
  ADD PRIMARY KEY (`id`),
  ADD KEY `invoiceid` (`invoiceid`),
  ADD KEY `paymentmethod` (`paymentmethod`);

--
-- Indexes for table `tblinvoices`
--
ALTER TABLE `tblinvoices`
  ADD PRIMARY KEY (`id`),
  ADD KEY `currency` (`currency`),
  ADD KEY `clientid` (`clientid`),
  ADD KEY `project_id` (`project_id`),
  ADD KEY `sale_agent` (`sale_agent`),
  ADD KEY `total` (`total`),
  ADD KEY `status` (`status`),
  ADD KEY `formatted_number` (`formatted_number`);

--
-- Indexes for table `tblitemable`
--
ALTER TABLE `tblitemable`
  ADD PRIMARY KEY (`id`),
  ADD KEY `rel_id` (`rel_id`),
  ADD KEY `rel_type` (`rel_type`),
  ADD KEY `qty` (`qty`),
  ADD KEY `rate` (`rate`);

--
-- Indexes for table `tblitems`
--
ALTER TABLE `tblitems`
  ADD PRIMARY KEY (`id`),
  ADD KEY `tax` (`tax`),
  ADD KEY `tax2` (`tax2`),
  ADD KEY `group_id` (`group_id`);

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

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

--
-- Indexes for table `tblitem_tax`
--
ALTER TABLE `tblitem_tax`
  ADD PRIMARY KEY (`id`),
  ADD KEY `itemid` (`itemid`),
  ADD KEY `rel_id` (`rel_id`);

--
-- Indexes for table `tblknowedge_base_article_feedback`
--
ALTER TABLE `tblknowedge_base_article_feedback`
  ADD PRIMARY KEY (`articleanswerid`);

--
-- Indexes for table `tblknowledge_base`
--
ALTER TABLE `tblknowledge_base`
  ADD PRIMARY KEY (`articleid`);

--
-- Indexes for table `tblknowledge_base_groups`
--
ALTER TABLE `tblknowledge_base_groups`
  ADD PRIMARY KEY (`groupid`);

--
-- Indexes for table `tblleads`
--
ALTER TABLE `tblleads`
  ADD PRIMARY KEY (`id`),
  ADD KEY `name` (`name`),
  ADD KEY `company` (`company`),
  ADD KEY `email` (`email`),
  ADD KEY `assigned` (`assigned`),
  ADD KEY `status` (`status`),
  ADD KEY `source` (`source`),
  ADD KEY `lastcontact` (`lastcontact`),
  ADD KEY `dateadded` (`dateadded`),
  ADD KEY `leadorder` (`leadorder`),
  ADD KEY `from_form_id` (`from_form_id`);

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

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

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

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

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

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

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

--
-- Indexes for table `tblmanage_leave`
--
ALTER TABLE `tblmanage_leave`
  ADD PRIMARY KEY (`leave_id`);

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

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

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

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

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

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

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

--
-- Indexes for table `tblmrp_option`
--
ALTER TABLE `tblmrp_option`
  ADD PRIMARY KEY (`option_id`);

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `tblnewsfeed_posts`
--
ALTER TABLE `tblnewsfeed_posts`
  ADD PRIMARY KEY (`postid`);

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

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

--
-- Indexes for table `tblnotes`
--
ALTER TABLE `tblnotes`
  ADD PRIMARY KEY (`id`),
  ADD KEY `rel_id` (`rel_id`),
  ADD KEY `rel_type` (`rel_type`);

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

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

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

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

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

--
-- Indexes for table `tblposition_training_question_form`
--
ALTER TABLE `tblposition_training_question_form`
  ADD PRIMARY KEY (`questionid`);

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

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

--
-- Indexes for table `tblprojects`
--
ALTER TABLE `tblprojects`
  ADD PRIMARY KEY (`id`),
  ADD KEY `clientid` (`clientid`),
  ADD KEY `name` (`name`);

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

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

--
-- Indexes for table `tblproject_members`
--
ALTER TABLE `tblproject_members`
  ADD PRIMARY KEY (`id`),
  ADD KEY `project_id` (`project_id`),
  ADD KEY `staff_id` (`staff_id`);

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

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

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

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

--
-- Indexes for table `tblpurchase_option`
--
ALTER TABLE `tblpurchase_option`
  ADD PRIMARY KEY (`option_id`);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `tblpur_request_detail`
--
ALTER TABLE `tblpur_request_detail`
  ADD PRIMARY KEY (`prd_id`);

--
-- Indexes for table `tblpur_unit`
--
ALTER TABLE `tblpur_unit`
  ADD PRIMARY KEY (`unit_id`);

--
-- Indexes for table `tblpur_vendor`
--
ALTER TABLE `tblpur_vendor`
  ADD PRIMARY KEY (`userid`);

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

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

--
-- Indexes for table `tblp_t_form_question_box_description`
--
ALTER TABLE `tblp_t_form_question_box_description`
  ADD PRIMARY KEY (`questionboxdescriptionid`);

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

--
-- Indexes for table `tblrec_criteria`
--
ALTER TABLE `tblrec_criteria`
  ADD PRIMARY KEY (`criteria_id`);

--
-- Indexes for table `tblrec_job_position`
--
ALTER TABLE `tblrec_job_position`
  ADD PRIMARY KEY (`position_id`);

--
-- Indexes for table `tblrec_set_transfer_record`
--
ALTER TABLE `tblrec_set_transfer_record`
  ADD PRIMARY KEY (`set_id`);

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

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

--
-- Indexes for table `tblreminders`
--
ALTER TABLE `tblreminders`
  ADD PRIMARY KEY (`id`),
  ADD KEY `rel_id` (`rel_id`),
  ADD KEY `rel_type` (`rel_type`),
  ADD KEY `staff` (`staff`);

--
-- Indexes for table `tblroles`
--
ALTER TABLE `tblroles`
  ADD PRIMARY KEY (`roleid`);

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

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

--
-- Indexes for table `tblservices`
--
ALTER TABLE `tblservices`
  ADD PRIMARY KEY (`serviceid`);

--
-- Indexes for table `tblsessions`
--
ALTER TABLE `tblsessions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `ci_sessions_timestamp` (`timestamp`);

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

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

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

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

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

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

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

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

--
-- Indexes for table `tblstaff`
--
ALTER TABLE `tblstaff`
  ADD PRIMARY KEY (`staffid`),
  ADD KEY `firstname` (`firstname`),
  ADD KEY `lastname` (`lastname`);

--
-- Indexes for table `tblstaff_departments`
--
ALTER TABLE `tblstaff_departments`
  ADD PRIMARY KEY (`staffdepartmentid`);

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

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

--
-- Indexes for table `tblsubscriptions`
--
ALTER TABLE `tblsubscriptions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `clientid` (`clientid`),
  ADD KEY `currency` (`currency`),
  ADD KEY `tax_id` (`tax_id`);

--
-- Indexes for table `tbltaggables`
--
ALTER TABLE `tbltaggables`
  ADD KEY `rel_id` (`rel_id`),
  ADD KEY `rel_type` (`rel_type`),
  ADD KEY `tag_id` (`tag_id`);

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

--
-- Indexes for table `tbltasks`
--
ALTER TABLE `tbltasks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `rel_id` (`rel_id`),
  ADD KEY `rel_type` (`rel_type`),
  ADD KEY `milestone` (`milestone`),
  ADD KEY `kanban_order` (`kanban_order`),
  ADD KEY `status` (`status`);

--
-- Indexes for table `tbltaskstimers`
--
ALTER TABLE `tbltaskstimers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `task_id` (`task_id`),
  ADD KEY `staff_id` (`staff_id`);

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

--
-- Indexes for table `tbltask_assigned`
--
ALTER TABLE `tbltask_assigned`
  ADD PRIMARY KEY (`id`),
  ADD KEY `taskid` (`taskid`),
  ADD KEY `staffid` (`staffid`);

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

--
-- Indexes for table `tbltask_comments`
--
ALTER TABLE `tbltask_comments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `file_id` (`file_id`),
  ADD KEY `taskid` (`taskid`);

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

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

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

--
-- Indexes for table `tbltickets`
--
ALTER TABLE `tbltickets`
  ADD PRIMARY KEY (`ticketid`),
  ADD KEY `service` (`service`),
  ADD KEY `department` (`department`),
  ADD KEY `status` (`status`),
  ADD KEY `userid` (`userid`),
  ADD KEY `priority` (`priority`),
  ADD KEY `project_id` (`project_id`),
  ADD KEY `contactid` (`contactid`);

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

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

--
-- Indexes for table `tbltickets_priorities`
--
ALTER TABLE `tbltickets_priorities`
  ADD PRIMARY KEY (`priorityid`);

--
-- Indexes for table `tbltickets_status`
--
ALTER TABLE `tbltickets_status`
  ADD PRIMARY KEY (`ticketstatusid`);

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `tbltimesheets_option`
--
ALTER TABLE `tbltimesheets_option`
  ADD PRIMARY KEY (`option_id`);

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

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

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

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

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

--
-- Indexes for table `tbltimesheets_timekeeper_data`
--
ALTER TABLE `tbltimesheets_timekeeper_data`
  ADD PRIMARY KEY (`staff_identifi`,`time`,`type`);

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

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

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

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

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

--
-- Indexes for table `tbltodos`
--
ALTER TABLE `tbltodos`
  ADD PRIMARY KEY (`todoid`);

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

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

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

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

--
-- Indexes for table `tbluser_meta`
--
ALTER TABLE `tbluser_meta`
  ADD PRIMARY KEY (`umeta_id`);

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

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

--
-- Indexes for table `tblwarehouse`
--
ALTER TABLE `tblwarehouse`
  ADD PRIMARY KEY (`warehouse_id`);

--
-- Indexes for table `tblware_body_type`
--
ALTER TABLE `tblware_body_type`
  ADD PRIMARY KEY (`body_type_id`);

--
-- Indexes for table `tblware_color`
--
ALTER TABLE `tblware_color`
  ADD PRIMARY KEY (`color_id`);

--
-- Indexes for table `tblware_commodity_type`
--
ALTER TABLE `tblware_commodity_type`
  ADD PRIMARY KEY (`commodity_type_id`);

--
-- Indexes for table `tblware_size_type`
--
ALTER TABLE `tblware_size_type`
  ADD PRIMARY KEY (`size_type_id`);

--
-- Indexes for table `tblware_style_type`
--
ALTER TABLE `tblware_style_type`
  ADD PRIMARY KEY (`style_type_id`);

--
-- Indexes for table `tblware_unit_type`
--
ALTER TABLE `tblware_unit_type`
  ADD PRIMARY KEY (`unit_type_id`);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for dumped tables
--

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tblannouncements`
--
ALTER TABLE `tblannouncements`
  MODIFY `announcementid` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tblclients`
--
ALTER TABLE `tblclients`
  MODIFY `userid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tblcountries`
--
ALTER TABLE `tblcountries`
  MODIFY `country_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=251;

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tbldepartments`
--
ALTER TABLE `tbldepartments`
  MODIFY `departmentid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=45;

--
-- AUTO_INCREMENT for table `tbldismissed_announcements`
--
ALTER TABLE `tbldismissed_announcements`
  MODIFY `dismissedannouncementid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblemailtemplates`
--
ALTER TABLE `tblemailtemplates`
  MODIFY `emailtemplateid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2863;

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

--
-- AUTO_INCREMENT for table `tblestimate_requests`
--
ALTER TABLE `tblestimate_requests`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblestimate_request_forms`
--
ALTER TABLE `tblestimate_request_forms`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `tblevents`
--
ALTER TABLE `tblevents`
  MODIFY `eventid` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tblfilters`
--
ALTER TABLE `tblfilters`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblform_questions`
--
ALTER TABLE `tblform_questions`
  MODIFY `questionid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblform_question_box`
--
ALTER TABLE `tblform_question_box`
  MODIFY `boxid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblform_question_box_description`
--
ALTER TABLE `tblform_question_box_description`
  MODIFY `questionboxdescriptionid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblform_results`
--
ALTER TABLE `tblform_results`
  MODIFY `resultid` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tblhr_allocation_asset`
--
ALTER TABLE `tblhr_allocation_asset`
  MODIFY `allocation_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblhr_allowance_type`
--
ALTER TABLE `tblhr_allowance_type`
  MODIFY `type_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tblhr_job_p`
--
ALTER TABLE `tblhr_job_p`
  MODIFY `job_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `tblhr_job_position`
--
ALTER TABLE `tblhr_job_position`
  MODIFY `position_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT for table `tblhr_jp_interview_training`
--
ALTER TABLE `tblhr_jp_interview_training`
  MODIFY `training_process_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblhr_jp_salary_scale`
--
ALTER TABLE `tblhr_jp_salary_scale`
  MODIFY `salary_scale_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblhr_knowedge_base_article_feedback`
--
ALTER TABLE `tblhr_knowedge_base_article_feedback`
  MODIFY `articleanswerid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblhr_knowledge_base`
--
ALTER TABLE `tblhr_knowledge_base`
  MODIFY `articleid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblhr_knowledge_base_groups`
--
ALTER TABLE `tblhr_knowledge_base_groups`
  MODIFY `groupid` int(11) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `tblhr_payroll_option`
--
ALTER TABLE `tblhr_payroll_option`
  MODIFY `option_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `tblhr_position_training`
--
ALTER TABLE `tblhr_position_training`
  MODIFY `training_id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblhr_position_training_question_form`
--
ALTER TABLE `tblhr_position_training_question_form`
  MODIFY `questionid` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

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

--
-- AUTO_INCREMENT for table `tblhr_profile_option`
--
ALTER TABLE `tblhr_profile_option`
  MODIFY `option_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `tblhr_p_t_form_question_box`
--
ALTER TABLE `tblhr_p_t_form_question_box`
  MODIFY `boxid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblhr_p_t_form_question_box_description`
--
ALTER TABLE `tblhr_p_t_form_question_box_description`
  MODIFY `questionboxdescriptionid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblhr_p_t_form_results`
--
ALTER TABLE `tblhr_p_t_form_results`
  MODIFY `resultid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblhr_p_t_surveyresultsets`
--
ALTER TABLE `tblhr_p_t_surveyresultsets`
  MODIFY `resultsetid` int(11) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `tblhr_salary_form`
--
ALTER TABLE `tblhr_salary_form`
  MODIFY `form_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblhr_staff_contract`
--
ALTER TABLE `tblhr_staff_contract`
  MODIFY `id_contract` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblhr_staff_contract_detail`
--
ALTER TABLE `tblhr_staff_contract_detail`
  MODIFY `contract_detail_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblhr_staff_contract_type`
--
ALTER TABLE `tblhr_staff_contract_type`
  MODIFY `id_contracttype` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tblknowledge_base_groups`
--
ALTER TABLE `tblknowledge_base_groups`
  MODIFY `groupid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

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

--
-- AUTO_INCREMENT for table `tblleads_email_integration`
--
ALTER TABLE `tblleads_email_integration`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'the ID always must be 1', AUTO_INCREMENT=2;

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tblmanage_leave`
--
ALTER TABLE `tblmanage_leave`
  MODIFY `leave_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tblmrp_option`
--
ALTER TABLE `tblmrp_option`
  MODIFY `option_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tblnewsfeed_posts`
--
ALTER TABLE `tblnewsfeed_posts`
  MODIFY `postid` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tblpayment_attempts`
--
ALTER TABLE `tblpayment_attempts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `tblposition_training_question_form`
--
ALTER TABLE `tblposition_training_question_form`
  MODIFY `questionid` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tblpurchase_option`
--
ALTER TABLE `tblpurchase_option`
  MODIFY `option_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tblpur_request_detail`
--
ALTER TABLE `tblpur_request_detail`
  MODIFY `prd_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=861;

--
-- AUTO_INCREMENT for table `tblpur_unit`
--
ALTER TABLE `tblpur_unit`
  MODIFY `unit_id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblpur_vendor`
--
ALTER TABLE `tblpur_vendor`
  MODIFY `userid` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=58;

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

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

--
-- AUTO_INCREMENT for table `tblp_t_form_question_box_description`
--
ALTER TABLE `tblp_t_form_question_box_description`
  MODIFY `questionboxdescriptionid` int(11) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `tblrec_criteria`
--
ALTER TABLE `tblrec_criteria`
  MODIFY `criteria_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblrec_job_position`
--
ALTER TABLE `tblrec_job_position`
  MODIFY `position_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblrec_set_transfer_record`
--
ALTER TABLE `tblrec_set_transfer_record`
  MODIFY `set_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tblservices`
--
ALTER TABLE `tblservices`
  MODIFY `serviceid` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tblstaff`
--
ALTER TABLE `tblstaff`
  MODIFY `staffid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=49;

--
-- AUTO_INCREMENT for table `tblstaff_departments`
--
ALTER TABLE `tblstaff_departments`
  MODIFY `staffdepartmentid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=106;

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tbltemplates`
--
ALTER TABLE `tbltemplates`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tbltickets`
--
ALTER TABLE `tbltickets`
  MODIFY `ticketid` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

--
-- AUTO_INCREMENT for table `tbltickets_status`
--
ALTER TABLE `tbltickets_status`
  MODIFY `ticketstatusid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tbltimesheets_option`
--
ALTER TABLE `tbltimesheets_option`
  MODIFY `option_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `tbltodos`
--
ALTER TABLE `tbltodos`
  MODIFY `todoid` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

--
-- AUTO_INCREMENT for table `tbltwocheckout_log`
--
ALTER TABLE `tbltwocheckout_log`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tbluser_meta`
--
ALTER TABLE `tbluser_meta`
  MODIFY `umeta_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

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

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

--
-- AUTO_INCREMENT for table `tblwarehouse`
--
ALTER TABLE `tblwarehouse`
  MODIFY `warehouse_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `tblware_body_type`
--
ALTER TABLE `tblware_body_type`
  MODIFY `body_type_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblware_color`
--
ALTER TABLE `tblware_color`
  MODIFY `color_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblware_commodity_type`
--
ALTER TABLE `tblware_commodity_type`
  MODIFY `commodity_type_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tblware_size_type`
--
ALTER TABLE `tblware_size_type`
  MODIFY `size_type_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblware_style_type`
--
ALTER TABLE `tblware_style_type`
  MODIFY `style_type_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblware_unit_type`
--
ALTER TABLE `tblware_unit_type`
  MODIFY `unit_type_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Constraints for dumped tables
--

--
-- Constraints for table `tblfilter_defaults`
--
ALTER TABLE `tblfilter_defaults`
  ADD CONSTRAINT `tblfilter_defaults_ibfk_1` FOREIGN KEY (`filter_id`) REFERENCES `tblfilters` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `tblfilter_defaults_ibfk_2` FOREIGN KEY (`staff_id`) REFERENCES `tblstaff` (`staffid`) ON DELETE CASCADE;

--
-- Constraints for table `tbltwocheckout_log`
--
ALTER TABLE `tbltwocheckout_log`
  ADD CONSTRAINT `tbltwocheckout_log_ibfk_1` FOREIGN KEY (`invoice_id`) REFERENCES `tblinvoices` (`id`) ON DELETE CASCADE;
COMMIT;

