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

START TRANSACTION;



--
-- Database: `octanicsio_fruiezventuresllp`
--

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

--
-- Table structure for table `accountgroups`
--

CREATE TABLE `accountgroups` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `name` varchar(200) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `accounts`
--

CREATE TABLE `accounts` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `accountgroup_id` int(11) DEFAULT NULL,
  `firstname` varchar(150) DEFAULT NULL,
  `lastname` varchar(150) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Defalut value -1 if for Admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Defalut value -1 if for Admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `actualvisitcommunicationhistory`
--

CREATE TABLE `actualvisitcommunicationhistory` (
  `id` int(11) NOT NULL,
  `actualvisit_id` int(11) DEFAULT NULL,
  `actualvisitcommunicationtype_id` int(11) DEFAULT NULL,
  `followupdate` datetime DEFAULT NULL,
  `comment` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `actualvisitcommunicationtype`
--

CREATE TABLE `actualvisitcommunicationtype` (
  `id` int(11) NOT NULL,
  `displayorder` int(11) NOT NULL,
  `name` text,
  `weightage` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `actualvisitcommunicationtype`
--

INSERT INTO `actualvisitcommunicationtype` (`id`, `displayorder`, `name`, `weightage`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 2, 'Followup Calls', 1, 1, -1, '2019-12-25 11:18:04', -1, '2019-12-25 11:18:04', NULL, NULL),
(2, 4, 'Quotation To Be Sent', NULL, 1, -1, '2019-12-25 11:18:25', -1, '2019-12-25 11:18:25', NULL, NULL),
(3, 5, 'Quotation Sent', NULL, 1, -1, '2019-12-25 11:18:44', -1, '2019-12-25 11:18:44', NULL, NULL),
(4, 6, 'Sales Order To Be Sent', NULL, 1, -1, '2019-12-25 11:18:55', -1, '2019-12-25 11:18:55', NULL, NULL),
(5, 7, 'Sales Order Sent', NULL, 1, -1, '2019-12-25 11:18:55', -1, '2019-12-25 11:18:55', NULL, NULL),
(6, 8, 'Invoice To Be Sent', NULL, 1, -1, '2019-12-25 11:18:25', -1, '2019-12-25 11:18:25', NULL, NULL),
(7, 9, 'Invoice Sent', 25, 1, -1, '2019-12-25 11:18:44', -1, '2019-12-25 11:18:44', NULL, NULL),
(8, 10, 'Other', NULL, 1, -1, '2019-12-25 11:18:44', -1, '2019-12-25 11:18:44', NULL, NULL),
(9, 1, 'Introduction Meeting', 5, 1, -1, '2020-05-14 01:30:08', -1, '2020-05-14 01:30:08', NULL, NULL),
(10, 3, 'Followup Meeting', 5, 1, -1, '2020-05-14 01:30:08', -1, '2020-05-14 01:30:08', NULL, NULL);

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

--
-- Table structure for table `actualvisits`
--

CREATE TABLE `actualvisits` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `time` time DEFAULT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `visitedby_id` int(11) DEFAULT NULL,
  `contactperson` varchar(50) DEFAULT NULL,
  `contactnumber` varchar(50) DEFAULT NULL,
  `street1` varchar(255) DEFAULT NULL,
  `street2` varchar(255) DEFAULT NULL,
  `street3` varchar(255) DEFAULT NULL,
  `city_id` int(11) DEFAULT NULL,
  `state_id` int(11) DEFAULT NULL,
  `country_id` int(11) DEFAULT NULL,
  `note` text,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `addresstypes`
--

CREATE TABLE `addresstypes` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `code` varchar(100) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `addresstypes`
--

INSERT INTO `addresstypes` (`id`, `name`, `code`, `displayorder`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Registered', 'REGISTERED', 1, 1, -1, '2021-12-24 19:24:47', -1, '2021-12-24 19:24:47', NULL, NULL),
(2, 'Correspondence', 'CORRESPONDENCE', 2, 1, -1, '2021-12-24 19:26:55', -1, '2021-12-24 19:26:55', NULL, NULL),
(3, 'Branch', 'BRANCH', 3, 1, -1, '2021-12-24 19:27:33', -1, '2021-12-24 19:27:33', NULL, NULL);

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

--
-- Table structure for table `adjustmenttype`
--

CREATE TABLE `adjustmenttype` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `code` varchar(100) DEFAULT NULL,
  `displayorderid` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin	',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin	',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `adjustmenttype`
--

INSERT INTO `adjustmenttype` (`id`, `name`, `code`, `displayorderid`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Increase Stock', 'INCREASESTOCK', 1, 1, -1, '2021-01-18 19:31:34', -1, '2021-01-18 19:31:34', NULL, NULL),
(2, 'Decrease Stock', 'DECREASESTOCK', 2, 1, -1, '2021-01-18 19:32:00', -1, '2021-01-18 19:32:00', NULL, NULL);

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

--
-- Table structure for table `advertisingcosting`
--

CREATE TABLE `advertisingcosting` (
  `id` int(11) NOT NULL,
  `leadsource_id` int(11) DEFAULT NULL,
  `startdate` datetime DEFAULT NULL,
  `enddate` datetime DEFAULT NULL,
  `budget` decimal(18,2) DEFAULT NULL,
  `cost` decimal(18,2) DEFAULT NULL,
  `salestarget` decimal(18,2) DEFAULT NULL,
  `leadstarget` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `created_by` int(11) DEFAULT '-1',
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `allocationdetails`
--

CREATE TABLE `allocationdetails` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `allocation_id` int(11) DEFAULT NULL,
  `category_id` int(11) DEFAULT NULL,
  `subcategory_id` int(11) DEFAULT NULL,
  `brand_id` int(11) DEFAULT NULL,
  `size_id` int(11) DEFAULT NULL,
  `rawmaterial_id` int(11) DEFAULT NULL,
  `qty` int(11) NOT NULL,
  `price` decimal(18,2) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'default value -1 for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'default value -1 for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `allocations`
--

CREATE TABLE `allocations` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `project_id` int(11) DEFAULT NULL,
  `costcard_id` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'default value -1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'default value -1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `amc`
--

CREATE TABLE `amc` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `paymentcycle_id` int(11) DEFAULT NULL,
  `amcstatus_id` int(11) DEFAULT NULL,
  `amctype_id` int(11) DEFAULT NULL,
  `installationprovider_id` int(11) DEFAULT NULL,
  `servicecycle_id` int(11) DEFAULT NULL,
  `address_id` int(50) DEFAULT NULL,
  `referencenumber` varchar(50) DEFAULT NULL,
  `installationbyothers` varchar(50) DEFAULT NULL,
  `description` text,
  `startdate` datetime DEFAULT NULL,
  `enddate` datetime DEFAULT NULL,
  `amount` decimal(18,2) DEFAULT NULL,
  `terms` text,
  `note` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `amcdetails`
--

CREATE TABLE `amcdetails` (
  `id` int(11) NOT NULL,
  `amc_id` int(11) DEFAULT NULL,
  `product_id` int(11) DEFAULT NULL,
  `serialno` varchar(50) DEFAULT NULL,
  `subpartserialno` varchar(100) DEFAULT NULL,
  `specification` text,
  `size` varchar(50) DEFAULT NULL,
  `unit` varchar(50) DEFAULT NULL,
  `qty` int(11) DEFAULT NULL,
  `gst` decimal(18,2) DEFAULT NULL,
  `rate` int(11) DEFAULT NULL,
  `amount` decimal(18,2) DEFAULT NULL,
  `remark` varchar(255) DEFAULT NULL,
  `location` varchar(255) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'default value-1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'default value-1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `amcservicedetails`
--

CREATE TABLE `amcservicedetails` (
  `id` int(11) NOT NULL,
  `amc_id` int(11) DEFAULT NULL,
  `calendar_id` int(11) DEFAULT NULL,
  `servicestatus_id` int(11) DEFAULT NULL,
  `servicedate` datetime DEFAULT NULL,
  `note` varchar(100) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `amcstatus`
--

CREATE TABLE `amcstatus` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `code` varchar(150) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `amcstatus`
--

INSERT INTO `amcstatus` (`id`, `name`, `code`, `displayorder`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Running', 'RUN', 2, 1, -1, '2020-09-30 01:28:06', -1, '2020-09-30 01:28:06', NULL, NULL),
(2, 'Closed', 'CLO', 3, 1, -1, '2020-09-30 01:28:06', -1, '2020-09-30 01:28:06', NULL, NULL),
(3, 'Cancelled', 'CAN', 4, 1, -1, '2020-09-30 01:28:06', -1, '2020-09-30 01:28:06', NULL, NULL),
(4, 'Open', 'OPE', 1, 1, -1, '2021-03-27 03:00:56', -1, '2021-03-27 03:00:56', NULL, NULL);

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

--
-- Table structure for table `amctypes`
--

CREATE TABLE `amctypes` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `amctypes`
--

INSERT INTO `amctypes` (`id`, `name`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Comprehensive', 1, -1, '2020-10-05 14:35:43', -1, '2020-10-05 14:35:43', NULL, NULL),
(2, 'Non Comprehensive', 1, -1, '2020-10-05 14:36:00', -1, '2020-10-05 14:36:00', NULL, NULL);

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

--
-- Table structure for table `answers`
--

CREATE TABLE `answers` (
  `id` int(11) NOT NULL,
  `questionnaire_id` int(11) DEFAULT NULL,
  `answer` text,
  `score` int(11) DEFAULT NULL,
  `active` int(11) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `applicationtypes`
--

CREATE TABLE `applicationtypes` (
  `id` int(11) NOT NULL,
  `name` varchar(200) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP COMMENT 'Default value -1 if for admin',
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `applicationtypes`
--

INSERT INTO `applicationtypes` (`id`, `name`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Portal', 1, -1, '2020-09-06 13:32:32', -1, '2020-09-06 13:32:32', NULL, NULL),
(2, 'Lite', 1, -1, '2020-09-06 13:32:32', -1, '2020-09-06 13:32:32', NULL, NULL);

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

--
-- Table structure for table `areacommunicationtypes`
--

CREATE TABLE `areacommunicationtypes` (
  `id` int(11) NOT NULL,
  `module_id` int(11) DEFAULT NULL,
  `area_id` int(11) DEFAULT NULL,
  `communicationtype_id` int(11) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `areadocumenttypes`
--

CREATE TABLE `areadocumenttypes` (
  `id` int(11) NOT NULL,
  `module_id` int(11) DEFAULT NULL,
  `area_id` int(11) DEFAULT NULL,
  `documenttype_id` int(11) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT '	Default value -1 if for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT '	Default value -1 if for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `areadocumenttypes`
--

INSERT INTO `areadocumenttypes` (`id`, `module_id`, `area_id`, `documenttype_id`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 7, 109, 1, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(2, 2, 6, 1, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(3, 2, 8, 1, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(4, 10, 264, 1, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(5, 7, 109, 4, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(6, 2, 6, 4, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(7, 2, 8, 4, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(8, 10, 264, 4, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(9, 7, 109, 5, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(10, 2, 6, 5, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(11, 2, 8, 5, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(12, 10, 264, 5, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(13, 7, 109, 6, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(14, 2, 6, 6, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(15, 2, 8, 6, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(16, 10, 264, 6, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(17, 7, 109, 7, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(18, 2, 6, 7, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(19, 2, 8, 7, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(20, 10, 264, 7, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(21, 7, 109, 3, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(22, 7, 109, 2, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(23, 7, 109, 10, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(24, 7, 109, 11, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(25, 7, 109, 12, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(26, 10, 264, 8, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(27, 2, 6, 9, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(28, 2, 8, 9, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(29, 7, 109, 14, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(30, 2, 6, 14, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(31, 2, 8, 14, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(32, 10, 264, 14, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(33, 7, 257, 13, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(34, 7, 257, 14, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(35, 7, 257, 15, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(36, 7, 257, 16, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(37, 7, 257, 17, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(38, 7, 257, 18, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(39, 7, 257, 19, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(40, 7, 257, 20, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(41, 7, 257, 21, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(42, 7, 257, 22, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(43, 7, 257, 23, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(44, 7, 257, 24, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(45, 7, 257, 25, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(46, 7, 257, 26, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(47, 7, 257, 27, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(48, 7, 257, 28, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(49, 7, 257, 29, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(50, 7, 257, 30, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(51, 7, 257, 31, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(52, 7, 257, 32, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(53, 7, 257, 33, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(54, 7, 257, 34, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(55, 7, 257, 35, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(56, 7, 257, 36, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(57, 7, 257, 37, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(58, 7, 257, 38, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(59, 7, 257, 39, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(60, 7, 257, 40, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(61, 7, 257, 41, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(62, 7, 257, 42, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(63, 7, 257, 43, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(64, 7, 257, 44, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(65, 7, 257, 45, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(66, 7, 257, 46, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(67, 7, 257, 47, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(68, 7, 257, 48, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(69, 7, 257, 49, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(70, 7, 257, 50, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(71, 7, 257, 51, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(72, 7, 257, 52, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(73, 7, 257, 53, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(74, 7, 257, 14, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(75, 7, 257, 4, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(76, 7, 257, 54, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(77, NULL, 270, 1, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(78, NULL, 271, NULL, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(79, NULL, 270, 4, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(80, NULL, 271, 4, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(81, NULL, 270, 6, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(82, NULL, 271, 6, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(83, NULL, 270, 5, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(84, NULL, 271, 5, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(85, NULL, 270, 7, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(86, NULL, 271, 7, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(87, NULL, 270, 9, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(88, NULL, 270, 14, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(89, NULL, 271, 14, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(90, 2, 5, 1, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(91, 2, 5, 4, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(92, 2, 5, 5, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(93, 2, 5, 6, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(94, 2, 5, 7, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(95, 2, 5, 9, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(96, 2, 5, 14, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(97, 3, 62, 1, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(98, 3, 62, 4, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(99, 3, 62, 5, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(100, 3, 62, 6, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(101, 3, 62, 7, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(102, 3, 62, 9, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(103, 3, 62, 14, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(104, 3, 63, 1, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(105, 3, 63, 4, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(106, 3, 63, 5, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(107, 3, 63, 6, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(108, 3, 63, 7, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(109, 3, 63, 9, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(110, 3, 63, 14, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(111, 19, 295, 1, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(112, 19, 295, 4, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(113, 19, 295, 5, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(114, 19, 295, 6, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(115, 19, 295, 7, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(116, 19, 295, 9, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(117, 19, 295, 14, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(118, 19, 296, 1, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(119, 19, 296, 4, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(120, 19, 296, 5, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(121, 19, 296, 6, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(122, 19, 296, 7, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(123, 19, 296, 9, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL),
(124, 19, 296, 14, 1, -1, '2022-09-13 05:09:30', -1, '2022-09-13 05:09:30', NULL, NULL);

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

--
-- Table structure for table `areaexporttypes`
--

CREATE TABLE `areaexporttypes` (
  `id` int(11) NOT NULL,
  `module_id` int(11) DEFAULT NULL,
  `area_id` int(11) DEFAULT NULL,
  `exporttype_id` int(11) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `areaexporttypes`
--

INSERT INTO `areaexporttypes` (`id`, `module_id`, `area_id`, `exporttype_id`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 2, 24, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(2, 2, 25, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(3, 2, 26, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(4, 2, 27, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(5, 2, 28, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(6, 2, 29, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(7, 2, 30, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(8, 2, 31, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(9, 2, 32, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(10, 2, 33, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(11, 2, 34, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(12, 2, 35, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(13, 2, 36, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(14, 2, 37, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(15, 2, 38, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(16, 2, 39, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(17, 2, 40, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(18, 2, 41, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(19, 2, 42, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(20, 2, 43, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(21, 2, 52, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(22, 2, 53, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(23, 2, 54, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(24, 2, 54, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(25, 2, 50, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(26, 2, 44, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(27, 2, 50, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(28, 2, 45, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(29, 2, 37, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(30, 2, 46, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(31, 2, 47, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(32, 2, 51, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(33, 2, 48, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(34, 2, 49, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(35, 2, 8, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(36, 2, 6, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(37, 2, 56, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(38, 2, 55, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(39, 2, 5, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(40, 2, 58, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(41, 2, 57, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(42, 2, 57, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(43, 2, 56, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(44, 2, 59, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(45, 2, 59, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(46, 2, 61, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(47, 2, 61, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(48, 3, 66, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(49, 3, 66, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(50, 3, 67, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(51, 3, 67, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(52, 3, 68, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(53, 3, 68, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(54, 3, 69, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(55, 3, 69, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(56, 3, 62, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(57, 3, 63, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(58, 8, 151, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(59, 8, 152, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(60, 8, 153, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(61, 8, 154, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(62, 8, 155, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(63, 8, 156, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(64, 8, 157, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(65, 8, 158, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(66, 8, 159, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(67, 8, 150, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(68, 8, 150, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(69, 8, 160, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(70, 8, 161, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(71, 8, 161, 4, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(72, 8, 162, 3, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(73, 8, 162, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(74, 8, 163, 3, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(75, 8, 163, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(76, 7, 117, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(77, 7, 119, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(78, 7, 118, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(79, 7, 120, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(80, 7, 121, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(81, 7, 122, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(82, 7, 123, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(83, 7, 124, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(84, 7, 125, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(85, 7, 126, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(86, 7, 127, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(87, 7, 128, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(88, 7, 129, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(89, 7, 131, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(90, 7, 130, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(91, 7, 109, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(92, 7, 110, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(93, 5, 97, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(94, 5, 98, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(95, 5, 99, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(96, 5, 100, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(97, 5, 101, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(98, 5, 102, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(99, 5, 103, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(100, 5, 104, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(101, 5, 86, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(102, 5, 87, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(103, 5, 99, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(104, 5, 99, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(105, 5, 100, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(106, 5, 100, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(107, 5, 101, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(108, 5, 101, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(109, 5, 102, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(110, 5, 102, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(111, 5, 105, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(112, 5, 105, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(113, 5, 106, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(114, 5, 106, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(115, 5, 107, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(116, 5, 107, 2, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(117, 4, 76, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(118, 4, 77, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(119, 4, 78, 1, 1, -1, '2022-09-13 05:10:02', -1, '2022-09-13 05:10:02', NULL, NULL),
(120, 4, 76, 2, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(121, 4, 77, 2, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(122, 4, 78, 2, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(123, 10, 264, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(124, 13, 208, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(125, 13, 235, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(126, 9, 282, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(127, 9, 282, 2, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(128, 9, 287, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(129, 9, 287, 2, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(130, 9, 283, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(131, 9, 281, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(132, 9, 284, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(133, 9, 284, 2, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(134, 9, 286, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(135, 9, 286, 2, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(136, 9, 291, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(137, 9, 285, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(138, 9, 285, 2, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(139, 9, 289, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(140, 9, 289, 2, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(141, 9, 291, 2, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(142, 9, 291, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(143, 9, 280, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(144, 9, 280, 2, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(145, 9, 290, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(146, 9, 290, 2, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(147, 9, 288, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(148, 9, 288, 2, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(149, 9, 292, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(150, 9, 292, 2, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(151, 11, 183, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(152, 11, 183, 2, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(153, 11, 184, 2, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(154, 11, 184, 5, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(155, 11, 185, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(156, 11, 185, 2, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(157, 11, 177, 2, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(158, 11, 177, 5, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(159, 19, 295, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL),
(160, 19, 296, 1, 1, -1, '2022-09-13 05:10:03', -1, '2022-09-13 05:10:03', NULL, NULL);

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

--
-- Table structure for table `areas`
--

CREATE TABLE `areas` (
  `id` int(11) NOT NULL,
  `applicationtype_id` int(11) DEFAULT NULL,
  `name` varchar(100) DEFAULT NULL,
  `code` varchar(100) DEFAULT NULL,
  `displayname` varchar(255) DEFAULT NULL,
  `module_id` int(11) DEFAULT NULL,
  `parent_id` int(11) DEFAULT NULL,
  `routes` varchar(255) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `areatype_id` int(11) DEFAULT NULL,
  `isrolebased` tinyint(20) DEFAULT NULL,
  `icon` varchar(200) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `areas`
--

INSERT INTO `areas` (`id`, `applicationtype_id`, `name`, `code`, `displayname`, `module_id`, `parent_id`, `routes`, `displayorder`, `areatype_id`, `isrolebased`, `icon`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 1, 'Dashboard', 'DASH', 'Dashboard', NULL, NULL, NULL, 1, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:11', -1, '2022-09-13 05:08:11', NULL, NULL),
(2, 1, 'Company Goals', 'CGOAL', 'Company Goals', 1, NULL, '/companygoals', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:11', -1, '2022-09-13 05:08:11', NULL, NULL),
(3, 1, 'Sales Goal', 'SGOAL', 'Sales Goal', 1, NULL, '/departmentgoals', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:11', -1, '2022-09-13 05:08:11', NULL, NULL),
(4, 1, 'HR Goal', 'HRGOAL', 'HR Goal', 1, NULL, '/hrgoals', 4, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:11', -1, '2022-09-13 05:08:11', NULL, NULL),
(5, 1, 'Contacts', 'CONTACT', 'Contacts', 2, NULL, '/contacts', 2, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:11', -1, '2022-09-13 05:08:11', NULL, NULL),
(6, 1, 'Leads', 'LEAD', 'Leads', 2, NULL, '/leads', 3, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:11', -1, '2022-09-13 05:08:11', NULL, NULL),
(7, 1, 'Pipeline', 'PIPELINE', 'Pipeline', 2, NULL, '/pipelines', 4, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:11', -1, '2022-09-13 05:08:11', NULL, NULL),
(8, 1, 'Customers', 'CUST', 'Customers', 2, NULL, '/customers', 5, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:11', -1, '2022-09-13 05:08:11', NULL, NULL),
(9, 1, 'Quotations', 'QUOT', 'Quotations', 2, NULL, '/quotations', 6, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:11', -1, '2022-09-13 05:08:11', NULL, NULL),
(10, 1, 'Service Quotation', 'SERVCEQUOT', 'Service Quotation', 2, NULL, '/servicequotation', 7, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:11', -1, '2022-09-13 05:08:11', NULL, NULL),
(11, 1, 'Bill of Quantities', 'BILLQUNTY', 'Bill of Quantities', 2, NULL, '/billofquantities', 8, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:11', -1, '2022-09-13 05:08:11', NULL, NULL),
(12, 1, 'Service Delivery', 'SERVCEDELVERY', 'Service Delivery', 2, NULL, '/servicedelivery', 9, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:11', -1, '2022-09-13 05:08:11', NULL, NULL),
(13, 1, 'Sales Orders', 'SALES', 'Sales Orders', 2, NULL, '/salesorders', 10, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:11', -1, '2022-09-13 05:08:11', NULL, NULL),
(14, 1, 'Invoices', 'INVOICE', 'Invoices', 2, NULL, '/invoices', 11, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:11', -1, '2022-09-13 05:08:11', NULL, NULL),
(15, 1, 'Service Invoice', 'SERVCEINVOICE', 'Service Invoice', 2, NULL, '/serviceinvoice', 12, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:11', -1, '2022-09-13 05:08:11', NULL, NULL),
(16, 1, ' Challans', 'CHALLANS', 'Challans', 2, NULL, '-1', 13, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(17, 1, 'Deliver Challan', 'DELIVCHALL', 'Delivery', 2, 16, '/deliverychallan', 1, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(18, 1, 'Consignment Challan', 'CONSICHALL', 'Consignment', 2, 16, '/consignmentchallan', 2, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(19, 1, 'Cash Memo', 'CMEMO', 'Cash Memo', 2, NULL, '/cashmemo', 14, NULL, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(20, 1, 'Service Memo', 'SERVICEMEMO', 'Service Memo', 2, NULL, '/servicememo', 15, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(21, 1, 'Warranty', 'WARRNTY', 'Warranty', 2, NULL, '/warranty', 16, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(22, 1, 'Payments', 'PAYM', 'Payments', 2, NULL, '/payments', 17, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(23, 1, 'Report', 'SM_RPT', 'Report', 2, NULL, NULL, 18, 1, 1, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(24, 1, 'Sales cost analysis', 'RPT_SALESCOST', 'Sales cost analysis', 2, 23, '/salescostanalysisreport', 1, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(25, 1, 'HCVA', 'RPT_HCVA', 'HCVA', 2, 23, '/hcvareport', 2, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(26, 1, 'Lead cost analysis', 'RPT_LEADCOST', 'Lead cost analysis', 2, 23, '/leadcostanalysisreport', 3, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(27, 1, 'Targets', 'RPT_TARGET', 'Targets', 2, 23, '/targetreport', 4, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(28, 1, 'New leads outflow', 'RPT_NEWLEADOUTFLOW', 'New leads outflow', 2, 23, '/newleadoutflowreport', 5, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(29, 1, 'Ad cost per sale', 'RPT_ADCOSTPERSALE', 'Ad cost per sale', 2, 23, '/adcostpersalereport', 6, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(30, 1, 'Ad cost per lead', 'RPT_ADCOSTPERLEAD', 'Ad cost per lead', 2, 23, '/adcostperleadreport', 7, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(31, 1, 'Targets and actual', 'RPT_TARGETANDACTUAL', 'Targets and actual', 2, 23, '/targetandactualreport', 8, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(32, 1, 'Monthly revenue and target', 'RPT_MONTHLYREVNUETARGET', 'Monthly revenue and target', 2, 23, '/monthlyrevenuetargetreport', 9, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(33, 1, 'Ad cost per sale and per lead', 'RPT_ADCOSTPERSALEANDLEAD', 'Ad cost per sale and per lead', 2, 23, '/adcostpersaleandperleadreport', 10, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(34, 1, 'Target meeting allocated and actual allocated', 'RPT_TARGETANDACTUALALLOCAT', 'Target meeting allocated and actual allocated', 2, 23, '/targetandactaulallocatedreport', 11, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(35, 1, 'Average inflow and outflow of leads', 'RPT_AVGINANDOUTFLOW', 'Average inflow and outflow of leads', 2, 23, '/averageinflowandoutflowleadreport', 12, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(36, 1, 'Sources/Leads comparison', 'RPT_SOURCELEADCOMP', 'Sources/Leads comparison', 2, 23, '/sourceleadcomparisonreport', 13, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(37, 1, 'Sales revenue', 'RPT_SALESREVENUE', 'Sales revenue', 2, 23, '/salesrevenuereport', 14, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(38, 1, 'Source of leads', 'RPT_SOURCELEAD', 'Source of leads', 2, 23, '/sourceofleadreport', 15, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(39, 1, 'Serial number tracking', 'RPT_SRNOTRACK', 'Serial number tracking', 2, 23, '/serialnumbertrackingreport', 16, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(40, 1, 'Revenue', 'RPT_RVNUE', 'Revenue', 2, 23, '/revenuereport', 17, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(41, 1, 'Payment history', 'RPT_PMTHIS', 'Payment history', 2, 23, '/paymenthistoryreport', 18, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(42, 1, 'Delivery', 'RPT_DELRY', 'Delivery', 2, 23, '/deliveryreport', 19, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(43, 1, 'Pickup', 'RPT_PKUP', 'Pickup', 2, 23, '/pickupreport', 20, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(44, 1, 'Trainings', 'RPT_TRAINING', 'Trainings', 2, 23, '/trainingreport', 21, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(45, 1, 'Average conversion ratio which is being closed down', 'RPT_AVGCONVERSIONRATIO', 'Average conversion ratio which is being closed down', 2, 23, '/averageconversionrationcloseddownreport', 22, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(46, 1, 'Quarterly activity tracking ratios', 'RPT_QUARTACTIVTYTRACK', 'Quarterly activity tracking ratios', 2, 23, '/quarterlyactivitytrackingratioreport', 23, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(47, 1, 'Conversion ratio', 'RPT_CONVERSIONRATIO', 'Conversion ratio', 2, 23, '/conversionratioreport', 24, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(48, 1, 'Costs', 'RPT_COST', 'Costs', 2, 23, '/costreport', 25, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(49, 1, 'No. of sales amount target pending', 'RPT_SALESAMTTARGTPENDING', 'No. of sales amount target pending', 2, 23, '/salesamounttargetpendingreport', 26, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(50, 1, 'Pending work left', 'RPT_PENDINGWORKLEFT', 'Pending work left', 2, 23, '/pendingworkleftreport', 27, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(51, 1, 'ROI/Employee', 'RPT_ROIEMP', 'ROI/Employee', 2, 23, '/roiperemployeereport', 28, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(52, 1, 'Customers quotation sent', 'RPT_CUSTQUOTSENT', 'Customers quotation sent', 2, 23, '/customerquotationsentreport', 29, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(53, 1, 'Customers quotation deadline', 'RPT_CUSTQUOTDEAD', 'Customers quotation deadline', 2, 23, '/customerquotationdeadlinereport', 30, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(54, 1, 'Dead leads', 'RPT_DEADLEAD', 'Dead leads', 2, 23, '/deadleadreport', 31, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(55, 1, 'Lead Statistics', 'RPT_LEADSTATISTICS', 'Lead Statistics', 2, 23, '/leadstatisticsreport', 32, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(56, 1, 'Lead Communication ', 'RPT_LEADCOMM', 'Lead Communication', 2, 23, '/leadcommunicationreport', 33, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(57, 1, 'Quotations', 'RPT_QUOTATION', 'Quotations', 2, 23, '/quotationreport', 34, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(58, 1, 'Top fastest selling products', 'RPT_TOPFASTSELLPRODUCT', 'Top fastest selling products', 2, 23, '/topfastestsellingproductreport', 35, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(59, 1, 'Invoices', 'RPT_INVOICE', 'Invoices', 2, 23, '/invoicereport', 35, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(60, 1, 'Customer Industry Vise', 'RPT_CUSTINDUSVISE', 'Customer Industry Vise', 2, 23, '/customerindustryvisereport', 36, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(61, 1, 'Warranty services', 'RPT_WRRTYSRV', 'Warranty services', 2, 23, '/warrantyservicereport', 38, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(62, 1, 'Complaints', 'COMP', 'Complaints', 3, NULL, '/complaints', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(63, 1, 'Job Works', 'JOBWORK', 'Job Works', 3, NULL, '/jobworks', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(64, 1, 'AMC', 'AMC', 'AMC', 3, NULL, '/amc', 4, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(65, 1, 'Report', 'CRM_RPT', 'Report', 3, NULL, NULL, 5, 1, 1, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(66, 1, 'Complaints', 'RPT_COMPLAINT', 'Complaints', 3, 65, '/complaintreport', 1, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(67, 1, 'Job works', 'RPT_JOBWORK', 'Job works', 3, 65, '/jobworkreport', 2, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(68, 1, 'AMC', 'RPT_AMC', 'AMC', NULL, 3, '/amcreport', 3, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(69, 1, 'AMC services', 'RPT_AMCSRV', 'AMC services', NULL, NULL, '/amcservicereport', 4, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(70, 1, 'Projects', 'PROJECT', 'Projects', 4, NULL, '/projects', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(71, 1, 'Tasks', 'TASK', 'Tasks', 4, NULL, '/tasks', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(72, 1, 'Issues', 'ISSUE', 'Issues', 4, NULL, '/issues', 4, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(73, 1, 'Allocation', 'ALLOCATION', 'Allocation', 4, NULL, '/allocation', 5, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(74, 1, 'Cost Estimation', 'COSTEST', 'Cost Estimation', 4, NULL, 'javascript:void(0)', 5, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(75, 1, 'Report', 'PM_RPT', 'Report', 4, NULL, NULL, 6, 1, 1, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(76, 1, 'Project', 'RPT_PROJECT', 'Project', 4, 75, '/projectreport', 1, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(77, 1, 'Task', 'RPT_TASK', 'Task', 4, 75, '/taskreport', 2, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(78, 1, 'Issue', 'RPT_ISSUE', 'Issue', 4, 75, '/issuereport', 3, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(79, 1, 'Setup', 'SC_SETUP', 'Setup', 5, NULL, NULL, 2, 1, 0, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(80, 1, 'Orders', 'ORDER', 'Orders', 5, NULL, '/orders', 3, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(81, 1, 'Inventory', 'INVEN', 'Inventory', 5, NULL, '-1', 4, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(82, 1, 'Procurement', 'PROCMENT', 'Procurement', 5, NULL, '/procurements', 5, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(83, 1, 'Logistics', 'LOGIS', 'Logistics', 5, NULL, 'javascript:void(0)', 6, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(84, 1, 'Job Planning', 'JOBPLAN', 'Job Planning', 5, NULL, '/jobplannings', 7, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(85, 1, 'Purchase Orders', 'PURCH', 'Purchase Orders', 5, NULL, '-1', 8, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(86, 1, 'Vendors', 'VEND', 'Vendors', 5, NULL, '/vendors', 9, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(87, 1, 'Suppliers', 'SUPLIER', 'Suppliers', 5, NULL, '/suppliers', 10, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(88, 1, 'Production Planning', 'PROPLANG', 'Production Planning', 5, NULL, '/productionplanning', 11, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(89, 1, 'Report', 'SC_RPT', 'Report', 5, NULL, NULL, 12, 1, 1, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(90, 1, 'Product', 'PRDCT', 'Product', 5, 81, '/productinventory', 1, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(91, 1, 'Raw Material', 'RWMTRAL', 'Raw Material', 5, 81, '/rawmaterialinventory', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(92, 1, 'Product Stock Limit', 'STP_PRODSTLT', 'Product Stock Limit', 5, 79, '/productstocklimits', 1, 3, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(93, 1, 'Raw Material Stock Limit', 'STP_RAWMATRALSTLT', 'Raw Material Stock Limit', 5, 79, '/rawmaterialstocklimits', 2, 3, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(94, 1, 'Warehouse', 'STP_WREHSE', 'Warehouse', 5, 79, '/warehouses', 3, 3, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(95, 1, 'Product', 'PURCHPRDCT', 'Product', 5, 85, '/productpurchaseorders', 1, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(96, 1, 'Raw Material', 'PURCHRWMTRAL', 'Raw Material', 5, 85, '/rawmaterialpurchaseorders', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(97, 1, 'Top 5 fastest moving products', 'RPT_FASTESTMOVINGPRO', 'Top 5 fastest moving products', 5, 89, '/fastestmovingproductreport', 1, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(98, 1, 'Other great customers', 'RPT_OTHERGRTCUST', 'Other great customers', 5, 89, '/othergreatcustomerreport', 2, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(99, 1, 'Product Inventory Stock In', 'RPT_PROINVSTKIN', 'Product Inventory Stock In', 5, 89, '/productinventorystockinreport', 3, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(100, 1, 'Product Inventory Stock Out', 'RPT_PROINVSTKOUT', 'Product Inventory Stock Out', 5, 89, '/productinventorystockoutreport', 4, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(101, 1, 'Raw Material Inventory Stock In', 'RPT_RWMTRINVSTKIN', 'Raw Material Inventory Stock In', 5, 89, '/rawmaterialinventorystockinreport', 5, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(102, 1, 'Raw Material Inventory Stock Out', 'RPT_RWMTRINVSTKOUT', 'Raw Material Inventory Stock Out', 5, 89, '/rawmaterialinventorystockoutreport', 6, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(103, 1, 'Cash Conversion Cycle', 'RPT_CASHCONVCYCLE', 'Cash Conversion Cycle', 5, 89, '/cashconversioncyclereport', 7, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(104, 1, 'Inventory Accuracy', 'RPT_INVACCURCY', 'Inventory Accuracy', 5, 89, '/inventoryaccuracyreport', 8, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(105, 1, 'Product Purchase Order', 'RPT_PROPURORDER', 'Product Purchase Order', 5, 89, '/productpurchaseorderreport', 9, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(106, 1, 'Rawmaterial Purchase Order', 'RPT_RAWPURORDER', 'Rawmaterial Purchase Order', 5, 89, '/rawmaterialpurchaseorderreport', 10, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(107, 1, 'Purchased Stock Inventory', 'RPT_STOCKPERCHASED', 'Purchased Stock Inventory', 5, 89, '/purchasedstockinventoryreport', 11, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(108, 1, 'Employer', 'EMPLOYER', 'Employer', 7, NULL, '/employer', 3, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(109, 1, 'Employees', 'EMPLOYEES', 'Employees', 7, NULL, '/employees', 4, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(110, 1, 'Candidates', 'CANDIT', 'Candidates', 7, NULL, '/candidates', 5, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(111, 1, 'Job Openings', 'JOBOPEN', 'Job Openings', 7, NULL, '/jobopenings', 6, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(112, 1, 'KPI', 'KPI', 'KPI', 7, NULL, '/performancekpi', 7, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(113, 1, 'KRA', 'KRA', 'KRA', 7, NULL, '/kra', 8, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(114, 1, 'Trainning', 'TRAINNING', 'Training', 7, NULL, '/training', 9, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(115, 1, 'Orientation', 'ORIENTATION', 'Orientation', 7, NULL, '/orientation', 10, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(116, 1, 'Report', 'HR_RPT', 'Report', 7, NULL, NULL, 12, 1, 1, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(117, 1, 'Worst performer', 'RPT_WORSTPER', 'Worst performer', 7, 116, '/worstperformerreport', 1, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(118, 1, 'Orientation due', 'RPT_ORTATIONDUE', 'Orientation due', 7, 116, '/orientationduereport', 2, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(119, 1, 'Documentation due ', 'RPT_DOCUMNTDUE', 'Documentation due', 7, 116, '/documentationduereport', 3, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(120, 1, 'People to take the exam', 'RPT_PEOPLEEXAM', 'People to take the exam', 7, 116, '/peopletakethexamreport', 4, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(121, 1, 'Shortlisted cvs(who passed online test)', 'RPT_SHORTLIST', 'Shortlisted cvs(who passed online test)', 7, 116, '/shortlistedcvreport', 5, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(122, 1, 'Interview footfall', 'RPT_INTVIEWFALL', 'Interview footfall', 7, 116, '/interviewfootfallreport', 6, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(123, 1, 'Closed position', 'RPT_CLOSEDPOST', 'Closed position', 7, 116, '/closedpositionreport', 7, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(124, 1, 'Orientation to be completed', 'RPT_ORTTOBECOMPLETE', 'Orientation to be completed', 7, 116, '/orientationtobecompletedreport', 8, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(125, 1, 'Validation of employee documents', 'RPT_VALIDEMPDOC', 'Validation of employee documents', 7, 116, '/validationemployeedoucmentreport', 9, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(126, 1, 'Convertion ratio passed test to footfall', 'RPT_CONVERTRATIO', 'Convertion ratio passed test to footfall', 7, 116, '/conversionratiopassedreport', 10, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(127, 1, 'HCVA index average for sales employees', 'RPT_HCVAINDXEMP', 'HCVA index average for sales employees', 7, 116, '/hcvaindexaverageforsalesemployeereport', 11, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(128, 1, 'ROI/Employee', 'RPT_EMPROIEMP', 'ROI/Employee', 7, 116, '/roiemployeereport', 12, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(129, 1, 'HR compliances done before end of month', 'RPT_HRCOMPLIANCE', 'HR compliances done before end of month', 7, 116, '/hrcompliancebeforeendofmonthreport', 13, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(130, 1, 'Scheduled interviews', 'RPT_SCHEDULEINTERVIEW', 'Scheduled interviews', 7, 116, '/jobopeningsreport', 14, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(131, 1, 'Job openings', 'RPT_JOBOPENING', 'Job openings', 7, 116, '/jobopeningsreport', 15, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(132, 1, 'Setup', 'SET', 'Setup', 8, NULL, NULL, 2, 1, 0, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(133, 1, 'Timesheet', 'TISH', 'Timesheet', 8, NULL, '/timesheets', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(134, 1, 'Payslip', 'PAY', 'Payslip', 8, NULL, '/payslips', 4, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(135, 1, 'Leave Application', 'LEAVEAPP', 'Leave Application', 8, NULL, '/leaveapplication', 5, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(136, 1, 'Incidents', 'INCI', 'Incidents', 8, NULL, '/incidents', 6, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(137, 1, 'Travel Expenses', 'TRAVEXP', 'Travel Expenses', 8, NULL, '/travelexpenses', 7, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(138, 1, 'Loans', 'LOAN', 'Loans', 8, NULL, '/loans', 8, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(139, 1, 'Bonus', 'BONUS', 'Bonus', 8, NULL, '/bonus', 9, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(140, 1, 'Incentives', 'INCENTIVES', 'Incentives', 8, NULL, '/incentives', 10, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(141, 1, 'Arrears', 'ARREAR', 'Arrears', 8, NULL, '/arrears', 11, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(142, 1, 'Report', 'PAYROLL_RPT', 'Report', 8, NULL, NULL, 12, 1, 1, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(143, 1, 'Worksite', 'STP_WORKSITE', 'Worksite', 8, 132, '/worksites', 1, 3, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(144, 1, 'Shifts', 'STP_SHIFT', 'Shifts', 8, 132, '/shifts', 2, 3, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(145, 1, 'Salary configurations ', 'STP_SALARYCONF', 'Salary configurations', 8, 132, '/salaryconfigurations', 3, 3, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(146, 1, 'Employer Configuration ', 'STP_EMPCONIG', 'Employer Configuration', 8, 132, '/employerconfigurations', 4, 3, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(147, 1, 'Professional tax', 'STP_PT', 'Professional tax', 8, 132, '/professionaltax', 5, 3, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(148, 1, 'Public holidays ', 'STP_PUBHOL', 'Public holidays', 8, 132, '/publicholidays', 6, 3, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(149, 1, 'Weekend off', 'STP_WEEKENDOFF', 'Weekend off', 8, 132, '/weekendoff', 7, 3, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(150, 1, 'Salary sheet', 'RPT_SALARYSHEET', 'Salary sheet', 8, 142, '/salarysheetreport', 1, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(151, 1, 'Attendance', 'RPT_ATTENDANCE', 'Attendance', 8, 142, '/attendancereport', 2, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(152, 1, 'Leave management', 'RPT_LEAVEMGT', 'Leave management', 8, 142, '/leavemanagementreport', 3, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(153, 1, 'LWF setting', 'RPT_LWF', 'LWF setting', 8, 142, '/lwfsettingreport', 4, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(154, 1, 'Pending loans', 'RPT_PENDLOANS', 'Pending loans', 8, 142, '/pendingloansreport', 5, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(155, 1, 'Bank macro', 'RPT_BANKMACRO', 'Bank macro', 8, 142, '/bankmacroreport', 6, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(156, 1, 'Travel expenditure', 'RPT_TRAVEXP', 'Travel expenditure', 8, 142, '/travelexpenditurereport', 7, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(157, 1, ' Monthly travel expenditure', 'RPT_MONTHTRAVEXP', 'Monthly travel expenditure', 8, 142, '/monthlytravelexpenditurereport', 8, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(158, 1, ' Provident fund', 'RPT_PF', 'Provident fund', 8, 142, '/providentfundreport', 9, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(159, 1, 'Professional tax', 'RPT_PT', 'Professional tax', 8, 142, '/professionaltaxreport', 10, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(160, 1, 'ESIC', 'RPT_ESIC', 'ESIC', 8, 142, '/esicreport', 11, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(161, 1, 'ECR', 'RPT_ECR', 'ECR', 8, 142, '/ecrreport', 12, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(162, 1, 'ESI Challan', 'RPT_ESICHLLAN', 'ESI Challan', 8, 142, '/esichallanreport', 13, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(163, 1, 'PF Challan', 'RPT_PFCHLLAN', 'PF Challan', 8, 142, '/pfchallanreport', 14, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(164, 1, 'Account Groups', 'ACCOUNTGRP', 'Account Groups', 11, NULL, '/accountgroups', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(165, 1, 'Account', 'ACCOUNT', 'Account', 11, NULL, '/accounts', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(166, 1, 'Costing', 'COST', 'Costing', 11, NULL, '-1', 4, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(167, 1, 'Advertisement', 'ADVERT', 'Advertisement', 11, 166, '/advertisingcostings', 1, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(168, 1, 'Operating', 'OPERT', 'Operating', 11, 166, '/overheadcosts', 2, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(169, 1, 'Expenses', 'EXPENSES', 'Expenses', 11, NULL, '/expenses', 5, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(170, 1, 'Ledger', 'LEDGER', 'Ledger', 11, NULL, '/ledger', 6, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(171, 1, 'Asset Allocation', 'ASSETALLOCATION', 'Asset Allocation', 11, NULL, '/assetallocation', 7, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(172, 1, 'Payment Slip', 'PAYMENTSLIP', 'Payment Slip', 11, NULL, '/paymentslip', 8, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(173, 1, 'Balance sheet', 'BALANCESHEET', 'Balance sheet', 11, NULL, '/balancesheets', 9, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(174, 1, 'Profit & Loss', 'PROFITANDLOSS', 'Profit & Loss', 11, NULL, '/profitandloss', 10, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(175, 1, 'Transactions', 'TRANSACTION', 'Transactions', 11, NULL, '/transactions', 11, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(176, 1, 'GST Service', 'GST', 'GST Services', 11, NULL, '-1', 12, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(177, 1, 'GST report', 'GSTRP', 'GST report', 11, 176, '/gstreport', 1, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(178, 1, 'EWAY bill', 'EWYBL', 'Eway Bill', 11, 176, '/ewaybill', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(179, 1, 'Note', 'NOTE', 'Note', 11, NULL, '-1', 13, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(180, 1, 'Credit note', 'CRNOTE', 'Credit Note', 11, 179, '/creditnote', 1, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(181, 1, 'Debit note', 'DBNOTE', 'Debit note', 11, 179, '/debitnote', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(182, 1, 'Report', 'FN_RPT', 'Report', 11, NULL, NULL, 14, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(183, 1, 'Financial statement', 'RPT_FINANCIALSTATEMENT', 'Financial statement', 11, 182, '/financialstatementreport', 1, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(184, 1, 'GST Return', 'RPT_GSTRETURN', 'GST Return', 11, 182, '-1', 2, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(185, 1, 'Expenses', 'RPT_EXPENSES', 'Expenses', 11, 182, '/expensereport', 3, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(186, 1, 'Processing Center', 'PROCESSCENTER', 'Processing Center', 14, NULL, NULL, 1, 1, 0, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(187, 1, 'Payroll Run', 'PROCTR_PRRUN', 'Payroll Run', 14, 186, '/payrollrun', 1, 4, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(188, 1, 'Service Invoice', 'PROCTR_SERVINVCE', 'Service invoice', 14, 186, '/serviceinvoiceprocessing', 2, 4, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(189, 1, 'Indiamart Leads', 'PROCTR_INMTLEADS', 'Indiamart Leads', 14, 186, '/indiamartleads', 4, 4, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(190, 1, 'TradeIndia Leads', 'PROCTR_TRADEINDIA', 'TradeIndia Leads', 14, 186, '/tradeindialeads', 5, 4, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(191, 1, 'Communication', 'COMM', 'Communication', 14, NULL, '/communication', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(192, 1, 'Business Plan', 'PROCTR_BSNESPLN', 'Business Plan', 14, 186, '/businessplanprocessing', 3, 4, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(193, 1, 'Process Commission', 'PROCTR_PRCOMMISSION', 'Process Commission', 14, 186, '/processcommissions', 6, 4, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(194, 1, 'Outstanding Payments', 'COMM_OUTPAYMNT', 'Outstanding Payments', 14, 191, '/outstandingpayments', 1, 5, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(195, 1, 'Candidates', 'COMM_CANDIDATE', 'Candidates', 14, 191, '/communicationcandidates', 2, 5, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(196, 1, 'Common', 'COM', 'Common', 13, NULL, '-1', 1, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(197, 1, 'Departments', 'DEPARTMENT', 'Departments', 13, 196, '/departments', 1, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(198, 1, 'Countries', 'COUNTRY', 'Countries', 13, 196, '/countries', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(199, 1, 'States', 'STATE', 'States', 13, 196, '/states', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(200, 1, 'Cities', 'CITY', 'Cities', 13, 196, '/cities', 4, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(201, 1, 'Brands', 'BRAND', 'Brands', 13, 196, '/brands', 5, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(202, 1, 'Categories', 'CATEG', 'Categories', 13, 196, '/categories', 6, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(203, 1, 'Industries', 'INDUSTRY', 'Industries', 13, 196, '/industries', 7, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(204, 1, 'Sub Categories', 'SUBCATEG', 'Sub Categories', 13, 196, '/subcategories', 8, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(205, 1, 'Unit', 'UNIT', 'Unit', 13, 196, '/units', 9, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(206, 1, 'Sizes', 'SIZE', 'Sizes', 13, 196, '/sizes', 10, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(207, 1, 'Measurements', 'MEASUREMENT', 'Measurements', 13, 196, '/measurements', 11, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(208, 1, 'Products', 'PROD', 'Products', 13, 196, '/products', 12, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(209, 1, 'Rate Card', 'RATE', 'Rate Card', 13, 196, '/ratecard', 13, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(210, 1, 'KPI', 'KPI', 'KPI', 13, 196, '/kpis', 14, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(211, 1, 'Trainings', 'TRAINING', 'Trainings', 13, 196, '/trainings', 15, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(212, 1, 'Questionnaire', 'QUESTIONRE', 'Questionnaire', 13, 196, '/questionnaires', 16, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(213, 1, 'CRM', 'CRM', 'CRM', 13, NULL, '-1', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(214, 1, 'Complaint Type', 'COMPTYPE', 'Complaint Type', 13, 213, '/complainttypes', 1, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(215, 1, 'Service Type', 'SERVTYPE', 'Service Type', 13, 213, '/servicetypes', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(216, 1, 'CRM Templates', 'CRMTEMP', 'Templates', 13, 213, '/crmtemplates', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(217, 1, 'Sales', 'MDSALE', 'Sales', 13, NULL, '-1', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(218, 1, 'Lead Sources', 'LEADSOUR', 'Lead Sources', 13, 217, '/leadsources', 1, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(219, 1, 'Designation', 'DESG', 'Designation', 13, 217, '/designations', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(220, 1, 'Customer Category', 'CUSTOMERCATEG', 'Customer Category', 13, 217, '/customercategories', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(221, 1, 'Sales Templates', 'SALESTEMP', 'Templates', 13, 217, '/salestemplates', 4, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(222, 1, 'Project', 'MDPROJECT', 'Project', 13, NULL, '-1', 4, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(223, 1, 'Work Items', 'WORKITEM', 'Work Items', 13, 222, '/workitems', 1, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(224, 1, 'Compliance', 'COMPLAINCE', 'Compliance', 13, 222, '/compliances', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(225, 1, 'Cost Cards', 'COSTCARD', 'Cost Cards', 13, 222, '/costcards', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(226, 1, 'Project Templates', 'PROJECTTEMP', 'Templates', 13, 222, '/projecttemplates', 4, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(227, 1, 'SCM', 'SCM', 'SCM', 13, NULL, '-1', 5, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(228, 1, 'Vendor Types', 'VENDTYPE', 'Vendor Types', 13, 227, '/vendortypes', 1, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(229, 1, 'Vendor Functions', 'VENDFUNCT', 'Vendor Functions', 13, 227, '/vendorfunctions', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(230, 1, 'SCM Status', 'SCMSTATUS', 'SCM Status', 13, 227, '/scmstatus', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(231, 1, 'SCM Process', 'SCMPROCESS', 'SCM Process', 13, 227, '/scmprocess', 4, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(232, 1, 'Transportation Types', 'TRANSTYPE', 'Transportation Types', 13, 227, '/transportationtypes', 5, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(233, 1, 'Materials', 'MATERIAL', 'Materials', 13, 227, '/materials', 6, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(234, 1, 'Order Sources', 'ORDERSOUR', 'Order Sources', 13, 227, '/scmordersources', 7, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(235, 1, 'Raw Material', 'RAWMATRL', 'Raw Material', 13, 227, '/rawmaterials', 8, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(236, 1, 'SCM Templates', 'SCMTEMP', 'Templates', 13, 227, '/scmtemplates', 9, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(237, 1, 'HR', 'MDHR', 'HR', 13, NULL, '-1', 6, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(238, 1, 'Orientation', 'ORIEN', 'Orientation', 13, 237, '/orientations', 1, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(239, 1, 'Questionnaire', 'ORNTATIONQUESTIONRE', 'Questionnaire', 13, 237, '/orientationquestionnaires', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(240, 1, 'Degree', 'DEGREE', 'Degree', 13, 237, '/degree', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(241, 1, 'Skills', 'SKILL', 'Skills', 13, 237, '/skills', 4, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(242, 1, 'Job Title', 'JOBTITLE', 'Job Title', 13, 237, '/jobtitle', 5, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(243, 1, 'HR Templates', 'HRTEMP', 'Templates', 13, 237, '/hrtemplates', 6, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(244, 1, 'Payroll', 'MDPR', 'Payroll', 13, NULL, '-1', 7, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(245, 1, 'Expense Types', 'EXPTYPE', 'Expense Types', 13, 244, '/expensetypes', 1, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(246, 1, 'Leave Types', 'LEAVETYPE', 'Leave Types', 13, 244, '/leavetypes', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(247, 1, 'Payroll Templates', 'PAYROLLTEMP', 'Templates', 13, 244, '/payrolltemplates', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(248, 1, 'Finance', 'MDFN', 'Finance', 13, NULL, '-1', 8, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(249, 1, 'Asset Types', 'ASSETTYPE', 'Asset Types', 13, 248, '/assettypes', 1, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(250, 1, 'Franchise', 'MDFR', 'Franchise', 13, NULL, '-1', 9, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(251, NULL, 'Transaction Sub Type', 'TSUB', 'Transaction Sub Types', NULL, 248, '/transactionsubtypes', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(252, NULL, 'Vehicle Type', 'VHT', 'Vehicle Types', NULL, 248, '/vehicletypes', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(253, 1, 'Templates', 'FNTEMPLATE', 'Templates', 13, 248, '/financetemplate', 4, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(254, 1, 'Partner Questionnaire', 'PRTQUES', 'Partner Questionnaire', 13, 250, '/partnerquestionnaires', 85, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(255, 1, 'Business Consulting', 'MDBC', 'Business Consulting', 13, NULL, '-1', 85, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(256, 1, 'Booking Types', 'BOOKTYPE', 'Booking Types', 13, NULL, '/bookingtypes', 1, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(257, 1, 'Business', 'BUSINESS', 'Business', 16, NULL, '/business', 1, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(258, 1, 'Parameters', 'PARAMETER', 'Parameters', 16, NULL, '/parameters', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(259, 1, 'Role', 'ROLE', 'Role', 16, NULL, '/roles', 3, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(260, 1, 'Import Samples', 'IMPRTSMPLE', 'Import Samples', 16, NULL, '/importsamples', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(261, 1, 'Settings', 'SETTING', 'Settings', 16, NULL, '/settings', 4, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(262, 1, 'System Logs', 'SYSTEMLOGS', 'System Logs', 16, NULL, '/systemlogs', 5, 1, NULL, NULL, 0, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(263, 1, 'Setup', 'FR_SETUP', 'Setup', 10, NULL, 'NULL', 2, 1, 0, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(264, 1, 'Partners', 'PRTNR', 'Partners', 10, NULL, '/partners', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(265, 1, 'Commissions', 'COMMISSION', 'Commissions', 10, NULL, '/commissions', 4, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(266, 1, 'Report', 'FR_RPT', 'Report', 10, NULL, NULL, 5, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(267, 1, 'Commission Configuration', 'STP_COMMCONFIG', 'Commission Configuration', 10, 263, '/commissionconfiguration', 1, 3, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(268, 1, 'Project', 'BCPROJECT', 'Project', 9, NULL, '/project', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(269, 1, 'Business Plan', 'BUSINESSPLAN', 'Business Plan', 9, NULL, '/businessplan', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(270, 1, 'Enquiry', 'ENQRY', 'Enquiry', 9, NULL, '/enquiries', 4, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(271, 1, 'Tender', 'TENDER', 'Tender', 9, NULL, '/tender', 5, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(272, 1, 'Business Visit', 'BUSNESSVISIT', 'Business Visit', 9, NULL, '-1', 6, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(273, 1, 'Planning', 'PLANNING', 'Planning', 9, 272, '/visitplannings', 1, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(274, 1, 'Actual', 'ACTUAL', 'Actual', 9, 272, '/actualvisits', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(275, 1, 'Purchase Order', 'BCPURCHASEORDER', 'Purchase Order', 9, NULL, '/businessconsultingpurchaseorder', 7, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(276, 1, 'Booking', 'BOOKING', 'Booking', 9, NULL, '/booking', 8, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(277, 1, ' Courier', 'COURIER', 'Courier', 9, NULL, '/courier', 9, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(278, 1, 'Registration', 'REGISTRATION', 'Registration', 9, NULL, '/registrations', 10, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(279, 1, 'Report', 'BC_RPT', 'Report', 9, NULL, NULL, 11, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(280, 1, 'Business plan', 'RPT_BUSINESSPLAN', 'Business plan', 9, 279, '/businessplanreport', 1, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(281, 1, 'Project', 'RPT_BCPROJECT', 'Project', 9, 279, '/businesssconsultingprojectreport', 2, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(282, 1, 'Enquiry', 'RPT_ENQRY', 'Enquiry', 9, 279, '/enquiryreport', 3, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(283, 1, 'Tender', 'RPT_TENDER', 'Tender', 9, 279, '/tendersreport', 4, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(284, 1, 'Prospects', 'RPT_PROSPECTS', 'Prospects', 9, 279, '/prospectsreport', 5, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(285, 1, 'Lost order', 'RPT_LOSTORDER', 'Lost order', 9, 279, '/lostorderreport', 6, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(286, 1, 'Monthly forecast', 'RPT_MONTHLYFORCSTRPT', 'Monthly forecast', 9, 279, '/monthlyforecastreport', 7, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(287, 1, 'Monthly visit', 'RPT_MONTHLYVISIT', 'Monthly visit', 9, 279, '/monthlyvisitreport', 8, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(288, 1, 'Booking', 'RPT_BOOKING', 'Booking', 9, 279, '/bookingreport', 9, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(289, 1, 'Purchase order', 'RPT_PURCHASEORDER', 'Purchase order', 9, 279, '/purchaseorderreport', 10, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(290, 1, 'Purchase Order Incentive', 'RPT_PURCHASEORDERINCENTIVE', 'Purchase Order Incentive', 9, 279, '/purchaseorderincentivereport', 11, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(291, 1, 'Registration', 'RPT_REGISTRATION', 'Registration', 9, 279, '/registrationreport', 12, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(292, 1, 'Enquiry master', 'RPT_ENQUIRYMASTER', 'Enquiry master', 9, 279, '/enquirymasterreport', 13, 2, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL);
INSERT INTO `areas` (`id`, `applicationtype_id`, `name`, `code`, `displayname`, `module_id`, `parent_id`, `routes`, `displayorder`, `areatype_id`, `isrolebased`, `icon`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(293, 1, 'Report', 'ECM_RPT', 'Report', 12, NULL, NULL, 2, 1, 1, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(294, NULL, 'Dashboard', 'LDASH', 'Dashboard', NULL, NULL, NULL, 1, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(295, NULL, 'Complaints', 'SCOMP', 'Complaints', 19, NULL, '/complaints', 2, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(296, NULL, 'Job Works', 'SJOBWORK', 'Job Works', 19, NULL, '/jobworks', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(297, NULL, 'Timesheet', 'STISH', 'Timesheet', 23, NULL, '/timesheets', 3, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL),
(298, NULL, 'Leave Application', 'SLEAVEAPP', 'Leave Application', 23, NULL, '/leaveapplication', 5, 1, NULL, NULL, 1, -1, '2022-09-13 05:08:12', -1, '2022-09-13 05:08:12', NULL, NULL);

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

--
-- Table structure for table `areasubroutes`
--

CREATE TABLE `areasubroutes` (
  `id` int(11) NOT NULL,
  `module_id` int(11) DEFAULT NULL,
  `area_id` int(11) DEFAULT NULL,
  `subroutename` varchar(255) DEFAULT NULL,
  `code` varchar(100) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `areasubroutes`
--

INSERT INTO `areasubroutes` (`id`, `module_id`, `area_id`, `subroutename`, `code`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 2, 6, '/insertlead', 'INSERTLEAD', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(2, 2, 6, '/updatelead', 'UPDATELEAD', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(3, 2, 6, '/exportlead', 'EXPORTLEAD', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(4, 2, 6, '/importleadlog', 'IMPORTLEAD', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(5, 2, 5, '/insertcontact', 'INSERTCONT', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(6, 2, 5, '/updatecontact', 'UPDATECONT', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(7, 2, 5, '/importcontact', 'IMPORTCONT', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(8, 2, 5, '/exportcontact', 'EXPORTCONT', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(9, 2, 8, '/insertcustomer', 'INSERTCUST', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(10, 2, 8, '/updatecustomer', 'UPDATECUST', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(11, 2, 8, '/exportcustomer', 'EXPORTCUST', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(12, 2, 8, '/importcustomerlog', 'IMPORTCUST', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(13, 2, 22, '/importpayment', 'IMPORTPAYM', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(14, 3, 62, '/searchcustomers', 'SEARCHCOMP', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(15, 3, 62, '/insertcomplaint', 'INSERTCOMP', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(16, 3, 62, '/updatecomplaint', 'UPDATECOMP', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(17, 3, 62, '/exportcomplaint', 'EXPORTCOMP', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(18, 3, 63, '/insertjobwork', 'INSERTJOBWORK', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(19, 3, 63, '/updatejobwork', 'UPDATEJOBWORK', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(20, 3, 63, '/exportjobwork', 'EXPORTJOBWORK', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(21, 3, 64, '/insertamc', 'INSERTAMC', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(22, 3, 64, '/updateamc', 'UPDATEAMC', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(23, 3, 64, '/importamclog', 'IMPORTAMC', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(24, 5, 86, '/insertvendor', 'INSERTVEND', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(25, 5, 86, '/updatevendor', 'UPDATEVEND', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(26, 5, 86, '/exportvendor', 'EXPORTVEND', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(27, 5, 86, '/importvendor', 'IMPORTVEND', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(28, 5, 87, '/insertsupplier', 'INSERTSUPLIER', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(29, 5, 87, '/updatesupplier', 'UPDATESUPLIER', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(30, 5, 87, '/exportsupplier', 'EXPORTSUPLIER', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(31, 5, 87, '/importsupplier', 'IMPORTSUPLIER', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(32, 7, 109, '/insertemployee', 'INSERTEMPLOYEES', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(33, 7, 109, '/updateemployee', 'UPDATESEMPLOYEES', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(34, 7, 109, '/exportemployee', 'EXPORTEMPLOYEES', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(35, 7, 109, '/importemployeelog', 'IMPORTEMPLOYEES', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(36, 7, 110, '/insertcandidate', 'INSERTCANDIT', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(37, 7, 110, '/updatecandidate', 'UPDATECANDIT', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(38, 7, 110, '/exportcandidate', 'EXPORTCANDIT', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(39, 7, 110, '/importcandidatelog', 'IMPORTCANDIT', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(40, 8, 133, '/inserttimesheet', 'INSERTTISH', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(41, 8, 133, '/updatetimesheet', 'UPDATETISH', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(42, 8, 133, '/importtimesheetlog', 'IMPORTTISH', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(43, 10, 264, '/insertpartner', 'INSERTPRTNR', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(44, 10, 264, '/updatepartner', 'UPDATEPRTNR', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(45, 10, 264, '/importpartner', 'IMPORTPRTNR', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(46, 10, 264, '/exportpartner', 'EXPORTPRTNR', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(47, 13, 208, '/insertproduct', 'INSERTPROD', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(48, 13, 208, '/updateproduct', 'UPDATEPROD', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(49, 13, 208, '/importproductlog', 'IMPORTPROD', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(50, 13, 208, '/exportproduct', 'EXPORTPROD', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(51, 13, 209, '/insertratecard', 'INSERTRATE', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(52, 13, 209, '/updateratecard', 'UPDATERATE', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(53, 13, 209, '/importratecard', 'IMPORTRATE', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(54, 13, 235, '/insertrawmaterial', 'INSERTRAWMATRL', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(55, 13, 235, '/updaterawmaterial', 'UPDATERAWMATRL', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(56, 13, 235, '/exportrawmaterial', 'IMPORTRAWMATRL', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(57, 13, 235, '/importrawmaterials', 'IMPORTRAWMATRL', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(58, 9, 270, '/insertenquiry', 'INSERTENQUIRY', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(59, 9, 270, '/updateenquiry', 'UPDATEENQUIRY', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(60, 9, 271, '/inserttender', 'INSERTTENDER', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(61, 9, 271, '/updatetender', 'UPDATETENDER', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(62, 9, 274, '/insertactualvisit', 'INSERTACTUAL', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(63, 9, 274, '/updateactualvisit', 'UPDATEACTUAL', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(64, 9, 275, '/insertbusinessconsultingpurchaseorder', 'INSERTBCPURCH', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(65, 9, 275, '/updatebusinessconsultingpurchaseorder', 'UPDATEBCPURCH', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(66, 9, 278, '/insertregistration', 'INSERTREGISTRATION', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL),
(67, 9, 278, '/updateregistration', 'UPDATEREGISTRATION', 1, -1, '2022-09-13 05:09:11', -1, '2022-09-13 05:09:11', NULL, NULL);

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

--
-- Table structure for table `areatypes`
--

CREATE TABLE `areatypes` (
  `id` int(11) NOT NULL,
  `name` varchar(50) DEFAULT NULL,
  `code` varchar(50) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `areatypes`
--

INSERT INTO `areatypes` (`id`, `name`, `code`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Menu', 'MENU', 1, -1, '2020-12-18 17:19:58', -1, '2020-12-18 17:19:58', NULL, NULL),
(2, 'Report', 'REPT', 1, -1, '2020-12-18 17:19:58', -1, '2020-12-18 17:19:58', NULL, NULL),
(3, 'Setup', 'STP', 1, -1, '2021-01-14 02:11:42', -1, '2021-01-14 02:11:42', NULL, NULL),
(4, 'Processing Center', 'PROCTR', 1, -1, '2021-01-14 02:11:50', -1, '2021-01-14 02:11:50', NULL, NULL),
(5, 'Communication', 'COMM', 1, -1, '2021-06-15 05:38:27', -1, '2021-06-15 05:38:27', NULL, NULL);

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

--
-- Table structure for table `arrears`
--

CREATE TABLE `arrears` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `employee_id` int(11) DEFAULT NULL,
  `month_id` int(11) DEFAULT NULL,
  `year_id` int(11) DEFAULT NULL,
  `amount` decimal(18,2) DEFAULT NULL,
  `arrearstatus_id` int(11) DEFAULT NULL,
  `paiddate` datetime DEFAULT NULL,
  `note` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `arrearstatus`
--

CREATE TABLE `arrearstatus` (
  `id` int(11) NOT NULL,
  `name` varchar(50) DEFAULT NULL,
  `code` varchar(150) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `arrearstatus`
--

INSERT INTO `arrearstatus` (`id`, `name`, `code`, `displayorder`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Unpaid', 'UNPAID', 1, 1, -1, '2021-01-16 11:43:44', -1, '2021-01-16 11:43:44', NULL, NULL),
(2, 'Paid', 'PAID', 2, 1, -1, '2021-01-16 11:46:31', -1, '2021-01-16 11:46:31', NULL, NULL);

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

--
-- Table structure for table `assettypes`
--

CREATE TABLE `assettypes` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `assignmenthistory`
--

CREATE TABLE `assignmenthistory` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `employee_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `jobtitle_id` int(11) DEFAULT NULL,
  `assigneddate` datetime DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `attended`
--

CREATE TABLE `attended` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `code` varchar(100) DEFAULT NULL,
  `day` decimal(18,2) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `attended`
--

INSERT INTO `attended` (`id`, `name`, `code`, `day`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Present - Full Day', 'FULLPRESENT', '1.00', 1, -1, '2020-11-28 16:49:09', -1, '2020-11-28 16:49:09', NULL, NULL),
(2, 'Present - Half Day', 'HALFPRESENT', '0.50', 1, -1, '2020-11-28 16:50:01', -1, '2020-11-28 16:50:01', NULL, NULL),
(3, 'Absent', 'ABSENT', '0.00', 0, -1, '2020-11-28 16:51:27', -1, '2020-11-28 16:51:27', NULL, NULL),
(4, 'Public Holiday', 'PUBLICHOLIDAY', '1.00', 1, -1, '2021-06-15 05:46:22', -1, '2021-06-15 05:46:22', NULL, NULL),
(5, 'Leave', 'LEAVE', '0.00', 1, -1, '2021-06-15 05:46:23', -1, '2021-06-15 05:46:23', NULL, NULL);

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

--
-- Table structure for table `authorizedarearolepermissions`
--

CREATE TABLE `authorizedarearolepermissions` (
  `id` int(11) NOT NULL,
  `role_id` int(11) DEFAULT NULL,
  `permission_id` int(11) DEFAULT NULL,
  `area_id` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `authorizedarearolepermissions`
--

INSERT INTO `authorizedarearolepermissions` (`id`, `role_id`, `permission_id`, `area_id`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 1, 1, 109, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(2, 10, 1, 109, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(3, 1, 1, 108, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(4, 10, 1, 108, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(5, 1, 1, 187, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(6, 10, 1, 187, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(7, 1, 1, 258, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(8, 10, 1, 258, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(9, 1, 1, 134, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(10, 10, 1, 134, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(11, 1, 1, 139, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(12, 10, 1, 139, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(13, 1, 1, 143, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(14, 10, 1, 143, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(15, 1, 1, 144, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(16, 10, 1, 144, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(17, 1, 1, 145, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(18, 10, 1, 145, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(19, 1, 1, 147, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(20, 10, 1, 147, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(21, 1, 1, 148, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(22, 10, 1, 148, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(23, 1, 1, 149, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(24, 10, 1, 149, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(25, 1, 1, 198, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(26, 10, 1, 198, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(27, 1, 1, 199, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(28, 10, 1, 199, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(29, 1, 1, 200, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(30, 10, 1, 200, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(31, 1, 1, NULL, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(32, 10, 1, NULL, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(33, 1, 1, 242, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(34, 10, 1, 242, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(35, 1, 1, 245, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(36, 10, 1, 245, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(37, 1, 1, 246, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(38, 10, 1, 246, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(39, 1, 1, 247, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(40, 10, 1, 247, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(41, 1, 1, NULL, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(42, 10, 1, NULL, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(43, 1, 1, 141, 1, -1, '2022-09-13 06:39:49', -1, '2022-09-13 06:39:49', NULL, NULL),
(44, 10, 1, 141, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(45, 1, 1, 136, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(46, 1, 1, 137, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(47, 1, 1, 138, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(48, 1, 1, 140, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(49, 1, 1, 7, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(50, 1, 1, 5, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(51, 1, 1, 6, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(52, 1, 1, 8, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(53, 1, 1, 9, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(54, 1, 1, 10, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(55, 1, 1, 11, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(56, 1, 1, 12, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(57, 1, 1, 13, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(58, 1, 1, 14, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(59, 1, 1, 15, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(60, 1, 1, NULL, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(61, 1, 1, 22, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(62, 1, 1, 21, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(63, 1, 1, 37, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(64, 1, 1, 38, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(65, 1, 1, 41, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(66, 1, 1, 57, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(67, 4, 1, 5, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(68, 4, 1, 6, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(69, 4, 1, 8, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(70, 4, 1, 9, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(71, 4, 1, 10, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(72, 4, 1, 11, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(73, 4, 1, 12, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(74, 4, 1, 13, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(75, 4, 1, 14, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(76, 4, 1, 15, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(77, 4, 1, NULL, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(78, 4, 1, 22, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(79, 4, 1, 21, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(80, 3, 1, 5, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(81, 3, 1, 6, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(82, 3, 1, 8, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(83, 3, 1, 9, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(84, 3, 1, 10, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(85, 3, 1, 11, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(86, 3, 1, 12, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(87, 3, 1, 13, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(88, 3, 1, 14, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(89, 3, 1, 15, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(90, 3, 1, NULL, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(91, 3, 1, 22, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(92, 3, 1, 21, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(93, 2, 1, 5, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(94, 2, 1, 6, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(95, 2, 1, 8, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(96, 2, 1, 9, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(97, 2, 1, 10, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(98, 2, 1, 11, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(99, 2, 1, 12, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(100, 2, 1, 13, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(101, 2, 1, 14, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(102, 2, 1, 15, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(103, 2, 1, NULL, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(104, 2, 1, 22, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(105, 2, 1, 21, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(106, 1, 1, 59, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(107, 1, 1, 62, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(108, 1, 1, 64, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(109, 1, 1, 63, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(110, 1, 1, 66, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(111, 1, 1, 67, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(112, 1, 1, 68, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(113, 1, 1, 69, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(114, NULL, 1, 62, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(115, NULL, 1, 64, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(116, NULL, 1, 63, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(117, 14, 1, 62, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(118, 14, 1, 64, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(119, 14, 1, 63, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(120, 15, 1, 62, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(121, 15, 1, 64, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(122, 15, 1, 63, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(123, 1, 1, 92, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(124, 1, 1, 80, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(125, 1, 1, 81, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(126, 1, 1, 80, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(127, 1, 1, 82, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(128, 1, 1, 84, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(129, 1, 1, 85, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(130, 1, 1, 86, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(131, 1, 1, 87, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(132, 1, 1, 88, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(133, 1, 1, 90, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(134, 1, 1, 91, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(135, 1, 1, 95, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(136, 1, 1, 96, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(137, 1, 1, 268, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(138, 1, 1, 269, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(139, 1, 1, 270, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(140, 1, 1, 271, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(141, 1, 1, 273, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(142, 1, 1, 275, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(143, 1, 1, 276, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(144, 1, 1, 277, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(145, 1, 1, 278, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(146, 1, 1, 274, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(147, 17, 1, 268, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(148, 17, 1, 269, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(149, 17, 1, 270, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(150, 17, 1, 271, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(151, 17, 1, 273, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(152, 17, 1, 275, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(153, 17, 1, 276, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(154, 17, 1, 277, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(155, 17, 1, 278, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(156, 17, 1, 274, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(157, 18, 1, 268, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(158, 18, 1, 269, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(159, 18, 1, 270, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(160, 18, 1, 271, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(161, 18, 1, 273, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(162, 18, 1, 275, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(163, 18, 1, 276, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(164, 18, 1, 277, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(165, 18, 1, 278, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(166, 18, 1, 274, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(167, 19, 1, 268, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(168, 19, 1, 269, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(169, 19, 1, 270, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(170, 19, 1, 271, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(171, 19, 1, 273, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(172, 19, 1, 275, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(173, 19, 1, 276, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(174, 19, 1, 277, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(175, 19, 1, 278, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(176, 19, 1, 274, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(177, 1, 1, 283, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(178, 1, 1, 288, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(179, 1, 1, 291, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(180, 1, 1, 282, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(181, 1, 1, 284, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(182, 1, 1, 285, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(183, 1, 1, 287, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(184, 1, 1, 286, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(185, 1, 1, 280, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(186, 1, 1, 257, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(187, 19, 1, 257, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(188, 18, 1, 257, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(189, 17, 1, 257, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(190, 1, 1, 256, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(191, 1, 1, 245, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(192, 1, 1, 246, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(193, 1, 1, 247, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(194, 1, 1, 197, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(195, 1, 1, 169, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(196, 1, 1, 171, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(197, 1, 1, 249, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(198, 1, 1, 201, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(199, 1, 1, 202, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(200, 1, 1, 204, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(201, 1, 1, 203, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(202, 1, 1, 205, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(203, 1, 1, 206, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(204, 1, 1, 208, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(205, 1, 1, 212, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(206, 1, 1, 218, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(207, 1, 1, 220, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(208, 1, 1, 219, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(209, 1, 1, 221, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(210, 1, 1, 256, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(211, 1, 1, 240, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(212, 1, 1, 241, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(213, 1, 1, 214, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(214, 1, 1, 215, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(215, 1, 1, 216, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(216, 1, 1, 228, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(217, 1, 1, 229, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(218, 1, 1, 230, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(219, 1, 1, 234, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(220, 1, 1, 232, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(221, 1, 1, 233, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(222, 1, 1, 235, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(223, 1, 1, 236, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(224, 1, 1, 243, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL),
(225, 1, 1, NULL, 1, -1, '2022-09-13 06:39:50', -1, '2022-09-13 06:39:50', NULL, NULL);

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

--
-- Table structure for table `authorizedbusinessrolepermissions`
--

CREATE TABLE `authorizedbusinessrolepermissions` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `role_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `permission_id` int(11) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `bcpurchaseordercommunicationhistory`
--

CREATE TABLE `bcpurchaseordercommunicationhistory` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `businessconsultingpurchaseorders_id` int(11) DEFAULT NULL,
  `communicationtype_id` int(11) DEFAULT NULL,
  `followupdate` datetime DEFAULT NULL,
  `comment` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `bcpurchaseorders`
--

CREATE TABLE `bcpurchaseorders` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `enquiry_id` int(11) DEFAULT NULL,
  `enquirysource_id` int(11) DEFAULT NULL,
  `purchaseorderno` varchar(100) DEFAULT NULL,
  `date` date DEFAULT NULL,
  `value` decimal(18,2) DEFAULT NULL,
  `deliverydate` date DEFAULT NULL,
  `actualdeliverydate` date DEFAULT NULL,
  `paymentterm` text,
  `documentpath` varchar(200) DEFAULT NULL,
  `note` text,
  `receiveddate` date DEFAULT NULL,
  `duedate` date DEFAULT NULL,
  `orderrecorddate` date DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `billofquantities`
--

CREATE TABLE `billofquantities` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `quotation_id` int(11) DEFAULT NULL,
  `salesperson_id` int(11) DEFAULT NULL,
  `quotationstatus_id` int(11) DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `title` text,
  `amount` decimal(18,2) DEFAULT NULL,
  `shippingstreet1` text,
  `shippingstreet2` text,
  `shippinglocation` text,
  `shippingcity_id` int(11) DEFAULT NULL,
  `shippingstate_id` int(11) DEFAULT NULL,
  `shippingcountry_id` int(11) DEFAULT NULL,
  `shippingpostcode` varchar(20) DEFAULT NULL,
  `billingstreet1` text,
  `billingstreet2` text,
  `billinglocation` text,
  `billingcity_id` int(11) DEFAULT NULL,
  `billingstate_id` int(11) DEFAULT NULL,
  `billingcountry_id` int(11) DEFAULT NULL,
  `billingpostcode` varchar(20) DEFAULT NULL,
  `installationcharges` decimal(18,2) DEFAULT NULL,
  `shippingcharges` decimal(18,2) DEFAULT NULL,
  `othercharges` decimal(18,2) DEFAULT NULL,
  `terms` text,
  `exclusion` text,
  `bifurcation` text,
  `approvedby_id` int(11) DEFAULT NULL,
  `approveddate` datetime DEFAULT NULL,
  `referencenumber` varchar(100) DEFAULT NULL,
  `note` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `billofquantitiesdocuments`
--

CREATE TABLE `billofquantitiesdocuments` (
  `id` int(11) NOT NULL,
  `billofquantity_id` int(11) DEFAULT NULL,
  `title` varchar(50) DEFAULT NULL,
  `originalfilename` varchar(100) DEFAULT NULL,
  `documentpath` varchar(255) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '1',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default by -1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value-1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `billofquantitiesrawmaterials`
--

CREATE TABLE `billofquantitiesrawmaterials` (
  `id` int(11) NOT NULL,
  `billofquantity_id` int(11) DEFAULT NULL,
  `rowmaterial_id` int(11) DEFAULT NULL,
  `rawmaterialno` varchar(200) DEFAULT NULL,
  `specification` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `billofquantityconfigurations`
--

CREATE TABLE `billofquantityconfigurations` (
  `id` int(11) NOT NULL,
  `billofquantity_id` int(11) DEFAULT NULL,
  `showcoverletter` tinyint(4) DEFAULT '0',
  `showterms` tinyint(4) DEFAULT '0',
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `billofquantitydetails`
--

CREATE TABLE `billofquantitydetails` (
  `id` int(11) NOT NULL,
  `billofquantity_id` int(11) DEFAULT NULL,
  `title` text,
  `qty` int(11) DEFAULT NULL,
  `price` decimal(18,2) DEFAULT NULL,
  `amount` decimal(18,2) DEFAULT NULL,
  `gst` decimal(18,2) DEFAULT NULL,
  `note` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `billtypes`
--

CREATE TABLE `billtypes` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `name` varchar(100) DEFAULT NULL,
  `code` varchar(100) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `billtypes`
--

INSERT INTO `billtypes` (`id`, `business_id`, `name`, `code`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, NULL, 'Service Delivery', 'servicedelivery', 1, -1, '2021-03-02 13:23:17', -1, '2021-03-02 13:23:17', NULL, NULL),
(2, NULL, 'Service Memo', 'servicememo', 1, -1, '2021-03-02 13:23:17', -1, '2021-03-02 13:23:17', NULL, NULL);

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

--
-- Table structure for table `bloodgroups`
--

CREATE TABLE `bloodgroups` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bloodgroups`
--

INSERT INTO `bloodgroups` (`id`, `name`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'A+', 1, -1, '2020-10-14 11:21:11', -1, '2020-10-14 11:21:11', NULL, NULL),
(2, 'B+', 1, -1, '2020-10-14 11:21:11', -1, '2020-10-14 11:21:11', NULL, NULL),
(3, 'O+', 1, -1, '2020-10-14 11:21:50', -1, '2020-10-14 11:21:50', NULL, NULL),
(4, 'AB+', 1, -1, '2020-10-14 11:21:50', -1, '2020-10-14 11:21:50', NULL, NULL),
(5, 'A-', 1, -1, '2020-10-14 11:22:53', -1, '2020-10-14 11:22:53', NULL, NULL),
(6, 'B-', 1, -1, '2020-10-14 11:22:53', -1, '2020-10-14 11:22:53', NULL, NULL),
(7, 'O-', 1, -1, '2020-10-14 11:23:34', -1, '2020-10-14 11:23:34', NULL, NULL),
(8, 'AB-', 0, -1, '2020-10-14 11:23:34', -1, '2020-10-14 11:23:34', NULL, NULL);

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

--
-- Table structure for table `boilersuitsizes`
--

CREATE TABLE `boilersuitsizes` (
  `id` int(11) NOT NULL,
  `name` varchar(20) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1\r\nif for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1\r\nif for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `boilersuitsizes`
--

INSERT INTO `boilersuitsizes` (`id`, `name`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'XS', 1, -1, '2020-10-15 13:28:27', -1, '2020-10-15 13:28:27', NULL, NULL),
(2, 'S', 1, -1, '2020-10-15 13:28:27', -1, '2020-10-15 13:28:27', NULL, NULL),
(3, 'M', 1, -1, '2020-10-15 13:28:51', -1, '2020-10-15 13:28:51', NULL, NULL),
(4, 'L', 1, -1, '2020-10-15 13:28:51', -1, '2020-10-15 13:28:51', NULL, NULL),
(5, 'XL', 1, -1, '2020-10-15 13:29:18', -1, '2020-10-15 13:29:18', NULL, NULL),
(6, 'XXL', 1, -1, '2020-10-15 13:29:18', -1, '2020-10-15 13:29:18', NULL, NULL);

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

--
-- Table structure for table `bonus`
--

CREATE TABLE `bonus` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `bonustype_id` int(11) DEFAULT NULL,
  `skilledcategory_id` int(11) DEFAULT NULL,
  `worksite_id` int(11) DEFAULT NULL,
  `year_id` int(11) DEFAULT NULL,
  `month_id` int(11) DEFAULT NULL,
  `grosssalary` decimal(18,2) DEFAULT NULL,
  `percentage` decimal(18,2) DEFAULT NULL,
  `amount` decimal(18,2) DEFAULT NULL,
  `status` varchar(20) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `bonustypes`
--

CREATE TABLE `bonustypes` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `code` varchar(100) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin	',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin	',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `bonustypes`
--

INSERT INTO `bonustypes` (`id`, `name`, `code`, `displayorder`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Worksite', 'WORKSITE', 1, 1, -1, '2021-07-26 12:34:04', -1, '2021-07-26 12:34:04', NULL, NULL),
(2, 'Skilled Category', 'SKILLEDCATEGORY', 2, 1, -1, '2021-07-26 12:34:34', -1, '2021-07-26 12:34:34', NULL, NULL);

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

--
-- Table structure for table `bookings`
--

CREATE TABLE `bookings` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `bookingdate` datetime DEFAULT NULL,
  `referencenumber` varchar(100) DEFAULT NULL,
  `title` varchar(200) DEFAULT NULL,
  `bookingtypes_id` int(11) DEFAULT NULL,
  `fromcity_id` int(11) DEFAULT NULL,
  `tocity_id` int(11) DEFAULT NULL,
  `checkindate` datetime DEFAULT NULL,
  `checkoutdate` datetime DEFAULT NULL,
  `amount` decimal(18,2) DEFAULT NULL,
  `actualdeduction` decimal(18,2) DEFAULT NULL,
  `refund` decimal(18,2) DEFAULT NULL,
  `creditcardholder` varchar(100) DEFAULT NULL,
  `expensesforcompany` varchar(150) DEFAULT NULL,
  `remarks` varchar(150) DEFAULT NULL,
  `claimstatus_id` int(11) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `bookingtypes`
--

CREATE TABLE `bookingtypes` (
  `id` int(11) NOT NULL,
  `name` varchar(50) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT '	Default value -1 for admin	',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `branchlocation`
--

CREATE TABLE `branchlocation` (
  `id` int(11) NOT NULL,
  `employer_id` int(11) DEFAULT NULL,
  `branchname` varchar(200) DEFAULT NULL,
  `branchaddress1` varchar(255) DEFAULT NULL,
  `branchaddress2` varchar(255) DEFAULT NULL,
  `city_id` int(11) DEFAULT NULL,
  `state_id` int(11) DEFAULT NULL,
  `country_id` int(11) DEFAULT NULL,
  `pincode` int(11) DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `brands`
--

CREATE TABLE `brands` (
  `id` int(11) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `brandimage` varchar(255) CHARACTER SET latin1 DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` datetime DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `businessaddresses`
--

CREATE TABLE `businessaddresses` (
  `id` int(11) NOT NULL,
  `employer_id` int(11) DEFAULT NULL,
  `business_id` int(11) DEFAULT NULL,
  `addresstype_id` int(11) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `address1` text,
  `address2` text,
  `city_id` int(11) DEFAULT NULL,
  `state_id` int(11) DEFAULT NULL,
  `country_id` int(11) DEFAULT NULL,
  `pincode` int(11) DEFAULT NULL,
  `telephone` varchar(20) DEFAULT NULL,
  `mobilenoofowner` varchar(20) DEFAULT NULL,
  `active` tinyint(11) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `businessconsultingprojects`
--

CREATE TABLE `businessconsultingprojects` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `projecttype_id` int(11) DEFAULT NULL,
  `city_id` int(11) DEFAULT NULL,
  `projectstatus_id` int(11) DEFAULT NULL,
  `companyname` text,
  `name` text,
  `endusername` text,
  `consultantname` text,
  `epcname` text,
  `consultantcontactperson` text,
  `endusercontactperson` text,
  `epccontactperson` text,
  `note` varchar(255) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `businessdocuments`
--

CREATE TABLE `businessdocuments` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `documenttype_id` int(11) DEFAULT NULL,
  `otherdocumenttype` varchar(50) DEFAULT NULL,
  `originalfilename` varchar(100) DEFAULT NULL,
  `title` varchar(50) DEFAULT NULL,
  `documentpath` varchar(255) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default by -1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default by -1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `businesses`
--

CREATE TABLE `businesses` (
  `id` int(11) NOT NULL,
  `currency_id` int(11) DEFAULT NULL,
  `name` varchar(50) DEFAULT NULL,
  `displayname` varchar(50) DEFAULT NULL,
  `code` varchar(100) DEFAULT NULL,
  `businesslogo` varchar(200) DEFAULT NULL,
  `employercode` varchar(50) DEFAULT NULL,
  `watermarklogo` varchar(200) DEFAULT NULL,
  `gstnumber` varchar(200) DEFAULT NULL,
  `saccode` varchar(20) DEFAULT NULL,
  `isocode` varchar(20) DEFAULT NULL,
  `udyam` varchar(20) DEFAULT NULL,
  `ieccode` varchar(20) DEFAULT NULL,
  `digitalsignature` varchar(200) DEFAULT NULL,
  `companystamp` varchar(200) DEFAULT NULL,
  `businessshortname` varchar(50) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `director` varchar(255) DEFAULT NULL,
  `street1` text,
  `street2` text,
  `city_id` int(11) DEFAULT NULL,
  `state_id` int(11) DEFAULT NULL,
  `country_id` int(11) DEFAULT NULL,
  `pincode` int(11) DEFAULT NULL,
  `telephone` varchar(20) DEFAULT NULL,
  `mobilenumber` varchar(20) DEFAULT NULL,
  `mobile2` varchar(20) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `registrationnumber` varchar(20) DEFAULT NULL,
  `tan` varchar(20) DEFAULT NULL,
  `pancardno` varchar(20) DEFAULT NULL,
  `incometaxid` varchar(20) DEFAULT NULL,
  `bankname` varchar(50) DEFAULT NULL,
  `ifsc` varchar(20) DEFAULT NULL,
  `bankaccountno` varchar(20) DEFAULT NULL,
  `bankaccountname` varchar(50) DEFAULT NULL,
  `bankbranchname` varchar(50) DEFAULT NULL,
  `bankaddress_1` text,
  `bankaddress_2` text,
  `bankaddress_3` text,
  `bankcity_id` int(11) DEFAULT NULL,
  `bankstate_id` int(11) DEFAULT NULL,
  `bankcountry_id` int(11) DEFAULT NULL,
  `bankpincode` varchar(20) DEFAULT NULL,
  `customercarenumber` varchar(200) DEFAULT NULL,
  `customercareemail` varchar(200) DEFAULT NULL,
  `salesnumber` varchar(200) DEFAULT NULL,
  `isprimary` tinyint(4) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default valuie -1 is for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `businesses`
--

INSERT INTO `businesses` (`id`, `currency_id`, `name`, `displayname`, `code`, `businesslogo`, `employercode`, `watermarklogo`, `gstnumber`, `saccode`, `isocode`, `udyam`, `ieccode`, `digitalsignature`, `companystamp`, `businessshortname`, `email`, `director`, `street1`, `street2`, `city_id`, `state_id`, `country_id`, `pincode`, `telephone`, `mobilenumber`, `mobile2`, `displayorder`, `registrationnumber`, `tan`, `pancardno`, `incometaxid`, `bankname`, `ifsc`, `bankaccountno`, `bankaccountname`, `bankbranchname`, `bankaddress_1`, `bankaddress_2`, `bankaddress_3`, `bankcity_id`, `bankstate_id`, `bankcountry_id`, `bankpincode`, `customercarenumber`, `customercareemail`, `salesnumber`, `isprimary`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, NULL, 'Fruiezventures', 'FruiezVentures', 'FRUIEZVEN', NULL, 'FRUIEZ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, -1, '2022-09-13 06:45:40', -1, '2022-09-13 06:45:40', NULL, NULL);

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

--
-- Table structure for table `businessplan`
--

CREATE TABLE `businessplan` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `employee_id` int(11) DEFAULT NULL,
  `financialyear_id` int(11) DEFAULT NULL,
  `target` decimal(18,2) DEFAULT NULL,
  `note` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'default value-1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'default value-1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `businessplandetails`
--

CREATE TABLE `businessplandetails` (
  `id` int(11) NOT NULL,
  `businessplan_id` int(11) DEFAULT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `target` decimal(18,2) DEFAULT NULL,
  `potential` decimal(18,2) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `businessplantargets`
--

CREATE TABLE `businessplantargets` (
  `id` int(11) NOT NULL,
  `businessplandetail_id` int(11) DEFAULT NULL,
  `month_id` int(11) DEFAULT NULL,
  `year_id` int(11) DEFAULT NULL,
  `actual` decimal(18,2) DEFAULT NULL,
  `target` decimal(18,2) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT '	Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT '	Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `calendar`
--

CREATE TABLE `calendar` (
  `id` int(11) NOT NULL,
  `from_id` int(11) DEFAULT NULL,
  `to_id` int(11) DEFAULT NULL,
  `title` varchar(200) DEFAULT NULL,
  `description` varchar(500) DEFAULT NULL,
  `startdate` datetime DEFAULT NULL,
  `enddate` datetime DEFAULT NULL,
  `selfmeeting` tinyint(4) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `cancelledserialnumbers`
--

CREATE TABLE `cancelledserialnumbers` (
  `id` int(11) NOT NULL,
  `billtype_id` int(11) DEFAULT NULL,
  `month_id` int(11) DEFAULT NULL,
  `year_id` int(11) DEFAULT NULL,
  `serialnumber` varchar(100) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `candidatecommunicationhistory`
--

CREATE TABLE `candidatecommunicationhistory` (
  `id` int(11) NOT NULL,
  `candidate_id` int(11) DEFAULT NULL,
  `candidatecommunicationtype_id` int(11) DEFAULT NULL,
  `followupdate` datetime DEFAULT NULL,
  `comment` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `candidatecommunicationtype`
--

CREATE TABLE `candidatecommunicationtype` (
  `id` int(11) NOT NULL,
  `displayorder` int(11) NOT NULL,
  `name` text,
  `weightage` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `candidatecommunicationtype`
--

INSERT INTO `candidatecommunicationtype` (`id`, `displayorder`, `name`, `weightage`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 1, 'Comments', NULL, 1, -1, '2020-01-04 10:33:38', -1, '2020-01-04 10:33:38', NULL, NULL),
(2, 2, 'Schedule Interview', NULL, 1, -1, '2020-01-04 10:35:43', -1, '2020-01-04 10:35:43', NULL, NULL),
(3, 3, 'Approached For Job', NULL, 1, -1, '2020-01-04 10:36:02', -1, '2020-01-04 10:36:02', NULL, NULL),
(4, 4, 'Updated CV', NULL, 1, -1, '2020-01-04 10:36:24', -1, '2020-01-04 10:36:24', NULL, NULL),
(5, 5, 'Other', NULL, 1, -1, '2020-05-13 14:55:58', -1, '2020-05-13 14:55:58', NULL, NULL);

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

--
-- Table structure for table `candidatejobopenings`
--

CREATE TABLE `candidatejobopenings` (
  `id` int(11) NOT NULL,
  `jobopening_id` int(11) DEFAULT NULL,
  `candidate_id` int(11) DEFAULT NULL,
  `interviewtype_id` int(11) DEFAULT NULL,
  `calendar_id` int(11) DEFAULT NULL,
  `interviewdate_time` datetime DEFAULT NULL,
  `offerletteraccepted_date` datetime DEFAULT NULL,
  `joining_date` datetime DEFAULT NULL,
  `recruitmentstatus_id` int(11) DEFAULT NULL,
  `recruitmentcurrentstatus_id` int(11) DEFAULT NULL,
  `finalcandidate` tinyint(4) DEFAULT '0',
  `mcqpercentage` decimal(18,2) DEFAULT NULL,
  `personalpercentage` decimal(18,2) DEFAULT NULL,
  `averagepercentage` decimal(18,2) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP COMMENT 'Default value -1 for admin',
  `created_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `candidatejobtitles`
--

CREATE TABLE `candidatejobtitles` (
  `id` int(11) NOT NULL,
  `candidate_id` int(11) DEFAULT NULL,
  `jobtitle_id` int(11) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `candidatemcqanswers`
--

CREATE TABLE `candidatemcqanswers` (
  `id` int(11) NOT NULL,
  `candidate_id` int(11) DEFAULT NULL,
  `questionnaire_id` int(11) DEFAULT NULL,
  `answers_id` int(11) DEFAULT NULL,
  `active` int(11) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value  -1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value  -1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `candidatepastexperience`
--

CREATE TABLE `candidatepastexperience` (
  `id` int(11) NOT NULL,
  `candidate_id` int(11) DEFAULT NULL,
  `companyname` varchar(200) DEFAULT NULL,
  `ctc` decimal(18,2) DEFAULT NULL,
  `startdate` datetime DEFAULT NULL,
  `enddate` datetime DEFAULT NULL,
  `description` varchar(200) DEFAULT NULL,
  `note` varchar(100) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP COMMENT 'Default value -1 for admin',
  `created_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `candidatepersonalinterviewanswers`
--

CREATE TABLE `candidatepersonalinterviewanswers` (
  `id` int(11) NOT NULL,
  `candidate_id` int(11) DEFAULT NULL,
  `questionnaire_id` int(11) DEFAULT NULL,
  `answer` text,
  `weightage` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `candidates`
--

CREATE TABLE `candidates` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `firstname` varchar(100) DEFAULT NULL,
  `lastname` varchar(100) DEFAULT NULL,
  `middlename` varchar(100) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `documentpath` varchar(255) DEFAULT NULL,
  `countryphonecode` varchar(50) DEFAULT NULL,
  `mobileno` varchar(20) DEFAULT NULL,
  `dateofbirth` datetime DEFAULT NULL,
  `covernote_attach` tinyint(1) DEFAULT '0',
  `covernote_path` varchar(255) DEFAULT NULL,
  `covernote` varchar(255) DEFAULT NULL,
  `degree_id` int(11) DEFAULT NULL,
  `industry_id` int(11) DEFAULT NULL,
  `jobtitle_id` int(11) DEFAULT NULL,
  `experience` int(11) DEFAULT NULL,
  `currentctc` decimal(18,2) DEFAULT NULL,
  `expectedctc` decimal(18,2) DEFAULT NULL,
  `relocate` tinyint(4) DEFAULT NULL,
  `noticeperiod` int(11) DEFAULT NULL,
  `note` varchar(100) DEFAULT NULL,
  `address1` varchar(200) DEFAULT NULL,
  `address2` varchar(200) DEFAULT NULL,
  `city_id` int(11) DEFAULT NULL,
  `state_id` int(11) DEFAULT NULL,
  `country_id` int(11) DEFAULT NULL,
  `pincode` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP COMMENT 'Default value -1 for admin',
  `created_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `candidateskills`
--

CREATE TABLE `candidateskills` (
  `id` int(11) NOT NULL,
  `candidate_id` int(11) DEFAULT NULL,
  `skill_id` int(11) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `cashflowtypes`
--

CREATE TABLE `cashflowtypes` (
  `id` int(11) NOT NULL,
  `name` varchar(200) DEFAULT NULL,
  `code` varchar(150) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `cashflowtypes`
--

INSERT INTO `cashflowtypes` (`id`, `name`, `code`, `displayorder`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Positive', 'P', 1, 1, -1, '2022-03-22 11:30:40', -1, '2022-03-22 11:30:40', NULL, NULL),
(2, 'Negative', 'N', 2, 1, -1, '2022-03-22 11:30:40', -1, '2022-03-22 11:30:40', NULL, NULL);

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

--
-- Table structure for table `cashmemodetails`
--

CREATE TABLE `cashmemodetails` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `cashmemo_id` int(11) DEFAULT NULL,
  `product_id` int(11) DEFAULT NULL,
  `qty` int(11) DEFAULT NULL,
  `rate` decimal(18,2) DEFAULT NULL,
  `total` decimal(18,2) DEFAULT NULL,
  `serialnumber` varchar(50) CHARACTER SET utf8mb4 DEFAULT NULL,
  `subpartserialno` varchar(50) CHARACTER SET utf8mb4 DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `cashmemopaymentstatus`
--

CREATE TABLE `cashmemopaymentstatus` (
  `id` int(11) NOT NULL,
  `name` varchar(100) CHARACTER SET utf8mb4 DEFAULT NULL,
  `code` varchar(150) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin ',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin ',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `cashmemopaymentstatus`
--

INSERT INTO `cashmemopaymentstatus` (`id`, `name`, `code`, `displayorder`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Unpaid', 'UNPAID', 1, 1, -1, '2022-07-18 06:54:48', -1, '2022-07-18 06:54:48', NULL, NULL),
(2, 'Paid', 'PAID', 2, 1, -1, '2022-07-18 06:54:48', -1, '2022-07-18 06:54:48', NULL, NULL),
(3, 'Not Applicabale', 'NOTAPPLICABALE', 3, 1, -1, '2022-07-18 06:54:48', -1, '2022-07-18 06:54:48', NULL, NULL),
(4, 'Partial Paid', 'PARTIALPAID', 4, 1, -1, '2022-07-18 07:06:15', -1, '2022-07-18 07:06:15', NULL, NULL);

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

--
-- Table structure for table `cashmemos`
--

CREATE TABLE `cashmemos` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `employee_id` int(11) DEFAULT NULL,
  `invoicetype_id` int(11) DEFAULT NULL,
  `cashmemopaymentstatus_id` int(11) DEFAULT NULL,
  `pickupdate` datetime DEFAULT NULL,
  `deliverydate` datetime DEFAULT NULL,
  `estimatedeliverydate` datetime DEFAULT NULL,
  `paymentduedate` datetime DEFAULT NULL,
  `address` varchar(100) CHARACTER SET utf8mb4 DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin ',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `categories`
--

CREATE TABLE `categories` (
  `id` int(11) NOT NULL,
  `name` varchar(200) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `challandeliverymodes`
--

CREATE TABLE `challandeliverymodes` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `code` varchar(150) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `challandeliverymodes`
--

INSERT INTO `challandeliverymodes` (`id`, `name`, `code`, `displayorder`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Self', 'SELF', 1, 1, -1, '2020-09-30 01:28:06', -1, '2020-09-30 01:28:06', NULL, NULL),
(2, 'Courier', 'COURIER', 2, 1, -1, '2020-09-30 01:28:06', -1, '2020-09-30 01:28:06', NULL, NULL);

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

--
-- Table structure for table `chargetypes`
--

CREATE TABLE `chargetypes` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `code` varchar(100) DEFAULT NULL,
  `hsn` varchar(60) DEFAULT NULL,
  `sku` varchar(60) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `chargetypes`
--

INSERT INTO `chargetypes` (`id`, `name`, `code`, `hsn`, `sku`, `displayorder`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Installation Charges', 'INSCHRG', NULL, NULL, 1, 1, -1, '2022-01-22 05:58:44', -1, '2022-01-22 05:58:44', NULL, NULL),
(2, 'Packaging Charges', 'PKGCHRG', NULL, NULL, 2, 1, -1, '2022-01-22 05:58:44', -1, '2022-01-22 05:58:44', NULL, NULL),
(3, 'Shipping Charges', 'SHIPCHRG', NULL, NULL, 3, 1, -1, '2022-01-22 05:58:44', -1, '2022-01-22 05:58:44', NULL, NULL),
(4, 'Freight', 'FRGHT', NULL, NULL, 4, 1, -1, '2022-01-22 05:58:44', -1, '2022-01-22 05:58:44', NULL, NULL),
(5, 'Other Charges', 'OTHERCHRG', NULL, NULL, 5, 1, -1, '2022-01-22 05:58:44', -1, '2022-01-22 05:58:44', NULL, NULL);

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

--
-- Table structure for table `cities`
--

CREATE TABLE `cities` (
  `id` int(11) NOT NULL,
  `name` varchar(50) DEFAULT NULL,
  `country_id` int(11) DEFAULT NULL,
  `state_id` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `cities`
--

INSERT INTO `cities` (`id`, `name`, `country_id`, `state_id`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Ahemdabaad', 1, NULL, 1, -1, '2022-09-13 11:04:59', -1, '2022-09-13 11:04:59', NULL, NULL);

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

--
-- Table structure for table `claimstatus`
--

CREATE TABLE `claimstatus` (
  `id` int(11) NOT NULL,
  `name` varchar(150) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `claimstatus`
--

INSERT INTO `claimstatus` (`id`, `name`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Claimed', 1, -1, '2021-07-16 12:41:28', -1, '2021-07-16 12:41:28', NULL, NULL),
(2, 'Pending', 1, -1, '2021-07-16 12:41:28', -1, '2021-07-16 12:41:28', NULL, NULL);

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

--
-- Table structure for table `commissionconfigurations`
--

CREATE TABLE `commissionconfigurations` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `fromamount` decimal(18,2) DEFAULT NULL,
  `toamount` decimal(18,2) DEFAULT NULL,
  `commissiontype` varchar(50) DEFAULT NULL,
  `commission` varchar(50) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Defalut value -1 if for Admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Defalut value -1 if for Admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `commissions`
--

CREATE TABLE `commissions` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `partner_id` int(11) DEFAULT NULL,
  `invoice_id` int(11) DEFAULT NULL,
  `status_id` int(11) DEFAULT NULL,
  `amount` decimal(18,2) DEFAULT NULL,
  `commissiondate` date DEFAULT NULL,
  `paymentdate` date DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT '	Default value -1 if for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT '	Default value -1 if for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `communicationhistory`
--

CREATE TABLE `communicationhistory` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `employee_id` int(11) DEFAULT NULL,
  `communicationtype_id` int(11) DEFAULT NULL,
  `calendar_id` int(11) DEFAULT NULL,
  `followupdate` datetime DEFAULT NULL,
  `comment` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `communicationhistoryaudit`
--

CREATE TABLE `communicationhistoryaudit` (
  `id` int(11) NOT NULL,
  `communicationhistory_id` int(11) DEFAULT NULL,
  `followupdate` datetime DEFAULT NULL,
  `comment` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `communicationmodes`
--

CREATE TABLE `communicationmodes` (
  `id` int(11) NOT NULL,
  `name` text,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `communicationmodes`
--

INSERT INTO `communicationmodes` (`id`, `name`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'SMS', 1, -1, '2020-09-01 14:15:59', -1, '2020-09-01 14:15:59', NULL, NULL),
(2, 'Email', 1, -1, '2020-09-01 14:17:01', -1, '2020-09-01 14:17:01', NULL, NULL),
(3, 'WhatsApp', 1, -1, '2021-11-13 03:37:01', -1, '2021-11-13 03:37:01', NULL, NULL);

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

--
-- Table structure for table `communicationtype`
--

CREATE TABLE `communicationtype` (
  `id` int(11) NOT NULL,
  `communicationtypegroup_id` int(11) DEFAULT NULL,
  `displayorder` int(11) NOT NULL,
  `name` text,
  `systemfield` tinyint(4) DEFAULT '0',
  `code` varchar(150) DEFAULT NULL,
  `weightage` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `communicationtype`
--

INSERT INTO `communicationtype` (`id`, `communicationtypegroup_id`, `displayorder`, `name`, `systemfield`, `code`, `weightage`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 2, 2, 'Followup Calls', 0, 'FOLLOWUPCALLS', 1, 1, -1, '2019-12-25 11:18:04', -1, '2019-12-25 11:18:04', NULL, NULL),
(2, NULL, 4, 'Quotation To Be Sent', 0, 'QUOTETOBESENT', NULL, 1, -1, '2019-12-25 11:18:25', -1, '2019-12-25 11:18:25', NULL, NULL),
(3, 4, 5, 'Quotation Sent', 0, 'QUOTATIONSENT', NULL, 1, -1, '2019-12-25 11:18:44', -1, '2019-12-25 11:18:44', NULL, NULL),
(4, NULL, 6, 'Sales Order To Be Sent', 0, 'SALESORDERTOBESENT', NULL, 1, -1, '2019-12-25 11:18:55', -1, '2019-12-25 11:18:55', NULL, NULL),
(5, NULL, 7, 'Sales Order Sent', 0, 'SALESORDERSENT', NULL, 1, -1, '2019-12-25 11:18:55', -1, '2019-12-25 11:18:55', NULL, NULL),
(6, NULL, 8, 'Invoice To Be Sent', 0, 'INVOICETOBESENT', NULL, 1, -1, '2019-12-25 11:18:25', -1, '2019-12-25 11:18:25', NULL, NULL),
(7, NULL, 9, 'Invoice Sent', 0, 'INVOICESENT', 25, 1, -1, '2019-12-25 11:18:44', -1, '2019-12-25 11:18:44', NULL, NULL),
(8, NULL, 10, 'Other', 0, 'OTHER', NULL, 1, -1, '2019-12-25 11:18:44', -1, '2019-12-25 11:18:44', NULL, NULL),
(9, 1, 1, 'Introduction Meeting', 0, 'INTROMEETING', 5, 1, -1, '2020-05-14 01:30:08', -1, '2020-05-14 01:30:08', NULL, NULL),
(10, 2, 3, 'Followup Meeting', 0, 'FOLLOWUPMEETING', 5, 1, -1, '2020-05-14 01:30:08', -1, '2020-05-14 01:30:08', NULL, NULL),
(11, NULL, 11, 'Client not answering', 0, 'CLIENTNOTANS', NULL, 1, -1, '2021-05-27 05:24:45', -1, '2021-05-27 05:24:45', NULL, NULL),
(12, NULL, 12, 'Client asked to Call back', 0, 'CLIENTASKCALLBACK', NULL, 1, -1, '2021-05-27 05:24:45', -1, '2021-05-27 05:24:45', NULL, NULL),
(13, NULL, 13, 'Client asked to send company profile', 0, 'CLIENTASKSENDCOMPROFILE', NULL, 1, -1, '2021-05-27 05:24:45', -1, '2021-05-27 05:24:45', NULL, NULL),
(14, 3, 14, 'Given Demo', 0, 'GIVENDEMO', NULL, 1, -1, '2021-08-07 05:13:17', -1, '2021-08-07 05:13:17', NULL, NULL),
(15, NULL, 15, 'System Log', 1, 'SYSTEMLOG', NULL, 1, -1, '2019-12-25 11:18:04', -1, '2019-12-25 11:18:04', NULL, NULL);

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

--
-- Table structure for table `communicationtypegroups`
--

CREATE TABLE `communicationtypegroups` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `code` varchar(150) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `communicationtypegroups`
--

INSERT INTO `communicationtypegroups` (`id`, `name`, `code`, `displayorder`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Introduction', 'INTRO', 1, 1, -1, '2021-10-12 17:12:11', -1, '2021-10-12 17:12:47', NULL, NULL),
(2, 'Followup', 'FOLLOWUP', 2, 1, -1, '2021-10-12 17:12:11', -1, '2021-10-12 17:12:47', NULL, NULL),
(3, 'Demo', 'DEMO', 3, 1, -1, '2021-10-12 17:12:11', -1, '2021-10-12 17:12:47', NULL, NULL),
(4, 'Quotation', 'QUOTA', 4, 1, -1, '2021-10-12 17:12:11', -1, '2021-10-12 17:12:47', NULL, NULL),
(5, 'Negotiation', 'NEGOT', 5, 1, -1, '2021-10-12 17:12:11', -1, '2021-10-12 17:12:47', NULL, NULL);

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

--
-- Table structure for table `companygoals`
--

CREATE TABLE `companygoals` (
  `id` int(11) NOT NULL,
  `department_id` int(11) DEFAULT NULL,
  `role_id` int(11) DEFAULT NULL,
  `title` varchar(255) DEFAULT NULL,
  `startdate` datetime DEFAULT NULL,
  `enddate` datetime DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `companygoalsdetails`
--

CREATE TABLE `companygoalsdetails` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `companygoal_id` int(11) DEFAULT NULL,
  `kpi_id` int(11) DEFAULT NULL,
  `target` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `complaintassignmenthistory`
--

CREATE TABLE `complaintassignmenthistory` (
  `id` int(11) NOT NULL,
  `complaint_id` int(11) DEFAULT NULL,
  `employee_id` int(11) DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `complaintdocuments`
--

CREATE TABLE `complaintdocuments` (
  `id` int(11) NOT NULL,
  `complaint_id` int(11) DEFAULT NULL,
  `documenttype_id` int(11) DEFAULT NULL,
  `otherdocumenttype` varchar(50) DEFAULT NULL,
  `originalfilename` varchar(100) DEFAULT NULL,
  `documentpath` varchar(255) DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `active` tinyint(4) DEFAULT '1',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default by -1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value-1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `complaintfeedbackanswers`
--

CREATE TABLE `complaintfeedbackanswers` (
  `id` int(11) NOT NULL,
  `complaint_id` int(11) DEFAULT NULL,
  `questionnaire_id` int(11) DEFAULT NULL,
  `answer_id` int(11) DEFAULT NULL,
  `answer` text,
  `weightage` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin	',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin	',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `complaintpaymentstatus`
--

CREATE TABLE `complaintpaymentstatus` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `code` varchar(150) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `complaintpaymentstatus`
--

INSERT INTO `complaintpaymentstatus` (`id`, `name`, `code`, `displayorder`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Unpaid', 'UNPAID', 1, 1, -1, '2021-08-29 12:08:26', -1, '2021-08-29 12:08:26', NULL, NULL),
(2, 'Paid', 'PAID', 2, 1, -1, '2021-08-29 12:08:26', -1, '2021-02-13 12:08:26', NULL, NULL),
(3, 'Partial Paid', 'PARTIALPAID', 3, 1, -1, '2021-08-29 12:08:26', -1, '2021-08-29 12:08:26', NULL, NULL),
(4, 'Not Applicable', 'NOTAPPLICABLE', 4, 1, -1, '2022-02-01 17:14:05', -1, '2022-02-01 17:14:05', NULL, NULL),
(5, 'Amc', 'AMC', 5, 1, -1, '2022-03-29 01:43:42', -1, '2022-03-29 01:43:42', NULL, NULL);

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

--
-- Table structure for table `complaintproductdetails`
--

CREATE TABLE `complaintproductdetails` (
  `id` int(11) NOT NULL,
  `complaint_id` int(11) DEFAULT NULL,
  `product_id` int(11) DEFAULT NULL,
  `modelno` varchar(100) DEFAULT NULL,
  `serialno` varchar(100) DEFAULT NULL,
  `subpartserialno` varchar(100) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `complaintresolutionassignmenthistory`
--

CREATE TABLE `complaintresolutionassignmenthistory` (
  `id` int(11) NOT NULL,
  `complaint_id` int(11) NOT NULL,
  `employee_id` int(11) DEFAULT NULL,
  `resolution` text,
  `followupaction` text,
  `technicalspecification` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin	',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin	',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `complaints`
--

CREATE TABLE `complaints` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `invoicetype_id` int(11) DEFAULT NULL,
  `calendar_id` int(11) DEFAULT NULL,
  `address_id` int(50) DEFAULT NULL,
  `referencenumber` varchar(50) DEFAULT NULL,
  `title` text,
  `description` text,
  `amount` decimal(18,2) DEFAULT NULL,
  `sourceofproblem` text,
  `resolveddate` datetime DEFAULT NULL,
  `solution` text,
  `visitintime` datetime DEFAULT NULL,
  `visitinlocation` varchar(500) DEFAULT NULL,
  `visitouttime` datetime DEFAULT NULL,
  `visitoutlocation` varchar(500) DEFAULT NULL,
  `feedback` text,
  `complaintstatus_id` int(11) DEFAULT NULL,
  `complainttype_id` int(11) DEFAULT NULL,
  `complaintpaymentstatus_id` int(11) DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `otpcode` int(11) DEFAULT NULL,
  `otpgeneratetime` time DEFAULT NULL,
  `complaintfeedbackscore` decimal(18,2) DEFAULT NULL,
  `note` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin ',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin ',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `complaintstatus`
--

CREATE TABLE `complaintstatus` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `code` varchar(150) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value  -1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value  -1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `complaintstatus`
--

INSERT INTO `complaintstatus` (`id`, `name`, `code`, `displayorder`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Open', 'OPEN', 1, 1, -1, '2020-03-12 17:43:39', -1, '2020-03-12 17:43:39', NULL, NULL),
(2, 'In Progress', 'INPRO', 2, 1, -1, '2020-03-12 17:43:52', -1, '2020-03-12 17:43:52', NULL, NULL),
(3, 'On Hold', 'ONHOLD', 3, 1, -1, '2020-03-12 17:44:04', -1, '2020-03-12 17:44:04', NULL, NULL),
(4, 'Closed', 'CLOSED', 4, 1, -1, '2020-03-12 17:44:16', -1, '2020-03-12 17:44:16', NULL, NULL),
(5, 'Unresolved', 'UNRES', 5, 1, -1, '2020-09-20 11:09:08', -1, '2020-09-20 11:09:08', NULL, NULL);

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

--
-- Table structure for table `complainttypes`
--

CREATE TABLE `complainttypes` (
  `id` int(11) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP COMMENT 'Default value -1 for admin',
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP COMMENT 'Default value -1 for admin',
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `complainttypes`
--

INSERT INTO `complainttypes` (`id`, `name`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Warranty', 1, -1, '2020-03-17 13:17:47', -1, '2020-03-17 13:17:47', NULL, NULL),
(2, 'Payment', 1, -1, '2020-03-17 13:17:55', -1, '2020-03-17 13:17:55', NULL, NULL),
(3, 'Hardware', 1, 21, '2020-09-03 18:13:25', 21, '2020-09-03 18:13:25', NULL, NULL),
(4, 'Renewal', 1, 2, '2020-09-25 11:59:46', 2, '2020-09-25 11:59:58', NULL, NULL);

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

--
-- Table structure for table `complaintvisits`
--

CREATE TABLE `complaintvisits` (
  `id` int(11) NOT NULL,
  `complaint_id` int(11) DEFAULT NULL,
  `employee_id` int(11) DEFAULT NULL,
  `inlocation` varchar(2000) DEFAULT NULL,
  `outlocation` varchar(2000) DEFAULT NULL,
  `inlatitude` decimal(18,2) DEFAULT NULL,
  `outlatitude` decimal(18,2) DEFAULT NULL,
  `inlongitude` decimal(18,2) DEFAULT NULL,
  `outlongitude` decimal(18,2) DEFAULT NULL,
  `intime` datetime DEFAULT NULL,
  `outtime` datetime DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `compliances`
--

CREATE TABLE `compliances` (
  `id` int(11) NOT NULL,
  `name` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value  -1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value  -1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `consignmentchallan`
--

CREATE TABLE `consignmentchallan` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `deliverymode_id` int(11) DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `title` text,
  `challannumber` varchar(50) DEFAULT NULL,
  `shippingasbilling` tinyint(4) NOT NULL DEFAULT '0',
  `shippingstreet1` text,
  `shippingstreet2` text,
  `shippinglocation` text,
  `shippingcity_id` int(11) DEFAULT NULL,
  `shippingstate_id` int(11) DEFAULT NULL,
  `shippingcountry_id` int(11) DEFAULT NULL,
  `shippingpostcode` varchar(20) DEFAULT NULL,
  `billingstreet1` text,
  `billingstreet2` text,
  `billinglocation` text,
  `billingcity_id` int(11) DEFAULT NULL,
  `billingstate_id` int(11) DEFAULT NULL,
  `billingcountry_id` int(11) DEFAULT NULL,
  `billingpostcode` varchar(20) DEFAULT NULL,
  `installationcharges` decimal(18,2) DEFAULT NULL,
  `shippingcharges` decimal(18,2) DEFAULT NULL,
  `paymentduedate` datetime DEFAULT NULL,
  `terms` text,
  `dispatchthrough` varchar(255) DEFAULT NULL,
  `destination` varchar(255) DEFAULT NULL,
  `rownumber` int(11) DEFAULT NULL,
  `consignmentchallannumber` varchar(20) DEFAULT NULL,
  `state_id` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `created_by` int(11) DEFAULT '-1',
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `consignmentchallanadditionalcharges`
--

CREATE TABLE `consignmentchallanadditionalcharges` (
  `id` int(11) NOT NULL,
  `consignmentchallan_id` int(11) DEFAULT NULL,
  `chargetype_id` int(11) DEFAULT NULL,
  `charge` decimal(18,2) DEFAULT NULL,
  `mrpwithgst` int(11) DEFAULT NULL,
  `gstslab_id` int(11) DEFAULT NULL,
  `cgst` decimal(18,2) DEFAULT NULL,
  `cgstamount` decimal(18,2) DEFAULT NULL,
  `sgst` decimal(18,2) DEFAULT NULL,
  `sgstamount` decimal(18,2) DEFAULT NULL,
  `igst` decimal(18,2) DEFAULT NULL,
  `igstamount` decimal(18,2) DEFAULT NULL,
  `chargewithgst` decimal(18,2) DEFAULT NULL,
  `chargewithoutgst` decimal(18,2) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `consignmentchallandetails`
--

CREATE TABLE `consignmentchallandetails` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `consignment_id` int(11) DEFAULT NULL,
  `product_id` int(11) DEFAULT NULL,
  `serialnumber` varchar(50) DEFAULT NULL,
  `specification` text,
  `warranty` text,
  `area` text,
  `unit` text,
  `size` varchar(50) DEFAULT NULL,
  `qty` int(11) DEFAULT NULL,
  `measurement` decimal(18,2) DEFAULT NULL,
  `measurementtype` varchar(50) DEFAULT NULL,
  `measureqty` decimal(18,2) DEFAULT NULL,
  `measureamount` decimal(18,2) DEFAULT NULL,
  `price` decimal(18,2) DEFAULT NULL,
  `pricewithgst` decimal(18,2) DEFAULT NULL,
  `pricewithoutgst` decimal(18,2) DEFAULT NULL,
  `mrpwithgst` int(11) DEFAULT NULL,
  `dealerdiscounttype` int(11) DEFAULT NULL,
  `dealerdiscount` int(11) DEFAULT NULL,
  `purchaserate` decimal(18,2) DEFAULT NULL,
  `discounttype` int(11) DEFAULT NULL,
  `discount` decimal(18,2) DEFAULT NULL,
  `profitmargintype` int(11) DEFAULT NULL,
  `profitmargin` decimal(18,2) DEFAULT NULL,
  `salesrate` decimal(18,2) DEFAULT NULL,
  `netrateincludinggst` decimal(18,2) DEFAULT NULL,
  `netrateexcludinggst` decimal(18,2) DEFAULT NULL,
  `gstslab_id` int(11) DEFAULT NULL,
  `gst` decimal(18,2) DEFAULT NULL,
  `cgst` decimal(18,2) DEFAULT NULL,
  `cgstamount` decimal(18,2) DEFAULT NULL,
  `sgst` decimal(18,2) DEFAULT NULL,
  `sgstamount` decimal(18,2) DEFAULT NULL,
  `igst` decimal(18,2) DEFAULT NULL,
  `igstamount` decimal(18,2) DEFAULT NULL,
  `amount` decimal(18,2) DEFAULT NULL,
  `totalamountwithgst` decimal(18,2) DEFAULT NULL,
  `totalamountwithoutgst` decimal(18,2) DEFAULT NULL,
  `note` text,
  `purchaseprice` decimal(18,2) DEFAULT NULL,
  `purchasetotal` decimal(18,2) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `contract`
--

CREATE TABLE `contract` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) DEFAULT NULL,
  `startdate` datetime DEFAULT NULL,
  `enddate` datetime DEFAULT NULL,
  `document` varchar(255) DEFAULT NULL,
  `contractstatus_id` int(11) DEFAULT NULL,
  `note` varchar(255) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `contractstatus`
--

CREATE TABLE `contractstatus` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `contractstatus`
--

INSERT INTO `contractstatus` (`id`, `name`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Active', 1, -1, '2022-05-18 15:09:07', -1, '2022-05-18 15:09:07', NULL, NULL),
(2, 'Expired', 1, -1, '2022-05-18 15:09:07', -1, '2022-05-18 15:09:07', NULL, NULL),
(3, 'Canceled', 1, -1, '2022-05-18 15:09:32', -1, '2022-05-18 15:09:32', NULL, NULL);

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

--
-- Table structure for table `controltypes`
--

CREATE TABLE `controltypes` (
  `id` int(11) NOT NULL,
  `name` varchar(20) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT NULL,
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1\r\nif for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1\r\nif for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `controltypes`
--

INSERT INTO `controltypes` (`id`, `name`, `displayorder`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Textbox', 1, 1, -1, '2020-10-10 12:26:38', -1, '2020-10-10 12:35:30', NULL, NULL),
(2, 'Textarea', 3, 1, -1, '2020-10-10 12:27:15', -1, '2020-10-10 12:35:30', NULL, NULL),
(3, 'Radiobutton', 5, 1, -1, '2020-10-10 12:27:15', -1, '2020-10-10 12:35:30', NULL, NULL),
(4, 'Checkbox', NULL, 0, -1, '2020-10-10 12:28:04', -1, '2020-10-10 12:35:30', NULL, NULL),
(5, 'Dropdown', NULL, 0, -1, '2020-10-10 12:28:04', -1, '2020-10-10 12:35:30', NULL, NULL),
(6, 'Textbox - Score', 2, 1, -1, '2021-06-29 07:29:34', -1, '2021-06-29 07:29:34', NULL, NULL),
(7, 'Textarea - Score', 4, 1, -1, '2021-06-29 07:29:34', -1, '2021-06-29 07:29:34', NULL, NULL),
(8, 'Rating', 6, 1, -1, '2021-09-15 04:47:51', -1, '2021-09-15 04:47:51', NULL, NULL),
(9, 'Digital Signature', 7, 1, -1, '2021-09-15 04:47:51', -1, '2021-09-15 04:47:51', NULL, NULL);

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

--
-- Table structure for table `costcarddetails`
--

CREATE TABLE `costcarddetails` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `costcard_id` int(11) DEFAULT NULL,
  `category_id` int(11) DEFAULT NULL,
  `subcategory_id` int(11) DEFAULT NULL,
  `brand_id` int(11) DEFAULT NULL,
  `size_id` int(11) DEFAULT NULL,
  `rawmaterial_id` int(11) DEFAULT NULL,
  `qty` int(11) DEFAULT NULL,
  `price` decimal(18,2) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `costcards`
--

CREATE TABLE `costcards` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `name` varchar(50) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT NULL,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT NULL,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `countries`
--

CREATE TABLE `countries` (
  `id` int(11) NOT NULL,
  `name` varchar(50) DEFAULT NULL,
  `code` varchar(100) NOT NULL,
  `flag` varchar(255) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `countries`
--

INSERT INTO `countries` (`id`, `name`, `code`, `flag`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'India', '+91', NULL, 1, -1, '2022-09-13 05:17:47', -1, '2022-09-13 05:17:47', NULL, NULL);

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

--
-- Table structure for table `courieres`
--

CREATE TABLE `courieres` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `paymentstatus_id` int(11) DEFAULT NULL,
  `paymentdate` datetime DEFAULT NULL,
  `docket_id` varchar(11) DEFAULT NULL,
  `title` varchar(200) DEFAULT NULL,
  `courierdate` datetime DEFAULT NULL,
  `description` text,
  `trackingnumber` varchar(100) DEFAULT NULL,
  `amount` decimal(18,2) DEFAULT NULL,
  `towhom` varchar(100) DEFAULT NULL,
  `note` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `creditnotedetails`
--

CREATE TABLE `creditnotedetails` (
  `id` int(11) NOT NULL,
  `creditnote_id` int(11) DEFAULT NULL,
  `product_id` int(11) DEFAULT NULL,
  `specification` text,
  `warranty` text,
  `area` text,
  `unit` text,
  `qty` int(11) DEFAULT NULL,
  `price` decimal(18,2) DEFAULT NULL,
  `pricewithgst` decimal(18,2) DEFAULT NULL,
  `pricewithoutgst` decimal(18,2) DEFAULT NULL,
  `gstslab_id` int(11) DEFAULT NULL,
  `salesrate` decimal(18,2) DEFAULT NULL,
  `netrateincludinggst` decimal(18,2) DEFAULT NULL,
  `netrateexcludinggst` decimal(18,2) DEFAULT NULL,
  `totalamountwithgst` decimal(18,2) DEFAULT NULL,
  `totalamountwithoutgst` decimal(18,2) DEFAULT NULL,
  `note` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `creditnotes`
--

CREATE TABLE `creditnotes` (
  `id` int(11) NOT NULL,
  `invoice_id` int(11) DEFAULT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `creditnotenumber` varchar(100) DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `title` text,
  `status_id` int(11) DEFAULT NULL,
  `referenceno` varchar(100) DEFAULT NULL,
  `note` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin	',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 if for admin	',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `creditnotestatus`
--

CREATE TABLE `creditnotestatus` (
  `id` int(11) NOT NULL,
  `name` varchar(50) DEFAULT NULL,
  `code` varchar(150) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin	',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 if for admin	',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `creditnotestatus`
--

INSERT INTO `creditnotestatus` (`id`, `name`, `code`, `displayorder`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Paid', 'PAID', 1, 1, -1, '2022-05-27 20:25:53', -1, '2022-05-27 20:25:53', NULL, NULL),
(2, 'Unpaid', 'UNPAID', 2, 1, -1, '2022-05-27 20:25:53', -1, '2022-05-27 20:25:53', NULL, NULL);

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

--
-- Table structure for table `currencies`
--

CREATE TABLE `currencies` (
  `id` int(11) NOT NULL,
  `code` varchar(100) DEFAULT NULL,
  `name` varchar(100) DEFAULT NULL,
  `symbol` varchar(100) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `currencies`
--

INSERT INTO `currencies` (`id`, `code`, `name`, `symbol`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'INR', 'Indian Rupees', 'RS', 1, -1, '2021-01-19 14:56:31', -1, '2021-01-19 14:56:31', NULL, NULL),
(2, 'AUD', 'Australian Dollar', 'AUD', 1, -1, '2022-04-15 06:31:26', -1, '2022-04-15 06:31:26', NULL, NULL),
(3, 'USD', 'United States Dollar', 'USD', 1, -1, '2022-04-15 06:31:26', -1, '2022-04-15 06:31:26', NULL, NULL),
(4, 'EURO', 'euro', 'EUR', 1, -1, '2022-04-15 06:31:26', -1, '2022-04-15 06:31:26', NULL, NULL);

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

--
-- Table structure for table `customeraddresses`
--

CREATE TABLE `customeraddresses` (
  `id` int(11) NOT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `addresstype_id` int(11) DEFAULT NULL,
  `street1` text,
  `street2` text,
  `location` text,
  `postcode` varchar(20) DEFAULT NULL,
  `city_id` int(11) DEFAULT NULL,
  `state_id` int(11) DEFAULT NULL,
  `country_id` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `customercategories`
--

CREATE TABLE `customercategories` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `code` varchar(150) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `customercategories`
--

INSERT INTO `customercategories` (`id`, `name`, `code`, `displayorder`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'OEM', 'OEM', 1, 1, -1, '2021-08-02 09:11:55', -1, '2021-08-02 09:11:55', NULL, NULL),
(2, 'EPC', 'EPC', 2, 1, -1, '2021-08-02 09:12:37', -1, '2021-08-02 09:12:37', NULL, NULL),
(3, 'Consultant', 'CONSULT', 3, 1, -1, '2021-08-02 09:12:37', -1, '2021-08-02 09:12:37', NULL, NULL),
(4, 'Other', 'OTHER', 4, 1, -1, '2021-08-02 09:12:37', -1, '2021-08-02 09:12:37', NULL, NULL),
(5, 'End user', 'ENDUSER', 5, 1, -1, '2021-08-02 09:12:37', -1, '2021-08-02 09:12:37', NULL, NULL),
(6, 'Dealer', 'DEALER', 6, 1, -1, '2022-09-12 14:19:32', -1, '2022-09-12 14:19:32', NULL, NULL),
(7, 'Hospital', 'HOSPITAL', 7, 1, -1, '2022-09-12 14:19:32', -1, '2022-09-12 14:19:32', NULL, NULL),
(8, 'Representative', 'REPRESENT', 8, 1, -1, '2022-09-12 14:19:32', -1, '2022-09-12 14:19:32', NULL, NULL),
(9, 'Stockist', 'STOCKIST', 9, 1, -1, '2022-09-12 14:19:32', -1, '2022-09-12 14:19:32', NULL, NULL);

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

--
-- Table structure for table `customercommunicationlogs`
--

CREATE TABLE `customercommunicationlogs` (
  `id` int(11) NOT NULL,
  `reference_id` int(11) DEFAULT NULL,
  `communicationmode_id` int(11) DEFAULT NULL,
  `templatetype_id` int(11) DEFAULT NULL,
  `customercommunicationtype_id` int(11) DEFAULT NULL,
  `sentdate` datetime DEFAULT NULL,
  `message` varchar(100) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `customercommunicationtypes`
--

CREATE TABLE `customercommunicationtypes` (
  `id` int(11) NOT NULL,
  `name` varchar(50) DEFAULT NULL,
  `code` varchar(50) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `customercommunicationtypes`
--

INSERT INTO `customercommunicationtypes` (`id`, `name`, `code`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Employee', 'EMPLOYEE', 1, -1, '2021-10-18 15:46:44', -1, '2021-10-18 15:46:44', NULL, NULL),
(2, 'Customer', 'CUSTOMER', 1, -1, '2021-10-18 15:46:44', -1, '2021-10-18 15:46:44', NULL, NULL);

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

--
-- Table structure for table `customerdocuments`
--

CREATE TABLE `customerdocuments` (
  `id` int(11) NOT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `documentpath` varchar(255) DEFAULT NULL,
  `documenttype_id` int(11) DEFAULT NULL,
  `otherdocumenttype` varchar(50) DEFAULT NULL,
  `originalfilename` varchar(100) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '1',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default by -1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value-1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `customerfeedbackanswers`
--

CREATE TABLE `customerfeedbackanswers` (
  `id` int(11) NOT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `questionnaire_id` int(11) DEFAULT NULL,
  `answer_id` int(11) DEFAULT NULL,
  `answer` text,
  `weightage` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin	',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin	',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `customerproductcategories`
--

CREATE TABLE `customerproductcategories` (
  `id` int(11) NOT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `category_id` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'default value-1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'default value-1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `customerquestionnaire`
--

CREATE TABLE `customerquestionnaire` (
  `id` int(11) NOT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `leadquestionnaire_id` int(11) DEFAULT NULL,
  `answer` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `customers`
--

CREATE TABLE `customers` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `rownumber` int(11) DEFAULT NULL,
  `customernumber` varchar(20) DEFAULT NULL,
  `customercategory_id` int(11) DEFAULT NULL,
  `industry_id` int(11) DEFAULT NULL,
  `category_id` int(11) DEFAULT NULL,
  `leadsource_id` int(11) DEFAULT NULL,
  `designation_id` int(11) DEFAULT NULL,
  `customertype_id` int(11) DEFAULT NULL,
  `customerstatus_id` int(11) DEFAULT NULL,
  `title` varchar(4) DEFAULT NULL,
  `firstname` varchar(50) DEFAULT NULL,
  `lastname` varchar(50) DEFAULT NULL,
  `companyname` varchar(100) DEFAULT NULL,
  `street1` text,
  `street2` text,
  `street3` text,
  `postcode` varchar(20) DEFAULT NULL,
  `city_id` int(11) DEFAULT NULL,
  `state_id` int(11) DEFAULT NULL,
  `country_id` int(11) DEFAULT NULL,
  `relationshipmanager_id` int(11) DEFAULT NULL,
  `sector` varchar(100) DEFAULT NULL,
  `subsector` varchar(100) DEFAULT NULL,
  `businessphone` varchar(20) DEFAULT NULL,
  `countryphonecode` varchar(50) DEFAULT NULL,
  `mobilephone` varchar(20) DEFAULT NULL,
  `homephone` varchar(20) DEFAULT NULL,
  `fax` varchar(20) DEFAULT NULL,
  `email` varchar(50) DEFAULT NULL,
  `alternateemail` varchar(50) DEFAULT NULL,
  `website` varchar(100) DEFAULT NULL,
  `referredby` varchar(50) DEFAULT NULL,
  `partner_id` int(11) DEFAULT NULL,
  `deaddate` datetime DEFAULT NULL,
  `followupdate` datetime DEFAULT NULL,
  `prospectdate` datetime DEFAULT NULL,
  `clientdate` datetime DEFAULT NULL,
  `leaddate` date DEFAULT NULL,
  `note` text,
  `gstnumber` varchar(20) DEFAULT NULL,
  `pannumber` varchar(20) DEFAULT NULL,
  `referencenumber` varchar(100) DEFAULT NULL,
  `duedate` datetime DEFAULT NULL,
  `leadsystemdate` date DEFAULT NULL,
  `prospectsystemdate` date DEFAULT NULL,
  `clientsystemdate` date DEFAULT NULL,
  `deadleadsystemdate` date DEFAULT NULL,
  `companylogo` varchar(255) DEFAULT NULL,
  `leadquestionnairescore` decimal(18,2) DEFAULT NULL,
  `deadleadreasontype_id` int(11) DEFAULT NULL,
  `deadleadreason` text,
  `comment` text,
  `potentialamount` decimal(18,2) DEFAULT NULL,
  `tags` varchar(50) DEFAULT NULL,
  `customerfeedbackscore` decimal(18,2) DEFAULT NULL,
  `deliverability` varchar(100) DEFAULT NULL,
  `qualityscore` decimal(18,2) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default valuie -1 is for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `customersocialmedia`
--

CREATE TABLE `customersocialmedia` (
  `id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `linkedin` varchar(50) DEFAULT NULL,
  `facebook` varchar(50) DEFAULT NULL,
  `twitter` varchar(50) DEFAULT NULL,
  `instagram` varchar(50) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Defaut value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1  if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `customerstatus`
--

CREATE TABLE `customerstatus` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `code` varchar(150) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 if for admin	',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 if for admin	',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `customerstatus`
--

INSERT INTO `customerstatus` (`id`, `name`, `code`, `displayorder`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Active', 'ACTIVE', 1, 1, -1, '2020-01-07 16:18:15', -1, '2020-01-07 16:18:15', NULL, NULL),
(2, 'Closed', 'CLOSED', 2, 1, -1, '2020-01-07 16:18:29', -1, '2020-01-07 16:18:29', NULL, NULL),
(3, 'Dead', 'DEAD', 3, 1, -1, '2020-01-07 16:18:40', -1, '2020-01-07 16:18:40', NULL, NULL);

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

--
-- Table structure for table `customertypes`
--

CREATE TABLE `customertypes` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `code` varchar(150) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `customertypes`
--

INSERT INTO `customertypes` (`id`, `name`, `displayorder`, `code`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Lead', 2, 'LEAD', 1, -1, '2019-10-04 17:34:57', -1, '2019-10-04 17:34:57', NULL, NULL),
(2, 'Prospect', 3, 'PROSPECT', 1, -1, '2019-10-04 17:35:12', -1, '2019-10-04 17:35:12', NULL, NULL),
(3, 'Client', 4, 'CLIENT', 1, -1, '2019-10-04 17:35:27', -1, '2019-10-04 17:35:27', NULL, NULL),
(4, 'Contact', 1, 'CONTACT', 1, -1, '2021-08-31 05:38:59', -1, '2021-08-31 05:38:59', NULL, NULL);

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

--
-- Table structure for table `days`
--

CREATE TABLE `days` (
  `id` int(11) NOT NULL,
  `name` varchar(50) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin	',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin	',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `days`
--

INSERT INTO `days` (`id`, `name`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Monday', 1, -1, '2020-12-27 15:19:57', -1, '2020-12-27 15:19:57', NULL, NULL),
(2, 'Tuesday', 1, -1, '2020-12-27 15:20:25', -1, '2020-12-27 15:20:25', NULL, NULL),
(3, 'Wednesday', 1, -1, '2020-12-27 15:20:42', -1, '2020-12-27 15:20:42', NULL, NULL),
(4, 'Thursday', 1, -1, '2020-12-27 15:21:01', -1, '2020-12-27 15:21:01', NULL, NULL),
(5, 'Friday', 1, -1, '2020-12-27 15:21:29', -1, '2020-12-27 15:21:29', NULL, NULL),
(6, 'Saturday', 1, -1, '2020-12-27 15:21:50', -1, '2020-12-27 15:21:50', NULL, NULL),
(7, 'Sunday', 1, -1, '2020-12-27 15:22:10', -1, '2020-12-27 15:22:10', NULL, NULL);

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

--
-- Table structure for table `daytypes`
--

CREATE TABLE `daytypes` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `daytypes`
--

INSERT INTO `daytypes` (`id`, `name`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Full', 1, -1, '2020-11-27 20:59:43', -1, '2020-11-27 20:59:43', NULL, NULL),
(2, 'Half', 1, -1, '2020-11-27 21:01:23', -1, '2020-11-27 21:01:23', NULL, NULL);

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

--
-- Table structure for table `deadleadreasontypes`
--

CREATE TABLE `deadleadreasontypes` (
  `id` int(11) NOT NULL,
  `displayorder` int(11) NOT NULL,
  `name` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `deadleadreasontypes`
--

INSERT INTO `deadleadreasontypes` (`id`, `displayorder`, `name`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 1, 'Price', 1, -1, '2021-08-06 16:39:04', -1, '2021-08-06 16:39:04', NULL, NULL),
(2, 2, 'Not Interested', 1, -1, '2021-08-06 16:39:04', -1, '2021-08-06 16:39:04', NULL, NULL),
(3, 3, 'Other', 1, -1, '2021-08-06 16:39:55', -1, '2021-08-06 16:39:55', NULL, NULL);

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

--
-- Table structure for table `debitnotedetails`
--

CREATE TABLE `debitnotedetails` (
  `id` int(11) NOT NULL,
  `debitnote_id` int(11) DEFAULT NULL,
  `rawmaterial_id` int(11) DEFAULT NULL,
  `specification` text,
  `warranty` text,
  `area` text,
  `unit` text,
  `qty` int(11) DEFAULT NULL,
  `price` decimal(18,2) DEFAULT NULL,
  `pricewithgst` decimal(18,2) DEFAULT NULL,
  `pricewithoutgst` decimal(18,2) DEFAULT NULL,
  `gstslab_id` int(11) DEFAULT NULL,
  `salesrate` decimal(18,2) DEFAULT NULL,
  `netrateincludinggst` int(11) DEFAULT NULL,
  `netrateexcludinggst` int(11) DEFAULT NULL,
  `totalamountwithgst` int(11) DEFAULT NULL,
  `totalamountwithoutgst` int(11) DEFAULT NULL,
  `note` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin	',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin	',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `debitnotes`
--

CREATE TABLE `debitnotes` (
  `id` int(11) NOT NULL,
  `reference_id` int(11) DEFAULT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `debitnotenumber` int(11) DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `title` text,
  `status_id` int(11) DEFAULT NULL,
  `referenceno` int(11) DEFAULT NULL,
  `note` text,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin	',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin	',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `degree`
--

CREATE TABLE `degree` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `deliverychallan`
--

CREATE TABLE `deliverychallan` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `title` text,
  `delchallannumber` varchar(20) DEFAULT NULL,
  `rownumber` int(11) DEFAULT NULL,
  `challannumber` varchar(50) DEFAULT NULL,
  `shippingasbilling` tinyint(4) NOT NULL DEFAULT '0',
  `shippingstreet1` text,
  `shippingstreet2` text,
  `shippinglocation` text,
  `shippingcity_id` int(11) DEFAULT NULL,
  `shippingstate_id` int(11) DEFAULT NULL,
  `shippingcountry_id` int(11) DEFAULT NULL,
  `shippingpostcode` varchar(20) DEFAULT NULL,
  `billingstreet1` text,
  `billingstreet2` text,
  `billinglocation` text,
  `billingcity_id` int(11) DEFAULT NULL,
  `billingstate_id` int(11) DEFAULT NULL,
  `billingcountry_id` int(11) DEFAULT NULL,
  `billingpostcode` varchar(20) DEFAULT NULL,
  `installationcharges` decimal(18,2) DEFAULT NULL,
  `shippingcharges` decimal(18,2) DEFAULT NULL,
  `paymentduedate` datetime DEFAULT NULL,
  `terms` text,
  `dispatchthrough` varchar(255) DEFAULT NULL,
  `destination` varchar(255) DEFAULT NULL,
  `state_id` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `created_by` int(11) DEFAULT '-1',
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `deliverychallanadditionalcharges`
--

CREATE TABLE `deliverychallanadditionalcharges` (
  `id` int(11) NOT NULL,
  `deliverychallan_id` int(11) DEFAULT NULL,
  `chargetype_id` int(11) DEFAULT NULL,
  `charge` decimal(18,2) DEFAULT NULL,
  `mrpwithgst` int(11) DEFAULT NULL,
  `gstslab_id` int(11) DEFAULT NULL,
  `cgst` decimal(18,2) DEFAULT NULL,
  `cgstamount` decimal(18,2) DEFAULT NULL,
  `sgst` decimal(18,2) DEFAULT NULL,
  `sgstamount` decimal(18,2) DEFAULT NULL,
  `igst` decimal(18,2) DEFAULT NULL,
  `igstamount` decimal(18,2) DEFAULT NULL,
  `chargewithgst` decimal(18,2) DEFAULT NULL,
  `chargewithoutgst` decimal(18,2) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `deliverychallandetails`
--

CREATE TABLE `deliverychallandetails` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `deliverychallan_id` int(11) DEFAULT NULL,
  `product_id` int(11) DEFAULT NULL,
  `serialnumber` varchar(50) DEFAULT NULL,
  `subpartserialno` varchar(50) DEFAULT NULL,
  `specification` text,
  `warranty` text,
  `area` text,
  `unit` text,
  `size` varchar(50) DEFAULT NULL,
  `qty` int(11) DEFAULT NULL,
  `measurement` decimal(18,2) DEFAULT NULL,
  `measurementtype` varchar(50) DEFAULT NULL,
  `measureqty` decimal(18,2) DEFAULT NULL,
  `measureamount` decimal(18,2) DEFAULT NULL,
  `price` decimal(18,2) DEFAULT NULL,
  `pricewithgst` decimal(18,2) DEFAULT NULL,
  `pricewithoutgst` decimal(18,2) DEFAULT NULL,
  `mrpwithgst` int(11) DEFAULT NULL,
  `dealerdiscounttype` int(11) DEFAULT NULL,
  `dealerdiscount` int(11) DEFAULT NULL,
  `purchaserate` decimal(18,2) DEFAULT NULL,
  `discounttype` int(11) DEFAULT NULL,
  `discount` decimal(18,2) DEFAULT NULL,
  `profitmargintype` int(11) DEFAULT NULL,
  `profitmargin` decimal(18,2) DEFAULT NULL,
  `salesrate` decimal(18,2) DEFAULT NULL,
  `netrateincludinggst` decimal(18,2) DEFAULT NULL,
  `netrateexcludinggst` decimal(18,2) DEFAULT NULL,
  `gstslab_id` int(11) DEFAULT NULL,
  `gst` decimal(18,2) DEFAULT NULL,
  `cgst` decimal(18,2) DEFAULT NULL,
  `cgstamount` decimal(18,2) DEFAULT NULL,
  `sgst` decimal(18,2) DEFAULT NULL,
  `sgstamount` decimal(18,2) DEFAULT NULL,
  `igst` decimal(18,2) DEFAULT NULL,
  `igstamount` decimal(18,2) DEFAULT NULL,
  `amount` decimal(18,2) DEFAULT NULL,
  `totalamountwithgst` decimal(18,2) DEFAULT NULL,
  `totalamountwithoutgst` decimal(18,2) DEFAULT NULL,
  `note` text,
  `purchaseprice` decimal(18,2) DEFAULT NULL,
  `purchasetotal` decimal(18,2) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `departments`
--

CREATE TABLE `departments` (
  `id` int(11) NOT NULL,
  `name` varchar(50) DEFAULT NULL,
  `systemfield` tinyint(4) DEFAULT '0',
  `code` varchar(100) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `departments`
--

INSERT INTO `departments` (`id`, `name`, `systemfield`, `code`, `displayorder`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Sales', 1, 'SALES', 1, 1, -1, '2022-09-13 05:02:35', -1, '2022-09-13 05:02:35', NULL, NULL),
(2, 'HR', 1, 'HR', 2, 1, -1, '2022-09-13 05:02:35', -1, '2022-09-13 05:02:35', NULL, NULL),
(3, 'Payroll', 1, 'PAYROLL', 3, 1, -1, '2022-09-13 05:02:35', -1, '2022-09-13 05:02:35', NULL, NULL),
(4, 'Administrator', 1, 'ADMIN', 4, 1, -1, '2022-09-13 05:02:35', -1, '2022-09-13 05:02:35', NULL, NULL),
(5, 'Executive', 1, 'EXECUTIVE', 5, 1, -1, '2022-09-13 05:02:35', -1, '2022-09-13 05:02:35', NULL, NULL),
(6, 'CRM', 1, 'CRM', 6, 1, -1, '2022-09-13 05:02:35', -1, '2022-09-13 05:02:35', NULL, NULL),
(7, 'Business Consulting', 1, 'BC', 7, 1, -1, '2022-09-13 05:02:35', -1, '2022-09-13 05:02:35', NULL, NULL);

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

--
-- Table structure for table `designations`
--

CREATE TABLE `designations` (
  `id` int(11) NOT NULL,
  `name` varchar(50) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `designations`
--

INSERT INTO `designations` (`id`, `name`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Developer', 1, 0, '2022-09-13 15:43:14', 0, '2022-09-13 15:43:14', NULL, NULL);

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

--
-- Table structure for table `directors`
--

CREATE TABLE `directors` (
  `id` int(11) NOT NULL,
  `employer_id` int(11) DEFAULT NULL,
  `business_id` int(11) DEFAULT NULL,
  `firstname` varchar(20) DEFAULT NULL,
  `lastname` varchar(20) DEFAULT NULL,
  `contactno` varchar(20) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1\r\nif for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1\r\nif for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `docket`
--

CREATE TABLE `docket` (
  `id` int(11) NOT NULL,
  `name` varchar(50) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `docket`
--

INSERT INTO `docket` (`id`, `name`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Yes', 1, -1, '2021-07-15 15:53:58', -1, '2021-07-15 15:53:58', NULL, NULL),
(2, 'No', 1, -1, '2021-07-15 15:54:25', -1, '2021-07-15 15:54:25', NULL, NULL);

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

--
-- Table structure for table `documenttypes`
--

CREATE TABLE `documenttypes` (
  `id` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `weightage` int(11) DEFAULT NULL,
  `code` varchar(100) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value  -1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value  -1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `documenttypes`
--

INSERT INTO `documenttypes` (`id`, `name`, `weightage`, `code`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Aadhar Card', 15, 'AADHARCARD', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(2, 'Relieving Letter', 20, 'RELEVINGLETTER', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(3, 'Wage Slips', 40, 'WAGESLIP', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(4, 'PAN Card', 10, 'PANCARD', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(5, 'Voting Card', 5, 'VOTINGCRD', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(6, 'Passport Copy', 15, 'PASSPORTCPY', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(7, 'GST Certificate', 5, 'GSTCERTIFICATE', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(8, 'Registration Form', 5, 'REGISTERFRM', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(9, 'Product Note', 5, 'PRDNOTE', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(10, 'CV', 5, 'CV', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(11, 'Police Verification', 10, 'POLICEVERIFICATION', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(12, 'Medical Report', 10, 'MEDICALRPT', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(13, 'Brochure', 5, 'BROCHURE', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(14, 'Other', 5, 'OTHER', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(15, 'Catalogue', 5, 'CATALOGUE', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(16, 'Incorporation Certificate', 5, 'INCORPOCERTIFICATE', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(17, 'Factory Licence', 5, 'FACTORYLICENCE', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(18, 'SSI/MSME Details', 5, 'SSIMSMEDETAILS', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(19, 'PF Registration', 5, 'PFREGISTRATION', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(20, 'ESIC Registration', 5, 'ESICREGISTRATION', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(21, 'GST Details', 5, 'GSTDETAILS', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(22, 'ISO Certificate', 5, 'ISOCERTIFICATE', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(23, 'Vendor Registration With PSU/Consultants etc.', 5, 'VENDORREGISTRATION', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(24, 'Name of Inspection Agency Under Whom You Have Executed Orders/Samples IRN Required', 5, 'INSPECTIONAGENCY', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(25, 'Last Three Year Audited Report, Balance Sheet And P & L Account', 5, 'THREEYEARAUDITEDREPORT', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(26, 'Last 3 Year ITR', 5, 'THREEYEARITR', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(27, 'Solvancy Certificate', 5, 'SOLVANCYCERTIFICATE', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(28, 'List of Plant and Machinery', 5, 'PLANTANDMACHINERY', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(29, 'List of Testing Equipments', 5, 'TESTINGEQUIPMENTS', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(30, 'List of RM/Brought Out Item Supplier', 5, 'RMLIST', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(31, 'List of Out Sourced Activity', 5, 'OUTSOURCEDACTIVITY', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(32, 'Past Track Records (Supply Reference) Product Wise', 5, 'PASTTRACKRECORDSPRODUCTWISE', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(33, 'Purchase Order', 5, 'PURCHASEORDER', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(34, 'Organisation Chart With Key Personnel', 5, 'ORGCHART', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(35, 'Manpower Details in Numbers', 5, 'MANPOWER', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(36, 'Quality Policy', 5, 'QUALITYPOLICY', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(37, 'HSE Policy', 5, 'HSEPOLICY', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(38, 'Health Safety and Environment Manual', 5, 'HEALTHANDENVMANUAL', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(39, 'Copy of Safety System and Record of Accidents For Last Three Years', 5, 'ACCIDENTRECORDS', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(40, 'Manufacturing Process Chart: Raw Material To Dispatch - Product Wise', 5, 'MANUFACTURINGPROCESSCHART', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(41, 'Work Instructions / Standard Operating Procedure (SOPS)', 5, 'SOPS', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(42, 'Calibration Record List of Measuring / Testing Equipments', 5, 'MEASURINGLIST', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(43, 'Quality Manual', 5, 'QUALITYMANUAL', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(44, 'Standard Quality Assurance Plan (QAP) - Product Wise', 5, 'QAP', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(45, 'Power Backup Details', 5, 'POWERBACKUP', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(46, 'NCR Records / CAPA: At lease Two Copies (Internal / External)', 5, 'NCRRECORDS', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(47, 'Manufacturing Capacity & Its Utilization', 5, 'MANUFACTURINGCAPACITY', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(48, 'Technical Collabration', 5, 'TECHNICALCOLLABRATION', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(49, 'System for Design / Drawing (Software / etc)', 5, 'SYSTEMFORDESIGN', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(50, 'System Used for Planning / Production (Software / etc)', 5, 'SYSTEMFORPLANNING', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(51, 'R & D Set Up', 5, 'R&D', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(52, 'List of Customer Complaints and Status of Last 3 years', 5, 'CUSTOMERCOMPLAINTS', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(53, 'Client Feedback Form  / Performance Certificate', 5, 'FEEDBACKFORM', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(54, 'Q.C. Team', 5, 'QCTEAM', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(55, 'Service Report', 5, 'SERVICEREPORT', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL),
(56, 'Handing Over Report', 5, 'HANDINGOVERREPORT', 1, -1, '2022-09-13 05:07:51', -1, '2022-09-13 05:07:51', NULL, NULL);

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

--
-- Table structure for table `employeebankdetails`
--

CREATE TABLE `employeebankdetails` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) DEFAULT NULL,
  `bankaccountno` varchar(50) DEFAULT NULL,
  `bankaccountholder` varchar(100) DEFAULT NULL,
  `bankname` varchar(100) DEFAULT NULL,
  `bankbranchname` varchar(150) DEFAULT NULL,
  `ifsccode` varchar(100) DEFAULT NULL,
  `bankaddress1` text,
  `bankaddress2` text,
  `bankaddress3` text,
  `city_id` int(11) DEFAULT NULL,
  `state_id` int(11) DEFAULT NULL,
  `country_id` int(11) DEFAULT NULL,
  `pincode` varchar(20) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `employeebankdetails`
--

INSERT INTO `employeebankdetails` (`id`, `employee_id`, `bankaccountno`, `bankaccountholder`, `bankname`, `bankbranchname`, `ifsccode`, `bankaddress1`, `bankaddress2`, `bankaddress3`, `city_id`, `state_id`, `country_id`, `pincode`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 1, '', '', '', '', '', '', '', '', NULL, NULL, NULL, '', 1, 0, '2022-09-13 16:36:50', 0, '2022-09-13 16:36:50', NULL, NULL),
(2, 2, '', '', '', '', '', '', '', '', NULL, NULL, NULL, '', 1, 0, '2022-09-13 16:42:10', 0, '2022-09-13 16:42:10', NULL, NULL);

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

--
-- Table structure for table `employeebookings`
--

CREATE TABLE `employeebookings` (
  `id` int(11) NOT NULL,
  `booking_id` int(11) DEFAULT NULL,
  `employee_id` int(11) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'default value-1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'default value-1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `employeedocuments`
--

CREATE TABLE `employeedocuments` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) DEFAULT NULL,
  `documentpath` varchar(255) DEFAULT NULL,
  `documenttype_id` int(11) DEFAULT NULL,
  `otherdocumenttype` varchar(50) DEFAULT NULL,
  `originalfilename` varchar(100) DEFAULT NULL,
  `verifydocument` tinyint(1) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '1',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default by -1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value-1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `employeefamilydetails`
--

CREATE TABLE `employeefamilydetails` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) DEFAULT NULL,
  `relationship_id` int(11) DEFAULT NULL,
  `firstname` varchar(50) DEFAULT NULL,
  `lastname` varchar(50) DEFAULT NULL,
  `aadharcardnumber` varchar(50) DEFAULT NULL,
  `dateofbirth` date DEFAULT NULL,
  `isnominee` tinyint(4) DEFAULT '0',
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 if for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `employeeleaves`
--

CREATE TABLE `employeeleaves` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) DEFAULT NULL,
  `startdate` datetime DEFAULT NULL,
  `enddate` datetime DEFAULT NULL,
  `paidleaves` int(11) DEFAULT NULL,
  `parentalleaves` int(11) DEFAULT NULL,
  `sickleaves` int(11) DEFAULT NULL,
  `active` int(11) DEFAULT NULL,
  `created_by` int(11) NOT NULL DEFAULT '-1',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `employeeleavestatus`
--

CREATE TABLE `employeeleavestatus` (
  `id` int(11) NOT NULL,
  `name` varchar(20) NOT NULL,
  `code` varchar(150) DEFAULT NULL,
  `displayorder` int(11) DEFAULT NULL,
  `active` int(11) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `employeeleavestatus`
--

INSERT INTO `employeeleavestatus` (`id`, `name`, `code`, `displayorder`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, 'Pending', 'PENDING', 1, 1, -1, '2020-09-22 15:09:02', -1, '2020-09-22 15:09:02', NULL, NULL),
(2, 'Approved', 'APPROVE', 2, 1, -1, '2020-09-22 15:09:02', -1, '2020-09-22 15:09:02', NULL, NULL),
(3, 'Rejected', 'REJECT', 3, 1, -1, '2020-09-22 15:10:06', -1, '2020-09-22 15:10:06', NULL, NULL);

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

--
-- Table structure for table `employeeofficialdetails`
--

CREATE TABLE `employeeofficialdetails` (
  `id` int(11) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `employee_id` int(11) DEFAULT NULL,
  `department_id` int(11) DEFAULT NULL,
  `skilledcategory_id` int(11) DEFAULT NULL,
  `employeetype_id` int(11) DEFAULT NULL,
  `worksite_id` int(11) DEFAULT NULL,
  `jobtitle_id` int(11) DEFAULT NULL,
  `employeenumber` bigint(50) DEFAULT NULL,
  `employeecode` varchar(100) DEFAULT NULL,
  `manager_id` int(11) DEFAULT NULL,
  `pancardno` varchar(255) DEFAULT NULL,
  `aadharcardno` varchar(20) DEFAULT NULL,
  `joiningdate` datetime DEFAULT NULL,
  `leavingdate` datetime DEFAULT NULL,
  `orientationduedate` datetime DEFAULT NULL,
  `orientationstatus_id` int(11) DEFAULT NULL,
  `pfnumber` varchar(20) DEFAULT NULL,
  `esicnumber` varchar(20) DEFAULT NULL,
  `abryeligibility` tinyint(4) DEFAULT '0',
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `employeeofficialdetails`
--

INSERT INTO `employeeofficialdetails` (`id`, `business_id`, `employee_id`, `department_id`, `skilledcategory_id`, `employeetype_id`, `worksite_id`, `jobtitle_id`, `employeenumber`, `employeecode`, `manager_id`, `pancardno`, `aadharcardno`, `joiningdate`, `leavingdate`, `orientationduedate`, `orientationstatus_id`, `pfnumber`, `esicnumber`, `abryeligibility`, `active`, `created_by`, `created_at`, `modified_by`, `modified_at`, `deleted_by`, `deleted_at`) VALUES
(1, NULL, 1, NULL, NULL, NULL, NULL, NULL, 101, 'FRUIEZ-101', NULL, '', '', NULL, NULL, '2022-09-20 00:00:00', 3, '', '', 0, 1, 0, '2022-09-13 16:36:50', 0, '2022-09-13 16:36:50', NULL, NULL),
(2, NULL, 2, NULL, NULL, NULL, NULL, NULL, 102, 'FRUIEZ-102', NULL, '', '', NULL, NULL, '2022-09-20 00:00:00', 3, '', '', 0, 1, 0, '2022-09-13 16:42:10', 0, '2022-09-13 16:42:10', NULL, NULL);

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

--
-- Table structure for table `employeeorientationanswers`
--

CREATE TABLE `employeeorientationanswers` (
  `id` int(11) NOT NULL,
  `employeeorientation_id` int(11) NOT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `employeeorientations`
--

CREATE TABLE `employeeorientations` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) DEFAULT NULL,
  `orientation_id` int(11) DEFAULT NULL,
  `score` decimal(18,2) DEFAULT NULL,
  `attemptstaken` int(11) NOT NULL DEFAULT '0',
  `status` varchar(50) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `created_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `employeepayrolldetails`
--

CREATE TABLE `employeepayrolldetails` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) DEFAULT NULL,
  `payouttype_id` int(11) DEFAULT NULL,
  `monthlysalary` decimal(18,2) DEFAULT NULL,
  `esic` varchar(100) DEFAULT NULL,
  `professionaltax` varchar(100) DEFAULT NULL,
  `providentfund` varchar(100) DEFAULT NULL,
  `dailyrate` decimal(18,2) DEFAULT NULL,
  `hourlyrate` decimal(18,2) DEFAULT NULL,
  `siteallowance` decimal(18,2) DEFAULT NULL,
  `travelallowance` decimal(18,2) DEFAULT NULL,
  `basic` decimal(18,2) DEFAULT NULL,
  `hra` decimal(18,2) DEFAULT NULL,
  `tds` decimal(18,2) DEFAULT NULL,
  `conveyance` decimal(18,2) DEFAULT NULL,
  `lwf` decimal(18,2) DEFAULT NULL,
  `otherallowance` decimal(18,2) DEFAULT NULL,
  `educationallowance` decimal(18,2) DEFAULT NULL,
  `medicalallowance` decimal(18,2) DEFAULT NULL,
  `effectivedate` datetime DEFAULT NULL,
  `status_id` int(11) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `modified_by` int(11) NOT NULL DEFAULT '-1' COMMENT 'Default value -1 for admin',
  `modified_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `deleted_by` int(11) DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
