-- http://www.phpmyadmin.net
--




--
-- Database: `apms_live`
--

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

--
-- Table structure for table `cms_category`
--

CREATE TABLE IF NOT EXISTS `cms_category` (
  `category_id` int(11) NOT NULL,
  `section_id` int(11) NOT NULL,
  `category_parent_id` int(11) NOT NULL,
  `title` varchar(255) NOT NULL,
  `category_alias` varchar(255) NOT NULL,
  `description` longtext NOT NULL,
  `icon` varchar(255) NOT NULL,
  `enabled` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `cms_category`
--

INSERT INTO `cms_category` (`category_id`, `section_id`, `category_parent_id`, `title`, `category_alias`, `description`, `icon`, `enabled`) VALUES
(1, 3, 0, 'index', 'index', 'index<br>', '', 'Y'),
(2, 4, 0, 'About Us', 'about', 'About Us<br>', '', 'Y'),
(3, 5, 0, 'Features', 'features', 'Features<br>', '', 'Y'),
(4, 6, 0, 'Terms-of-service', 'terms-of-service', 'terms-of-service<br>', '', 'Y'),
(5, 7, 0, 'privacy', 'privacy', 'privacy<br>', '', 'Y'),
(6, 8, 0, 'Service 1', 'service1', 'Service 1<br>', '', 'Y'),
(7, 8, 0, 'Service 2', 'service2', 'Service 2<br>', '', 'Y'),
(8, 9, 0, 'Service 1', 'service1', 'df sdf <br>', '', 'Y');

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

--
-- Table structure for table `cms_content`
--

CREATE TABLE IF NOT EXISTS `cms_content` (
  `content_id` int(11) NOT NULL,
  `section_id` int(11) NOT NULL,
  `category_id` int(11) NOT NULL,
  `title` varchar(255) NOT NULL,
  `enabled` enum('Y','N') DEFAULT 'Y',
  `content_alias` varchar(255) NOT NULL,
  `summary` text NOT NULL,
  `description` longtext NOT NULL,
  `icon` varchar(255) NOT NULL,
  `content_type` enum('Image','Text','Both') NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `last_updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `last_updated_by` int(11) NOT NULL
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `cms_content`
--

INSERT INTO `cms_content` (`content_id`, `section_id`, `category_id`, `title`, `enabled`, `content_alias`, `summary`, `description`, `icon`, `content_type`, `created_by`, `created_on`, `last_updated_on`, `last_updated_by`) VALUES
(1, 3, 1, 'index', 'Y', 'index', 'index', '<!-- Jumbotron Header -->\r\n        <header class="jumbotron hero-spacer">\r\n            <h1>A Warm Welcome!</h1>\r\n            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsa, ipsam, eligendi, in quo sunt possimus non incidunt odit vero aliquid similique quaerat nam nobis illo aspernatur vitae fugiat numquam repellat.</p>\r\n            <p><a class="btn btn-primary btn-large">Call to action!</a>\r\n            </p>\r\n        </header>\r\n\r\n        <hr>\r\n\r\n        <!-- Title -->\r\n        <div class="row">\r\n            <div class="col-lg-12">\r\n                <h3>Latest Features</h3>\r\n            </div>\r\n        </div>\r\n        <!-- /.row -->\r\n\r\n        <!-- Page Features -->\r\n        <div class="row text-center">\r\n\r\n             <div class="col-md-4 col-sm-6 hero-feature">\r\n                 <div class="caption text-left">\r\n                    <h3>Heading</h3>\r\n                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>\r\n                    <p><a href="#" class="btn btn-default">More Info</a></p>\r\n                </div>\r\n            </div>\r\n            <div class="col-md-4 col-sm-6 hero-feature">\r\n                <div class="caption text-left">\r\n                    <h3>Heading</h3>\r\n                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>\r\n                    <p><a href="#" class="btn btn-default">More Info </a></p>\r\n                </div>\r\n            </div>\r\n            <div class="col-md-4 col-sm-6 hero-feature">\r\n                <div class="caption text-left">\r\n                    <h3>Heading</h3>\r\n                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>\r\n                    <p><a href="#" class="btn btn-default">More Info</a></p>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <!-- /.row -->\r\n        <hr>', '', 'Text', 0, '2014-10-28 07:49:00', '2014-11-24 10:59:17', 0),
(2, 4, 2, 'About Us', 'Y', 'about', '', '<div class="content_pannel"><div class="inner_contentarea"><div class="staticpage_content"><h3>About us</h3>       <p></p><p>2Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis molestie   ultricies faucibus. Integer convallis ullamcorper dolor, at scelerisque   velit volutpat in. Nunc vel nulla nulla. Quisque ornare molestie   imperdiet. Sed adipiscing imperdiet orci, in laoreet erat rhoncus ut.   Proin suscipit vestibulum neque in cursus. Sed volutpat laoreet justo,   ac sagittis massa ornare non. Aliquam elit nunc, luctus varius turpis   non, tempus ornare erat. Nunc luctus dapibus metus, a dapibus tellus.   Maecenas feugiat molestie justo, eu posuere leo hendrerit at.</p>   <p>Vestibulum accumsan metus tempor, rutrum orci ut, euismod felis. Etiam   pretium augue purus, ac tincidunt arcu condimentum feugiat. In blandit   risus eu nulla facilisis euismod. Nam ornare scelerisque neque, vel   volutpat nibh adipiscing eget. Pellentesque at metus ut purus pretium   vestibulum vitae non purus. Nulla sollicitudin lorem nec ligula mattis   iaculis. Aenean eget pharetra arcu. Etiam aliquam neque ac tellus mollis   tempor. Vivamus ullamcorper lobortis laoreet. Duis vitae erat ipsum.   Etiam sit amet erat nibh. Mauris tempor ullamcorper commodo. Morbi vel   tristique tellus. Aliquam vehicula placerat nunc laoreet tempor.</p>   <p>Nulla viverra arcu eget faucibus faucibus. Donec dapibus sit amet tellus   at auctor. Nunc sed feugiat lorem, non rhoncus eros. Sed tempus dolor   nec elit eleifend imperdiet in non elit. Cum sociis natoque penatibus et   magnis dis parturient montes, nascetur ridiculus mus. Etiam rutrum,   purus non porta malesuada, lorem sem mollis turpis, at commodo dolor sem   vestibulum est. Sed accumsan vel dui at aliquet.</p>   <p>Sed blandit at elit in viverra. Morbi commodo sed orci nec vehicula.   Suspendisse varius leo vel purus pharetra sodales. Curabitur varius sed   arcu sed fringilla. Curabitur a blandit orci. Quisque sollicitudin   vulputate venenatis. Vestibulum egestas rhoncus elit, quis condimentum   erat. Pellentesque a eros quis felis laoreet fermentum a vitae elit.   Curabitur vel libero erat.</p>   <p>Donec in quam urna. Proin euismod lorem ante, non volutpat mauris   aliquam ac. Nullam vitae sodales justo. Sed nec porta metus. In eu   imperdiet neque, in ornare est. Nullam feugiat viverra mauris vitae   ullamcorper. Proin pulvinar erat egestas ante tincidunt varius. Vivamus   non lacinia quam.</p><p></p></div></div>   <div class="clear"></div></div>', '', 'Text', 0, '2014-10-28 08:53:00', '2014-10-28 08:57:57', 0),
(3, 5, 3, 'Features', 'Y', 'features', '', '<div class="content_pannel">\r\n  <div class="inner_contentarea">\r\n    <div class="staticpage_content">\r\n      <h3>Features</h3>\r\n      <p></p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis molestie   ultricies faucibus. Integer convallis ullamcorper dolor, at scelerisque   velit volutpat in. Nunc vel nulla nulla. Quisque ornare molestie   imperdiet. Sed adipiscing imperdiet orci, in laoreet erat rhoncus ut.   Proin suscipit vestibulum neque in cursus. Sed volutpat laoreet justo,   ac sagittis massa ornare non. Aliquam elit nunc, luctus varius turpis   non, tempus ornare erat. Nunc luctus dapibus metus, a dapibus tellus.   Maecenas feugiat molestie justo, eu posuere leo hendrerit at.</p>   <p>Vestibulum accumsan metus tempor, rutrum orci ut, euismod felis. Etiam   pretium augue purus, ac tincidunt arcu condimentum feugiat. In blandit   risus eu nulla facilisis euismod. Nam ornare scelerisque neque, vel   volutpat nibh adipiscing eget. Pellentesque at metus ut purus pretium   vestibulum vitae non purus. Nulla sollicitudin lorem nec ligula mattis   iaculis. Aenean eget pharetra arcu. Etiam aliquam neque ac tellus mollis   tempor. Vivamus ullamcorper lobortis laoreet. Duis vitae erat ipsum.   Etiam sit amet erat nibh. Mauris tempor ullamcorper commodo. Morbi vel   tristique tellus. Aliquam vehicula placerat nunc laoreet tempor.</p>   <p>Nulla viverra arcu eget faucibus faucibus. Donec dapibus sit amet tellus   at auctor. Nunc sed feugiat lorem, non rhoncus eros. Sed tempus dolor   nec elit eleifend imperdiet in non elit. Cum sociis natoque penatibus et   magnis dis parturient montes, nascetur ridiculus mus. Etiam rutrum,   purus non porta malesuada, lorem sem mollis turpis, at commodo dolor sem   vestibulum est. Sed accumsan vel dui at aliquet.</p>   <p>Sed blandit at elit in viverra. Morbi commodo sed orci nec vehicula.   Suspendisse varius leo vel purus pharetra sodales. Curabitur varius sed   arcu sed fringilla. Curabitur a blandit orci. Quisque sollicitudin   vulputate venenatis. Vestibulum egestas rhoncus elit, quis condimentum   erat. Pellentesque a eros quis felis laoreet fermentum a vitae elit.   Curabitur vel libero erat.</p>   <p>Donec in quam urna. Proin euismod lorem ante, non volutpat mauris   aliquam ac. Nullam vitae sodales justo. Sed nec porta metus. In eu   imperdiet neque, in ornare est. Nullam feugiat viverra mauris vitae   ullamcorper. Proin pulvinar erat egestas ante tincidunt varius. Vivamus   non lacinia quam.</p><p></p>\r\n    </div>\r\n  </div>\r\n  <div class="clear"></div>\r\n</div>', '', 'Text', 0, '2014-10-28 08:58:00', '2014-10-28 08:48:14', 0),
(4, 6, 4, 'Terms of-service', 'Y', 'terms-of-service', '', '<div class="content_pannel">\r\n  <div class="inner_contentarea">\r\n    <div class="staticpage_content">\r\n      <h3>Terms Of Services</h3>\r\n      <p></p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis molestie   ultricies faucibus. Integer convallis ullamcorper dolor, at scelerisque   velit volutpat in. Nunc vel nulla nulla. Quisque ornare molestie   imperdiet. Sed adipiscing imperdiet orci, in laoreet erat rhoncus ut.   Proin suscipit vestibulum neque in cursus. Sed volutpat laoreet justo,   ac sagittis massa ornare non. Aliquam elit nunc, luctus varius turpis   non, tempus ornare erat. Nunc luctus dapibus metus, a dapibus tellus.   Maecenas feugiat molestie justo, eu posuere leo hendrerit at.</p>   <p>Vestibulum accumsan metus tempor, rutrum orci ut, euismod felis. Etiam   pretium augue purus, ac tincidunt arcu condimentum feugiat. In blandit   risus eu nulla facilisis euismod. Nam ornare scelerisque neque, vel   volutpat nibh adipiscing eget. Pellentesque at metus ut purus pretium   vestibulum vitae non purus. Nulla sollicitudin lorem nec ligula mattis   iaculis. Aenean eget pharetra arcu. Etiam aliquam neque ac tellus mollis   tempor. Vivamus ullamcorper lobortis laoreet. Duis vitae erat ipsum.   Etiam sit amet erat nibh. Mauris tempor ullamcorper commodo. Morbi vel   tristique tellus. Aliquam vehicula placerat nunc laoreet tempor.</p>   <p>Nulla viverra arcu eget faucibus faucibus. Donec dapibus sit amet tellus   at auctor. Nunc sed feugiat lorem, non rhoncus eros. Sed tempus dolor   nec elit eleifend imperdiet in non elit. Cum sociis natoque penatibus et   magnis dis parturient montes, nascetur ridiculus mus. Etiam rutrum,   purus non porta malesuada, lorem sem mollis turpis, at commodo dolor sem   vestibulum est. Sed accumsan vel dui at aliquet.</p>   <p>Sed blandit at elit in viverra. Morbi commodo sed orci nec vehicula.   Suspendisse varius leo vel purus pharetra sodales. Curabitur varius sed   arcu sed fringilla. Curabitur a blandit orci. Quisque sollicitudin   vulputate venenatis. Vestibulum egestas rhoncus elit, quis condimentum   erat. Pellentesque a eros quis felis laoreet fermentum a vitae elit.   Curabitur vel libero erat.</p>   <p>Donec in quam urna. Proin euismod lorem ante, non volutpat mauris   aliquam ac. Nullam vitae sodales justo. Sed nec porta metus. In eu   imperdiet neque, in ornare est. Nullam feugiat viverra mauris vitae   ullamcorper. Proin pulvinar erat egestas ante tincidunt varius. Vivamus   non lacinia quam.</p><p></p>\r\n    </div>\r\n  </div>\r\n  <div class="clear"></div>\r\n</div>', '', 'Text', 0, '2014-10-28 09:19:00', '2014-10-28 09:09:27', 0),
(5, 7, 5, 'Privacy Policy', 'Y', 'privacy', '', '<div class="content_pannel">\r\n  <div class="inner_contentarea">\r\n    <div class="staticpage_content">\r\n      <h3>Privacy Policy</h3>\r\n      <p></p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis molestie   ultricies faucibus. Integer convallis ullamcorper dolor, at scelerisque   velit volutpat in. Nunc vel nulla nulla. Quisque ornare molestie   imperdiet. Sed adipiscing imperdiet orci, in laoreet erat rhoncus ut.   Proin suscipit vestibulum neque in cursus. Sed volutpat laoreet justo,   ac sagittis massa ornare non. Aliquam elit nunc, luctus varius turpis   non, tempus ornare erat. Nunc luctus dapibus metus, a dapibus tellus.   Maecenas feugiat molestie justo, eu posuere leo hendrerit at.</p>   <p>Vestibulum accumsan metus tempor, rutrum orci ut, euismod felis. Etiam   pretium augue purus, ac tincidunt arcu condimentum feugiat. In blandit   risus eu nulla facilisis euismod. Nam ornare scelerisque neque, vel   volutpat nibh adipiscing eget. Pellentesque at metus ut purus pretium   vestibulum vitae non purus. Nulla sollicitudin lorem nec ligula mattis   iaculis. Aenean eget pharetra arcu. Etiam aliquam neque ac tellus mollis   tempor. Vivamus ullamcorper lobortis laoreet. Duis vitae erat ipsum.   Etiam sit amet erat nibh. Mauris tempor ullamcorper commodo. Morbi vel   tristique tellus. Aliquam vehicula placerat nunc laoreet tempor.</p>   <p>Nulla viverra arcu eget faucibus faucibus. Donec dapibus sit amet tellus   at auctor. Nunc sed feugiat lorem, non rhoncus eros. Sed tempus dolor   nec elit eleifend imperdiet in non elit. Cum sociis natoque penatibus et   magnis dis parturient montes, nascetur ridiculus mus. Etiam rutrum,   purus non porta malesuada, lorem sem mollis turpis, at commodo dolor sem   vestibulum est. Sed accumsan vel dui at aliquet.</p>   <p>Sed blandit at elit in viverra. Morbi commodo sed orci nec vehicula.   Suspendisse varius leo vel purus pharetra sodales. Curabitur varius sed   arcu sed fringilla. Curabitur a blandit orci. Quisque sollicitudin   vulputate venenatis. Vestibulum egestas rhoncus elit, quis condimentum   erat. Pellentesque a eros quis felis laoreet fermentum a vitae elit.   Curabitur vel libero erat.</p>   <p>Donec in quam urna. Proin euismod lorem ante, non volutpat mauris   aliquam ac. Nullam vitae sodales justo. Sed nec porta metus. In eu   imperdiet neque, in ornare est. Nullam feugiat viverra mauris vitae   ullamcorper. Proin pulvinar erat egestas ante tincidunt varius. Vivamus   non lacinia quam.</p><p></p>\r\n    </div>\r\n  </div>\r\n  <div class="clear"></div>\r\n</div>', '', 'Text', 0, '2014-10-28 09:22:00', '2014-10-28 09:12:06', 0),
(6, 8, 6, 'Service 1', 'Y', 'service1', 'service1', '<strong>Service 1 - Lorem Ipsum</strong> is simply dummy text of the printing and  typesetting industry. Lorem Ipsum has been the industry''s standard dummy  text ever since the 1500s, when an unknown printer took a galley of  type and scrambled it to make a type specimen book. It has survived not  only five centuries, but also the leap into electronic typesetting,  remaining essentially unchanged. It was popularised in the 1960s with  the release of Letraset sheets containing Lorem Ipsum passages, and more  recently with desktop publishing software like Aldus PageMaker  including versions of Lorem Ipsum.', '', 'Text', 0, '2014-11-24 06:32:00', '2014-11-26 07:08:02', 0),
(7, 8, 7, 'Service 2', 'Y', 'service2', 'service2', '<strong>Service 2 - Lorem Ipsum</strong> is simply dummy text of the printing and  typesetting industry. Lorem Ipsum has been the industry''s standard dummy  text ever since the 1500s, when an unknown printer took a galley of  type and scrambled it to make a type specimen book. It has survived not  only five centuries, but also the leap into electronic typesetting,  remaining essentially unchanged. It was popularised in the 1960s with  the release of Letraset sheets containing Lorem Ipsum passages, and more  recently with desktop publishing software like Aldus PageMaker  including versions of Lorem Ipsum.', '', 'Text', 0, '2014-11-25 11:52:00', '2014-11-26 07:06:15', 0),
(8, 9, 8, 'Service 1', 'Y', 'service1', 'dfg df', 'dfg df<br>', '', 'Text', 0, '2014-11-25 13:45:00', '2014-11-25 13:32:36', 0);

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

--
-- Table structure for table `cms_files`
--

CREATE TABLE IF NOT EXISTS `cms_files` (
  `cms_file_id` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `title` varchar(255) NOT NULL,
  `last_updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `file_alias` varchar(255) NOT NULL,
  `file_id` int(11) NOT NULL,
  `display_width` int(11) NOT NULL,
  `display_height` int(11) NOT NULL,
  `enabled` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `cms_groups`
--

CREATE TABLE IF NOT EXISTS `cms_groups` (
  `id` int(11) NOT NULL,
  `group_name` varchar(50) DEFAULT NULL,
  `position` int(3) DEFAULT '0',
  `published` tinyint(1) DEFAULT '1',
  `user_privilege` varchar(256) NOT NULL DEFAULT 'all',
  `module` enum('admin','user') NOT NULL DEFAULT 'admin'
) ENGINE=MyISAM AUTO_INCREMENT=26 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `cms_groups`
--

INSERT INTO `cms_groups` (`id`, `group_name`, `position`, `published`, `user_privilege`, `module`) VALUES
(16, 'SOFTWARE DEPARTMENT', 1, 1, 'all', 'admin'),
(15, 'HR SETUP', 3, 0, 's', 'admin'),
(14, 'OTHERS', 14, 0, 's', 'admin'),
(13, 'HR', 2, 1, 'all', 'admin'),
(12, 'MANAGE CONTENT', 2, 0, 'all', 'user'),
(11, 'My Account', 1, 1, 'all', 'user'),
(10, 'HR', 1, 1, 'all', 'admin'),
(9, 'CONTENT MANAGEMENT', 4, 1, 'all', 'admin'),
(8, 'SETUP', 2, 1, 'all', 'admin'),
(2, 'CONFIGURATIONS', 6, 1, 'all', 'admin'),
(1, 'DASHBOARD', 0, 1, 'all', 'admin'),
(17, 'REPORTS', 3, 1, 'all', 'admin'),
(18, 'Business Reports', 4, 1, 's', 'admin'),
(19, 'SupportPRO', 2, 1, 'all', 'admin'),
(20, 'DEVELOPERS', 1, 1, 'all', 'admin'),
(24, 'REPORTS', 4, 1, 'all', 'admin'),
(23, 'SOFTWARE DEPARTMENT', 3, 1, 'all', 'admin'),
(22, 'DASHBOARD', 1, 1, 'all', 'admin'),
(21, 'HR', 2, 1, 'all', 'admin'),
(25, 'QUICK LINKS', 5, 1, 'all', 'admin');

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

--
-- Table structure for table `cms_menus`
--

CREATE TABLE IF NOT EXISTS `cms_menus` (
  `menus_id` int(11) NOT NULL,
  `title` varchar(255) NOT NULL,
  `position` varchar(255) NOT NULL,
  `menu_type` enum('Image','Text','Both') NOT NULL,
  `menu_class` varchar(255) NOT NULL,
  `enabled` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `cms_menus`
--

INSERT INTO `cms_menus` (`menus_id`, `title`, `position`, `menu_type`, `menu_class`, `enabled`) VALUES
(1, 'Top Main Menu', '', 'Text', 'nav navbar-nav', 'Y'),
(2, 'Footer Menu', '', 'Text', '', 'Y');

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

--
-- Table structure for table `cms_menu_items`
--

CREATE TABLE IF NOT EXISTS `cms_menu_items` (
  `menu_item_id` int(11) NOT NULL,
  `menus_id` int(11) unsigned NOT NULL,
  `menu_parent_id` int(11) unsigned NOT NULL,
  `reference_type` enum('Section','Category','Content') NOT NULL COMMENT '1=Section,2=Category,3=content',
  `reference_id` int(11) NOT NULL,
  `title` varchar(255) NOT NULL,
  `menu_item_alias` varchar(255) NOT NULL,
  `target_type` enum('_self','_blank','_top') NOT NULL,
  `target_url` varchar(255) NOT NULL,
  `icon` varchar(255) NOT NULL,
  `display_order` int(11) NOT NULL,
  `enabled` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `cms_menu_items`
--

INSERT INTO `cms_menu_items` (`menu_item_id`, `menus_id`, `menu_parent_id`, `reference_type`, `reference_id`, `title`, `menu_item_alias`, `target_type`, `target_url`, `icon`, `display_order`, `enabled`) VALUES
(1, 1, 0, 'Content', 1, 'Home', 'home', '', ' ', '', 1, 'Y'),
(2, 1, 0, 'Content', 2, 'About Us', 'about', '', 'about', '', 2, 'Y'),
(3, 1, 0, 'Content', 3, 'Features', 'features', '', 'features', '', 3, 'Y'),
(4, 1, 0, 'Content', 1, 'Plans', 'plans', '', 'plans', '', 4, 'Y'),
(5, 1, 0, 'Content', 5, 'Contact', 'contact', '', 'contact', '', 6, 'Y'),
(6, 2, 0, 'Content', 5, 'Privacy Policy', 'privacy', '', 'privacy', '', 1, 'Y'),
(7, 2, 0, 'Content', 4, 'Terms of Service', 'terms-of-service', '', 'terms-of-service', '', 2, 'Y'),
(8, 1, 0, 'Content', 8, 'Services', 'services', '', 'services', '', 5, 'Y'),
(9, 1, 8, 'Content', 6, 'Service 1', 'services1', '', 'services1', '', 1, 'Y'),
(10, 1, 8, 'Content', 7, 'Service 2', 'services2', '', 'services2', '', 2, 'Y');

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

--
-- Table structure for table `cms_page_sections`
--

CREATE TABLE IF NOT EXISTS `cms_page_sections` (
  `section_id` int(11) NOT NULL,
  `title` varchar(255) NOT NULL,
  `section_alias` varchar(255) NOT NULL,
  `description` longtext NOT NULL,
  `icon` varchar(255) NOT NULL,
  `enabled` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `cms_page_sections`
--

INSERT INTO `cms_page_sections` (`section_id`, `title`, `section_alias`, `description`, `icon`, `enabled`, `created_by`, `created_on`) VALUES
(3, 'index', 'index', '<p>index page</p>\r\n', '', 'Y', 0, '2014-10-28 07:40:00'),
(4, 'About Us', 'About', 'About<br>', '', 'Y', 0, '2014-10-28 08:51:00'),
(5, 'Features', 'features', 'Features<br>', '', 'Y', 0, '2014-10-28 08:56:00'),
(6, 'Terms of Service', 'terms-of-service', 'terms-of-service<br/>', '', 'Y', 0, '2014-10-28 09:17:00'),
(7, 'Privacy', 'privacy', 'privacy<br>', '', 'Y', 0, '2014-10-28 09:20:00'),
(8, 'Services', 'services', '<strong>Services - Lorem Ipsum</strong> is simply dummy text of the printing and  typesetting industry. Lorem Ipsum has been the industry''s standard dummy  text ever since the 1500s, when an unknown printer took a galley of  type and scrambled it to make a type specimen book. It has survived not  only five centuries, but also the leap into electronic typesetting,  remaining essentially unchanged. It was popularised in the 1960s with  the release of Letraset sheets containing Lorem Ipsum passages, and more  recently with desktop publishing software like Aldus PageMaker  including versions of Lorem Ipsum.', '', 'Y', 0, '2014-11-24 06:14:00');

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

--
-- Table structure for table `cms_privileges`
--

CREATE TABLE IF NOT EXISTS `cms_privileges` (
  `privilege_id` int(11) NOT NULL,
  `entity_type` enum('group','section') NOT NULL,
  `entity_id` int(11) NOT NULL,
  `view_role_id` int(11) NOT NULL,
  `add_role_id` int(11) NOT NULL,
  `edit_role_id` int(11) NOT NULL,
  `delete_role_id` int(11) NOT NULL,
  `publish_role_id` int(11) NOT NULL
) ENGINE=MyISAM AUTO_INCREMENT=528 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `cms_privileges`
--

INSERT INTO `cms_privileges` (`privilege_id`, `entity_type`, `entity_id`, `view_role_id`, `add_role_id`, `edit_role_id`, `delete_role_id`, `publish_role_id`) VALUES
(1, 'group', 1, 12, 12, 12, 12, 0),
(2, 'section', 59, 12, 12, 12, 12, 0),
(3, 'section', 157, 12, 12, 12, 12, 0),
(4, 'section', 135, 12, 12, 12, 12, 0),
(10, 'section', 89, 12, 12, 12, 12, 0),
(9, 'section', 87, 12, 12, 12, 12, 0),
(11, 'group', 10, 12, 12, 12, 12, 0),
(12, 'section', 128, 12, 12, 12, 12, 0),
(13, 'section', 82, 12, 12, 12, 12, 0),
(14, 'section', 70, 12, 12, 12, 12, 0),
(15, 'section', 158, 12, 12, 12, 12, 0),
(16, 'section', 95, 12, 12, 12, 12, 0),
(17, 'group', 16, 12, 12, 12, 12, 0),
(18, 'section', 122, 12, 12, 12, 12, 0),
(19, 'section', 123, 12, 12, 12, 12, 0),
(20, 'section', 134, 12, 12, 12, 12, 0),
(21, 'section', 168, 12, 12, 12, 12, 0),
(22, 'group', 20, 12, 12, 12, 12, 0),
(23, 'section', 161, 12, 12, 12, 12, 0),
(24, 'group', 1, 16, 16, 16, 16, 0),
(25, 'section', 157, 16, 16, 16, 16, 0),
(29, 'section', 135, 16, 16, 16, 16, 0),
(30, 'section', 106, 16, 16, 16, 16, 0),
(31, 'section', 87, 16, 16, 16, 16, 0),
(32, 'section', 89, 16, 16, 16, 16, 0),
(33, 'group', 10, 16, 16, 16, 16, 0),
(354, 'section', 173, 16, 16, 16, 16, 0),
(35, 'section', 82, 16, 16, 16, 16, 0),
(36, 'section', 83, 16, 16, 16, 16, 0),
(37, 'section', 70, 16, 16, 16, 16, 0),
(38, 'section', 158, 16, 16, 16, 16, 0),
(39, 'section', 95, 16, 16, 16, 16, 0),
(40, 'group', 16, 16, 16, 16, 16, 0),
(41, 'section', 114, 16, 16, 16, 16, 0),
(42, 'section', 159, 16, 16, 16, 16, 0),
(43, 'section', 122, 16, 16, 16, 16, 0),
(44, 'section', 123, 16, 16, 16, 16, 0),
(45, 'section', 134, 16, 16, 16, 16, 0),
(46, 'section', 168, 16, 16, 16, 16, 0),
(47, 'group', 20, 16, 16, 16, 16, 0),
(48, 'section', 161, 16, 16, 16, 16, 0),
(49, 'group', 17, 16, 16, 16, 16, 0),
(50, 'section', 130, 16, 16, 16, 16, 0),
(51, 'section', 131, 16, 16, 16, 16, 0),
(52, 'section', 132, 16, 16, 16, 16, 0),
(53, 'section', 133, 16, 16, 16, 16, 0),
(54, 'section', 167, 16, 16, 16, 16, 0),
(55, 'group', 1, 23, 23, 23, 23, 0),
(56, 'section', 59, 23, 23, 23, 23, 0),
(57, 'section', 157, 23, 23, 23, 23, 0),
(62, 'section', 87, 23, 23, 23, 23, 0),
(63, 'section', 89, 23, 23, 23, 23, 0),
(64, 'group', 10, 23, 23, 23, 23, 0),
(65, 'section', 128, 23, 23, 23, 23, 0),
(66, 'section', 82, 23, 23, 23, 23, 0),
(67, 'section', 70, 23, 23, 23, 23, 0),
(68, 'section', 158, 23, 23, 23, 23, 0),
(69, 'section', 95, 23, 23, 23, 23, 0),
(71, 'section', 159, 23, 23, 23, 23, 0),
(72, 'section', 122, 23, 23, 23, 23, 0),
(73, 'section', 123, 23, 23, 23, 23, 0),
(74, 'section', 134, 23, 23, 23, 23, 0),
(75, 'section', 168, 23, 23, 23, 23, 0),
(77, 'section', 161, 23, 23, 23, 23, 0),
(78, 'group', 19, 23, 23, 23, 23, 0),
(79, 'section', 152, 23, 23, 23, 23, 0),
(80, 'group', 1, 25, 25, 25, 25, 0),
(81, 'section', 157, 25, 25, 25, 25, 0),
(82, 'section', 135, 25, 25, 25, 25, 0),
(83, 'section', 87, 25, 25, 25, 25, 0),
(84, 'section', 89, 25, 25, 25, 25, 0),
(85, 'group', 10, 25, 25, 25, 25, 0),
(87, 'section', 82, 25, 25, 25, 25, 0),
(88, 'section', 70, 25, 25, 25, 25, 0),
(89, 'section', 158, 25, 25, 25, 25, 0),
(90, 'section', 95, 25, 25, 25, 25, 0),
(91, 'group', 16, 25, 25, 25, 25, 0),
(92, 'section', 159, 25, 25, 25, 25, 0),
(93, 'section', 122, 25, 25, 25, 25, 0),
(94, 'section', 123, 25, 25, 25, 25, 0),
(95, 'section', 134, 25, 25, 25, 25, 0),
(96, 'section', 168, 25, 25, 25, 25, 0),
(97, 'section', 161, 25, 25, 25, 25, 0),
(99, 'group', 17, 25, 25, 25, 25, 0),
(102, 'section', 140, 25, 25, 25, 25, 0),
(103, 'group', 18, 25, 25, 25, 25, 0),
(104, 'section', 141, 25, 25, 25, 25, 0),
(105, 'group', 1, 19, 19, 19, 19, 0),
(106, 'section', 157, 19, 19, 19, 19, 0),
(414, 'section', 96, 18, 18, 18, 18, 0),
(109, 'section', 87, 19, 19, 19, 19, 0),
(110, 'section', 89, 19, 19, 19, 19, 0),
(111, 'group', 10, 19, 19, 19, 19, 0),
(355, 'section', 173, 19, 18, 18, 18, 0),
(113, 'section', 82, 19, 19, 19, 19, 0),
(114, 'section', 70, 19, 19, 19, 19, 0),
(115, 'section', 158, 19, 19, 19, 19, 0),
(116, 'section', 95, 19, 19, 19, 19, 0),
(117, 'group', 16, 19, 19, 19, 19, 0),
(118, 'section', 159, 19, 19, 19, 19, 0),
(119, 'section', 122, 19, 19, 19, 19, 0),
(120, 'section', 123, 19, 19, 19, 19, 0),
(121, 'section', 134, 19, 19, 19, 19, 0),
(122, 'section', 168, 19, 19, 19, 19, 0),
(124, 'section', 161, 19, 19, 19, 19, 0),
(125, 'group', 18, 19, 19, 19, 19, 0),
(126, 'section', 141, 19, 19, 19, 19, 0),
(127, 'section', 140, 19, 19, 19, 19, 0),
(128, 'group', 1, 17, 17, 17, 17, 0),
(129, 'section', 125, 17, 17, 17, 17, 0),
(130, 'section', 157, 17, 17, 17, 17, 0),
(131, 'section', 135, 17, 17, 17, 17, 0),
(132, 'section', 87, 17, 17, 17, 17, 0),
(133, 'section', 89, 17, 17, 17, 17, 0),
(134, 'group', 10, 17, 17, 17, 17, 0),
(135, 'section', 128, 17, 17, 17, 17, 0),
(136, 'section', 82, 17, 17, 17, 17, 0),
(137, 'section', 70, 17, 17, 17, 17, 0),
(138, 'section', 158, 17, 17, 17, 17, 0),
(139, 'section', 95, 17, 17, 17, 17, 0),
(140, 'group', 16, 17, 17, 17, 17, 0),
(141, 'section', 114, 17, 17, 17, 17, 0),
(142, 'section', 159, 17, 17, 17, 17, 0),
(143, 'section', 122, 17, 17, 17, 17, 0),
(144, 'section', 123, 17, 17, 17, 17, 0),
(145, 'section', 134, 17, 17, 17, 17, 0),
(146, 'section', 168, 17, 17, 17, 17, 0),
(147, 'group', 20, 17, 17, 17, 17, 0),
(148, 'section', 161, 17, 17, 17, 17, 0),
(149, 'group', 1, 20, 20, 20, 20, 0),
(155, 'section', 157, 20, 20, 20, 20, 0),
(154, 'section', 142, 20, 20, 20, 20, 0),
(405, 'section', 106, 19, 18, 18, 18, 0),
(159, 'section', 87, 20, 20, 20, 20, 0),
(158, 'section', 89, 20, 20, 20, 20, 0),
(160, 'group', 10, 20, 20, 20, 20, 0),
(161, 'section', 128, 20, 20, 20, 20, 0),
(162, 'section', 82, 20, 20, 20, 20, 0),
(163, 'section', 70, 20, 20, 20, 20, 0),
(164, 'section', 158, 20, 20, 20, 20, 0),
(165, 'section', 95, 20, 20, 20, 20, 0),
(166, 'group', 16, 20, 20, 20, 20, 0),
(167, 'section', 159, 20, 20, 20, 20, 0),
(168, 'section', 122, 20, 20, 20, 20, 0),
(169, 'section', 123, 20, 20, 20, 20, 0),
(170, 'section', 134, 20, 20, 20, 20, 0),
(171, 'section', 168, 20, 20, 20, 20, 0),
(173, 'section', 161, 20, 20, 20, 20, 0),
(174, 'group', 1, 22, 22, 22, 22, 0),
(175, 'section', 157, 22, 22, 22, 22, 0),
(176, 'section', 135, 22, 22, 22, 22, 0),
(177, 'section', 106, 22, 22, 22, 22, 0),
(178, 'section', 87, 22, 22, 22, 22, 0),
(179, 'section', 89, 22, 22, 22, 22, 0),
(180, 'group', 10, 22, 22, 22, 22, 0),
(356, 'section', 173, 22, 18, 18, 18, 0),
(182, 'section', 82, 22, 22, 22, 22, 0),
(183, 'section', 83, 22, 22, 22, 22, 0),
(185, 'section', 70, 22, 22, 22, 22, 0),
(186, 'section', 158, 22, 22, 22, 22, 0),
(187, 'section', 95, 22, 22, 22, 22, 0),
(407, 'group', 19, 22, 18, 18, 18, 0),
(189, 'section', 159, 22, 22, 22, 22, 0),
(190, 'section', 122, 22, 22, 22, 22, 0),
(191, 'section', 123, 22, 23, 23, 23, 0),
(192, 'section', 134, 22, 22, 22, 22, 0),
(193, 'section', 168, 22, 22, 22, 22, 0),
(195, 'section', 161, 22, 22, 22, 22, 0),
(196, 'group', 19, 22, 22, 22, 22, 0),
(413, 'section', 153, 22, 18, 18, 18, 0),
(412, 'section', 150, 22, 18, 18, 18, 0),
(411, 'section', 149, 22, 18, 18, 18, 0),
(410, 'section', 148, 22, 18, 18, 18, 0),
(409, 'section', 145, 22, 22, 22, 22, 0),
(408, 'section', 146, 22, 22, 22, 22, 0),
(203, 'group', 1, 18, 18, 18, 18, 0),
(204, 'section', 157, 18, 18, 18, 18, 0),
(205, 'section', 135, 18, 18, 18, 18, 0),
(211, 'section', 106, 18, 18, 18, 18, 0),
(213, 'section', 154, 18, 18, 18, 18, 0),
(216, 'section', 87, 18, 18, 18, 18, 0),
(215, 'section', 89, 18, 18, 18, 18, 0),
(217, 'group', 10, 18, 18, 18, 18, 0),
(353, 'section', 174, 18, 18, 18, 18, 0),
(219, 'section', 82, 18, 18, 18, 18, 0),
(222, 'section', 83, 18, 18, 18, 18, 0),
(225, 'section', 156, 18, 18, 18, 18, 0),
(226, 'section', 70, 18, 18, 18, 18, 0),
(227, 'section', 158, 18, 18, 18, 18, 0),
(228, 'section', 95, 18, 18, 18, 18, 0),
(229, 'group', 16, 18, 18, 18, 18, 0),
(230, 'section', 114, 18, 18, 18, 18, 0),
(232, 'section', 159, 18, 18, 18, 18, 0),
(233, 'section', 122, 18, 18, 18, 18, 0),
(234, 'section', 123, 18, 18, 18, 18, 0),
(235, 'section', 134, 18, 18, 18, 18, 0),
(236, 'section', 168, 18, 18, 18, 18, 0),
(237, 'section', 161, 18, 18, 18, 18, 0),
(239, 'group', 19, 18, 18, 18, 18, 0),
(240, 'section', 153, 18, 18, 18, 18, 0),
(241, 'section', 150, 18, 18, 18, 18, 0),
(242, 'section', 149, 18, 18, 18, 18, 0),
(243, 'section', 148, 18, 18, 18, 18, 0),
(244, 'section', 146, 18, 18, 18, 18, 0),
(245, 'section', 145, 18, 18, 18, 18, 0),
(246, 'group', 17, 18, 18, 18, 18, 0),
(247, 'section', 130, 18, 18, 18, 18, 0),
(248, 'section', 131, 18, 18, 18, 18, 0),
(249, 'section', 132, 18, 18, 18, 18, 0),
(250, 'section', 133, 18, 18, 18, 17, 0),
(251, 'section', 167, 18, 18, 18, 18, 0),
(252, 'group', 18, 18, 18, 18, 18, 0),
(253, 'section', 140, 18, 18, 18, 18, 0),
(254, 'section', 141, 18, 18, 18, 18, 0),
(255, 'group', 1, 24, 24, 24, 24, 0),
(256, 'section', 157, 24, 24, 24, 24, 0),
(257, 'section', 135, 24, 24, 24, 24, 0),
(258, 'section', 106, 24, 24, 24, 24, 0),
(259, 'section', 87, 24, 24, 24, 24, 0),
(260, 'section', 89, 24, 24, 24, 24, 0),
(261, 'group', 10, 24, 24, 24, 24, 0),
(357, 'section', 173, 25, 25, 25, 25, 0),
(263, 'section', 82, 24, 24, 24, 24, 0),
(264, 'section', 83, 24, 24, 24, 24, 0),
(265, 'section', 70, 24, 24, 24, 24, 0),
(266, 'section', 158, 24, 24, 24, 24, 0),
(267, 'section', 95, 24, 24, 24, 24, 0),
(268, 'group', 16, 24, 24, 24, 24, 0),
(269, 'section', 114, 24, 24, 24, 24, 0),
(270, 'section', 159, 24, 24, 24, 24, 0),
(271, 'section', 122, 24, 24, 24, 24, 0),
(272, 'section', 123, 24, 24, 24, 24, 0),
(273, 'section', 134, 24, 24, 24, 24, 0),
(274, 'section', 168, 24, 24, 24, 24, 0),
(275, 'group', 20, 24, 24, 24, 24, 0),
(276, 'section', 161, 24, 24, 24, 24, 0),
(277, 'group', 17, 24, 24, 24, 24, 0),
(278, 'section', 130, 24, 24, 24, 24, 0),
(279, 'section', 131, 24, 24, 24, 24, 0),
(280, 'section', 132, 24, 24, 24, 24, 0),
(281, 'section', 133, 24, 24, 24, 24, 0),
(282, 'section', 167, 24, 24, 24, 24, 0),
(283, 'group', 1, 26, 26, 26, 26, 0),
(284, 'section', 135, 26, 26, 26, 26, 0),
(285, 'section', 157, 26, 26, 26, 26, 0),
(286, 'section', 87, 26, 26, 26, 26, 0),
(287, 'section', 89, 26, 26, 26, 26, 0),
(288, 'group', 10, 26, 26, 26, 26, 0),
(289, 'section', 128, 26, 26, 26, 26, 0),
(290, 'section', 82, 26, 26, 26, 26, 0),
(291, 'section', 70, 26, 26, 26, 26, 0),
(292, 'section', 158, 26, 26, 26, 26, 0),
(293, 'section', 95, 26, 26, 26, 26, 0),
(294, 'group', 16, 26, 26, 26, 26, 0),
(295, 'section', 159, 26, 26, 26, 26, 0),
(296, 'section', 122, 26, 26, 26, 26, 0),
(297, 'section', 123, 26, 26, 26, 26, 0),
(298, 'section', 134, 26, 26, 26, 26, 0),
(299, 'section', 168, 26, 26, 26, 26, 0),
(301, 'section', 161, 26, 26, 26, 26, 0),
(302, 'group', 1, 14, 14, 14, 14, 0),
(303, 'section', 157, 14, 14, 14, 14, 0),
(305, 'section', 105, 14, 14, 14, 14, 0),
(306, 'section', 135, 14, 14, 14, 14, 0),
(307, 'section', 87, 14, 14, 14, 14, 0),
(308, 'section', 89, 14, 14, 14, 14, 0),
(309, 'group', 10, 14, 14, 14, 14, 0),
(310, 'section', 128, 14, 14, 14, 14, 0),
(311, 'section', 82, 14, 14, 14, 14, 0),
(313, 'section', 85, 14, 14, 14, 14, 0),
(314, 'section', 70, 14, 14, 14, 14, 0),
(315, 'section', 158, 14, 14, 14, 14, 0),
(316, 'section', 95, 14, 14, 14, 14, 0),
(317, 'group', 16, 14, 14, 14, 14, 0),
(318, 'section', 159, 14, 14, 14, 14, 0),
(319, 'section', 122, 14, 14, 14, 14, 0),
(320, 'section', 123, 14, 14, 14, 14, 0),
(321, 'section', 134, 14, 14, 14, 14, 0),
(322, 'section', 168, 14, 14, 14, 14, 0),
(324, 'section', 161, 14, 14, 14, 14, 0),
(325, 'group', 13, 14, 14, 14, 14, 0),
(326, 'section', 75, 14, 14, 14, 14, 0),
(327, 'section', 93, 14, 14, 14, 14, 0),
(328, 'section', 93, 14, 14, 14, 14, 0),
(329, 'section', 96, 14, 14, 14, 14, 0),
(331, 'section', 112, 14, 14, 14, 14, 0),
(333, 'section', 108, 14, 14, 14, 14, 0),
(334, 'section', 139, 14, 14, 14, 14, 0),
(335, 'section', 164, 14, 14, 14, 14, 0),
(336, 'section', 137, 14, 14, 14, 14, 0),
(337, 'group', 15, 14, 14, 14, 14, 0),
(338, 'section', 77, 14, 14, 14, 14, 0),
(339, 'section', 78, 14, 14, 14, 14, 0),
(340, 'section', 79, 14, 14, 14, 14, 0),
(341, 'section', 80, 14, 14, 14, 14, 0),
(342, 'section', 81, 14, 14, 14, 14, 0),
(343, 'section', 104, 14, 14, 14, 14, 0),
(344, 'section', 102, 14, 14, 14, 14, 0),
(345, 'section', 107, 14, 14, 14, 14, 0),
(346, 'section', 99, 14, 14, 14, 14, 0),
(347, 'section', 170, 18, 18, 18, 18, 0),
(348, 'group', 17, 25, 25, 25, 25, 0),
(349, 'section', 131, 25, 25, 25, 25, 0),
(350, 'section', 132, 25, 25, 25, 25, 0),
(351, 'section', 171, 12, 14, 14, 14, 0),
(358, 'section', 171, 16, 14, 14, 14, 0),
(359, 'section', 171, 17, 14, 14, 14, 0),
(360, 'section', 171, 24, 14, 14, 14, 0),
(361, 'section', 106, 27, 27, 27, 27, 0),
(362, 'section', 87, 27, 27, 27, 27, 0),
(363, 'section', 89, 27, 27, 27, 27, 0),
(364, 'group', 10, 27, 27, 27, 27, 0),
(365, 'section', 82, 27, 27, 27, 27, 0),
(366, 'section', 83, 27, 27, 27, 27, 0),
(367, 'section', 70, 27, 27, 27, 27, 0),
(368, 'section', 158, 27, 27, 27, 27, 0),
(369, 'section', 95, 27, 27, 27, 27, 0),
(370, 'group', 27, 27, 27, 27, 27, 0),
(371, 'section', 114, 27, 27, 27, 27, 0),
(372, 'section', 159, 27, 27, 27, 27, 0),
(373, 'section', 122, 27, 27, 27, 27, 0),
(374, 'section', 123, 27, 27, 27, 27, 0),
(375, 'section', 134, 27, 27, 27, 27, 0),
(376, 'section', 278, 27, 27, 27, 27, 0),
(377, 'group', 20, 27, 27, 27, 27, 0),
(378, 'section', 271, 27, 27, 27, 27, 0),
(379, 'group', 17, 27, 27, 27, 27, 0),
(380, 'section', 130, 27, 27, 27, 27, 0),
(381, 'section', 131, 27, 27, 27, 27, 0),
(382, 'section', 173, 27, 27, 27, 27, 0),
(383, 'group', 1, 27, 27, 27, 27, 0),
(384, 'section', 157, 27, 27, 27, 27, 0),
(385, 'section', 135, 27, 27, 27, 27, 0),
(386, 'section', 171, 27, 14, 14, 14, 0),
(387, 'section', 171, 14, 14, 14, 14, 0),
(388, 'section', 171, 18, 14, 14, 14, 0),
(389, 'section', 171, 19, 14, 14, 14, 0),
(390, 'section', 171, 20, 14, 14, 14, 0),
(391, 'section', 171, 21, 14, 14, 14, 0),
(392, 'section', 171, 25, 14, 14, 14, 0),
(393, 'section', 171, 26, 14, 14, 14, 0),
(395, 'section', 173, 24, 18, 18, 18, 0),
(396, 'group', 16, 27, 18, 18, 18, 0),
(397, 'section', 130, 27, 18, 18, 18, 0),
(398, 'section', 167, 27, 18, 18, 18, 0),
(399, 'section', 132, 27, 18, 18, 18, 0),
(400, 'section', 133, 27, 18, 18, 18, 0),
(401, 'section', 168, 27, 18, 18, 18, 0),
(406, 'section', 106, 20, 18, 18, 18, 0),
(415, 'group', 1, 21, 18, 18, 18, 0),
(416, 'section', 157, 21, 18, 18, 18, 0),
(417, 'section', 59, 21, 18, 18, 18, 0),
(418, 'section', 89, 21, 18, 18, 18, 0),
(419, 'group', 10, 21, 18, 18, 18, 0),
(420, 'section', 128, 21, 18, 18, 18, 0),
(421, 'section', 82, 21, 18, 18, 18, 0),
(422, 'section', 70, 21, 18, 18, 18, 0),
(423, 'section', 158, 21, 18, 18, 18, 0),
(425, 'group', 13, 21, 18, 18, 18, 0),
(426, 'section', 96, 21, 18, 18, 18, 0),
(427, 'section', 132, 18, 18, 18, 18, 0),
(428, 'section', 171, 22, 18, 18, 18, 0),
(429, 'section', 171, 23, 18, 18, 18, 0),
(430, 'group', 1, 28, 18, 18, 18, 0),
(431, 'section', 157, 28, 18, 18, 18, 0),
(432, 'section', 135, 28, 18, 18, 18, 0),
(433, 'section', 106, 28, 18, 18, 18, 0),
(434, 'section', 89, 28, 18, 18, 18, 0),
(435, 'section', 171, 28, 18, 18, 18, 0),
(436, 'section', 167, 28, 18, 18, 18, 0),
(437, 'group', 16, 28, 18, 18, 18, 0),
(438, 'section', 114, 28, 18, 18, 18, 0),
(439, 'section', 159, 28, 18, 18, 18, 0),
(440, 'section', 161, 28, 18, 18, 18, 0),
(441, 'section', 122, 28, 18, 18, 18, 0),
(442, 'section', 123, 28, 18, 18, 18, 0),
(443, 'section', 134, 28, 18, 18, 18, 0),
(444, 'section', 130, 28, 18, 18, 18, 0),
(445, 'section', 168, 28, 18, 18, 18, 0),
(446, 'section', 133, 28, 18, 18, 18, 0),
(447, 'section', 132, 28, 18, 18, 18, 0),
(448, 'section', 131, 28, 18, 18, 18, 0),
(449, 'group', 10, 28, 18, 18, 18, 0),
(450, 'section', 173, 28, 18, 18, 18, 0),
(451, 'section', 82, 28, 18, 18, 18, 0),
(452, 'section', 83, 28, 18, 18, 18, 0),
(453, 'section', 70, 28, 18, 18, 18, 0),
(454, 'section', 158, 28, 18, 18, 18, 0),
(455, 'section', 95, 28, 18, 18, 18, 0),
(456, 'section', 170, 28, 18, 18, 18, 0),
(457, 'section', 176, 12, 18, 18, 18, 0),
(458, 'section', 179, 18, 18, 18, 18, 0),
(459, 'section', 180, 18, 18, 18, 18, 0),
(460, 'section', 180, 29, 29, 29, 29, 0),
(461, 'group', 1, 29, 29, 29, 29, 0),
(462, 'section', 59, 29, 29, 29, 29, 0),
(463, 'section', 157, 29, 29, 29, 29, 0),
(464, 'section', 87, 29, 29, 29, 29, 0),
(465, 'section', 89, 29, 29, 29, 29, 0),
(466, 'group', 10, 29, 29, 29, 29, 0),
(467, 'section', 128, 29, 29, 29, 29, 0),
(468, 'section', 82, 29, 29, 29, 29, 0),
(469, 'section', 70, 29, 29, 29, 29, 0),
(470, 'section', 158, 29, 29, 29, 29, 0),
(471, 'section', 95, 29, 29, 29, 29, 0),
(472, 'section', 159, 29, 29, 29, 29, 0),
(473, 'section', 122, 29, 29, 29, 29, 0),
(474, 'section', 123, 29, 29, 29, 29, 0),
(475, 'section', 134, 29, 29, 29, 29, 0),
(476, 'section', 168, 29, 29, 29, 29, 0),
(477, 'section', 161, 29, 29, 29, 29, 0),
(478, 'group', 19, 29, 29, 29, 29, 0),
(479, 'section', 152, 29, 29, 29, 29, 0),
(480, 'section', 123, 18, 29, 29, 29, 0),
(481, 'section', 171, 29, 18, 18, 18, 0),
(482, 'group', 1, 30, 30, 30, 30, 0),
(483, 'section', 59, 30, 30, 30, 30, 0),
(484, 'section', 157, 30, 30, 30, 30, 0),
(485, 'section', 87, 30, 30, 30, 30, 0),
(486, 'section', 89, 30, 30, 30, 30, 0),
(487, 'group', 10, 30, 30, 30, 30, 0),
(488, 'section', 128, 30, 30, 30, 30, 0),
(489, 'section', 82, 30, 30, 30, 30, 0),
(490, 'section', 70, 30, 30, 30, 30, 0),
(491, 'section', 158, 30, 30, 30, 30, 0),
(492, 'section', 95, 30, 30, 30, 30, 0),
(493, 'section', 159, 30, 30, 30, 30, 0),
(494, 'section', 122, 30, 30, 30, 30, 0),
(495, 'section', 123, 30, 30, 30, 30, 0),
(496, 'section', 134, 30, 30, 30, 30, 0),
(497, 'section', 168, 30, 30, 30, 30, 0),
(498, 'section', 161, 30, 30, 30, 30, 0),
(499, 'group', 19, 30, 30, 30, 30, 0),
(500, 'section', 152, 30, 30, 30, 30, 0),
(501, 'section', 123, 18, 30, 30, 30, 0),
(502, 'section', 171, 30, 18, 18, 18, 0),
(524, 'section', 206, 28, 28, 28, 28, 0),
(523, 'section', 205, 28, 28, 28, 28, 0),
(522, 'section', 204, 28, 28, 28, 28, 0),
(521, 'section', 203, 28, 28, 28, 28, 0),
(520, 'section', 202, 28, 28, 28, 28, 0),
(519, 'section', 201, 28, 28, 28, 28, 0),
(518, 'section', 200, 28, 28, 28, 28, 0),
(517, 'section', 199, 28, 28, 0, 0, 0),
(516, 'section', 192, 28, 28, 28, 28, 0),
(515, 'section', 170, 28, 28, 28, 28, 0),
(514, 'section', 189, 28, 28, 28, 28, 0),
(513, 'section', 199, 28, 28, 28, 28, 0),
(512, 'section', 191, 28, 28, 28, 28, 0),
(511, 'section', 190, 28, 28, 28, 28, 0),
(510, 'section', 198, 28, 28, 28, 28, 0),
(509, 'section', 197, 28, 28, 28, 28, 0),
(508, 'section', 187, 28, 0, 0, 0, 0),
(507, 'section', 183, 28, 0, 0, 0, 0),
(506, 'section', 182, 28, 0, 0, 0, 0),
(505, 'section', 195, 28, 0, 0, 0, 0),
(504, 'section', 194, 28, 0, 0, 0, 0),
(503, 'section', 193, 28, 0, 0, 0, 0),
(525, 'section', 188, 28, 28, 28, 28, 0),
(526, 'section', 208, 28, 28, 28, 28, 0),
(527, 'section', 207, 28, 28, 28, 28, 0);

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

--
-- Table structure for table `cms_roles`
--

CREATE TABLE IF NOT EXISTS `cms_roles` (
  `role_id` int(11) NOT NULL,
  `role_name` varchar(256) NOT NULL,
  `parent_role_id` int(11) NOT NULL
) ENGINE=MyISAM AUTO_INCREMENT=31 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `cms_roles`
--

INSERT INTO `cms_roles` (`role_id`, `role_name`, `parent_role_id`) VALUES
(16, 'Dev Lead', 18),
(1, 'admin', 0),
(12, 'Developer', 1),
(14, 'HR Executive', 1),
(17, 'QA Tech', 1),
(18, 'Manager', 0),
(19, 'Business Lead', 18),
(20, 'Business Executive', 1),
(21, 'Finanace Head', 1),
(22, 'Support Lead', 18),
(23, 'Support Tech', 1),
(24, 'QA Lead', 1),
(25, 'Account Lead', 1),
(26, 'Account Executive', 1),
(27, 'Assistant Dev Lead', 16),
(28, 'Delivery Head', 0),
(29, 'QA Support Tech', 0),
(30, 'System Admin', 0);

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

--
-- Table structure for table `cms_sections`
--

CREATE TABLE IF NOT EXISTS `cms_sections` (
  `id` int(8) NOT NULL,
  `group_id` int(8) DEFAULT NULL,
  `section_name` varchar(200) DEFAULT NULL,
  `section_alias` varchar(200) DEFAULT NULL,
  `table_name` varchar(100) DEFAULT NULL,
  `section_config` text,
  `visibilty` enum('0','1') NOT NULL,
  `display_order` int(11) NOT NULL,
  `user_privilege` varchar(256) NOT NULL DEFAULT 'all',
  `module` enum('admin','user') NOT NULL DEFAULT 'admin',
  `db_type` enum('main','client') NOT NULL DEFAULT 'main',
  `smb_id` bigint(20) DEFAULT NULL
) ENGINE=MyISAM AUTO_INCREMENT=209 DEFAULT CHARSET=latin1;



INSERT INTO `cms_sections` (`id`, `group_id`, `section_name`, `section_alias`, `table_name`, `section_config`, `visibilty`, `display_order`, `user_privilege`, `module`, `db_type`, `smb_id`) VALUES
(77, 13, 'Leave Types', 'leaves', 'tbl_leaves', '{\r\n    "keyColumn": "id",\r\n    "wildsearch": "true",\r\n    "detailHeaderColumnPrefix": "Leaves: ",\r\n    "handleFile": "true",\r\n    "detailHeaderColumns": [\r\n        "title"\r\n    ],\r\n    "breadCrumbColumn": "title",\r\n    "orderBy": {\r\n        "id": "DESC"\r\n    },\r\n    "includeJsFiles": [\r\n        "leave_type.js"\r\n    ],\r\n    "listColumns": [\r\n        "title",\r\n        "count",\r\n        "type",\r\n        "date_range",\r\n        "groups",\r\n        "short_code",\r\n        "active"\r\n    ],\r\n    "showColumns": [\r\n        "id",\r\n        "title",\r\n        "count",\r\n        "type",\r\n        "date_range",\r\n        "groups",\r\n        "short_code",\r\n        "active"\r\n    ],\r\n    "detailColumns": [\r\n        "id",\r\n        "title",\r\n        "count",\r\n        "type",\r\n        "date_range",\r\n        "groups",\r\n        "short_code",\r\n        "active"\r\n    ],\r\n    "columns": {\r\n        "id": {\r\n            "name": "ID",\r\n            "editoptions": {\r\n                "type": "hidden"\r\n            }\r\n        },\r\n        "title": {\r\n            "name": "Title",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Title",\r\n                "class": "textbox",\r\n                "hint": "News Title",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "type": {\r\n            "name": "Type",\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": {\r\n                    "U": "User",\r\n                    "H": "HR"\r\n                },\r\n                "default": "Select",\r\n                "source_type": "array",\r\n                "label": "Type",\r\n                "class": "select",\r\n                "enumvalues": {\r\n                    "U": "User",\r\n                    "H": "HR"\r\n                },\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "count": {\r\n            "name": "Days",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Days",\r\n                "class": "textbox",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "date_range": {\r\n            "name": "DateRange",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "checkbox",\r\n                "label": "Allowdaterange",\r\n                "class": "inline",\r\n                "default": "0",\r\n                "enumvalues": {\r\n                    "0": "No",\r\n                    "1": "Yes"\r\n                }\r\n            }\r\n        },\r\n        "groups": {\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "name": "Groups",\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": "Cmshelper::getDepartmentCombo",\r\n                "default": "",\r\n                "source_type": "function",\r\n                "label": "AllowableGroups",\r\n                "class": "select"\r\n            }\r\n        },\r\n        "short_code": {\r\n            "name": "Short Code",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Short Code",\r\n                "class": "textbox",\r\n                "hint": "Short Code",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "active": {\r\n            "name": "Status",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "listoptions": {\r\n                "type": "button",\r\n                "customaction": "Cmshelper::changeLeavesStatus",\r\n                "enumvalues": {\r\n                    "Y": "Active",\r\n                    "N": "Inactive"\r\n                },\r\n                "buttonColors": {\r\n                    "Y": "green",\r\n                    "N": "red"\r\n                }\r\n            },\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": {\r\n                    "Y": "Active",\r\n                    "N": "Inactive"\r\n                },\r\n                "default": "Y",\r\n                "source_type": "array",\r\n                "label": "Status",\r\n                "class": "select",\r\n                "enumvalues": {\r\n                    "Y": "Active",\r\n                    "N": "Inactive"\r\n                },\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        }\r\n    },\r\n    "customActions": {\r\n        "beforeAddRecord": "Cmshelper::beforeAddLeaveType",\r\n        "beforeEditRecord": "Cmshelper::beforeEditLeaveType"\r\n    },\r\n    "opertations": [\r\n        "add",\r\n        "view",\r\n        "edit",\r\n        "delete"\r\n    ],\r\n    "operationLabel": {\r\n        "addLabel": "AddLeaves",\r\n        "editTitle": "EditLeaves",\r\n        "viewTitle": "ViewLeaveDetails",\r\n        "deleteTitle": "DeleteLeaves"\r\n    }\r\n}', '1', 0, 'all', 'admin', 'main', NULL),
(78, 13, 'Departments', 'departments', 'tbl_departments', '{\r\n    "keyColumn": "id",\r\n    "wildsearch": "true",\r\n    "detailHeaderColumnPrefix": "Departments: ",\r\n    "handleFile": "true",\r\n    "detailHeaderColumns": [\r\n        "title"\r\n    ],\r\n    "breadCrumbColumn": "title",\r\n    "orderBy": {\r\n        "id": "DESC"\r\n    },\r\n    "listColumns": [\r\n        "dep_name",\r\n        "dep_code",\r\n        "active"\r\n    ],\r\n    "showColumns": [\r\n        "id",\r\n        "dep_name",\r\n        "dep_code",\r\n        "active"\r\n    ],\r\n    "detailColumns": [\r\n        "id",\r\n        "dep_name",\r\n        "dep_code",\r\n        "active"\r\n    ],\r\n    "columns": {\r\n        "id": {\r\n            "name": "ID",\r\n            "editoptions": {\r\n                "type": "hidden"\r\n            }\r\n        },\r\n        "dep_name": {\r\n            "name": "Department",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Department",\r\n                "class": "textbox",\r\n                "hint": "Department Title",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "dep_code": {\r\n            "name": "Dep Code",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Dep Code",\r\n                "class": "textbox",\r\n                "hint": "Department Code",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "active": {\r\n            "name": "Status",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "listoptions": {\r\n                "type": "button",\r\n                "customaction": "Cmshelper::changeDepartmentStatus",\r\n                "enumvalues": {\r\n                    "Y": "Active",\r\n                    "N": "Inactive"\r\n                },\r\n                "buttonColors": {\r\n                    "Y": "green",\r\n                    "N": "red"\r\n                }\r\n            },\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": {\r\n                    "Y": "Active",\r\n                    "N": "Inactive"\r\n                },\r\n                "default": "Y",\r\n                "source_type": "array",\r\n                "label": "Status",\r\n                "class": "select",\r\n                "enumvalues": {\r\n                    "Y": "Active",\r\n                    "N": "Inactive"\r\n                },\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        }\r\n    },\r\n    "opertations": [\r\n        "add",\r\n        "view",\r\n        "edit",\r\n        "delete"\r\n    ],\r\n    "operationLabel": {\r\n        "addLabel": "Add Department",\r\n        "editTitle": "Edit Department",\r\n        "viewTitle": "View Department Details",\r\n        "deleteTitle": "Delete Department"\r\n    }\r\n}', '1', 0, 'all', 'admin', 'main', NULL),
(79, 13, 'Designations', 'designations', 'tbl_designations', '{\n    "keyColumn": "id",\n    "wildsearch": "true",\n    "detailHeaderColumnPrefix": "Designations: ",\n    "handleFile": "true",\n    "detailHeaderColumns": [\n        "title"\n    ],\n    "breadCrumbColumn": "title",\n    "orderBy": {\n        "id": "DESC"\n    },\n    "listColumns": [\n        "desig_name",\n        "dep_id",\n        "active"\n    ],\n    "showColumns": [\n        "id",\n        "desig_name",\n        "dep_id",\n        "active"\n    ],\n    "detailColumns": [\n        "id",\n        "desig_name",\n        "dep_id",\n        "active"\n    ],\n    "columns": {\n        "id": {\n            "name": "ID",\n            "editoptions": {\n                "type": "hidden"\n            }\n        },\n        "desig_name": {\n            "name": "Designation",\n            "searchable": "true",\n            "sortable": "true",\n            "editoptions": {\n                "type": "textbox",\n                "label": "Designation",\n                "class": "textbox",\n                "hint": "Designation Title",\n                "validations": [\n                    "required"\n                ]\n            }\n        },\n        "dep_id": {\n            "name": "DEPARTMENT",\n            "searchable": "true",\n            "sortable": "true",\n            "external": "true",\n            "externalOptions": {\n                "externalTable": "tbl_departments",\n                "externalColumn": "id",\n                "externalShowColumn": "dep_name"\n            },\n            "editoptions": {\n                "type": "select",\n                "source": "Cmshelper::getDepartmentCombo",\n                "source_type": "function",\n                "label": "Department",\n                "class": "select",\n                "validations": [\n                    "required"\n                ]\n            }\n        },\n        "active": {\n            "name": "Status",\n            "searchable": "true",\n            "sortable": "true",\n            "listoptions": {\n                "type": "button",\n                "customaction": "Cmshelper::changeDesignationStatus",\n                "enumvalues": {\n                    "Y": "Active",\n                    "N": "Inactive"\n                },\n                "buttonColors": {\n                    "Y": "green",\n                    "N": "red"\n                }\n            },\n            "editoptions": {\n                "type": "select",\n                "source": {\n                    "Y": "Active",\n                    "N": "Inactive"\n                },\n                "default": "Y",\n                "source_type": "array",\n                "label": "Status",\n                "class": "select",\n                "enumvalues": {\n                    "Y": "Active",\n                    "N": "Inactive"\n                },\n                "validations": [\n                    "required"\n                ]\n            }\n        }\n    },\n    "opertations": [\n        "add",\n        "view",\n        "edit",\n        "delete"\n    ],\n    "operationLabel": {\n        "addLabel": "Add Designation",\n        "editTitle": "Edit Designation",\n        "viewTitle": "View Designation Details",\n        "deleteTitle": "Delete Designation"\n    }\n}', '1', 0, 'all', 'admin', 'main', NULL),
(80, 13, 'Manage Holidays', 'holidays', 'tbl_holidays', '{\n    "keyColumn": "id",\n    "wildsearch": "true",\n    "detailHeaderColumnPrefix": "Holidays: ",\n    "handleFile": "true",\n    "detailHeaderColumns": [\n        "title"\n    ],\n    "breadCrumbColumn": "title",\n    "orderBy": {\n        "id": "DESC"\n    },\n    "listColumns": [\n        "title",\n        "date",\n	    "group_ids",\n         "rh",\n        "active"\n    ],\n    "showColumns": [\n        "id",\n        "title",\n        "description",\n        "date",\n	    "group_ids",\n        "rh",\n        "active"\n    ],\n    "detailColumns": [\n        "id",\n        "title",\n        "description",\n        "date",\n	    "group_ids",\n       "rh",\n        "active"\n    ],\n    "columns": {\n        "id": {\n            "name": "ID",\n            "editoptions": {\n                "type": "hidden"\n            }\n        },\n        "title": {\n            "name": "Title",\n            "searchable": "true",\n            "sortable": "true",\n            "editoptions": {\n                "type": "textbox",\n                "label": "Title",\n                "class": "textbox",\n                "hint": "Holiday Title",\n                "validations": [\n                    "required"\n                ]\n            }\n        },\n        "description": {\n            "name": "Description",\n            "editoptions": {\n                "type": "textarea",\n                "label": "Description",\n                "class": "textarea",\n                "validations": [\n                    "required"\n                ]\n            }\n        },\n        "date": {\n            "name": "Date",\n            "dbFormat": "date",\n            "displayFormat": "M d, Y",\n            "editoptions": {\n                "dbFormat": "date",\n                "displayFormat": "M d, Y",\n                "type": "datepicker",\n                "label": "Date",\n                "class": "",\n                "validations": [\n                    "required"\n                ]\n            }\n        },\n		  "group_ids": {\n            "name": "Allowable Groups",         \n            "customColumn": "true",\n            "customaction": "Cmshelper::getGroupsString",\n            "editoptions": {\n                "type": "tags",\n                "tagDetails": {\n                    "autocompleteSource": "Cmshelper::ajaxAutoSuggest",\n                    "autocompleteMinChars": "1",\n                    "placeholder": "",\n                    "prePopulateSource": "Cmshelper::fetchAutosuggestGroups"\n                },\n                "hint": "Allowable Groups",\n                "label": "Allowable Groups",\n                "class": "textbox"\n            }\n        },\n   "rh": {\n        "name": "Restricted Holiday",\n        "sortable": "true",\n        "editoptions": { \n        "type": "checkbox", \n        "label": "Restricted Holiday",\n        "class": "inline",\n        "default": "0",\n        "enumvalues": { "0": "No", "1": "Yes" }\n      }\n    },\n\n        "active": {\n            "name": "Status",\n            "searchable": "true",\n            "sortable": "true",\n            "listoptions": {\n                "type": "button",\n                "customaction": "Cmshelper::changeHolidaysStatus",\n                "enumvalues": {\n                    "Y": "Active",\n                    "N": "Inactive"\n                },\n                "buttonColors": {\n                    "Y": "green",\n                    "N": "red"\n                }\n            },\n            "editoptions": {\n                "type": "select",\n                "source": {\n                    "Y": "Active",\n                    "N": "Inactive"\n                },\n                "default": "Y",\n                "source_type": "array",\n                "label": "Status",\n                "class": "select",\n                "enumvalues": {\n                    "Y": "Active",\n                    "N": "Inactive"\n                },\n                "validations": [\n                    "required"\n                ]\n            }\n        }\n    },\n    "opertations": [\n        "add",\n        "view",\n        "edit",\n        "delete"\n    ],\n    "operationLabel": {\n        "addLabel": "Add Holiday",\n        "editTitle": "Edit Holiday",\n        "viewTitle": "View Holiday Details",\n        "deleteTitle": "Delete Holiday"\n    }\n}', '1', 0, 'all', 'admin', 'main', NULL),
(81, 13, 'Shift', 'shift', 'tbl_shifts', '{\r\n    "keyColumn": "id",\r\n    "wildsearch": "true",\r\n    "detailHeaderColumnPrefix": "Shifts: ",\r\n    "handleFile": "true",\r\n    "detailHeaderColumns": [\r\n        "title"\r\n    ],\r\n    "breadCrumbColumn": "title",\r\n    "orderBy": {\r\n        "id": "DESC"\r\n    },\r\n    "listColumns": [\r\n        "title",\r\n        "time_from",\r\n        "time_to",\r\n        "active"\r\n    ],\r\n    "showColumns": [\r\n        "id",\r\n        "title",\r\n        "time_from",\r\n        "time_to",\r\n        "active"\r\n    ],\r\n    "detailColumns": [\r\n        "id",\r\n        "title",\r\n        "time_from",\r\n        "time_to",\r\n        "active"\r\n    ],\r\n    "columns": {\r\n        "id": {\r\n            "name": "ID",\r\n            "editoptions": {\r\n                "type": "hidden"\r\n            }\r\n        },\r\n        "title": {\r\n            "name": "Title",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Title",\r\n                "class": "textbox",\r\n                "hint": "Holiday Title",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "time_from": {\r\n            "name": "From Time",\r\n            "dbFormat": "datetime",\r\n            "displayFormat": "h:i a",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": "Cmshelper::getTimeCombo",\r\n                "default": "",\r\n                "source_type": "function",\r\n                "label": "From Time",\r\n                "class": "select",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "time_to": {\r\n            "name": "To Time",\r\n            "dbFormat": "datetime",\r\n            "displayFormat": "h:i a",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": "Cmshelper::getTimeCombo",\r\n                "default": "",\r\n                "source_type": "function",\r\n                "label": "To Time",\r\n                "class": "select",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "active": {\r\n            "name": "Status",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "listoptions": {\r\n                "type": "button",\r\n                "customaction": "Cmshelper::changeShiftStatus",\r\n                "enumvalues": {\r\n                    "Y": "Active",\r\n                    "N": "Inactive"\r\n                },\r\n                "buttonColors": {\r\n                    "Y": "green",\r\n                    "N": "red"\r\n                }\r\n            },\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": {\r\n                    "Y": "Active",\r\n                    "N": "Inactive"\r\n                },\r\n                "default": "Y",\r\n                "source_type": "array",\r\n                "label": "Status",\r\n                "class": "select",\r\n                "enumvalues": {\r\n                    "Y": "Active",\r\n                    "N": "Inactive"\r\n                },\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        }\r\n    },\r\n    "opertations": [\r\n        "add",\r\n        "view",\r\n        "edit",\r\n        "delete"\r\n    ],\r\n    "operationLabel": {\r\n        "addLabel": "Add Shift",\r\n        "editTitle": "Edit Shift",\r\n        "viewTitle": "View Shift Details",\r\n        "deleteTitle": "Delete Shift"\r\n    }\r\n}', '0', 0, 'all', 'admin', 'main', NULL),
(82, 10, 'Leaves', 'applyleave', 'tbl_emp_leaves', '{ "keyColumn": "id", "wildsearch": "true", "dataSource": "external", "dataSourceFunction": "Cmshelper::fetchLeaveDetails", "dataSourceCountFunction": "Cmshelper::fetchLeaveDetailsCount", "detailHeaderColumnPrefix": "Leaves: ", "handleFile": "true", "detailHeaderColumns": [ "title" ], "breadCrumbColumn": "title", "orderBy": { "id": "DESC" }, "includeJsFiles": [ "leave_hr.js" ], "listColumns": [ "leave_type", "half_day", "applied_date", "from_date_disp", "to_date_disp", "sup_status" ], "showColumns": [ "id", "emp_id", "leave_type", "half_day", "from_date", "to_date", "description", "comments", "sup_status", "applied_date" ], "detailColumns": [ "id", "leave_type", "half_day", "emp_id", "applied_date", "from_date", "from_date_disp", "to_date", "to_date_disp", "description", "comments", "sup_status", "remarks", "confirm" ], "columns": { "id": { "name": "ID", "editoptions": { "type": "hidden" } }, "emp_id": { "name": "EMP_ID", "editoptions": { "type": "hidden" } }, "leave_type": { "searchable": "true", "sortable": "true", "name": "Leave Type", "editoptions": { "type": "select", "source": "Cmshelper::getLeaveTypes", "default": "", "source_type": "function", "label": "Leave Type", "class": "select", "validations": [ "required" ] } }, "half_day": { "name": "Half Day", "sortable": "true", "editoptions": { "type": "checkbox", "label": "Half Day", "class": "inline", "default": "0", "enumvalues": { "0": "No", "1": "Yes" } } }, "from_date": { "name": "Date", "searchable": "true", "sortable": "true", "dbFormat": "date", "displayFormat": "m/d/Y", "editoptions": { "dbFormat": "date", "displayFormat": "m/d/Y", "type": "datepicker", "label": "From Date", "class": "", "validations": [ "required" ] } }, "to_date": { "name": "To Date", "searchable": "true", "sortable": "true", "dbFormat": "date", "displayFormat": "m/d/Y", "editoptions": { "dbFormat": "date", "displayFormat": "m/d/Y", "type": "datepicker", "label": "To Date", "class": "" } }, "from_date_disp": { "name": "From Date", "customColumn": "true", "customaction": "Cmshelper::getAttendanceFromdate" }, "to_date_disp": { "name": "To Date", "customColumn": "true", "customaction": "Cmshelper::getAttendanceTodate" }, "description": { "name": "Purpose of leave", "editoptions": { "type": "textarea", "label": "Purpose of leave", "class": "textarea", "validations": [ "required" ] } }, "comments": { "name": "Arrangements have been made", "editoptions": { "type": "textarea", "label": "Arrangements have been made", "class": "textarea", "validations": [ "required" ] } }, "sup_status": { "sortable": "true", "name": "Status" }, "remarks": { "name": "Remarks" }, "hr_status": { "sortable": "true", "name": "HR Status" }, "username": { "name": "Employee name" }, "applied_date": { "searchable": "true", "sortable": "true", "name": "Applied date", "dbFormat": "date", "displayFormat": "M d, Y" }, "confirm": { "name": "Confirm", "editoptions": { "type": "checkbox", "label": "Confirm?", "class": "inline", "default": "0", "enumvalues": { "0": "No", "1": "Yes" }, "validations": [ "required" ] } } }, "customActions": { "beforeAddRecord": "Cmshelper::checkLeaveBalanceEmp" }, "opertations": [ "add", "view" ], "operationLabel": { "addLabel": "Apply Leave", "viewTitle": "View Leave Details" } }', '1', 3, 'all', 'admin', 'main', NULL),
(109, 14, 'Team Leaves', 'teamleaves', 'tbl_emp_leaves', '{ "keyColumn": "id", "wildsearch": "true", "dataSource": "external", "dataSourceFunction": "Cmshelper::fetchLeaveRequestsTeam", "dataSourceCountFunction": "Cmshelper::fetchLeaveRequestsTeamCount", "detailHeaderColumnPrefix": "Leave Requests: ", "handleFile": "true", "detailHeaderColumns": [ "title" ], "breadCrumbColumn": "title", "orderBy": { "id": "DESC" }, "reference": { "referenceTable": "tbl_employee", "referenceColumn": "emp_id", "referenceTableForiegnKey": "emp_main_id" }, "listColumns": [ "profile_pic", "username", "leave_type", "half_day", "applied_date", "from_date", "sup_status" ], "showColumns": [ "id", "emp_id", "leave_type", "half_day", "from_date", "to_date", "description", "comments", "sup_status", "applied_date" ], "detailColumns": [ "id", "username", "emp_id", "leave_type", "half_day", "applied_date", "from_date", "to_date", "description", "comments", "sup_status", "profile_pic" ], "columns": { "id": { "name": "ID", "editoptions": { "type": "hidden" } }, "profile_pic": { "name": "", "customColumn": "true", "customaction": "Cmshelper::getProfilePicLeave" }, "emp_id": { "name": "Name", "searchable": "true", "sortable": "true", "editoptions": { "type": "hidden" } }, "leave_type": { "name": "Leave Type", "searchable": "true", "sortable": "true", "editoptions": { "type": "select", "source": "Cmshelper::getLeaveTypes", "default": "", "source_type": "function", "label": "Leave Type", "class": "select", "validations": [ "required" ] } }, "half_day": { "name": "Half Day", "sortable": "true", "editoptions": { "type": "checkbox", "label": "Half Day", "class": "inline", "default": "0", "enumvalues": { "0": "No", "1": "Yes" } } }, "from_date": { "name": "Date", "searchable": "true", "sortable": "true", "dbFormat": "date", "displayFormat": "M d, Y", "editoptions": { "dbFormat": "date", "displayFormat": "M d, Y", "type": "datepicker", "label": "From Date", "class": "", "validations": [ "required" ] } }, "to_date": { "name": "To Date", "searchable": "true", "sortable": "true", "dbFormat": "date", "displayFormat": "M d, Y", "editoptions": { "dbFormat": "date", "displayFormat": "M d, Y", "type": "datepicker", "label": "To Date", "class": "", "validations": [ "required" ] } }, "description": { "name": "Description", "editoptions": { "type": "textarea", "label": "Description", "class": "textarea", "validations": [ "required" ] } }, "comments": { "name": "Comments", "editoptions": { "type": "textarea", "label": "Comments", "class": "textarea", "validations": [ "required" ] } }, "sup_status": { "name": "Status", "sortable": "true" }, "hr_status": { "name": "HR Status", "sortable": "true" }, "username": { "sortable": "true", "name": "Employee name" }, "applied_date": { "searchable": "true", "sortable": "true", "name": "Applied date", "dbFormat": "date", "displayFormat": "M d, Y" } }, "opertations": [ "view" ], "operationLabel": { "viewTitle": "ViewLeaveDetails" } }', '0', 0, 'all', 'admin', 'main', NULL),
(83, 10, 'Leave Requests', 'lhdrequests', 'tbl_emp_leaves', '{ "keyColumn": "id", "wildsearch": "true", "dataSource": "external", "dataSourceFunction": "Cmshelper::fetchLeaveRequests", "dataSourceCountFunction": "Cmshelper::fetchLeaveRequestsCount", "detailHeaderColumnPrefix": "Leave Requests: ", "handleFile": "true", "detailHeaderColumns": [ "title" ], "breadCrumbColumn": "title", "orderBy": { "id": "DESC" }, "includeJsFiles": [ "leave_hr.js" ], "reference": { "referenceTable": "tbl_employee", "referenceColumn": "emp_id", "referenceTableForiegnKey": "emp_main_id" }, "listColumns": [ "profile_pic", "username", "leave_type", "half_day", "applied_date", "from_date_disp", "to_date_disp", "sup_status" ], "showColumns": [ "id", "emp_id", "leave_type", "half_day", "from_date", "to_date", "description", "comments", "sup_status", "applied_date" ], "detailColumns": [ "id", "username", "emp_id", "leave_type", "half_day", "applied_date", "from_date", "from_date_disp", "to_date", "to_date_disp", "description", "comments", "sup_status", "remarks", "profile_pic" ], "columns": { "id": { "name": "ID", "editoptions": { "type": "hidden" } }, "profile_pic": { "name": "", "customColumn": "true", "customaction": "Cmshelper::getProfilePicLeave" }, "emp_id": { "name": "Name", "searchable": "true", "sortable": "true", "editoptions": { "type": "hidden" } }, "leave_type": { "name": "Leave Type", "searchable": "true", "sortable": "true", "editoptions": { "type": "select", "source": "Cmshelper::getLeaveTypes", "default": "", "source_type": "function", "label": "Leave Type", "class": "select", "validations": [ "required" ] } }, "half_day": { "name": "Half Day", "sortable": "true", "editoptions": { "type": "checkbox", "label": "Half Day", "class": "inline", "default": "0", "enumvalues": { "0": "No", "1": "Yes" } } }, "from_date": { "name": "Date", "searchable": "true", "sortable": "true", "dbFormat": "date", "displayFormat": "M d, Y", "editoptions": { "dbFormat": "date", "displayFormat": "M d, Y", "type": "datepicker", "label": "From Date", "class": "", "validations": [ "required" ] } }, "to_date": { "name": "To Date", "searchable": "true", "sortable": "true", "dbFormat": "date", "displayFormat": "M d, Y", "editoptions": { "dbFormat": "date", "displayFormat": "M d, Y", "type": "datepicker", "label": "To Date", "class": "", "validations": [ "required" ] } }, "from_date_disp": { "name": "From Date", "customColumn": "true", "customaction": "Cmshelper::getAttendanceFromdate" }, "to_date_disp": { "name": "To Date", "customColumn": "true", "customaction": "Cmshelper::getAttendanceTodate" }, "description": { "name": "Description", "editoptions": { "type": "textarea", "label": "Description", "class": "textarea", "validations": [ "required" ] } }, "comments": { "name": "Comments", "editoptions": { "type": "textarea", "label": "Comments", "class": "textarea", "validations": [ "required" ] } }, "sup_status": { "name": "Status", "searchable": "true","sortable": "true", "popupoptions": { "type": "popup", "customaction": "Cmshelper::getSupstatusPopupUrl" } }, "remarks": { "name": "Remarks" }, "hr_status": { "name": "HR Status", "sortable": "true" }, "username": { "sortable": "true", "name": "Employee name" }, "applied_date": { "searchable": "true", "sortable": "true", "name": "Applied date", "dbFormat": "date", "displayFormat": "M d, Y" } }, "customActions": { "beforeAddRecord": "Cmshelper: : setEmployeeId" }, "opertations": [ "view" ], "operationLabel": { "viewTitle": "ViewLeaveDetails" } }', '1', 4, 'all', 'admin', 'main', NULL),
(110, 10, 'Login Reports', 'empreportshead', 'tbl_employee', '{ "keyColumn": "id", "wildsearch": "true", "dataSource": "external", "dataSourceFunction": "Cmshelper::fetchEmpReportsHead", "dataSourceCountFunction": "Cmshelper::fetchEmpReportsHeadCount", "detailHeaderColumnPrefix": "Reports: ", "handleFile": "true", "detailHeaderColumns": [ "title" ], "breadCrumbColumn": "title", "orderBy": { "id": "DESC" }, "listColumns": [ "username", "date", "avg_chk_in", "avg_chk_out", "avg_time" ], "showColumns": [ "id", "username", "date", "avg_chk_in", "avg_chk_out", "avg_time" ], "detailColumns": [ "id", "username", "date", "avg_chk_in", "avg_chk_out", "avg_time" ], "columns": { "id": { "name": "ID", "editoptions": { "type": "hidden" } }, "username": { "name": "Employee", "searchable": "true", "sortable": "true" }, "date": { "name": "Date", "searchable": "true" }, "avg_chk_in": { "name": "Avg Chk In" }, "avg_chk_out": { "name": "Avg Chk Out" }, "avg_time": { "name": "Avg Time" } } }', '0', 0, 'all', 'admin', 'main', NULL),
(93, 14, 'Attendance', 'attendance', 'tbl_attendance', '{ "keyColumn": "id", "wildsearch": "true", "detailHeaderColumnPrefix": "Attendace: ", "handleFile": "true", "detailHeaderColumns": [ "username" ], "breadCrumbColumn": "username", "orderBy": { "id": "DESC" }, "reference": { "referenceTable": "tbl_employee", "referenceColumn": "emp_id", "referenceTableForiegnKey": "emp_main_id" }, "listColumns": [ "date", "emp_id", "shift_type", "check_in", "check_out", "hours_worked" ], "showColumns": [ "id", "date", "emp_id", "shift_type", "check_in", "check_out" ], "detailColumns": [ "date", "emp_id", "shift_type", "check_in", "check_out", "hours_worked" ], "columns": { "id": { "name": "ID", "editoptions": { "type": "hidden" } }, "date": { "name": "Date", "searchable": "true", "sortable": "true", "dbFormat": "date", "displayFormat": "m/d/Y", "editoptions": { "dbFormat": "date", "displayFormat": "m/d/Y", "type": "datepicker", "label": "Date", "class": "", "validations": [ "required" ] } }, "emp_id": { "name": "Username", "searchable": "true", "sortable": "true", "external": "true", "externalOptions": { "externalTable": "tbl_employee", "externalColumn": "emp_main_id", "externalShowColumn": "first_name" } }, "shift_type": { "name": "Shift", "external": "true", "externalOptions": { "externalTable": "tbl_shifts", "externalColumn": "id", "externalShowColumn": "title" } }, "check_in": { "name": "Check In", "dbFormat": "datetime", "displayFormat": "m/d/Y h: ia", "editoptions": { "dbFormat": "date", "displayFormat": "m/d/Y", "type": "textbox", "label": "Check In", "hint": "Y-m-d h:i:s", "class": "", "validations": [ "required" ] } }, "check_out": { "name": "Check Out", "customColumn": "true", "customaction": "Cmshelper::getCheckoutTime", "editoptions": { "dbFormat": "date", "displayFormat": "m/d/Y", "type": "textbox", "label": "Check Out", "hint": "Y-m-d h:i:s", "class": "", "validations": [ "required" ] } }, "hours_worked": { "name": "Time", "customColumn": "true", "customaction": "Cmshelper::getAttndcTimeFromat" } }, "customActions": { "beforeAddRecord": "Cmshelper::checkAttndcCondtn" }, "opertations": [ "view" ], "operationLabel": { "viewTitle": "View" } }', '1', 0, 'all', 'admin', 'main', NULL);
INSERT INTO `cms_sections` (`id`, `group_id`, `section_name`, `section_alias`, `table_name`, `section_config`, `visibilty`, `display_order`, `user_privilege`, `module`, `db_type`, `smb_id`) VALUES
(86, 13, 'Add Employee', 'employees', 'tbl_employee', '{\r\n    "keyColumn": "id",\r\n    "wildsearch": "true",\r\n    "detailHeaderColumnPrefix": "Employees: ",\r\n    "handleFile": "true",\r\n    "detailHeaderColumns": [\r\n        "emp_code"\r\n    ],\r\n    "report": {\r\n        "reportTitle": "Employees",\r\n        "columns": [\r\n            "emp_main_id",\r\n            "emp_code",\r\n            "first_name",\r\n            "last_name",\r\n            "department_id",\r\n            "designation_id"\r\n        ],\r\n        "dateColumn": "added_date"\r\n    },\r\n    "breadCrumbColumn": "emp_code",\r\n    "orderBy": {\r\n        "id": "DESC"\r\n    },\r\n    "listColumns": [\r\n        "emp_code",\r\n        "first_name",\r\n        "last_name",\r\n        "department_id",\r\n        "active"\r\n    ],\r\n    "showColumns": [\r\n        "id",\r\n        "emp_main_id",\r\n        "emp_code",\r\n        "first_name",\r\n        "last_name",\r\n        "department_id",\r\n        "designation_id",\r\n        "reporting_id",\r\n        "shift_id",\r\n        "gender",\r\n        "dob",\r\n        "religion",\r\n        "blood_group",\r\n        "marital_status",\r\n        "family_details",\r\n        "fathers_name",\r\n        "paddress",\r\n        "caddress",\r\n        "phone",\r\n        "mobile",\r\n        "location",\r\n        "official_mail",\r\n        "yahoo_mail",\r\n        "personal_mail",\r\n        "technical_skills",\r\n        "bank_name",\r\n        "account_no",\r\n        "pan_no",\r\n        "pf_no",\r\n        "initial_salary",\r\n        "joining_date",\r\n        "appriasal_date",\r\n        "added_date",\r\n        "active"\r\n    ],\r\n    "detailColumns": [\r\n        "id",\r\n        "emp_main_id",\r\n        "emp_code",\r\n        "first_name",\r\n        "last_name",\r\n        "department_id",\r\n        "designation_id",\r\n        "reporting_id",\r\n        "shift_id",\r\n        "gender",\r\n        "dob",\r\n        "religion",\r\n        "blood_group",\r\n        "marital_status",\r\n        "family_details",\r\n        "fathers_name",\r\n        "paddress",\r\n        "caddress",\r\n        "phone",\r\n        "mobile",\r\n        "location",\r\n        "official_mail",\r\n        "yahoo_mail",\r\n        "personal_mail",\r\n        "technical_skills",\r\n        "bank_name",\r\n        "account_no",\r\n        "pan_no",\r\n        "pf_no",\r\n        "initial_salary",\r\n        "joining_date",\r\n        "appriasal_date",\r\n        "added_date",\r\n        "active"\r\n    ],\r\n    "columns": {\r\n        "id": {\r\n            "name": "ID",\r\n            "editoptions": {\r\n                "type": "hidden"\r\n            }\r\n        },\r\n        "emp_main_id": {\r\n            "name": "USERNAME",\r\n            "external": "true",\r\n            "externalOptions": {\r\n                "externalTable": "cms_users",\r\n                "externalColumn": "id",\r\n                "externalShowColumn": "username"\r\n            },\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": "Cmshelper::getUsernameCombo",\r\n                "default": "",\r\n                "source_type": "function",\r\n                "label": "User name",\r\n                "class": "select",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "emp_code": {\r\n            "name": "EMP CODE",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "EmployeeCode",\r\n                "class": "textbox",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "department_id": {\r\n            "name": "DEPARTMENT",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "external": "true",\r\n            "externalOptions": {\r\n                "externalTable": "tbl_departments",\r\n                "externalColumn": "id",\r\n                "externalShowColumn": "dep_name"\r\n            },\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": "Cmshelper::getDepartmentCombo",\r\n                "default": "",\r\n                "source_type": "function",\r\n                "label": "Department",\r\n                "class": "select",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "designation_id": {\r\n            "name": "DESIGNATION",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "external": "true",\r\n            "externalOptions": {\r\n                "externalTable": "tbl_designations",\r\n                "externalColumn": "id",\r\n                "externalShowColumn": "desig_name"\r\n            },\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": "Cmshelper::getDesignationCombo",\r\n                "default": "",\r\n                "source_type": "function",\r\n                "label": "Designation",\r\n                "class": "select",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "reporting_id": {\r\n            "name": "REPORTING PERSON",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "external": "true",\r\n            "externalOptions": {\r\n                "externalTable": "cms_users",\r\n                "externalColumn": "id",\r\n                "externalShowColumn": "username"\r\n            },\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": "Cmshelper::getUsernameCombo",\r\n                "default": "",\r\n                "source_type": "function",\r\n                "label": "Reporting Person",\r\n                "class": "select",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "shift_id": {\r\n            "name": "SHIFT TYPE",\r\n            "external": "true",\r\n            "externalOptions": {\r\n                "externalTable": "tbl_shifts",\r\n                "externalColumn": "id",\r\n                "externalShowColumn": "title"\r\n            },\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": "Cmshelper::getShiftsCombo",\r\n                "default": "",\r\n                "source_type": "function",\r\n                "label": "Shift Type",\r\n                "class": "select",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "first_name": {\r\n            "name": "FIRST NAME",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "First Name",\r\n                "class": "textbox",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "last_name": {\r\n            "name": "LAST NAME",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Last Name",\r\n                "class": "textbox"\r\n            }\r\n        },\r\n        "gender": {\r\n            "name": "Gender",\r\n            "editoptions": {\r\n                "type": "radio",\r\n                "label": "Gender",\r\n                "class": "radio",\r\n                "default": "no",\r\n                "enumvalues": {\r\n                    "M": "Male",\r\n                    "F": "Female"\r\n                },\r\n                "options": {\r\n                    "M": "Male",\r\n                    "F": "Female"\r\n                },\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "dob": {\r\n            "name": "DOB",\r\n            "dbFormat": "date",\r\n            "displayFormat": "Y/m/d",\r\n            "editoptions": {\r\n                "dbFormat": "date",\r\n                "displayFormat": "Y/m/d",\r\n                "type": "datepicker",\r\n                "label": "DOB",\r\n                "class": "",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "religion": {\r\n            "name": "RELIGION",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Religion",\r\n                "class": "textbox",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "blood_group": {\r\n            "name": "Status",\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": {\r\n                    "O+ve": "O+ve",\r\n                    "O-ve": "O-ve",\r\n                    "A+ve": "A+ve",\r\n                    "A-ve": "A-ve",\r\n                    "B+ve": "B+ve",\r\n                    "B-ve": "B-ve",\r\n                    "AB+ve": "AB+ve",\r\n                    "AB-ve": "AB-ve"\r\n                },\r\n                "default": "Select",\r\n                "source_type": "array",\r\n                "label": "Blood Group",\r\n                "class": "select",\r\n                "enumvalues": {\r\n                    "O+ve": "O+ve",\r\n                    "O-ve": "O-ve",\r\n                    "A+ve": "A+ve",\r\n                    "A-ve": "A-ve",\r\n                    "B+ve": "B+ve",\r\n                    "B-ve": "B-ve",\r\n                    "AB+ve": "AB+ve",\r\n                    "AB-ve": "AB-ve"\r\n                },\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "marital_status": {\r\n            "name": "Marital Status",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "radio",\r\n                "label": "Marital Status",\r\n                "class": "inline",\r\n                "default": "no",\r\n                "enumvalues": {\r\n                    "M": "Married",\r\n                    "U": "Unmarried"\r\n                },\r\n                "options": {\r\n                    "M": "Married",\r\n                    "U": "Unmarried"\r\n                },\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "family_details": {\r\n            "name": "FAMILY DETAILS",\r\n            "editoptions": {\r\n                "type": "textarea",\r\n                "label": "Family Details",\r\n                "class": "textarea",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "fathers_name": {\r\n            "name": "FATHER''S NAME",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Father''s Name",\r\n                "class": "textbox",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "paddress": {\r\n            "name": "PERMANENT ADDRESS",\r\n            "editoptions": {\r\n                "type": "textarea",\r\n                "label": "Permanent Address",\r\n                "class": "textarea",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "caddress": {\r\n            "name": "CONTACT ADDRESS",\r\n            "editoptions": {\r\n                "type": "textarea",\r\n                "label": "Contact Address",\r\n                "class": "textarea"\r\n            }\r\n        },\r\n        "phone": {\r\n            "name": "PHONE",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Phone",\r\n                "class": "textbox"\r\n            }\r\n        },\r\n        "mobile": {\r\n            "name": "MOBILE",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Mobile",\r\n                "class": "textbox"\r\n            }\r\n        },\r\n        "location": {\r\n            "name": "LOCATION",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Location",\r\n                "class": "textbox",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "official_mail": {\r\n            "name": "OFFICIAL EMAIL",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Official Email",\r\n                "class": "textbox",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "yahoo_mail": {\r\n            "name": "YAHOO EMAIL",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Yahoo Email",\r\n                "class": "textbox",\r\n                "hint": "(For internal use)"\r\n            }\r\n        },\r\n        "personal_mail": {\r\n            "name": "PERSONAL EMAIL",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Personal Email",\r\n                "class": "textbox"\r\n            }\r\n        },\r\n        "technical_skills": {\r\n            "name": "TECHNICAL SKILLS",\r\n            "editoptions": {\r\n                "type": "textarea",\r\n                "label": "Technical Skills",\r\n                "class": "textarea",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "joining_date": {\r\n            "name": "JOINEDDATE",\r\n            "dbFormat": "date",\r\n            "displayFormat": "Y/m/d",\r\n            "editoptions": {\r\n                "dbFormat": "date",\r\n                "displayFormat": "Y/m/d",\r\n                "type": "datepicker",\r\n                "label": "JoinedDate",\r\n                "class": "",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "bank_name": {\r\n            "name": "BANK NAME",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Bank Name",\r\n                "class": "textbox"\r\n            }\r\n        },\r\n        "account_no": {\r\n            "name": "ACCOUNT NO",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Account No",\r\n                "class": "textbox"\r\n            }\r\n        },\r\n        "pan_no": {\r\n            "name": "PAN NO",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "PAN Card No",\r\n                "class": "textbox"\r\n            }\r\n        },\r\n        "pf_no": {\r\n            "name": "PF NO",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "PF No",\r\n                "class": "textbox"\r\n            }\r\n        },\r\n        "initial_salary": {\r\n            "name": "INITIAL SALARY",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Initial Salary",\r\n                "class": "textbox",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "appriasal_date": {\r\n            "name": "LAST APPRIASAL DATE",\r\n            "dbFormat": "date",\r\n            "displayFormat": "Y/m/d",\r\n            "editoptions": {\r\n                "dbFormat": "date",\r\n                "displayFormat": "Y/m/d",\r\n                "type": "datepicker",\r\n                "label": "Last Salary Appriasal Date"\r\n            }\r\n        },\r\n        "added_date": {\r\n            "name": "ADDEDDATE",\r\n            "dbFormat": "date",\r\n            "displayFormat": "Y-m-d"\r\n        },\r\n        "active": {\r\n            "name": "STATUS",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "listoptions": {\r\n                "type": "button",\r\n                "customaction": "Cmshelper::changeEmployeeStatus",\r\n                "enumvalues": {\r\n                    "Y": "Active",\r\n                    "N": "Inactive"\r\n                },\r\n                "buttonColors": {\r\n                    "Y": "green",\r\n                    "N": "red"\r\n                }\r\n            },\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": {\r\n                    "Y": "Active",\r\n                    "N": "Inactive"\r\n                },\r\n                "default": "Y",\r\n                "source_type": "array",\r\n                "label": "Status",\r\n                "class": "select",\r\n                "enumvalues": {\r\n                    "Y": "Active",\r\n                    "N": "Inactive"\r\n                },\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        }\r\n    },\r\n    "customActions": {\r\n        "beforeAddRecord": "Cmshelper::changeEmployeeAddedDateFormat"\r\n    },\r\n    "opertations": [\r\n        "add",\r\n        "view",\r\n        "edit",\r\n        "delete"\r\n    ],\r\n    "operationLabel": {\r\n        "addLabel": "AddEmployee",\r\n        "editTitle": "EditEmployee",\r\n        "viewTitle": "ViewEmployeeDetails",\r\n        "deleteTitle": "DeleteEmployee"\r\n    }\r\n}', '0', 0, 'all', 'admin', 'main', NULL),
(85, 10, 'Approve Leaves', 'lhrrequests', 'tbl_emp_leaves', '{ "keyColumn": "id", "wildsearch": "true", "dataSource": "external", "dataSourceFunction": "Cmshelper::fetchHRLeaveRequests", "dataSourceCountFunction": "Cmshelper::fetchHRLeaveRequestsCount", "detailHeaderColumnPrefix": "Leave Requests: ", "handleFile": "true", "detailHeaderColumns": [ "title" ], "breadCrumbColumn": "title", "orderBy": { "id": "DESC" }, "includeJsFiles": [ "leave_hr.js" ], "listColumns": [ "profile_pic", "username", "leave_type", "half_day", "applied_date", "from_date_disp", "to_date_disp", "sup_status" ], "showColumns": [ "id", "emp_id", "leave_type", "half_day", "from_date", "to_date", "description", "comments", "sup_status", "applied_date" ], "detailColumns": [ "id", "emp_id", "leave_type", "half_day", "applied_date", "from_date", "from_date_disp", "to_date", "to_date_disp", "description", "comments", "sup_status", "remarks", "profile_pic" ], "columns": { "id": { "name": "ID", "editoptions": { "type": "hidden" } }, "profile_pic": { "name": "", "customColumn": "true", "customaction": "Cmshelper::getProfilePicLeave" }, "emp_id": { "name": "Name", "searchable": "true", "sortable": "true", "editoptions": { "type": "select", "onEdit": "disable", "source": "Cmshelper::getUsernameCombo", "default": "", "source_type": "function", "label": "User name", "class": "select", "validations": [ "required" ] } }, "leave_type": { "name": "Leave Type", "searchable": "true", "sortable": "true", "editoptions": { "type": "select", "source": "Cmshelper::getLeaveTypesHR", "default": "", "source_type": "function", "label": "Leave Type", "class": "select", "validations": [ "required" ] } }, "half_day": { "name": "Half Day", "sortable": "true", "editoptions": { "type": "checkbox", "label": "Half Day", "class": "inline", "default": "0", "enumvalues": { "0": "No", "1": "Yes" } } }, "from_date": { "name": "From Date", "searchable": "true", "sortable": "true", "dbFormat": "date", "displayFormat": "m/d/Y", "editoptions": { "dbFormat": "date", "displayFormat": "m/d/Y", "type": "datepicker", "label": "From Date", "class": "", "validations": [ "required" ] } }, "to_date": { "name": "To Date", "searchable": "true", "sortable": "true", "dbFormat": "date", "displayFormat": "m/d/Y", "editoptions": { "dbFormat": "date", "displayFormat": "m/d/Y", "type": "datepicker", "label": "To Date", "class": "" } }, "from_date_disp": { "name": "From Date", "customColumn": "true", "customaction": "Cmshelper::getAttendanceFromdate" }, "to_date_disp": { "name": "To Date", "customColumn": "true", "customaction": "Cmshelper::getAttendanceTodate" }, "description": { "name": "Purpose of leave", "editoptions": { "type": "textarea", "label": "Purpose of leave", "class": "textarea", "validations": [ "required" ] } }, "comments": { "name": "Arrangements have been made", "editoptions": { "type": "textarea", "label": "Arrangements have been made", "class": "textarea", "validations": [ "required" ] } }, "sup_status": { "name": "Status", "sortable": "true", "popupoptions": { "type": "popup", "customaction": "Cmshelper::getSupstatusPopupUrl" } }, "remarks": { "name": "Remarks" }, "hr_status": { "name": "HR Status", "sortable": "true", "popupoptions": { "type": "popup", "customaction": "Cmshelper::getHrstatusPopupUrl" } }, "username": { "searchable": "true", "sortable": "true", "name": "Employee name" }, "applied_date": { "searchable": "true", "sortable": "true", "name": "Applied date", "dbFormat": "date", "displayFormat": "M d, Y" }, "confirm": { "name": "Confirm", "editoptions": { "type": "checkbox", "label": "Confirm?", "class": "inline", "default": "0", "enumvalues": { "0": "No", "1": "Yes" }, "validations": [ "required" ] } } }, "customActions": { "beforeAddRecord": "Cmshelper::checkLeaveBalanceEmp", "beforeEditRecord": "Cmshelper::beforeEditLeaveHR" }, "opertations": [ "add", "view", "edit", "delete" ], "operationLabel": { "addLabel": "Apply Leave", "editTitle": "Edit Leave", "viewTitle": "View Leave Details", "deleteTitle": "Delete Leave" } }', '1', 5, 'all', 'admin', 'main', NULL),
(115, 16, 'team', 'project_team', 'tbl_project_team', '{\r\n"keyColumn": "team_id",\r\n"wildsearch": "true",\r\n"detailHeaderColumnPrefix": "Team: ",\r\n"handleFile": "true",\r\n"detailHeaderColumns": [\r\n"project_id"\r\n],\r\n"breadCrumbColumn": "project_id",\r\n"orderBy": {\r\n"team_id": "DESC"\r\n},\r\n"listColumns": [\r\n"project_id",\r\n"user_id"\r\n],\r\n"showColumns": [\r\n"team_id",\r\n"project_id",\r\n"user_id"\r\n],\r\n"detailColumns": [\r\n"team_id",\r\n"project_id",\r\n"user_id",\r\n"added_to_gitlab"\r\n],\r\n"columns": {\r\n"team_id": {\r\n"name": "ID",\r\n"editoptions": {\r\n"type": "hidden"\r\n}\r\n},\r\n"project_id": {\r\n"name": "Project",\r\n"searchable": "true",\r\n"sortable": "true",\r\n"external": "true",\r\n"externalOptions": {\r\n"externalTable": "tbl_projects",\r\n"externalColumn": "project_id",\r\n"externalShowColumn": "project_title"\r\n}\r\n},\r\n"added_to_gitlab": {\r\n"name": "Add to GitLab",\r\n"editoptions": {\r\n"type": "checkbox",\r\n"label": "Add to GitLab",\r\n"class": "inline",\r\n"default": "0",\r\n"enumvalues": {\r\n"0": "No",\r\n"1": "Yes"\r\n}\r\n}\r\n},\r\n"user_id": {\r\n"name": "Team Member",\r\n"searchable": "true",\r\n"sortable": "true",\r\n"external": "true",\r\n"externalOptions": {\r\n"externalTable": "tbl_employee",\r\n"externalColumn": "emp_main_id",\r\n"externalShowColumn": "first_name"\r\n},\r\n"editoptions": {\r\n"type": "select",\r\n"source": "Cmshelper::getUsernameCombo",\r\n"default": "",\r\n"source_type": "function",\r\n"label": "Team Member",\r\n"class": "select",\r\n"validations": [\r\n"required"\r\n]\r\n}\r\n}\r\n},\r\n"reference": {\r\n"referenceTable": "tbl_projects",\r\n"referenceColumn": "project_id",\r\n"referenceTableForiegnKey": "project_id"\r\n},\r\n"customActions": {\r\n"afterAddRecord": "Cmshelper::increaseTeamCount",\r\n"beforeDeleteRecord": "Cmshelper::decreaseTeamCount",\r\n"beforeAddRecord": "Cmshelper::checkAlreadyMember",\r\n"beforeEditRecord": "Cmshelper::checkAlreadyMember"\r\n},\r\n"opertations": [\r\n"add",\r\n"view",\r\n"edit",\r\n"delete"\r\n],\r\n"operationLabel": {\r\n"addLabel": "Add Team Member",\r\n"editTitle": "Edit Team Member",\r\n"viewTitle": "View Team Details",\r\n"deleteTitle": "Delete Team Member"\r\n}\r\n}', '0', 1, 'all', 'admin', 'main', NULL),
(90, 13, 'Employee Qualifications', 'empqualifications', 'tbl_emp_qualifications', '{\r\n    "keyColumn": "id",\r\n    "wildsearch": "true",\r\n    "detailHeaderColumnPrefix": "Qualifications: ",\r\n    "handleFile": "true",\r\n    "detailHeaderColumns": [\r\n        "title"\r\n    ],\r\n    "breadCrumbColumn": "title",\r\n    "orderBy": {\r\n        "id": "DESC"\r\n    },\r\n    "reference": {\r\n        "referenceTable": "tbl_employee",\r\n        "referenceColumn": "emp_id",\r\n        "referenceTableForiegnKey": "emp_main_id"\r\n    },\r\n    "listColumns": [\r\n        "degree",\r\n        "institution",\r\n        "passed_year",\r\n        "percentage"\r\n    ],\r\n    "showColumns": [\r\n        "id",\r\n        "emp_id",\r\n        "degree",\r\n        "institution",\r\n        "passed_year",\r\n        "percentage"\r\n    ],\r\n    "detailColumns": [\r\n        "id",\r\n        "emp_id",\r\n        "degree",\r\n        "institution",\r\n        "passed_year",\r\n        "percentage"\r\n    ],\r\n    "columns": {\r\n        "id": {\r\n            "name": "ID",\r\n            "editoptions": {\r\n                "type": "hidden"\r\n            }\r\n        },\r\n        "emp_id": {\r\n            "name": "EMP_ID",\r\n            "editoptions": {\r\n                "type": "hidden"\r\n            }\r\n        },\r\n        "degree": {\r\n            "name": "Degree",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Degree",\r\n                "class": "textbox",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "institution": {\r\n            "name": "Institution",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Institution",\r\n                "class": "textbox"\r\n            }\r\n        },\r\n        "passed_year": {\r\n            "name": "Passed Year",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Passed Year",\r\n                "class": "textbox"\r\n            }\r\n        },\r\n        "percentage": {\r\n            "name": "Percentage",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Percentage",\r\n                "class": "textbox"\r\n            }\r\n        }\r\n    },\r\n    "opertations": [\r\n        "add",\r\n        "view",\r\n        "edit",\r\n        "delete"\r\n    ],\r\n    "operationLabel": {\r\n        "addLabel": "Add Qualification",\r\n        "editTitle": "Edit Qualification",\r\n        "viewTitle": "View Qualification Details",\r\n        "deleteTitle": "Delete Qualification"\r\n    }\r\n}', '0', 0, 'all', 'admin', 'main', NULL),
(91, 13, 'Employee Certification', 'empcertifications', 'tbl_emp_certifications', '{\r\n    "keyColumn": "id",\r\n    "wildsearch": "true",\r\n    "detailHeaderColumnPrefix": "Certifications: ",\r\n    "handleFile": "true",\r\n    "detailHeaderColumns": [\r\n        "title"\r\n    ],\r\n    "breadCrumbColumn": "course",\r\n    "orderBy": {\r\n        "id": "DESC"\r\n    },\r\n    "reference": {\r\n        "referenceTable": "tbl_employee",\r\n        "referenceColumn": "emp_id",\r\n        "referenceTableForiegnKey": "emp_main_id"\r\n    },\r\n    "listColumns": [\r\n        "course",\r\n        "date"\r\n    ],\r\n    "showColumns": [\r\n        "id",\r\n        "emp_id",\r\n        "course",\r\n        "date"\r\n    ],\r\n    "detailColumns": [\r\n        "id",\r\n        "emp_id",\r\n        "course",\r\n        "date"\r\n    ],\r\n    "columns": {\r\n        "id": {\r\n            "name": "ID",\r\n            "editoptions": {\r\n                "type": "hidden"\r\n            }\r\n        },\r\n        "emp_id": {\r\n            "name": "EMP_ID",\r\n            "editoptions": {\r\n                "type": "hidden"\r\n            }\r\n        },\r\n        "course": {\r\n            "name": "Course",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Course",\r\n                "class": "textbox",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "date": {\r\n            "name": "Date",\r\n            "dbFormat": "date",\r\n            "displayFormat": "Y/m/d",\r\n            "editoptions": {\r\n                "dbFormat": "date",\r\n                "displayFormat": "Y/m/d",\r\n                "type": "datepicker",\r\n                "label": "Date",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        }\r\n    },\r\n    "opertations": [\r\n        "add",\r\n        "view",\r\n        "edit",\r\n        "delete"\r\n    ],\r\n    "operationLabel": {\r\n        "addLabel": "Add Certification",\r\n        "editTitle": "Edit Certification",\r\n        "viewTitle": "View CertificationDetails",\r\n        "deleteTitle": "Delete Certification"\r\n    }\r\n}', '0', 0, 'all', 'admin', 'main', NULL),
(92, 13, 'Employee Job History', 'empjobshistory', 'tbl_emp_jobhistory', '{\r\n    "keyColumn": "id",\r\n    "wildsearch": "true",\r\n    "detailHeaderColumnPrefix": "Job History: ",\r\n    "handleFile": "true",\r\n    "detailHeaderColumns": [\r\n        "title"\r\n    ],\r\n    "breadCrumbColumn": "previous_employer",\r\n    "orderBy": {\r\n        "id": "DESC"\r\n    },\r\n    "reference": {\r\n        "referenceTable": "tbl_employee",\r\n        "referenceColumn": "emp_id",\r\n        "referenceTableForiegnKey": "emp_main_id"\r\n    },\r\n    "listColumns": [\r\n        "previous_employer",\r\n        "designation",\r\n        "salary",\r\n        "address",\r\n        "working_period"\r\n    ],\r\n    "showColumns": [\r\n        "id",\r\n        "emp_id",\r\n        "previous_employer",\r\n        "designation",\r\n        "salary",\r\n        "address",\r\n        "working_period"\r\n    ],\r\n    "detailColumns": [\r\n        "id",\r\n        "emp_id",\r\n        "previous_employer",\r\n        "designation",\r\n        "salary",\r\n        "address",\r\n        "working_period"\r\n    ],\r\n    "columns": {\r\n        "id": {\r\n            "name": "ID",\r\n            "editoptions": {\r\n                "type": "hidden"\r\n            }\r\n        },\r\n        "emp_id": {\r\n            "name": "EMP_ID",\r\n            "editoptions": {\r\n                "type": "hidden"\r\n            }\r\n        },\r\n        "previous_employer": {\r\n            "name": "Previous Employer",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Previous Employer",\r\n                "class": "textbox",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "designation": {\r\n            "name": "Designation",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Designation",\r\n                "class": "textbox",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "salary": {\r\n            "name": "Salary",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Salary",\r\n                "class": "textbox",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "address": {\r\n            "name": "Address",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Address",\r\n                "class": "textbox",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "working_period": {\r\n            "name": "Working Period",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Working Period",\r\n                "class": "textbox",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        }\r\n    },\r\n    "opertations": [\r\n        "add",\r\n        "view",\r\n        "edit",\r\n        "delete"\r\n    ],\r\n    "operationLabel": {\r\n        "addLabel": "Add Job History",\r\n        "editTitle": "Edit Job History",\r\n        "viewTitle": "View Job History Details",\r\n        "deleteTitle": "Delete Job History"\r\n    }\r\n}', '0', 0, 'all', 'admin', 'main', NULL),
(95, 10, 'Team', 'employeeslist', 'tbl_employee', '{ "keyColumn": "emp_main_id", "wildsearch": "true", "dataSource": "external", "dataSourceFunction": "Cmshelper::fetchEmployeeDetails", "dataSourceCountFunction": "Cmshelper::fetchEmployeeDetailsCount", "detailHeaderColumnPrefix": "Employees: ", "handleFile": "true", "detailHeaderColumns": [ "emp_code" ], "breadCrumbColumn": "emp_code", "orderBy": { "id": "DESC" }, "relations": { "Leave Requests": { "name": "Leave", "section": "lrequestemp", "child_table": "tbl_emp_leaves", "parent_join_column": "emp_main_id", "child_join_column": "emp_id" }, "Attendance": { "name": "Attendance", "section": "attendance", "child_table": "tbl_attendance", "parent_join_column": "emp_main_id", "child_join_column": "emp_id" } }, "listColumns": [ "profile_pic", "emp_code", "name", "dep_name", "desig_name" ], "showColumns": [ "id", "emp_code", "name", "dep_name", "desig_name" ], "detailColumns": [ "id", "emp_code", "name", "dep_name", "desig_name", "profile_pic" ], "columns": { "id": { "name": "ID" }, "profile_pic": { "name": "", "customColumn": "true", "customaction": "Cmshelper::getProfilePic" }, "name": { "searchable": "true", "sortable": "true", "name": "NAME" }, "emp_code": { "searchable": "true", "sortable": "true", "name": "EMP CODE" }, "dep_name": { "searchable": "true", "sortable": "true", "name": "DEPARTMENT" }, "desig_name": { "searchable": "true", "sortable": "true", "name": "DESIGNATION" } }, "opertations": [ "view" ] }', '1', 11, 'all', 'admin', 'main', NULL),
(94, 0, 'Check In', 'checkinout', 'tbl_attendance', '{"customAction":"true","controller":"cmshelper","method":"checkinout","module":"default"}\r\n', '0', 0, 'all', 'admin', 'main', NULL),
(99, 13, 'Attendance Management', 'attendancehradd', 'tbl_attendance', '{\r\n    "keyColumn": "id",\r\n    "wildsearch": "true",\r\n    "detailHeaderColumnPrefix": "Attendace: ",\r\n    "handleFile": "true",\r\n    "detailHeaderColumns": ["username"],\r\n    "breadCrumbColumn": "username",\r\n    "orderBy": {\r\n        "date": "DESC"\r\n    },\r\n    "includeJsFiles": ["attendance_add.js", "attendance_datepicker.js"],\r\n    "listColumns": ["date", "emp_name", "shift_type", "check_in_disp", "check_out_disp", "hours_worked", "process_violation", "comments"],\r\n    "showColumns": ["id", "date", "emp_id", "shift_type", "check_in", "check_out", "process_violation", "comments"],\r\n    "detailColumns": ["id", "date", "emp_id", "emp_name", "shift_type", "check_in", "check_out", "check_in_disp", "check_out_disp", "hours_worked", "process_violation", "comments"],\n     "where": "YEAR(date) >= YEAR(CURRENT_DATE - INTERVAL 12 MONTH)",\r\n    "columns": {\r\n        "id": {\r\n            "name": "ID",\r\n            "editoptions": {\r\n                "type": "hidden"\r\n            }\r\n        },\r\n        "date": {\r\n            "name": "Date (m-d-y)",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "dbFormat": "date",\r\n            "displayFormat": "m/d/Y",\r\n            "editoptions": {\r\n                "dbFormat": "date",\r\n                "displayFormat": "m/d/Y",\r\n                "type": "datepicker",\r\n                "onEdit": "disable",\r\n                "label": "Date",\r\n                "class": "",\r\n                "validations": ["required"]\r\n            }\r\n        },\r\n        "emp_id": {\r\n            "name": "Username",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "external": "true",\r\n            "externalOptions": {\r\n                "externalTable": "tbl_employee",\r\n                "externalColumn": "emp_main_id",\r\n                "externalShowColumn": "first_name"\r\n            },\r\n            "editoptions": {\r\n                "type": "select",\r\n                "onEdit": "disable",\r\n                "source": "Cmshelper::getUsernameCombo",\r\n                "default": "",\r\n                "source_type": "function",\r\n                "label": "User name",\r\n                "class": "select",\r\n                "validations": ["required"]\r\n            }\r\n        },\r\n        "shift_type": {\r\n            "name": "Shift",\r\n            "external": "true",\r\n            "externalOptions": {\r\n                "externalTable": "tbl_shifts",\r\n                "externalColumn": "id",\r\n                "externalShowColumn": "title"\r\n            },\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": "Cmshelper::getShiftsCombo",\r\n                "default": "",\r\n                "source_type": "function",\r\n                "label": "Shift",\r\n                "class": "select",\r\n                "validations": ["required"]\r\n            }\r\n        },\r\n        "check_in": {\r\n            "name": "Check In",\r\n            "dbFormat": "datetime",\r\n            "displayFormat": "m/d/Y h: ia",\r\n            "editoptions": {\r\n                "dbFormat": "date",\r\n                "displayFormat": "m/d/Y",\r\n                "type": "textbox",\r\n                "label": "Check In",\r\n                "hint": "Y-m-d h:m:s",\r\n                "class": "",\r\n                "validations": ["required"]\r\n            }\r\n        },\r\n        "check_out": {\r\n            "name": "Check Out",\r\n            "dbFormat": "datetime",\r\n            "displayFormat": "m/d/Y h: ia",\r\n            "editoptions": {\r\n                "dbFormat": "date",\r\n                "displayFormat": "m/d/Y",\r\n                "type": "textbox",\r\n                "label": "Check Out",\r\n                "hint": "Y-m-d h:m:s",\r\n                "class": ""\r\n            }\r\n        },\r\n        "emp_name": {\r\n            "name": "Employee Name",\r\n            "customColumn": "true",\r\n            "customaction": "Cmshelper::getAttndcEmployeename"\r\n        },\r\n        "check_in_disp": {\r\n            "name": "Check In",\r\n            "customColumn": "true",\r\n            "customaction": "Cmshelper::getAttndcCheckinTime"\r\n        },\r\n        "check_out_disp": {\r\n            "name": "Check Out",\r\n            "customColumn": "true",\r\n            "customaction": "Cmshelper::getAttndcCheckoutTime"\r\n        },\r\n        "check_in_old": {\r\n            "name": "CheckIn",\r\n            "dbFormat": "datetime",\r\n            "displayFormat": "h: ia",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": "Cmshelper::getTimeCombo",\r\n                "default": "",\r\n                "source_type": "function",\r\n                "label": "CheckIn",\r\n                "class": "select",\r\n                "validations": ["required"]\r\n            }\r\n        },\r\n        "check_out_old": {\r\n            "name": "CheckOut",\r\n            "dbFormat": "datetime",\r\n            "displayFormat": "h: ia",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": "Cmshelper::getTimeCombo",\r\n                "default": "",\r\n                "source_type": "function",\r\n                "label": "CheckOut",\r\n                "class": "select",\r\n                "validations": ["required"]\r\n            }\r\n        },\r\n        "hours_worked": {\r\n            "name": "Time",\r\n            "customColumn": "true",\r\n            "customaction": "Cmshelper::getAttndcTimeFromat"\r\n        },\r\n        "process_violation": {\r\n            "name": "Process Violation",\r\n            "editoptions": {\r\n                "type": "checkbox",\r\n                "label": "Process Violation?",\r\n                "class": "inline",\r\n                "default": "0",\r\n                "enumvalues": {\r\n                    "0": "No",\r\n                    "1": "Yes"\r\n                }\r\n            }\r\n        },\r\n        "comments": {\r\n            "name": "Comments",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Comments",\r\n                "class": "textbox",\r\n                "default": "-"\r\n            }\r\n        }\r\n    },\r\n    "customActions": {\r\n        "beforeAddRecord": "Cmshelper::checkAttndcCondtn",\r\n        "beforeEditRecord": "Cmshelper::checkPV"\r\n    },\r\n    "opertations": ["add", "view", "edit", "delete"],\r\n    "operationLabel": {\r\n        "addLabel": "Add",\r\n        "editTitle": "Edit",\r\n        "viewTitle": "View",\r\n        "deleteTitle": "Delete"\r\n    }\r\n}', '1', 0, 'all', 'admin', 'main', NULL),
(96, 13, 'Employees', 'empdetails', 'tbl_employee', '{\n	"keyColumn": "emp_main_id",\n	"wildsearch": "true",\n	"detailHeaderColumnPrefix": "Employees: ",\n	"handleFile": "true",\n	"detailHeaderColumns": ["emp_code"],\n	"breadCrumbColumn": "emp_code",\n	"orderBy": {\n		"id": "DESC"\n	},\n	"relations": {\n		"Leave Requests": {\n			"name": "Leave",\n			"section": "leavehradd",\n			"child_table": "tbl_emp_leaves",\n			"parent_join_column": "emp_main_id",\n			"child_join_column": "emp_id"\n		},\n		"Attendance": {\n			"name": "Attendance",\n			"section": "attendanceadd",\n			"child_table": "tbl_attendance",\n			"parent_join_column": "emp_main_id",\n			"child_join_column": "emp_id"\n		},\n		"Employee Qualifications": {\n			"name": "Qualification",\n			"section": "empqualifications",\n			"child_table": "tbl_emp_qualifications",\n			"parent_join_column": "emp_main_id",\n			"child_join_column": "emp_id"\n		},\n		"Employee Certification": {\n			"name": "Certification",\n			"section": "empcertifications",\n			"child_table": "tbl_emp_certifications",\n			"parent_join_column": "emp_main_id",\n			"child_join_column": "emp_id"\n		},\n		"Employee Job History": {\n			"name": "Job History",\n			"section": "empjobshistory",\n			"child_table": "tbl_emp_jobhistory",\n			"parent_join_column": "emp_main_id",\n			"child_join_column": "emp_id"\n		}\n	},\n	"listColumns": ["profile_pic", "emp_code", "first_name", "last_name", "department_id"],\n	"showColumns": ["id", "emp_main_id", "profile_pic", "emp_code", "first_name", "last_name", "department_id", "designation_id", "reporting_id", "shift_id", "joining_date"],\n	"detailColumns": ["id", "emp_code", "department_id", "designation_id", "reporting_id", "team_id", "first_name", "last_name", "gender", "dob", "religion", "blood_group", "marital_status", "family_details", "fathers_name", "paddress", "caddress", "phone", "mobile", "location", "official_mail", "yahoo_mail", "personal_mail", "technical_skills", "bank_name", "account_no", "pan_no", "pf_no", "initial_salary", "joining_date", "appriasal_date", "added_date", "relieving_date", "emergency_contact_name", "emergency_contact_phone", "active", "profile_pic"],\n	"columns": {\n		"id": {\n			"name": "ID",\n			"editoptions": {\n				"type": "hidden"\n			}\n		},\n		"emp_code": {\n			"name": "EMP CODE",\n			"searchable": "true",\n			"sortable": "true"\n		},\n		"department_id": {\n			"name": "DEPARTMENT",\n			"searchable": "true",\n			"sortable": "true",\n			"external": "true",\n			"externalOptions": {\n				"externalTable": "tbl_departments",\n				"externalColumn": "id",\n				"externalShowColumn": "dep_name"\n			}\n		},\n		"designation_id": {\n			"name": "DESIGNATION",\n			"searchable": "true",\n			"sortable": "true",\n			"external": "true",\n			"externalOptions": {\n				"externalTable": "tbl_designations",\n				"externalColumn": "id",\n				"externalShowColumn": "desig_name"\n			}\n		},\n		"reporting_id": {\n			"name": "REPORTING PERSON",\n			"searchable": "true",\n			"sortable": "true",\n			"external": "true",\n			"externalOptions": {\n				"externalTable": "tbl_employee",\n				"externalColumn": "emp_main_id",\n				"externalShowColumn": "first_name"\n			}\n		},\n		"team_id": {\n			"name": "TEAM",\n			"searchable": "true",\n			"sortable": "true",\n			"external": "true",\n			"externalOptions": {\n				"externalTable": "tbl_teams",\n				"externalColumn": "id",\n				"externalShowColumn": "title"\n			}\n		},\n		"first_name": {\n			"name": "FIRST NAME",\n			"searchable": "true",\n			"sortable": "true"\n		},\n		"last_name": {\n			"name": "LAST NAME",\n			"searchable": "true",\n			"sortable": "true"\n		},\n		"gender": {\n			"name": "Gender"\n		},\n		"dob": {\n			"name": "DOB",\n			"dbFormat": "date",\n			"displayFormat": "Y/m/d"\n		},\n		"religion": {\n			"name": "RELIGION"\n		},\n		"blood_group": {\n			"name": "Status"\n		},\n		"marital_status": {\n			"name": "Marital Status",\n			"sortable": "true"\n		},\n		"family_details": {\n			"name": "FAMILY DETAILS"\n		},\n		"fathers_name": {\n			"name": "FATHER''S NAME"\n		},\n		"paddress": {\n			"name": "PERMANENT ADDRESS"\n		},\n		"caddress": {\n			"name": "CONTACT ADDRESS"\n		},\n		"phone": {\n			"name": "PHONE"\n		},\n		"mobile": {\n			"name": "MOBILE"\n		},\n		"location": {\n			"name": "LOCATION"\n		},\n		"official_mail": {\n			"name": "OFFICIAL EMAIL"\n		},\n		"yahoo_mail": {\n			"name": "YAHOO EMAIL"\n		},\n		"personal_mail": {\n			"name": "PERSONAL EMAIL"\n		},\n		"technical_skills": {\n			"name": "TECHNICAL SKILLS"\n		},\n		"joining_date": {\n			"name": "JOINEDDATE",\n			"dbFormat": "date",\n			"displayFormat": "Y/m/d"\n		},\n		"bank_name": {\n			"name": "BANK NAME"\n		},\n		"account_no": {\n			"name": "ACCOUNT NO"\n		},\n		"pan_no": {\n			"name": "PAN NO"\n		},\n		"pf_no": {\n			"name": "PF NO"\n		},\n		"initial_salary": {\n			"name": "INITIAL SALARY"\n		},\n		"appriasal_date": {\n			"name": "LAST APPRIASAL DATE",\n			"dbFormat": "date",\n			"displayFormat": "Y/m/d"\n		},\n		"added_date": {\n			"name": "ADDEDDATE",\n			"dbFormat": "date",\n			"displayFormat": "Y-m-d"\n		},\n		"relieving_date": {\n			"name": "RELIEVING DATE",\n			"dbFormat": "date",\n			"displayFormat": "Y/m/d"\n		},\n		"active": {\n			"name": "Active"\n		},\n		"profile_pic": {\n			"name": "PHOTO",\n			"customColumn": "true",\n			"customaction": "Cmshelper::getProfilePic",\n			"editoptions": {\n				"type": "file",\n				"label": "PHOTO",\n				"class": "file",\n				"hint": "Upload file for this section"\n			}\n		},\n		"emergency_contact_name": {\n			"name": "Emergency Contact Name"\n		},\n		"emergency_contact_phone": {\n			"name": "Emergency Contact Phone"\n		}\n	},\n	"opertations": ["view"],\n	"operationLabel": {\n		"viewTitle": "ViewEmployeeDetails"\n	}\n}', '1', 0, 'all', 'admin', 'main', NULL);


INSERT INTO `cms_sections` (`id`, `group_id`, `section_name`, `section_alias`, `table_name`, `section_config`, `visibilty`, `display_order`, `user_privilege`, `module`, `db_type`, `smb_id`) VALUES
(132, 17, 'Project Report', 'report_project_resource', 'tbl_projects', '{\n    "keyColumn": "project_id",\n    "reportPanel": "true",\n    "reportTitle": "Project Report ",\n    "defaultDateRange": "weekly",\n    "dateRange": [\n        "weekly",\n        "monthly",\n        "custom"\n    ],\n    "dateField": "worked_on",\n    "dataSource": {\n        "queryFunction": "Cmshelper::getProjectResourceAnalatics"\n    },\n    "export": "true",\n    "listColumns": [\n        "project_name",\n        "project_category",\n        "total_allocated_hours",\n        "total_worked_hours",\n        "details",\n        "details_task"\n    ],\n    "exportColumns": [\n        "project_name",\n        "project_category",\n        "project_start_date",\n        "total_allocated_hours",\n        "total_worked_hours"\n    ],\n    "detailColumns": [\n        "project_name",\n        "project_category",\n        "total_allocated_hours",\n        "total_worked_hours",\n        "details",\n        "details_task"\n    ],\n    "columns": {\n        "project_name": {\n            "name": "Project",\n            "type": "text",\n            "defaultText": "Admin",\n            "sortable": "true",\n            "searchable": "searchable"\n        },\n        "project_category": {\n            "name": "Category",\n            "defaultText": "0",\n            "type": "text",\n            "sortable": "true",\n            "searchable": "searchable"\n        },\n        "total_allocated_hours": {\n            "name": "Total Allocated Hours",\n            "defaultText": "0",\n            "type": "text"\n        },\n        "total_worked_hours": {\n            "name": "Total Worked Hours",\n            "defaultText": "0",\n            "type": "text"\n        },\n        "details": {\n            "name": "Resource Details",\n            "customColumn": "true",\n            "customaction": "Cmshelper::getDetailsText",\n            "popupoptions": {\n                "type": "popup",\n                "customaction": "Cmshelper::getProjectDetailsURL"\n            }\n        },\n        "details_task": {\n            "name": "Task Details",\n            "customColumn": "true",\n            "customaction": "Cmshelper::getDetailsText",\n            "popupoptions": {\n                "type": "popup",\n                "customaction": "Cmshelper::getProjectTaskDetailsURL"\n            }\n        }\n    }\n}', '1', 10, 'all', 'admin', 'main', NULL),
(133, 16, 'User Allotment', 'report_user_allotment', 'tbl_project_task_logs', '{\r\n    "reportPanel": "true",\r\n    "reportTitle": "Staff Report ",\r\n    "singleDateFilter": "true",\r\n    "dataSource": {\r\n        "queryFunction": "Cmshelper::getStaffAllotmentQuery"\r\n    },\r\n    "export": "true",\r\n    "keyColumn": "user_id",\r\n    "listColumns": [\r\n        "staff_name",\r\n        "allocated_hours",\r\n        "unallocated_hours",\r\n        "details"\r\n    ],\r\n    "exportColumns": [\r\n        "staff_name",\r\n        "allocated_hours",\r\n        "unallocated_hours",\r\n        "details"\r\n    ],\r\n    "detailColumns": [\r\n        "staff_name",\r\n        "allocated_hours",\r\n        "unallocated_hours",\r\n        "details"\r\n    ],\r\n    "columns": {\r\n        "staff_name": {\r\n            "name": "Name",\r\n            "type": "text",\r\n            "defaultText": "Admin",\r\n            "sortable": "true",\r\n            "searchable": "searchable"\r\n        },\r\n        "allocated_hours": {\r\n            "name": "Allocated Hours",\r\n            "defaultText": "0",\r\n            "type": "text"\r\n        },\r\n        "unallocated_hours": {\r\n            "name": "Unallocated Hours",\r\n            "defaultText": "0",\r\n            "type": "text"\r\n        },\r\n        "details": {\r\n            "name": "Allotment Details",\r\n            "customColumn": "true",\r\n            "customaction": "Cmshelper::getDetailsTask"\r\n        }\r\n    }\r\n}', '1', 9, 'all', 'admin', 'main', NULL),
(119, 16, 'bugs', 'project_bug', 'tbl_project_bugs', '{\r\n    "keyColumn": "bug_id",\r\n    "wildsearch": "true",\r\n    "detailHeaderColumnPrefix": "Team: ",\r\n    "handleFile": "true",\r\n    "detailHeaderColumns": [\r\n        "module_id"\r\n    ],\r\n    "breadCrumbColumn": "module_id",\r\n    "orderBy": {\r\n        "bug_id": "DESC"\r\n    },\r\n    "listColumns": [\r\n        "module_id",\r\n        "reporting_person",\r\n        "bug_title",\r\n        "bug_description",\r\n        "issue_type",\r\n        "bug_type",\r\n        "priority",\r\n        "severity",\r\n        "reproduce_methods"\r\n    ],\r\n    "showColumns": [\r\n        "bug_id",\r\n        "module_id",\r\n        "reporting_person",\r\n        "issue_type",\r\n        "bug_type",\r\n        "priority",\r\n        "severity",\r\n        "bug_title",\r\n        "bug_description",\r\n        "reproduce_methods",\r\n        "bug_comments"\r\n    ],\r\n    "detailColumns": [\r\n        "bug_id",\r\n        "module_id",\r\n        "reporting_person",\r\n        "issue_type",\r\n        "bug_type",\r\n        "priority",\r\n        "severity",\r\n        "bug_title",\r\n        "bug_description",\r\n        "reproduce_methods",\r\n        "bug_comments"\r\n    ],\r\n    "columns": {\r\n        "bug_id": {\r\n            "name": "ID",\r\n            "editoptions": {\r\n                "type": "hidden"\r\n            }\r\n        },\r\n        "module_id": {\r\n            "name": "module",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "external": "true",\r\n            "externalOptions": {\r\n                "externalTable": "tbl_project_module",\r\n                "externalColumn": "module_id",\r\n                "externalShowColumn": "module_title"\r\n            }\r\n        },\r\n        "reporting_person": {\r\n            "name": "Owner",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "external": "true",\r\n            "externalOptions": {\r\n                "externalTable": "tbl_employee",\r\n                "externalColumn": "emp_main_id",\r\n                "externalShowColumn": "first_name"\r\n            },\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": "Cmshelper::getProjectTeamUsernameCombo",\r\n                "default": "",\r\n                "source_type": "function",\r\n                "label": "user",\r\n                "class": "select",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "issue_type": {\r\n            "name": "Issue Type",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": {\r\n                    "bug": "Bug",\r\n                    "enhancement": "Enhancement",\r\n                    "invalid": "Invalid",\r\n                    "new feature": "New Feature"\r\n                },\r\n                "source_type": "array",\r\n                "label": "Issue Type",\r\n                "class": "select",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "priority": {\r\n            "name": "Bug Priority",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": {\r\n                    "urgent": "Urgent",\r\n                    "high": "High",\r\n                    "low": "Low"\r\n                },\r\n                "source_type": "array",\r\n                "label": "Bug Priority",\r\n                "class": "select",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "bug_type": {\r\n            "name": "Bug Type",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": {\r\n                    "design": "Design",\r\n                    "functionality": "Functionality"\r\n                },\r\n                "source_type": "array",\r\n                "label": "Bug Type",\r\n                "class": "select",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "severity": {\r\n            "name": "Bug Severity",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": {\r\n                    "Critical": "Critical",\r\n                    "Major": "Major",\r\n                    "Minor": "Minor"\r\n                },\r\n                "source_type": "array",\r\n                "label": "Bug Severity",\r\n                "class": "select",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "bug_title": {\r\n            "name": "Title",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Bug Title",\r\n                "class": "textbox",\r\n                "hint": "module Title",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "bug_description": {\r\n            "name": "Description",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "textarea",\r\n                "label": "Description",\r\n                "class": "",\r\n                "hint": "bug description",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "reproduce_methods": {\r\n            "name": "Reproduce Methods",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "textarea",\r\n                "label": "Reproduce Methods",\r\n                "class": "",\r\n                "hint": "bug reproduce methods",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "bug_comments": {\r\n            "name": "Comments",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "textarea",\r\n                "label": "Comments",\r\n                "class": "",\r\n                "hint": "bug comment"\r\n            }\r\n        }\r\n    },\r\n    "reference": {\r\n        "referenceTable": "tbl_project_module",\r\n        "referenceColumn": "module_id",\r\n        "referenceTableForiegnKey": "module_id"\r\n    },\r\n    "customActions": {\r\n        "afterAddRecord": "Cmshelper::increaseBugCount",\r\n        "beforeDeleteRecord": "Cmshelper::decreaseBugCount"\r\n    },\r\n    "opertations": [\r\n        "add",\r\n        "view",\r\n        "edit",\r\n        "delete"\r\n    ],\r\n    "operationLabel": {\r\n        "addLabel": "Add Bug",\r\n        "editTitle": "Edit Bug",\r\n        "viewTitle": "View Bug Details",\r\n        "deleteTitle": "Delete Bug"\r\n    }\r\n}', '0', 5, 'all', 'admin', 'main', NULL),
(120, 16, 'task logs', 'project_task_logs', 'tbl_project_task_logs', '{\r\n    "keyColumn": "log_id",\r\n    "wildsearch": "true",\r\n    "detailHeaderColumnPrefix": "Team: ",\r\n    "handleFile": "true",\r\n    "breadCrumbColumn": "log_comments",\r\n    "orderBy": {\r\n        "log_id": "DESC"\r\n    },\r\n    "listColumns": [\r\n        "worked_hours",\r\n        "worked_on",\r\n        "log_comments"\r\n    ],\r\n    "showColumns": [\r\n        "log_id",\r\n        "task_id",\r\n        "worked_hours",\r\n        "worked_on",\r\n        "log_comments"\r\n    ],\r\n    "detailColumns": [\r\n        "log_id",\r\n        "task_id",\r\n        "worked_hours",\r\n        "worked_on",\r\n        "log_comments"\r\n    ],\r\n    "columns": {\r\n        "log_id": {\r\n            "name": "ID",\r\n            "editoptions": {\r\n                "type": "hidden"\r\n            }\r\n        },\r\n        "task_id": {\r\n            "name": "Percentage Completed",\r\n            "sortable": "true",\r\n            "external": "true",\r\n            "externalOptions": {\r\n                "externalTable": "tbl_project_tasks",\r\n                "externalColumn": "task_id",\r\n                "externalShowColumn": "task_completion_percentage"\r\n            },\r\n            "editoptions": {\r\n                "type": "select",\r\n                "source": "Cmshelper::getCompletionPercentage",\r\n                "source_type": "function",\r\n                "label": "Percentage completed",\r\n                "class": "select",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "worked_hours": {\r\n            "name": "Worked Hours",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Worked hours",\r\n                "class": "textbox",\r\n                "hint": "Worked hours",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "worked_on": {\r\n            "name": "Log Date",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "dbFormat": "date",\r\n            "displayFormat": "m/d/Y",\r\n            "editoptions": {\r\n                "dbFormat": "date",\r\n                "displayFormat": "m/d/Y",\r\n                "type": "datepicker",\r\n                "label": "worked date",\r\n                "class": "",\r\n                "hint": "",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "log_comments": {\r\n            "name": "Log comment",\r\n            "editoptions": {\r\n                "type": "textarea",\r\n                "label": "Log comment",\r\n                "class": "textbox",\r\n                "hint": "Log comment",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        }\r\n    },\r\n    "reference": {\r\n        "referenceTable": "tbl_project_tasks",\r\n        "referenceColumn": "task_id",\r\n        "referenceTableForiegnKey": "task_id"\r\n    },\r\n    "customActions": {\r\n        "beforeAddRecord": "Cmshelper::validateEngine",\r\n        "afterAddRecord": "Cmshelper::increaseLogCount",\r\n        "beforeDeleteRecord": "Cmshelper::decreaseLogCount",\r\n        "beforeEditRecord": "Cmshelper::updateLogCount",\r\n        "afterEditRecord": "Cmshelper::updateTaskPercent"\r\n    },\r\n    "opertations": [\r\n        "add",\r\n        "view",\r\n        "delete"\r\n    ],\r\n    "operationLabel": {\r\n        "addLabel": "Add Log",\r\n        "viewTitle": "View Log Details",\r\n        "deleteTitle": "Delete Log"\r\n    }\r\n}', '0', 6, 'all', 'admin', 'main', NULL),
(121, 16, 'timesheets', 'project_timesheets', 'tbl_project_timesheets', '{\n    "keyColumn": "timesheet_id",\n    "wildsearch": "true",\n    "detailHeaderColumnPrefix": "Team: ",\n    "handleFile": "true",\n    "detailHeaderColumns": [\n        "project_id"\n    ],\n    "breadCrumbColumn": "project_id",\n    "orderBy": {\n        "timesheet_id": "DESC"\n    },\n    "listColumns": [\n        "project_id",\n        "estimation_file_id",\n        "timesheet_estimated_time",\n        "timesheet_description",\n        "timesheet_type",\n        "timesheet_status",\n        "added_on",\n        "added_by"\n    ],\n    "showColumns": [\n        "project_id",\n        "estimation_file_id",\n        "timesheet_estimated_time",\n        "timesheet_description",\n        "timesheet_type",\n        "timesheet_status",\n        "added_on",\n        "added_by"\n    ],\n    "detailColumns": [\n        "timesheet_id",\n        "project_id",\n        "estimation_file_id",\n        "timesheet_estimated_time",\n        "timesheet_description",\n        "timesheet_type",\n        "timesheet_status",\n        "added_on",\n        "added_by"\n    ],\n    "columns": {\n        "timesheet_id": {\n            "name": "ID",\n            "editoptions": {\n                "type": "hidden"\n            }\n        },\n        "project_id": {\n            "name": "Project",\n            "searchable": "true",\n            "sortable": "true",\n            "external": "true",\n            "externalOptions": {\n                "externalTable": "tbl_projects",\n                "externalColumn": "project_id",\n                "externalShowColumn": "project_title"\n            }\n        },\n        "estimation_file_id": {\n            "name": "uploaded timesheet",\n            "external": "true",\n            "externalOptions": {\n                "externalTable": "tbl_files",\n                "externalColumn": "file_id",\n                "externalShowColumn": "file_id"\n            },\n            "editoptions": {\n                "type": "file",\n                "label": "Upload timesheet",\n                "class": "file"\n            }\n        },\n        "timesheet_estimated_time": {\n            "name": "Estimated Hours",\n            "searchable": "true",\n            "sortable": "true",\n            "editoptions": {\n                "type": "textbox",\n                "label": "Estimated Hours",\n                "class": "textbox",\n                "hint": "Estimated Hours",\n                "validations": [\n                    "required"\n                ]\n            }\n        },\n        "timesheet_description": {\n            "name": "Description",\n            "editoptions": {\n                "type": "textarea",\n                "label": "Timesheet Description",\n                "class": "textbox",\n                "validations": [\n                    "required"\n                ]\n            }\n        },\n        "added_on": {\n            "name": "Added on [m/d/Y]",\n            "sortable": "true",\n            "dbFormat": "date",\n            "displayFormat": "m/d/Y"\n        },\n        "added_by": {\n            "name": "Added by",\n            "external": "true",\n            "externalOptions": {\n                "externalTable": "tbl_employee",\n                "externalColumn": "emp_main_id",\n                "externalShowColumn": "first_name"\n            },\n            "editoptions": {\n            }\n        },\n        "timesheet_type": {\n            "name": "Type",\n            "searchable": "true",\n            "editoptions": {\n                "type": "select",\n                "source": {\n                    "main estimate": "Main estimate",\n                    "additional estimate": "Additional estimate",\n                    "estimation error": "Estimation error",\n                    "client feedback": "Client feedback",\n                    "plan variation": "Plan variation",\n                    "others": "Others"\n                },\n                "default": "",\n                "source_type": "array",\n                "label": "Timesheet Type",\n                "class": "select",\n                "validations": [\n                    "required"\n                ]\n            }\n        },\n        "timesheet_status": {\n            "name": "Status",\n            "sortable": "true",\n            "popupoptions": {\n                "type": "popup",\n                "customaction": "Cmshelper::getTimesheetstatusPopupUrl"\n            }\n        }\n    },\n    "reference": {\n        "referenceTable": "tbl_projects",\n        "referenceColumn": "project_id",\n        "referenceTableForiegnKey": "project_id"\n    },\n    "customActions": {\n        "beforeAddRecord": "Cmshelper::validateEngine",\n        "afterAddRecord": "Cmshelper::increaseTimesheetCount",\n        "beforeEditRecord": "Cmshelper::updateTimesheetCount",\n        "beforeDeleteRecord": "Cmshelper::decreaseTimesheetCount"\n    },\n    "opertations": [\n        "add",\n        "view",\n        "delete"\n    ],\n    "operationLabel": {\n        "addLabel": "Add Timesheet",\n        "viewTitle": "View Timesheet Details",\n        "deleteTitle": "Delete Timesheet"\n    }\n}', '0', 7, 'all', 'admin', 'main', NULL),
(122, 16, 'My Tasks', 'my_tasks', 'tbl_project_tasks', '{\n  "customAction": "true",\n  "controller": "Cmshelper",\n  "method": "mytaskpage",\n  "module": "default"\n}', '1', 2, 'all', 'admin', 'main', NULL),
(123, 16, 'Bug Tracker', 'bug_tracker', 'tbl_project_bugs', '{\r\n  "customAction": "true",\r\n  "controller": "Cmshelper",\r\n  "method": "bug_tracker",\r\n  "module": "default"\r\n}', '1', 3, 'all', 'admin', 'main', NULL),
(124, 16, 'documents', 'project_documents', 'tbl_project_document', '{\r\n    "keyColumn": "id",\r\n    "wildsearch": "true",\r\n    "detailHeaderColumnPrefix": "Documents: ",\r\n    "handleFile": "true",\r\n    "detailHeaderColumns": [\r\n        "project_id"\r\n    ],\r\n    "breadCrumbColumn": "project_id",\r\n    "orderBy": {\r\n        "id": "DESC"\r\n    },\r\n    "listColumns": [\r\n        "id",\r\n        "project_document_name",\r\n        "project_id",\r\n        "file_id"\r\n    ],\r\n    "showColumns": [\r\n        "id",\r\n        "project_document_name",\r\n        "project_id",\r\n        "file_id"\r\n    ],\r\n    "detailColumns": [\r\n        "id",\r\n        "project_document_name",\r\n        "project_id",\r\n        "file_id"\r\n    ],\r\n    "columns": {\r\n        "id": {\r\n            "name": "ID",\r\n            "editoptions": {\r\n                "type": "hidden"\r\n            }\r\n        },\r\n        "project_document_name": {\r\n            "name": "Document",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "editoptions": {\r\n                "type": "textbox",\r\n                "label": "Name",\r\n                "class": "textbox",\r\n                "hint": "Name of the document",\r\n                "validations": [\r\n                    "required"\r\n                ]\r\n            }\r\n        },\r\n        "file_id": {\r\n            "name": "uploaded document",\r\n            "external": "true",\r\n            "externalOptions": {\r\n                "externalTable": "tbl_files",\r\n                "externalColumn": "file_id",\r\n                "externalShowColumn": "file_id"\r\n            },\r\n            "editoptions": {\r\n                "type": "file",\r\n                "label": "Upload document",\r\n                "class": "file",\r\n                "width": 100,\r\n                "height": 100\r\n            }\r\n        },\r\n        "project_id": {\r\n            "name": "Project",\r\n            "searchable": "true",\r\n            "sortable": "true",\r\n            "external": "true",\r\n            "externalOptions": {\r\n                "externalTable": "tbl_projects",\r\n                "externalColumn": "project_id",\r\n                "externalShowColumn": "project_title"\r\n            }\r\n        }\r\n    },\r\n    "reference": {\r\n        "referenceTable": "tbl_projects",\r\n        "referenceColumn": "project_id",\r\n        "referenceTableForiegnKey": "project_id"\r\n    },\r\n    "customActions": {\r\n        "afterAddRecord": "Cmshelper::updateProjectId"\r\n    },\r\n    "opertations": [\r\n        "add",\r\n        "view",\r\n        "delete"\r\n    ],\r\n    "operationLabel": {\r\n        "addLabel": "Add Document",\r\n        "viewTitle": "View Document Details",\r\n        "deleteTitle": "Delete Document"\r\n    }\r\n}', '0', 0, 'all', 'admin', 'main', NULL),
(127, 13, 'Check In/Out Reports', 'checkinreports', 'attendance', '{ "customAction": "true", "controller": "cmshelper", "method": "checkinreports", "module": "default" }', '1', 0, 'all', 'admin', 'main', NULL),
(125, 0, 'Business Dashboard', 'dashboard_tester', 'tbl_lookup', '{\r\n    "includeJsFiles": [\r\n        "dashboard.js"\r\n    ],\r\n    "dashboardPanel": "true",\r\n    "listingPanel": "true",\r\n    "listinPanelRow": "4",\r\n    "listingPanel1": {\r\n        "columns": "2",\r\n        "column1": {\r\n            "title": "Check In / Check Out",\r\n            "fetchValue": "Cmshelper::checkInOut",\r\n            "listcolumns": {\r\n                "title": {},\r\n                "value": {}\r\n            }\r\n        },\r\n        "column2": {\r\n            "title": "Employee Info",\r\n            "fetchValue": "Cmshelper::employeeInfo",\r\n            "listcolumns": {\r\n                "title": {},\r\n                "value": {}\r\n            }\r\n        }\r\n    },\r\n    "listingPanel2": {\r\n        "columns": "1",\r\n        "column1": {\r\n            "title": "Basic Info",\r\n            "fetchValue": "Cmshelper::fetchDashboardDisplayCounts",\r\n            "listcolumns": {\r\n                "title": {},\r\n                "value": {}\r\n            }\r\n        }\r\n    },\r\n    "listingPanel3": {\r\n        "columns": "1",\r\n        "column1": {\r\n            "title": "My Tasks To Do",\r\n            "fetchValue": "Cmshelper::getMyImportantTasks",\r\n            "listcolumns": {\r\n                "title": {\r\n                    "name" : "Task To Do"\r\n                }\r\n            }\r\n        }\r\n    },\r\n    "listingPanel4": {\r\n        "columns": "1",\r\n        "column1": {\r\n            "title": "My Bugs To Do",\r\n            "fetchValue": "Cmshelper::getMyImportantBugs",\r\n            "listcolumns": {\r\n                "title": {\r\n                    "name" : "Bugs To Do"\r\n                }\r\n            }\r\n        }\r\n    },\r\n    "listingPanel5": {\r\n        "columns": "1",\r\n        "column1": {\r\n            "title": "Upcoming Milestone",\r\n            "fetchValue": "Cmshelper::getMyImportantMilestones",\r\n            "listcolumns": {\r\n                "title": {\r\n                    "name" : "Milestones To Do"\r\n                }\r\n            }\r\n        }\r\n    },\r\n    "listingPanel6": {\r\n        "columns": "2",\r\n        "column1": {\r\n            "title": "Recent News",\r\n            "titlelink": "View All",\r\n            "titlelinkSection": "Cmshelper::getNewsUrl",\r\n            "fetchValue": "Cmshelper::fetchRecentNews",\r\n            "listcolumns": {\r\n                "title": {\r\n                    "name": "News Title"\r\n                },\r\n                "description": {\r\n                    "name": "Description"\r\n                },\r\n                "date": {\r\n                    "name": "Added Date"\r\n                }\r\n            }\r\n        },\r\n        "column2": {\r\n            "title": "Leave Summary",\r\n            "fetchValue": "Cmshelper::fetchHolidaySummary",\r\n            "listcolumns": {\r\n                "leave_type": {\r\n                    "name": "Leave"\r\n                },\r\n                "taken": {\r\n                    "name": "Taken"\r\n                },\r\n                "bal": {\r\n                    "name": "Left"\r\n                }\r\n            }\r\n        }\r\n    },\r\n    "listingPanel7": {\r\n        "columns": "2",\r\n        "column1": {\r\n            "title": "Upcoming Holidays",\r\n            "titlelink": "View All",\r\n            "titlelinkSection": "Cmshelper::getHolidaysUrl",\r\n            "fetchValue": "Cmshelper::fetchRecentHolidays",\r\n            "listcolumns": {\r\n                "title": {\r\n                    "name": "Title"\r\n                },\r\n                "date": {\r\n                    "name": "Date"\r\n                }\r\n            }\r\n        },\r\n        "column2": {\r\n            "title": "BirthDays",\r\n            "fetchValue": "Cmshelper::fetchBirthdays",\r\n            "listcolumns": {\r\n                "detail": {}\r\n            }\r\n        }\r\n    },\r\n    "listingPanel8": {\r\n        "columns": "1",\r\n        "column1": {\r\n            "title": "Team Leave",\r\n            "titlelink": "View All",\r\n            "titlelinkSection": "Cmshelper::getLeavesTeamUrl",\r\n            "fetchValue": "Cmshelper::fetchRecentTeamLeaves",\r\n            "listcolumns": {\r\n                "username": {\r\n                    "name": "Name"\r\n                },\r\n                "leave_type": {\r\n                    "name": "Leave Type"\r\n                },\r\n                "from_date": {\r\n                    "name": "Date"\r\n                }\r\n            }\r\n        }\r\n    }\r\n}', '0', 0, 'all', 'admin', 'main', NULL),
(126, 13, 'Leave Reports', 'leavereports', 'attendance', '{ "customAction": "true", "controller": "cmshelper", "method": "leavereports", "module": "default" }', '0', 0, 'all', 'admin', 'main', NULL),
(129, 14, 'Dashboard Testing', 'dt', 'lookup ', '{\r\n   "includeJsFiles": [\r\n       "dashboard.js"\r\n   ],\r\n   "dashboardPanel": "true",\r\n   "listingPanel": "true",\r\n   "listinPanelRow": "4",\r\n   "listingPanel1": {\r\n       "columns": "2",\r\n       "column1": {\r\n           "title": "Check In / Check Out",\r\n           "fetchValue": "Cmshelper::checkInOutForTest",\r\n           "listcolumns": {\r\n               "title": {},\r\n               "value": {}\r\n           }\r\n       },\r\n       "column2": {\r\n           "title": "Employee Info",\r\n           "fetchValue": "Cmshelper::employeeInfo",\r\n           "listcolumns": {\r\n               "title": {},\r\n               "value": {}\r\n           }\r\n       }\r\n   },\r\n   "listingPanel2": {\r\n       "columns": "2",\r\n       "column1": {\r\n           "title": "Recent News",\r\n           "titlelink": "View All",\r\n           "titlelinkSection": "Cmshelper::getNewsUrl",\r\n           "fetchValue": "Cmshelper::fetchRecentNews",\r\n           "listcolumns": {\r\n               "title": {\r\n                   "name": "News Title"\r\n               },\r\n               "description": {\r\n                   "name": "Description"\r\n               },\r\n               "date": {\r\n                   "name": "Added Date"\r\n               }\r\n           }\r\n       },\r\n       "column2": {\r\n           "title": "Leave Summary",\r\n           "fetchValue": "Cmshelper::fetchHolidaySummary",\r\n           "listcolumns": {\r\n               "leave_type": {\r\n                   "name": "Leave"\r\n               },\r\n               "taken": {\r\n                   "name": "Taken"\r\n               },\r\n               "bal": {\r\n                   "name": "Left"\r\n               }\r\n           }\r\n       }\r\n   },\r\n   "listingPanel3": {\r\n       "columns": "2",\r\n       "column1": {\r\n           "title": "Upcoming Holidays",\r\n           "titlelink": "View All",\r\n           "titlelinkSection": "Cmshelper::getHolidaysUrl",\r\n           "fetchValue": "Cmshelper::fetchRecentHolidays",\r\n           "listcolumns": {\r\n               "title": {\r\n                   "name": "Title"\r\n               },\r\n               "date": {\r\n                   "name": "Date"\r\n               }\r\n           }\r\n       },\r\n       "column2": {\r\n           "title": "BirthDays",\r\n           "fetchValue": "Cmshelper::fetchBirthdays",\r\n           "listcolumns": {\r\n               "detail": {}\r\n           }\r\n       }\r\n   },\r\n   "listingPanel4": {\r\n       "columns": "1",\r\n       "column1": {\r\n           "title": "Team Leave",\r\n           "titlelink": "View All",\r\n           "titlelinkSection": "Cmshelper::getLeavesTeamUrl",\r\n           "fetchValue": "Cmshelper::fetchRecentTeamLeaves",\r\n           "listcolumns": {\r\n               "username": {\r\n                   "name": "Name"\r\n               },\r\n               "leave_type": {\r\n                   "name": "Leave Type"\r\n               },\r\n               "from_date": {\r\n                   "name": "Date"\r\n               }\r\n           }\r\n       }\r\n   }\r\n}', '0', 0, 'all', 'admin', 'main', NULL),
(134, 17, 'Task Log Report', 'report_task_log', 'tbl_project_tasks', '{\r\n  "reportPanel": "true",\r\n  "reportTitle": "Log Report ",\r\n  "defaultDateRange": "weekly",\r\n  "dateRange": [\r\n    "weekly",\r\n    "monthly",\r\n    "custom"\r\n  ],\r\n  "dateField": "created_on",\r\n  "dataSource": {\r\n    "queryFunction": "Cmshelper::getTaskLogQuery"\r\n  },\r\n  "export": "true",\r\n  "keyColumn": "user_id",\r\n  "listColumns": [\r\n    "log_comments",\r\n    "worked_hours",\r\n    "task_title",\r\n    "project_name",\r\n    "staff_name",\r\n    "worked_on"\r\n  ],\r\n  "exportColumns": [\r\n    "log_comments",\r\n    "worked_hours",\r\n    "task_title",\r\n    "project_name",\r\n    "staff_name",\r\n    "worked_on"\r\n  ],\r\n  "detailColumns": [\r\n    "log_comments",\r\n    "worked_hours",\r\n    "task_title",\r\n    "project_name",\r\n    "staff_name",\r\n    "worked_on"\r\n  ],\r\n  "columns": {\r\n    "log_comments": {\r\n      "name": "Task Log",\r\n      "defaultText": "0",\r\n      "type": "text"\r\n    },\r\n    "worked_hours": {\r\n      "name": "Worked Hours",\r\n      "defaultText": "0",\r\n      "type": "text"\r\n    },\r\n    "staff_name": {\r\n      "name": "Name",\r\n      "type": "text",\r\n      "sortable": "true",\r\n      "searchable": "searchable"\r\n    },\r\n    "task_title": {\r\n      "name": "Task",\r\n      "defaultText": "0",\r\n      "type": "text",\r\n      "sortable": "true",\r\n      "searchable": "searchable"\r\n    },\r\n    "project_name": {\r\n      "name": "Project",\r\n      "defaultText": "0",\r\n      "type": "text",\r\n      "sortable": "true",\r\n      "searchable": "searchable"\r\n    },\r\n    "worked_on": {\r\n      "name": "Worked On",\r\n      "defaultText": "0",\r\n      "type": "text",\r\n      "sortable": "true"\r\n    }\r\n  }\r\n}\r\n', '1', 4, 'all', 'admin', 'main', NULL),
(135, 1, 'Developer', 'my_dashboard', 'tbl_project_tasks', '\r\n	{\r\n	 "customAction": "true",\r\n	 "controller": "Cmshelper",\r\n	 "method": "mynewdashboard",\r\n	 "module": "default"\r\n	}', '1', 1, 'all', 'admin', 'main', NULL),
(136, 10, 'Daily Attendance', 'dailyattendancereports', 'attendance', '{"customAction": "true", "controller": "cmshelper", "method": "dailyattendancereports","module": "default"}', '0', 7, 'all', 'admin', 'main', NULL),
(137, 13, 'Leave Management', 'leavesummary', 'attendance', '{ "customAction": "true", "controller": "cmshelper", "method": "leavesummary", "module": "default" }', '1', 6, 'all', 'admin', 'main', NULL),
(138, 13, 'Add Leaves', 'addleaves', 'leaves_summary', '{ "customAction": "true", "controller": "cmshelper", "method": "addleaves", "module": "default" }', '0', 0, 'all', 'admin', 'main', NULL),
(139, 13, 'Deduct Leaves', 'deductleaves', 'leaves_summary', '{ "customAction": "true", "controller": "cmshelper", "method": "deductleaves", "module": "default" }', '0', 0, 'all', 'admin', 'main', NULL),
(140, 18, 'Armia Business Report', 'business_report_armia', 'tbl_project_task_logs', '{\r\n    "reportPanel": "true",\r\n    "reportTitle": "Armia Report ",\r\n    "defaultDateRange": "weekly",\r\n    "dateRange": [\r\n        "weekly",\r\n        "monthly",\r\n        "custom"\r\n    ],\r\n    "dateField": "worked_on",\r\n    "dataSource": {\r\n        "queryFunction": "Cmshelper::getArmiaAnalaticsQuery"\r\n    },\r\n    "export": "true",\r\n    "keyColumn": "log_id",\r\n    "listColumns": [\r\n        "parameter",\r\n        "value"\r\n    ],\r\n    "exportColumns": [\r\n        "parameter",\r\n        "value"\r\n    ],\r\n    "detailColumns": [\r\n        "parameter",\r\n        "value"\r\n    ],\r\n    "columns": {\r\n        "parameter": {\r\n            "name": "Parameter",\r\n            "defaultText": "0",\r\n            "type": "text"\r\n        },\r\n        "value": {\r\n            "name": "Value",\r\n            "defaultText": "0",\r\n            "type": "text"\r\n        }\r\n    }\r\n}', '0', 2, 'all', 'admin', 'main', NULL),
(141, 18, 'Project Business Report', 'report_project_business_resource', 'tbl_projects', '{\r\n    "keyColumn": "project_id",\r\n    "reportPanel": "true",\r\n    "reportTitle": "Project Report ",\r\n    "defaultDateRange": "weekly",\r\n    "dateRange": [\r\n        "weekly",\r\n        "monthly",\r\n        "custom"\r\n    ],\r\n    "dateField": "worked_on",\r\n    "dataSource": {\r\n        "queryFunction": "Cmshelper::getProjectResourceAnalatics"\r\n    },\r\n    "export": "true",\r\n    "listColumns": [\r\n        "project_name",\r\n        "project_category",\r\n        "total_allocated_hours",\r\n        "total_worked_hours",\r\n        "details",\r\n        "details_task"\r\n    ],\r\n    "exportColumns": [\r\n        "project_name",\r\n        "project_category",\r\n        "project_start_date",\r\n        "total_allocated_hours",\r\n        "total_worked_hours"\r\n    ],\r\n    "detailColumns": [\r\n        "project_name",\r\n        "project_category",\r\n        "total_allocated_hours",\r\n        "total_worked_hours",\r\n        "details",\r\n        "details_task"\r\n    ],\r\n    "columns": {\r\n        "project_name": {\r\n            "name": "Project",\r\n            "type": "text",\r\n            "defaultText": "Admin",\r\n            "sortable": "true",\r\n            "searchable": "searchable"\r\n        },\r\n        "project_category": {\r\n            "name": "Category",\r\n            "defaultText": "0",\r\n            "type": "text",\r\n            "sortable": "true",\r\n            "searchable": "searchable"\r\n        },\r\n        "total_allocated_hours": {\r\n            "name": "Total Allocated Hours",\r\n            "defaultText": "0",\r\n            "type": "text"\r\n        },\r\n        "total_worked_hours": {\r\n            "name": "Total Worked Hours",\r\n            "defaultText": "0",\r\n            "type": "text"\r\n        },\r\n        "details": {\r\n            "name": "Resource Details",\r\n            "customColumn": "true",\r\n            "customaction": "Cmshelper::getDetailsText",\r\n            "popupoptions": {\r\n                "type": "popup",\r\n                "customaction": "Cmshelper::getProjectDetailsURL"\r\n            }\r\n        },\r\n        "details_task": {\r\n            "name": "Task Details",\r\n            "customColumn": "true",\r\n            "customaction": "Cmshelper::getDetailsText",\r\n            "popupoptions": {\r\n                "type": "popup",\r\n                "customaction": "Cmshelper::getProjectTaskDetailsURL"\r\n            }\r\n        }\r\n    }\r\n}', '0', 2, 'all', 'admin', 'main', NULL),
(142, 0, 'Dashboard', 'dashboard_pdt_supp', 'tbl_lookup', '{\r\n    "includeJsFiles": [\r\n        "dashboard.js"\r\n    ],\r\n    "dashboardPanel": "true",\r\n    "listingPanel": "true",\r\n    "listinPanelRow": "8",\r\n    "listingPanel1": {\r\n        "columns": "2",\r\n        "column1": {\r\n            "title": "Check In / Check Out",\r\n            "fetchValue": "Cmshelper::checkInOut",\r\n            "listcolumns": {\r\n                "title": {},\r\n                "value": {}\r\n            }\r\n        },\r\n        "column2": {\r\n            "title": "Employee Info",\r\n            "fetchValue": "Cmshelper::employeeInfo",\r\n            "listcolumns": {\r\n                "title": {},\r\n                "value": {}\r\n            }\r\n        }\r\n    },\r\n    "listingPanel2": {\r\n        "columns": "1",\r\n        "column1": {\r\n            "title": "Basic Info",\r\n            "fetchValue": "Cmshelper::fetchDashboardDisplayCounts",\r\n            "listcolumns": {\r\n                "title": {},\r\n                "value": {}\r\n            }\r\n        }\r\n    },\r\n    "listingPanel3": {\r\n        "columns": "1",\r\n        "column1": {\r\n            "title": "My Tasks To Do",\r\n            "fetchValue": "Cmshelper::getMyImportantTasks",\r\n            "listcolumns": {\r\n                "title": {\r\n                    "name" : "Task To Do"\r\n                }\r\n            }\r\n        }\r\n    },\r\n    "listingPanel4": {\r\n        "columns": "1",\r\n        "column1": {\r\n            "title": "My Bugs To Do",\r\n            "fetchValue": "Cmshelper::getMyImportantBugs",\r\n            "listcolumns": {\r\n                "title": {\r\n                    "name" : "Bugs To Do"\r\n                }\r\n            }\r\n        }\r\n    },\r\n    "listingPanel5": {\r\n        "columns": "1",\r\n        "column1": {\r\n            "title": "Upcoming Milestone",\r\n            "fetchValue": "Cmshelper::getMyImportantMilestones",\r\n            "listcolumns": {\r\n                "title": {\r\n                    "name" : "Milestones To Do"\r\n                }\r\n            }\r\n        }\r\n    },\r\n    "listingPanel6": {\r\n        "columns": "2",\r\n        "column1": {\r\n            "title": "Recent News",\r\n            "titlelink": "View All",\r\n            "titlelinkSection": "Cmshelper::getNewsUrl",\r\n            "fetchValue": "Cmshelper::fetchRecentNews",\r\n            "listcolumns": {\r\n                "title": {\r\n                    "name": "News Title"\r\n                },\r\n                "description": {\r\n                    "name": "Description"\r\n                },\r\n                "date": {\r\n                    "name": "Added Date"\r\n                }\r\n            }\r\n        },\r\n        "column2": {\r\n            "title": "Leave Summary",\r\n            "fetchValue": "Cmshelper::fetchHolidaySummary",\r\n            "listcolumns": {\r\n                "leave_type": {\r\n                    "name": "Leave"\r\n                },\r\n                "taken": {\r\n                    "name": "Taken"\r\n                },\r\n                "bal": {\r\n                    "name": "Left"\r\n                }\r\n            }\r\n        }\r\n    },\r\n    "listingPanel7": {\r\n        "columns": "2",\r\n        "column1": {\r\n            "title": "Upcoming Holidays",\r\n            "titlelink": "View All",\r\n            "titlelinkSection": "Cmshelper::getHolidaysUrl",\r\n            "fetchValue": "Cmshelper::fetchRecentHolidays",\r\n            "listcolumns": {\r\n                "title": {\r\n                    "name": "Title"\r\n                },\r\n                "date": {\r\n                    "name": "Date"\r\n                }\r\n            }\r\n        },\r\n        "column2": {\r\n            "title": "BirthDays",\r\n            "fetchValue": "Cmshelper::fetchBirthdays",\r\n            "listcolumns": {\r\n                "detail": {}\r\n            }\r\n        }\r\n    },\r\n    "listingPanel8": {\r\n        "columns": "1",\r\n        "column1": {\r\n            "title": "Team Leave",\r\n            "titlelink": "View All",\r\n            "titlelinkSection": "Cmshelper::getLeavesTeamUrl",\r\n            "fetchValue": "Cmshelper::fetchRecentTeamLeaves",\r\n            "listcolumns": {\r\n                "username": {\r\n                    "name": "Name"\r\n                },\r\n                "leave_type": {\r\n                    "name": "Leave Type"\r\n      },\r\n                "from_date": {\r\n                    "name": "Date"\r\n                }\r\n            }\r\n        }\r\n    }\r\n}', '0', 0, 'all', 'admin', 'main', NULL),
(144, 19, 'Employees', 'employeedetails', 'tbl_employee', '{\n	"keyColumn": "emp_main_id",\n	"wildsearch": "true",\n	"detailHeaderColumnPrefix": "Employees: ",\n	"handleFile": "true",\n	"detailHeaderColumns": ["emp_code"],\n	"breadCrumbColumn": "emp_code",\n	"orderBy": {\n		"id": "DESC"\n	},\n	"listColumns": ["profile_pic", "emp_code", "first_name", "last_name", "department_id"],\n	"showColumns": ["id", "emp_main_id", "profile_pic", "emp_code", "first_name", "last_name", "department_id", "designation_id", "reporting_id", "shift_id", "joining_date"],\n	"detailColumns": ["id", "emp_code", "department_id", "designation_id", "reporting_id", "team_id", "first_name", "last_name", "gender", "dob", "religion", "blood_group", "marital_status", "family_details", "fathers_name", "paddress", "caddress", "phone", "mobile", "location", "official_mail", "yahoo_mail", "personal_mail", "technical_skills", "bank_name", "account_no", "pan_no", "pf_no", "initial_salary", "joining_date", "appriasal_date", "added_date", "relieving_date", "active", "profile_pic"],\n	"columns": {\n		"id": {\n			"name": "ID",\n			"editoptions": {\n				"type": "hidden"\n			}\n		},\n		"emp_code": {\n			"name": "EMP CODE",\n			"searchable": "true",\n			"sortable": "true"\n		},\n		"department_id": {\n			"name": "DEPARTMENT",\n			"searchable": "true",\n			"sortable": "true",\n			"external": "true",\n			"externalOptions": {\n				"externalTable": "tbl_departments",\n				"externalColumn": "id",\n				"externalShowColumn": "dep_name"\n			}\n		},\n		"designation_id": {\n			"name": "DESIGNATION",\n			"searchable": "true",\n			"sortable": "true",\n			"external": "true",\n			"externalOptions": {\n				"externalTable": "tbl_designations",\n				"externalColumn": "id",\n				"externalShowColumn": "desig_name"\n			}\n		},\n		"reporting_id": {\n			"name": "REPORTING PERSON",\n			"searchable": "true",\n			"sortable": "true",\n			"external": "true",\n			"externalOptions": {\n				"externalTable": "tbl_employee",\n				"externalColumn": "emp_main_id",\n				"externalShowColumn": "first_name"\n			}\n		},\n		"team_id": {\n			"name": "TEAM",\n			"searchable": "true",\n			"sortable": "true",\n			"external": "true",\n			"externalOptions": {\n				"externalTable": "tbl_teams",\n				"externalColumn": "id",\n				"externalShowColumn": "title"\n			}\n		},\n		"first_name": {\n			"name": "FIRST NAME",\n			"searchable": "true",\n			"sortable": "true"\n		},\n		"last_name": {\n			"name": "LAST NAME",\n			"searchable": "true",\n			"sortable": "true"\n		},\n		"gender": {\n			"name": "Gender"\n		},\n		"dob": {\n			"name": "DOB",\n			"dbFormat": "date",\n			"displayFormat": "Y/m/d"\n		},\n		"religion": {\n			"name": "RELIGION"\n		},\n		"blood_group": {\n			"name": "Status"\n		},\n		"marital_status": {\n			"name": "Marital Status",\n			"sortable": "true"\n		},\n		"family_details": {\n			"name": "FAMILY DETAILS"\n		},\n		"fathers_name": {\n			"name": "FATHER''S NAME"\n		},\n		"paddress": {\n			"name": "PERMANENT ADDRESS"\n		},\n		"caddress": {\n			"name": "CONTACT ADDRESS"\n		},\n		"phone": {\n			"name": "PHONE"\n		},\n		"mobile": {\n			"name": "MOBILE"\n		},\n		"location": {\n			"name": "LOCATION"\n		},\n		"official_mail": {\n			"name": "OFFICIAL EMAIL"\n		},\n		"yahoo_mail": {\n			"name": "YAHOO EMAIL"\n		},\n		"personal_mail": {\n			"name": "PERSONAL EMAIL"\n		},\n		"technical_skills": {\n			"name": "TECHNICAL SKILLS"\n		},\n		"joining_date": {\n			"name": "JOINEDDATE",\n			"dbFormat": "date",\n			"displayFormat": "Y/m/d"\n		},\n		"bank_name": {\n			"name": "BANK NAME"\n		},\n		"account_no": {\n			"name": "ACCOUNT NO"\n		},\n		"pan_no": {\n			"name": "PAN NO"\n		},\n		"pf_no": {\n			"name": "PF NO"\n		},\n		"initial_salary": {\n			"name": "INITIAL SALARY"\n		},\n		"appriasal_date": {\n			"name": "LAST APPRIASAL DATE",\n			"dbFormat": "date",\n			"displayFormat": "Y/m/d"\n		},\n		"added_date": {\n			"name": "ADDEDDATE",\n			"dbFormat": "date",\n			"displayFormat": "Y-m-d"\n		},\n		"relieving_date": {\n			"name": "RELIEVING DATE",\n			"dbFormat": "date",\n			"displayFormat": "Y/m/d"\n		},\n		"active": {\n			"name": "Active"\n		},\n		"profile_pic": {\n			"name": "PHOTO",\n			"customColumn": "true",\n			"customaction": "Cmshelper::getProfilePic",\n			"editoptions": {\n				"type": "file",\n				"label": "PHOTO",\n				"class": "file",\n				"hint": "Upload file for this section"\n			}\n		}\n	},\n	"opertations": ["view"],\n	"operationLabel": {\n		"viewTitle": "ViewEmployeeDetails"\n	}\n}', '1', 0, 'all', 'admin', 'main', NULL),
(153, 19, 'Off Requests', 'off_requests', 'tbl_off', '{ "customAction": "true", "controller": "cmshelper", "method": "off_requests", "module": "default" }', '1', 0, 'all', 'admin', 'main', NULL);
INSERT INTO `cms_sections` (`id`, `group_id`, `section_name`, `section_alias`, `table_name`, `section_config`, `visibilty`, `display_order`, `user_privilege`, `module`, `db_type`, `smb_id`) VALUES
(152, 19, 'Apply Off', 'apply_off', 'tbl_off', '{\r\n	"keyColumn": "id",\r\n	"wildsearch": "true",\r\n	"dataSource": "external",\r\n	"dataSourceFunction": "Cmshelper::off_details",\r\n	"dataSourceCountFunction": "Cmshelper::off_details_count",\r\n	"detailHeaderColumnPrefix": "Off: ",\r\n	"handleFile": "true",\r\n\r\n	"detailHeaderColumns": [\r\n		"from_date"\r\n	],\r\n	"breadCrumbColumn": "from_date",\r\n\r\n\r\n	"orderBy": {\r\n		"id": "DESC"\r\n	},\r\n\r\n\r\n	"listColumns": [\r\n		"off_type",\r\n		"from_date",\r\n		"to_date",\r\n		"approved",\r\n		"applied_date"\r\n	],\r\n	"showColumns": [\r\n		"id",\r\n		"off_type",\r\n		"from_date",\r\n		"to_date",\r\n		"approved",\r\n		"applied_date",\r\n		"employee_id"\r\n\r\n	],\r\n	"detailColumns": [\r\n		"id",\r\n		"off_type",\r\n		"from_date",\r\n		"to_date",\r\n		"approved",\r\n		"applied_date",\r\n		"employee_id"\r\n	],\r\n	"columns": {\r\n		"id": {\r\n			"name": "ID",\r\n			"editoptions": {\r\n				"type": "hidden"\r\n			}\r\n		},\r\n\r\n		"off_type": {\r\n			"name": "Off Type",\r\n			"searchable": "true",\r\n			"sortable": "true",\r\n			"editoptions": {\r\n				"type": "select",\r\n				"source": "Cmshelper::getOffTypes",\r\n				"default": "",\r\n				"source_type": "function",\r\n				"label": "Off Type",\r\n				"class": "select",\r\n				"validations": ["required"]\r\n			}\r\n		},\r\n		"from_date": {\r\n			"name": "Date",\r\n			"searchable": "true",\r\n			"sortable": "true",\r\n			"dbFormat": "date",\r\n			"displayFormat": "d/m/Y",\r\n			"editoptions": {\r\n				"dbFormat": "date",\r\n				"displayFormat": "d/m/Y",\r\n				"type": "datepicker",\r\n				"label": "Date",\r\n				"class": "",\r\n				"validations": ["required"]\r\n			}\r\n		},\r\n		"to_date": {\r\n			"name": "To Date",\r\n			"searchable": "true",\r\n			"sortable": "true",\r\n			"dbFormat": "date",\r\n			"displayFormat": "d/m/Y",\r\n			"editoptions": {\r\n				"type": "hidden"\r\n			}\r\n		},\r\n		"employee_id": {\r\n			"name": "Employee_id",\r\n			"editoptions": {\r\n				"type": "hidden"\r\n			}\r\n		},\r\n		"approved": {\r\n			"name": "Approved",\r\n			"sortable": "true",\r\n			"editoptions": {\r\n				"type": "hidden"\r\n\r\n			}\r\n		},\r\n		"applied_date": {\r\n			"name": "Applied Date",\r\n			"searchable": "true",\r\n			"sortable": "true",\r\n			"dbFormat": "date",\r\n			"displayFormat": "d/m/Y",\r\n			"editoptions": {\r\n				"type": "hidden"\r\n			}\r\n		}\r\n	},\r\n	"opertations": [\r\n		"add"\r\n\r\n	],\r\n	"customActions": {\r\n		"beforeAddRecord": "Cmshelper::beforeAddOffData",\r\n		"afterAddRecord": "Cmshelper::tmsOff"\r\n	},\r\n\r\n	"operationLabel": {\r\n		"addLabel": "Apply Off"\r\n	}\r\n}', '1', 0, 'all', 'admin', 'main', NULL),
(164, 13, 'In Time Report', 'biometric_reporthr', 'tbl_biometrictime', '{\n\n    "reportPanel": "true",\n\n    "reportTitle": "Biometric Report",\n\n    "singleDateFilter": "true",\n\n"previousDateFilter":"true",\n\n    "dataSource": {\n\n        "queryFunction": "Cmshelper::getBiometricTime"\n\n    },\n\n    "keyColumn": "bio_id",\n\n"orderBy": {\n\n        "bio_id": "ASC"\n\n    },\n\n    "listColumns": [\n\n        "emp_code",\n\n        "first_name",\n\n        "last_name",\n\n        "biometric_date",\n\n        "total_time"\n\n    ],\n\n    "detailColumns": [\n\n        "emp_code",\n\n        "first_name",\n\n        "last_name",\n\n        "biometric_date",\n\n        "total_time"\n\n    ],\n\n    "columns": {\n\n        "bio_id": {\n\n            "name": "ID",\n\n            "editoptions": {\n\n                "type": "hidden"\n\n            }\n\n        },\n\n        "emp_code": {\n\n            "name": "Employee Code",\n\n            "searchable": "true",\n\n            "sortable": "true",\n\n            "editoptions": {\n\n                "type": "hidden"\n\n            }\n\n        },\n\n        "first_name": {\n\n            "name": "First Name",\n\n            "searchable": "true",\n\n            "sortable": "true",\n\n            "editoptions": {\n\n                "type": "hidden"\n\n            }\n\n        },\n\n        "last_name": {\n\n            "name": "Last Name",\n\n            "searchable": "true",\n\n            "sortable": "true",\n\n            "editoptions": {\n\n                "type": "hidden"\n\n            }\n\n        },\n\n        "biometric_date": {\n\n            "name": "Date",\n\n            "sortable": "true",\n\n            "editoptions": {\n\n                "type": "hidden"\n\n            }\n\n        },\n\n        "total_time": {\n\n            "name": "Total In Hours",\n\n"sortable": "true",\n\n            "editoptions": {\n\n                "type": "hidden"\n\n            }\n\n        }\n\n    }\n\n}', '0', 5, 'all', 'admin', 'main', 0),
(151, 19, 'Assign Shifts', 'assign_shifts_to_group', 'tbl_shift_group_shifts', '{ "customAction": "true", "controller": "cmshelper", "method": "assign_shifts_to_group", "module": "default" }', '0', 0, 'all', 'admin', 'main', NULL),
(150, 19, 'Tech Leave Summary', 'tech_leave_summary', 'tbl_leave_summary', '{ "customAction": "true", "controller": "cmshelper", "method": "tech_leave_summary", "module": "default" }', '1', 0, 'all', 'admin', 'main', NULL),
(149, 19, 'Manage process violation', 'process_violation_listing', 'tbl_attendance', '{ "customAction": "true", "controller": "cmshelper", "method": "process_violation_listing", "module": "default" }', '1', 0, 'all', 'admin', 'main', NULL),
(148, 19, 'Set Bi Off Privilege', 'set_bi_off_privilege', 'tbl_employee', '{ "customAction": "true", "controller": "cmshelper", "method": "set_bi_off_privilege", "module": "default" }', '1', 0, 'all', 'admin', 'main', NULL),
(147, 19, 'Shift allotment', 'shift_allotment', 'tbl_shift_group', '{ "customAction": "true", "controller": "cmshelper", "method": "shift_allotment", "module": "default" }', '0', 0, 'all', 'admin', 'main', NULL),
(146, 19, 'Shift group', 'shift_group', 'tbl_shift_group', '{\n    "keyColumn": "id",\n    "wildsearch": "true",\n    "detailHeaderColumnPrefix": "Shift group: ",\n    "handleFile": "true",\n    "detailHeaderColumns": [\n        "shift_group_name"\n    ],\n    "breadCrumbColumn": "shift_group_name",\n    "sessionMatchCondition":{\n  	"department_id":"cms_department_id"\n	},\n    "orderBy": {\n        "id": "DESC"\n    },\n    "includeJsFiles": [\n        "leave_type.js"\n    ],\n    "listColumns": [\n        "shift_group_name",\n        "note",        \n        "active"\n    ],\n    "showColumns": [\n        "id",\n        "department_id",\n        "shift_group_name",\n        "note",        \n        "active"\n    ],\n    "detailColumns": [\n        "id",\n        "department_id",\n        "shift_group_name",\n        "note",        \n        "active"\n    ],\n    "columns": {\n        "id": {\n            "name": "ID",\n            "editoptions": {\n                "type": "hidden"\n            }\n        },\n       "department_id": {\n            "name": "Department_id",\n            "editoptions": {\n                "type": "hidden"\n            }\n        },\n        "shift_group_name": {\n            "name": "Shift Group Name",\n            "searchable": "true",\n            "sortable": "true",\n            "editoptions": {\n                "type": "textbox",\n                "label": "Shift group name",\n                "class": "textbox",\n                "hint": "Shift group name",\n                "validations": [\n                    "required"\n                ]\n            }\n        },\n       "note": {\n            "name": "Note",\n            "searchable": "true",\n            "sortable": "true",\n            "editoptions": {\n                "type": "textbox",\n                "label": "Note",\n                "class": "textbox",\n                "hint": "Note",\n                "validations": [\n                    "required"\n                ]\n            }\n        },      \n\n        "active": {\n            "name": "Status",\n            "searchable": "true",\n            "sortable": "true",            \n            "editoptions": {\n                "type": "select",\n                "source": {\n                    "Y": "Active",\n                    "N": "Inactive"\n                },\n                "default": "Y",\n                "source_type": "array",\n                "label": "Status",\n                "class": "select",\n                "enumvalues": {\n                    "Y": "Active",\n                    "N": "Inactive"\n                },\n                "validations": [\n                    "required"\n                ]\n            }\n        }\n    },\n    "customActions": {\n        "beforeAddRecord": "Cmshelper::beforeAddShiftgroup",\n        "beforeEditRecord": "Cmshelper::beforeEditShiftgroup",\n        "beforeDeleteRecord": "Cmshelper::beforeDeleteShiftgroup"\n    },\n    "opertations": [\n        "add",\n        "view",\n        "edit",\n        "delete"\n       \n    ],\n "customOperations": {\n        "Assign": {\n            "options": {\n                "name": "Assign",\n                "linkSource": "Cmshelper::assignshifts",\n                "class": "assign_shift_class",\n                "title": "Assign Shift Group"\n            }\n        },\n "Employees": {\n            "options": {\n                "name": "Employees",\n                "linkSource": "Cmshelper::assignshifts",\n                "class": "view_assigned_employee_class",\n                "title": "View Employees"\n            }\n        },\n  "Shifts": {\n            "options": {\n                "name": "Shifts",\n                "linkSource": "Cmshelper::assignshifts",\n                "class": "view_assigned_shifts_class",\n                "title": "View Shifts"\n            }\n        }     \n    },\n\n    "operationLabel": {\n        "addLabel": "Add Shift Group",\n        "editTitle": "Edit Shift Group",\n        "viewTitle": "View Shift Group",\n        "deleteTitle": "Delete Shift Group"\n        \n    }\n}\n\n', '1', 0, 'all', 'admin', 'main', NULL),
(145, 19, 'Shifts', 'shifts', 'tbl_shifts', '{\n    "keyColumn": "id",\n    "wildsearch": "true",\n    "detailHeaderColumnPrefix": "Shifts: ",\n    "handleFile": "true",\n	\n    "detailHeaderColumns": [\n        "title"\n    ],\n    "breadCrumbColumn": "title",\n    "sessionMatchCondition":{\n  	"department_id":"cms_department_id"\n	},\n\n    "orderBy": {\n        "id": "DESC"\n    },\n  "includeJsFiles": [ "jquery.timepicker.min.js" ],\n   "includeCssFiles": [ "jquery.timepicker.css" ],\n\n    "listColumns": [\n        "title",\n        "time_from",\n        "time_to",\n        "active"\n    ],\n    "showColumns": [\n        "id",\n       "title",\n        "time_from",\n        "time_to",        \n        "department_id",\n        "active"\n    ],\n    "detailColumns": [\n        "id",\n       "title",\n        "time_from",\n        "time_to",       \n        "department_id",           \n        "active"\n    ],\n    "columns": {\n        "id": {\n            "name": "ID",\n            "editoptions": {\n                "type": "hidden"\n            }\n        },\n        "department_id": {\n            "name": "Department_id",\n            "editoptions": {\n                "type": "hidden"\n            }\n        },\n        "title": {\n            "name": "Title",\n            "searchable": "true",\n            "sortable": "true",\n            "editoptions": {\n                "type": "textbox",\n                "label": "Title",\n                "class": "textbox",\n                "hint": "News Title",\n                "validations": [\n                    "required"\n                ]\n            }\n        },\n        "time_from": { \n		"name": "From Time",\n 		"searchable": "true",\n 		"sortable": "true", 	\n                "dbFormat": "time",\n 		"displayFormat": "h:i A",	\n                "editoptions": {\n                "type": "textbox",\n                "label": "From Time",\n                "class": "textbox",\n                "hint": "From Time",\n                "validations": [\n                    "required"\n                ]\n            }\n 		\n	},\n       "time_to": { \n		"name": "To Time",\n 		"searchable": "true",\n 		"sortable": "true",\n                "dbFormat": "time",\n 		"displayFormat": "h:i A",\n                "editoptions": {\n                "type": "textbox",\n                "label": "To Time",\n                "class": "textbox",\n                "hint": "To Time",\n                "validations": [\n                    "required"\n                ]\n            }\n\n	},   \n\n\n        "active": {\n            "name": "Status",\n            "searchable": "true",\n            "sortable": "true",            \n            "editoptions": {\n                "type": "select",\n                "source": {\n                    "Y": "Active",\n                    "N": "Inactive"\n                },\n                "default": "Y",\n                "source_type": "array",\n                "label": "Status",\n                "class": "select",\n                "enumvalues": {\n                    "Y": "Active",\n                    "N": "Inactive"\n                },\n                "validations": [\n                    "required"\n                ]\n            }\n        }\n    },\n    "customActions": {\n        "beforeAddRecord": "Cmshelper::beforeAddShifts",\n        "beforeEditRecord": "Cmshelper::beforeEditShifts",\n        "beforeDeleteRecord": "Cmshelper::beforeDeleteShifts"\n\n    },\n    "opertations": [\n        "add",\n        "view",\n        "edit",\n        "delete"\n       \n    ],\n\n \n\n    "operationLabel": {\n        "addLabel": "Add Shift",\n        "editTitle": "Edit Shift",\n        "viewTitle": "View Shift",\n        "deleteTitle": "Delete Shift"\n        \n    }\n}\n\n', '1', 0, 'all', 'admin', 'main', NULL),
(154, 0, 'Business Dashboard', 'sptl_hddashboard', 'tbl_lookup', '{\n    "includeJsFiles": [\n        "dashboard.js"\n    ],\n    "dashboardPanel": "true",\n    "listingPanel": "true",\n    "listinPanelRow": "9",\n    "listingPanel1": {\n        "columns": "2",\n        "column1": {\n            "title": "Check In / Check Out",\n            "fetchValue": "Cmshelper::checkInOutNew",\n            "listcolumns": {\n                "title": {},\n                "value": {}\n            }\n        },\n        "column2": {\n            "title": "Employee Info",\n            "fetchValue": "Cmshelper::employeeInfo",\n            "listcolumns": {\n                "title": {},\n                "value": {}\n            }\n        }\n    },\n    "listingPanel2": {\n        "columns": "1",\n        "column1": {\n            "title": "Project Details",\n            "titlelink": "",\n            "titlelinkSection": "",\n            "fetchValue": "Cmshelper::adminDashboardProjectDetails",\n            "listcolumns": {\n                "project_title": {\n                    "name": "Project Name"\n                },\n                "project_owner": {\n                    "name": "Project Owner"\n                },\n                "project_delivery_date": {\n                    "name": "Project Delivery Date"\n                },\n                "project_time": {\n                    "name": "Project Time (in days)"\n                },\n                "project_effort": {\n                    "name": "Project Effort (in hours)"\n                },\n                "view_details": {\n                    "name": "Project Profile"\n                }\n            }\n        }\n        \n    },\n    "listingPanel3": {\n        "columns": "1",\n        "column1": {\n            "title": "Basic Info",\n            "fetchValue": "Cmshelper::fetchDashboardDisplayCounts",\n            "listcolumns": {\n                "title": {},\n                "value": {}\n            }\n        }\n    },\n    "listingPanel4": {\n        "columns": "1",\n        "column1": {\n            "title": "My Tasks To Do",\n            "fetchValue": "Cmshelper::getMyImportantTasks",\n            "listcolumns": {\n                "title": {\n                    "name" : "Task To Do"\n                }\n            }\n        }\n    },\n    "listingPanel5": {\n        "columns": "1",\n        "column1": {\n            "title": "My Bugs To Do",\n            "fetchValue": "Cmshelper::getMyImportantBugs",\n            "listcolumns": {\n                "title": {\n                    "name" : "Bugs To Do"\n                }\n            }\n        }\n    },\n    "listingPanel6": {\n        "columns": "1",\n        "column1": {\n            "title": "Upcoming Milestone",\n            "fetchValue": "Cmshelper::getMyImportantMilestones",\n            "listcolumns": {\n                "title": {\n                    "name" : "Milestones To Do"\n                }\n            }\n        }\n    },\n    "listingPanel7": {\n        "columns": "2",\n        "column1": {\n            "title": "Recent News",\n            "titlelink": "View All",\n            "titlelinkSection": "Cmshelper::getNewsUrl",\n            "fetchValue": "Cmshelper::fetchRecentNews",\n            "listcolumns": {\n                "title": {\n                    "name": "News Title"\n                },\n                "description": {\n                    "name": "Description"\n                },\n                "date": {\n                    "name": "Added Date"\n                }\n            }\n        },\n        "column2": {\n            "title": "Leave Requests",\n            "titlelink": "View All",\n            "titlelinkSection": "Cmshelper::getLeavesHDUrl",\n            "fetchValue": "Cmshelper::fetchRecentHDLeaves",\n            "listcolumns": {\n                "username": {\n                    "name": "Name"\n                },\n                "leave_type": {\n                    "name": "Leave Type"\n                },\n                "from_date": {\n                    "name": "Date"\n                }\n            }\n        }\n    },\n    "listingPanel8": {\n        "columns": "2",\n        "column1": {\n            "title": "Leave Summary",\n            "fetchValue": "Cmshelper::fetchHolidaySummary",\n            "listcolumns": {\n                "leave_type": {\n                    "name": "Leave"\n                },\n                "taken": {\n                    "name": "Taken"\n                },\n                "bal": {\n                    "name": "Left"\n                }\n            }\n        },\n        "column2": {\n            "title": "Upcoming Holidays",\n            "titlelink": "View All",\n            "titlelinkSection": "Cmshelper::getHolidaysUrl",\n            "fetchValue": "Cmshelper::fetchRecentHolidays",\n            "listcolumns": {\n                "title": {\n                    "name": "Title"\n                },\n                "date": {\n                    "name": "Date"\n                }\n            }\n        }\n    },\n    "listingPanel9": {\n        "columns": "2",\n        "column1": {\n            "title": "BirthDays",\n            "fetchValue": "Cmshelper::fetchBirthdays",\n            "listcolumns": {\n                "detail": {}\n            }\n        },\n        "column2": {\n            "title": "Team Leave",\n            "titlelink": "View All",\n            "titlelinkSection": "Cmshelper::getLeavesTeamUrl",\n            "fetchValue": "Cmshelper::fetchRecentTeamLeaves",\n            "listcolumns": {\n                "username": {\n                    "name": "Name"\n                },\n                "leave_type": {\n                    "name": "Leave Type"\n                },\n                "from_date": {\n                    "name": "Date"\n                }\n            }\n        }\n    }\n}\n', '0', 2, 'all', 'admin', 'main', NULL),
(155, 0, 'Dashboard', 'sptech_dashboard', 'tbl_lookup', '{\n    "includeJsFiles": [\n        "dashboard.js"\n    ],\n    "dashboardPanel": "true",\n    "listingPanel": "true",\n    "listinPanelRow": "8",\n    "listingPanel1": {\n        "columns": "2",\n        "column1": {\n            "title": "Check In / Check Out",\n            "fetchValue": "Cmshelper::checkInOutNew",\n            "listcolumns": {\n                "title": {},\n                "value": {}\n            }\n        },\n        "column2": {\n            "title": "Employee Info",\n            "fetchValue": "Cmshelper::employeeInfo",\n            "listcolumns": {\n                "title": {},\n                "value": {}\n            }\n        }\n    },\n    "listingPanel2": {\n        "columns": "1",\n        "column1": {\n            "title": "Basic Info",\n            "fetchValue": "Cmshelper::fetchDashboardDisplayCounts",\n            "listcolumns": {\n                "title": {},\n                "value": {}\n            }\n        }\n    },\n    "listingPanel3": {\n        "columns": "1",\n        "column1": {\n            "title": "My Tasks To Do",\n            "fetchValue": "Cmshelper::getMyImportantTasks",\n            "listcolumns": {\n                "title": {\n                    "name" : "Task To Do"\n                }\n            }\n        }\n    },\n    "listingPanel4": {\n        "columns": "1",\n        "column1": {\n            "title": "My Bugs To Do",\n            "fetchValue": "Cmshelper::getMyImportantBugs",\n            "listcolumns": {\n                "title": {\n                    "name" : "Bugs To Do"\n                }\n            }\n        }\n    },\n    "listingPanel5": {\n        "columns": "1",\n        "column1": {\n            "title": "Upcoming Milestone",\n            "fetchValue": "Cmshelper::getMyImportantMilestones",\n            "listcolumns": {\n                "title": {\n                    "name" : "Milestones To Do"\n                }\n            }\n        }\n    },\n    "listingPanel6": {\n        "columns": "2",\n        "column1": {\n            "title": "Recent News",\n            "titlelink": "View All",\n            "titlelinkSection": "Cmshelper::getNewsUrl",\n            "fetchValue": "Cmshelper::fetchRecentNews",\n            "listcolumns": {\n                "title": {\n                    "name": "News Title"\n                },\n                "description": {\n                    "name": "Description"\n                },\n                "date": {\n                    "name": "Added Date"\n                }\n            }\n        },\n        "column2": {\n            "title": "Leave Summary",\n            "fetchValue": "Cmshelper::fetchHolidaySummary",\n            "listcolumns": {\n                "leave_type": {\n                    "name": "Leave"\n                },\n                "taken": {\n                    "name": "Taken"\n                },\n                "bal": {\n                    "name": "Left"\n                }\n            }\n        }\n    },\n    "listingPanel7": {\n        "columns": "2",\n        "column1": {\n            "title": "Upcoming Holidays",\n            "titlelink": "View All",\n            "titlelinkSection": "Cmshelper::getHolidaysUrl",\n            "fetchValue": "Cmshelper::fetchRecentHolidays",\n            "listcolumns": {\n                "title": {\n                    "name": "Title"\n                },\n                "date": {\n                    "name": "Date"\n                }\n            }\n        },\n        "column2": {\n            "title": "BirthDays",\n            "fetchValue": "Cmshelper::fetchBirthdays",\n            "listcolumns": {\n                "detail": {}\n            }\n        }\n    },\n    "listingPanel8": {\n        "columns": "1",\n        "column1": {\n            "title": "Team Leave",\n            "titlelink": "View All",\n            "titlelinkSection": "Cmshelper::getLeavesTeamUrl",\n            "fetchValue": "Cmshelper::fetchRecentTeamLeaves",\n            "listcolumns": {\n                "username": {\n                    "name": "Name"\n                },\n                "leave_type": {\n                    "name": "Leave Type"\n                },\n                "from_date": {\n                    "name": "Date"\n                }\n            }\n        }\n    }\n}\n\n', '0', 0, 'all', 'admin', 'main', NULL),
(156, 10, 'Leave Requests', 'sptl_lhdrequests', 'tbl_emp_leaves', '{ "keyColumn": "id", "wildsearch": "true", "dataSource": "external", "dataSourceFunction": "Cmshelper::fetchLeaveRequests", "dataSourceCountFunction": "Cmshelper::fetchLeaveRequestsCount", "detailHeaderColumnPrefix": "Leave Requests: ", "handleFile": "true", "detailHeaderColumns": [ "title" ], "breadCrumbColumn": "title", "orderBy": { "id": "DESC" }, "includeJsFiles": [ "leave_hr.js" ], "reference": { "referenceTable": "tbl_employee", "referenceColumn": "emp_id", "referenceTableForiegnKey": "emp_main_id" }, "listColumns": [ "profile_pic", "username", "leave_type", "half_day", "applied_date", "from_date_disp", "to_date_disp", "sup_status" ], "showColumns": [ "id", "emp_id", "leave_type", "half_day", "from_date", "to_date", "description", "comments", "sup_status", "applied_date" ], "detailColumns": [ "id", "username", "emp_id", "leave_type", "half_day", "applied_date", "from_date", "from_date_disp", "to_date", "to_date_disp", "description", "comments", "sup_status", "remarks", "profile_pic" ], "columns": { "id": { "name": "ID", "editoptions": { "type": "hidden" } }, "profile_pic": { "name": "", "customColumn": "true", "customaction": "Cmshelper::getProfilePicLeave" }, "emp_id": { "name": "Name", "searchable": "true", "sortable": "true", "editoptions": { "type": "hidden" } }, "leave_type": { "name": "Leave Type", "searchable": "true", "sortable": "true", "editoptions": { "type": "select", "source": "Cmshelper::getLeaveTypes", "default": "", "source_type": "function", "label": "Leave Type", "class": "select", "validations": [ "required" ] } }, "half_day": { "name": "Half Day", "sortable": "true", "editoptions": { "type": "checkbox", "label": "Half Day", "class": "inline", "default": "0", "enumvalues": { "0": "No", "1": "Yes" } } }, "from_date": { "name": "Date", "searchable": "true", "sortable": "true", "dbFormat": "date", "displayFormat": "M d, Y", "editoptions": { "dbFormat": "date", "displayFormat": "M d, Y", "type": "datepicker", "label": "From Date", "class": "", "validations": [ "required" ] } }, "to_date": { "name": "To Date", "searchable": "true", "sortable": "true", "dbFormat": "date", "displayFormat": "M d, Y", "editoptions": { "dbFormat": "date", "displayFormat": "M d, Y", "type": "datepicker", "label": "To Date", "class": "", "validations": [ "required" ] } }, "from_date_disp": { "name": "From Date", "customColumn": "true", "customaction": "Cmshelper::getAttendanceFromdate" }, "to_date_disp": { "name": "To Date", "customColumn": "true", "customaction": "Cmshelper::getAttendanceTodate" }, "description": { "name": "Description", "editoptions": { "type": "textarea", "label": "Description", "class": "textarea", "validations": [ "required" ] } }, "comments": { "name": "Comments", "editoptions": { "type": "textarea", "label": "Comments", "class": "textarea", "validations": [ "required" ] } }, "sup_status": { "name": "Status", "searchable": "true","sortable": "true", "popupoptions": { "type": "popup", "customaction": "Cmshelper::getSupstatusPopupUrl" } }, "remarks": { "name": "Remarks" }, "hr_status": { "name": "HR Status", "sortable": "true" }, "username": { "sortable": "true", "name": "Employee name" }, "applied_date": { "searchable": "true", "sortable": "true", "name": "Applied date", "dbFormat": "date", "displayFormat": "M d, Y" } }, "customActions": { "beforeAddRecord": "Cmshelper: : setEmployeeId" }, "opertations": [ "view" ], "operationLabel": { "viewTitle": "ViewLeaveDetails" } }', '0', 8, 'all', 'admin', 'main', NULL),
(157, 1, 'Analytical', 'analytic_dashboard', 'tbl_project_tasks', '\n    {\n     "customAction": "true",\n     "controller": "Cmshelper",\n     "method": "analyticaldashboard",\n     "module": "default"\n    }', '1', 0, 'all', 'admin', 'main', NULL),
(158, 10, 'Leave Status', 'leave_status', 'tbl_leaves_summary', '{\n  "keyColumn": "id",\n  "wildsearch": "true",\n  "detailHeaderColumnPrefix": "Leave Status ",\n  "handleFile": "true",\n  "sessionMatchCondition": {\n    "emp_id": "cms_user_id"\n  },\n  "hideOperationsColumn": "true",\n  "orderBy": {\n    "id": "DESC"\n  },\n  "listColumns": [\n    "years",\n    "cl_count",\n    "pl_count",\n    "cl_taken",\n    "pl_taken",\n    "lop_taken"\n  ],\n  "showColumns": [\n    "years",\n    "cl_count",\n    "pl_count",\n    "cl_taken",\n    "pl_taken",\n    "lop_taken"\n  ],\n  "detailColumns": [\n    "years",\n    "cl_count",\n    "pl_count",\n    "cl_taken",\n    "pl_taken",\n    "lop_taken"\n  ],\n  "columns": {\n    "id": {\n      "name": "ID",\n      "editoptions": {\n        "type": "hidden"\n      }\n    },\n    "years": {\n      "name": "Year",\n      "searchable": "true",\n      "sortable": "true",\n      "editoptions": {\n        "type": "hidden"\n      }\n    },\n    "cl_count": {\n      "name": "CL Left",\n      "sortable": "true",\n      "editoptions": {\n        "type": "hidden"\n      }\n    },\n    "pl_count": {\n      "name": "PL Left",\n      "sortable": "true",\n      "editoptions": {\n        "type": "hidden"\n      }\n    },\n    "pl_taken": {\n      "name": "PL Taken",\n      "sortable": "true",\n      "editoptions": {\n        "type": "hidden"\n      }\n    },\n    "cl_taken": {\n      "name": "CL Taken",\n      "sortable": "true",\n      "editoptions": {\n        "type": "hidden"\n      }\n    },\n    "lop_taken": {\n      "name": "LOP Taken",\n      "sortable": "true",\n      "editoptions": {\n        "type": "hidden"\n      }\n    }\n  }\n}', '1', 10, 'all', 'admin', 'main', NULL),
(159, 16, 'Task View Report', 'report_task_view', 'tbl_project_tasks', '{\n  "reportPanel": "true",\n  "reportTitle": "Log Report ",\n  "keyColumn": "task_id",\n  "wildsearch": "true",\n  "detailHeaderColumnPrefix": "Task View Report ",\n  "handleFile": "true",\n  "hideOperationsColumn": "true",\n  "defaultDateRange": "weekly",\n  "dateRange": [\n    "weekly",\n    "monthly",\n    "custom"\n  ],\n  "dateField": "created_on",\n  "dataSource": {\n    "queryFunction": "Cmshelper::getTaskViewQuery"\n  },\n  "orderBy": {\n    "task_id": "DESC"\n  },\n  "listColumns": [\n    "staff_name",\n    "project_name",\n    "module_name",\n    "task_title",\n    "task_estimated_time",\n    "task_estimated_completion_date",\n    "created_on",\n    "owner_name",\n    "task_status"\n  ],\n  "showColumns": [\n    "staff_name",\n    "project_name",\n    "module_name",\n    "task_title",\n    "task_estimated_time",\n    "task_estimated_completion_date",\n    "created_on",\n    "owner_name",\n    "task_status"\n  ],\n  "detailColumns": [\n    "staff_name",\n    "project_name",\n    "module_name",\n    "task_title",\n    "task_estimated_time",\n    "task_estimated_completion_date",\n    "created_on",\n    "owner_name",\n    "task_status"\n  ],\n  "columns": {\n    "task_id": {\n      "name": "ID",\n      "editoptions": {\n        "type": "hidden"\n      }\n    },\n    "staff_name": {\n      "name": "Assigned To",\n      "searchable": "true",\n      "sortable": "true",\n      "editoptions": {\n        "type": "hidden"\n      }\n    },\n    "project_name": {\n      "name": "Project",\n      "searchable": "true",\n      "sortable": "true",\n      "editoptions": {\n        "type": "hidden"\n      }\n    },\n    "module_name": {\n      "name": "Module",\n      "searchable": "true",\n      "sortable": "true",\n      "editoptions": {\n        "type": "hidden"\n      }\n    },\n    "task_title": {\n      "name": "Task",\n      "editoptions": {\n        "type": "hidden"\n      }\n    },\n    "task_estimated_time": {\n      "name": "Estimated Time",\n      "editoptions": {\n        "type": "hidden"\n      }\n    },\n    "task_estimated_completion_date": {\n      "name": "Completion Date",\n      "sortable": "true",\n      "editoptions": {\n        "type": "hidden"\n      }\n    },\n    "created_on": {\n      "name": "Created On",\n      "sortable": "true",\n      "editoptions": {\n        "type": "hidden"\n      }\n    },\n    "owner_name": {\n      "name": "Assigned By",\n      "searchable": "true",\n      "sortable": "true",\n      "editoptions": {\n        "type": "hidden"\n      }\n    },\n    "task_status": {\n      "name": "Status",\n      "sortable": "true",\n      "editoptions": {\n        "type": "hidden"\n      }\n    }\n  }\n}', '1', 1, 'all', 'admin', 'main', NULL),
(160, 18, 'Biometric Report', 'biometric_report', 'tbl_biometrictime', '{\n    "reportPanel": "true",\n    "reportTitle": "Biometric Report",\n    "singleDateFilter": "true",\n"previousDateFilter":"true",\n    "dataSource": {\n        "queryFunction": "Cmshelper::getBiometricTime"\n    },\n\n    "keyColumn": "bio_id",\n"orderBy": {\n        "bio_id": "ASC"\n    },\n    "listColumns": [\n        "emp_code",\n        "first_name",\n        "last_name",\n        "date",\n        "total_time"\n    ],\n\n    "detailColumns": [\n        "emp_code",\n        "first_name",\n        "last_name",\n        "date",\n        "total_time"\n    ],\n    "columns": {\n        "bio_id": {\n            "name": "ID",\n            "editoptions": {\n                "type": "hidden"\n            }\n        },\n        "emp_code": {\n            "name": "Employee Code",\n            "searchable": "true",\n            "sortable": "true",\n            "editoptions": {\n                "type": "hidden"\n            }\n        },\n        "first_name": {\n            "name": "First Name",\n            "searchable": "true",\n            "sortable": "true",\n            "editoptions": {\n                "type": "hidden"\n            }\n        },\n        "last_name": {\n            "name": "Last Name",\n            "searchable": "true",\n            "sortable": "true",\n            "editoptions": {\n                "type": "hidden"\n            }\n        },\n        "date": {\n            "name": "Date",\n            "sortable": "true",\n            "editoptions": {\n                "type": "hidden"\n            }\n        },\n        "total_time": {\n            "name": "Total In Hours",\n"sortable": "true",\n            "editoptions": {\n                "type": "hidden"\n            }\n        }\n    }\n}', '0', 5, 'all', 'admin', 'main', 0),
(161, 16, 'Developer Accounts', 'developer_tools', 'tbl_developer_tools', '{\r\n	"keyColumn": "id",\r\n	"wildsearch": "true",\r\n	"detailHeaderColumnPrefix": "Developers: ",\r\n	"handleFile": "true",\r\n	"detailHeaderColumns": ["id"],\r\n	"breadCrumbColumn": "id",\r\n	"orderBy": {\r\n		"id": "DESC"\r\n	},\r\n\r\n	"listColumns": ["title", "description"],\r\n	"showColumns": ["id", "Category", "title", "description", "file_upload"],\r\n	"detailColumns": ["id", "Category", "title", "description", "file_upload"],\r\n	"columns": {\r\n		"id": {\r\n			"name": "ID",\r\n			"editoptions": {\r\n				"type": "hidden"\r\n			}\r\n		},\r\n\r\n\r\n\r\n		"Category": {\r\n			"name": "Category",\r\n			"editoptions": {\r\n				"type": "select",\r\n				"source": {\r\n					"API Keys": "API Keys",\r\n					"Test Accounts": "Test Accounts",\r\n					"Documents": "Documents"\r\n				},\r\n				"default": "Select",\r\n				"source_type": "array",\r\n				"label": "Category",\r\n				"class": "select",\r\n				"enumvalues": {\r\n					"API Keys": "API Keys",\r\n					"Test Accounts": "Test Accounts",\r\n					"Documents": "Documents"\r\n\r\n\r\n\r\n				},\r\n				"validations": [\r\n					"required"\r\n				]\r\n			}\r\n		},\r\n\r\n		"title": {\r\n			"name": "Title",\r\n			"sortable": "true",\r\n			"searchable": "true",\r\n			"editoptions": {\r\n				"type": "textbox",\r\n				"label": "Title",\r\n				"class": "textbox",\r\n				"validations": [\r\n					"required"\r\n				]\r\n			}\r\n		},\r\n		"description": {\r\n			"name": "Description",\r\n			"sortable": "true",\r\n			"editoptions": {\r\n				"type": "htmlEditor",\r\n				"label": "Description",\r\n				"class": "textarea",\r\n				"validations": [\r\n					"required"\r\n				]\r\n			}\r\n		},\r\n\r\n\r\n\r\n		"file_upload": {\r\n			"name": "Files",\r\n			"external": "true",\r\n			"externalOptions": {\r\n				"externalTable": "tbl_files",\r\n				"externalColumn": "file_id",\r\n				"externalShowColumn": "file_id"\r\n			},\r\n			"editoptions": {\r\n				"type": "file",\r\n				"label": "File Upload",\r\n				"class": "file"\r\n\r\n			}\r\n		}\r\n	},\r\n\r\n\r\n	"opertations": [\r\n		"add",\r\n		"view",\r\n		"edit",\r\n		"delete"\r\n	]\r\n}', '1', 1, 'all', 'admin', 'main', NULL),
(162, 10, 'Biometric Report', 'biometric_report_tpl', 'tbl_biometrictime', ' {"customAction": "true", "controller": "cmshelper", "method": "dailybiometricreport","module": "default"}', '0', 6, 'all', 'admin', 'main', 0),
(163, 10, 'In Time Report', 'month_biometric_report', 'tbl_biometrictime', '{"customAction": "true", "controller": "cmshelper", "method": "monthlybiometricattendancereports","module": "default"}', '0', 7, 'all', 'admin', 'main', 0),
(165, 10, 'Company Biometric Report', 'biometricreports_all_emp', 'biometrictime', '{\r\n"customAction": "true",\r\n"controller": "cmshelper",\r\n"method": "biometricreport",\r\n"module": "default"\r\n}', '0', 7, 'all', 'admin', 'main', NULL),
(166, 10, 'Company Biometric Report', 'biometricreport_all', 'biometrictime', '{\r\n"customAction": "true",\r\n"controller": "cmshelper",\r\n"method": "biometricreportallemployees",\r\n"module": "default"\r\n}', '0', 8, 'all', 'admin', 'main', NULL),
(167, 0, 'Merit Add', 'merit_add', 'tbl_merit', '{\r\n"keyColumn": "id",\r\n"wildsearch": "true",\r\n"detailHeaderColumnPrefix": "Merit Report: ",\r\n"handleFile": "true",\r\n"detailHeaderColumns": [\r\n"title"\r\n],\r\n"breadCrumbColumn": "name",\r\n"orderBy": {\r\n"id": "DESC"\r\n},\r\n"listColumns": [\r\n"name",\r\n"merit",\r\n"reason",\r\n"details"\r\n\r\n],\r\n"showColumns": [\r\n"name",\r\n"merit",\r\n"reason",\r\n"details",\r\n"emp_id"\r\n\r\n],\r\n"detailColumns": [\r\n"name",\r\n"emp_id",\r\n"merit",\r\n"reason",\r\n"details"\r\n\r\n],\r\n"columns": {\r\n"id": {\r\n"name": "id",\r\n"editoptions": {\r\n"type": "hidden"\r\n}\r\n},\r\n"emp_id": {\r\n"searchable": "true",\r\n"sortable": "true",\r\n"name": "UserName",\r\n"editoptions": {\r\n"type": "select",\r\n"source": "Cmshelper::employeeList",\r\n"default": "",\r\n"source_type": "function",\r\n"label": "UserName",\r\n"class": "select",\r\n"validations": ["required"]\r\n}\r\n},\r\n"merit": {\r\n"name": "Merit",\r\n"editoptions": {\r\n"type": "textarea",\r\n"label": "Merit",\r\n"class": "text",\r\n"validations": ["required"]\r\n}\r\n},\r\n"name": {\r\n"name": "UserName",\r\n"searchable": "true",\r\n"sortable": "true"\r\n},\r\n"reason": {\r\n"name": "Reason",\r\n"editoptions": {\r\n"type": "textarea",\r\n"label": "Reason",\r\n"class": "textarea",\r\n"validations": ["required"]\r\n}\r\n},\r\n"details": {\r\n"name": "Details",\r\n"editoptions": {\r\n"type": "textarea",\r\n"label": "Details",\r\n"class": "textarea",\r\n"validations": ["required"]\r\n}\r\n}\r\n\r\n},\r\n"customActions": {\r\n"afterAddRecord": "Cmshelper::insertEmpId"\r\n},\r\n"opertations": [\r\n"view", "add", "edit", "delete"\r\n],\r\n"operationLabel": {\r\n"viewTitle": "Merit Report"\r\n}\r\n}', '1', 8, 'all', 'admin', 'main', NULL),
(168, 17, 'Merit Report', 'merit_report', 'tbl_merit', '{\r\n"keyColumn": "id",\r\n"wildsearch": "true",\r\n"dataSource": "external",\r\n"dataSourceFunction": "Cmshelper::meritEmployeeNameListing",\r\n"detailHeaderColumnPrefix": "Merit: ",\r\n"handleFile": "true",\r\n"detailHeaderColumns": [\r\n"title"\r\n],\r\n"breadCrumbColumn": "Merit",\r\n"orderBy": {\r\n"id": "DESC"\r\n},\r\n"listColumns": [\r\n"name",\r\n"merit",\r\n"reason",\r\n"details"\r\n],\r\n"showColumns": [\r\n"name",\r\n"merit",\r\n"reason",\r\n"details"\r\n],\r\n"detailColumns": [\r\n"name",\r\n"merit",\r\n"reason",\r\n"details"\r\n],\r\n"columns": {\r\n"id": {\r\n"name": "ID"\r\n},\r\n"name": {\r\n"name": "UserNAme",\r\n"searchable": "true",\r\n"sortable": "true"\r\n},\r\n"merit": {\r\n"name": "Merit"\r\n},\r\n"reason": {\r\n"name": "Merit"\r\n},\r\n"details": {\r\n"name": "Merit"\r\n}\r\n},\r\n"opertations": [\r\n"view"\r\n],\r\n"operationLabel": {\r\n"viewTitle": "Merit Report"\r\n}\r\n}', '1', 8, 'all', 'admin', 'main', NULL),
(169, 10, 'Process Violations', 'process_violation_listings', 'tbl_attendance', '{ "customAction": "true", "controller": "cmshelper", "method": "process_violation_listing_cto", "module": "default" }', '0', 11, 'all', 'admin', 'main', NULL),
(171, 0, 'Documents', 'documents', 'tbl_documents', '{\n	"keyColumn": "document_id",\n	"wildsearch": "true",\n	"detailHeaderColumnPrefix": "Document: ",\n	"handleFile": "true",\n	"detailHeaderColumns": [\n		"document_id"\n	],\n	"breadCrumbColumn": "document_id",\n	"orderBy": {\n		"document_id": "DESC"\n	},\n	"listColumns": [\n		"document_name",\n		"document_image"\n\n	],\n	"showColumns": [\n		"document_name",\n		"document_image"\n	],\n	"detailColumns": [\n		"document_name",\n		"document_image"\n	],\n	"columns": {\n		"document_name": {\n			"name": "Document Name",\n			"searchable": "true",\n			"sortable": "true",\n			"editoptions": {\n				"type": "textbox",\n				"label": "Document name",\n				"class": "textbox",\n				"hint": "Document name",\n				"validations": [\n					"required"\n				]\n			}\n		},\n		"document_image": {\n			"name": "Document",\n			"external": "true",\n			"externalOptions": {\n				"externalTable": "tbl_files",\n				"externalColumn": "file_id",\n				"externalShowColumn": "file_id"\n			},\n			"editoptions": {\n				"type": "file",\n				"label": "Upload document",\n				"class": "file"\n			}\n		}\n	},\n\n	"opertations": [\n\n		"view"\n	],\n	"operationLabel": {\n\n		"viewTitle": "View Document"\n\n	}\n}', '1', 5, 'all', 'admin', 'main', NULL),
(172, 16, 'Document Management', 'document_management', 'tbl_documents', '{\n	"keyColumn": "document_id",\n	"wildsearch": "true",\n	"detailHeaderColumnPrefix": "Document: ",\n	"handleFile": "true",\n	"detailHeaderColumns": [\n		"document_id"\n	],\n	"breadCrumbColumn": "document_id",\n	"orderBy": {\n		"document_id": "DESC"\n	},\n	"listColumns": [\n		"document_name",\n		"document_image",\n		"department"\n\n	],\n	"showColumns": [\n		"document_name",\n		"document_image",\n		"department"\n	],\n	"detailColumns": [\n		"document_name",\n		"document_image",\n		"department"\n	],\n	"columns": {\n		"document_name": {\n			"name": "Document Name",\n			"searchable": "true",\n			"sortable": "true",\n			"editoptions": {\n				"type": "textbox",\n				"label": "Document name",\n				"class": "textbox",\n				"hint": "Document name",\n				"validations": [\n					"required"\n				]\n			}\n		},\n		"document_image": {\n			"name": "Document",\n			"external": "true",\n			"externalOptions": {\n				"externalTable": "tbl_files",\n				"externalColumn": "file_id",\n				"externalShowColumn": "file_id"\n			},\n			"editoptions": {\n				"type": "file",\n				"label": "Upload document",\n				"class": "file"\n			}\n		},\n\n		"department": {\n			"name": "Department",\n			"external": "true",\n			"externalOptions": {\n				"externalTable": "tbl_departments",\n				"externalColumn": "id",\n				"externalShowColumn": "dep_name"\n			},\n			"editoptions": {\n				"type": "select",\n				"source": "Cmshelper::getDepartmentCombo",\n				"source_type": "function",\n				"label": "Department",\n				"class": "select",\n				"validations": [\n					"required"\n				]\n			}\n		}\n\n	},\n\n	"opertations": [\n		"add",\n		"view",\n		"delete"\n	],\n	"operationLabel": {\n		"addLabel": "Add Document",\n		"viewTitle": "View Document",\n		"deleteTitle": "Delete Document"\n	}\n}', '1', 7, 'all', 'admin', 'main', NULL),
(173, 10, 'Log In Reports-Lead', 'checkinreportshead', 'attendance', '{ "customAction": "true", "controller": "cmshelper", "method": "checkinreportshead", "module": "default" }', '1', 1, 'all', 'admin', 'main', NULL),
(174, 10, 'Log In Reports-Manager', 'checkinreportshead', 'attendance', '{ "customAction": "true", "controller": "cmshelper", "method": "checkinreportshead", "module": "default" }', '1', 2, 'all', 'admin', 'main', NULL),
(175, 16, 'Developer Document Management', 'dev_document_management', 'tbl_documents', '{\n	"keyColumn": "document_id",\n	"wildsearch": "true",\n	"detailHeaderColumnPrefix": "Document: ",\n	"handleFile": "true",\n	"detailHeaderColumns": [\n		"document_id"\n	],\n	"breadCrumbColumn": "document_id",\n	"orderBy": {\n		"document_id": "DESC"\n	},\n	"listColumns": [\n		"document_name",\n		"document_image",\n		"department",\n		"description"\n\n	],\n	"showColumns": [\n		"document_name",\n		"document_image",\n		"department",\n		"description"\n	],\n	"detailColumns": [\n		"document_name",\n		"document_image",\n		"department",\n		"description"\n	],\n	"columns": {\n		"document_name": {\n			"name": "Document Name",\n			"searchable": "true",\n			"sortable": "true",\n			"editoptions": {\n				"type": "textbox",\n				"label": "Document name",\n				"class": "textbox",\n				"hint": "Document name",\n				"validations": [\n					"required"\n				]\n			}\n		},\n		"document_image": {\n			"name": "Document",\n			"external": "true",\n			"externalOptions": {\n				"externalTable": "tbl_files",\n				"externalColumn": "file_id",\n				"externalShowColumn": "file_id"\n			},\n			"editoptions": {\n				"type": "file",\n				"label": "Upload document",\n				"class": "file"\n			}\n		},\n\n		"department": {\n			"name": "Department",\n			"external": "true",\n			"externalOptions": {\n				"externalTable": "tbl_departments",\n				"externalColumn": "id",\n				"externalShowColumn": "dep_name"\n			},\n			"editoptions": {\n				"type": "select",\n				"source": "Cmshelper::getDepartmentCombo",\n				"source_type": "function",\n				"label": "Department",\n				"class": "select",\n				"validations": [\n					"required"\n				]\n			}\n		},\n		"description": {\n			"name": "Description",\n			"searchable": "true",\n			"sortable": "true",\n			"editoptions": {\n				"type": "textarea",\n				"label": "Description",\n				"class": "textarea",\n				"hint": "Description",\n				"validations": [\n					"required"\n				]\n			}\n		}\n\n	},\n\n	"opertations": [\n		"add",\n		"view",\n		"delete"\n	],\n	"operationLabel": {\n		"addLabel": "Add Document",\n		"viewTitle": "View Document",\n		"deleteTitle": "Delete Document"\n	}\n}', '1', 7, 'all', 'admin', 'main', NULL),
(177, 1, 'Graph Dashboard', 'graph_dashboard', 'tbl_project_tasks', '    {\n     "customAction": "true",\n     "controller": "Cmshelper",\n     "method": "graphdashboard",\n     "module": "default"\n    }', '0', 0, 'all', 'admin', 'main', NULL),
(205, 24, 'Project Report', 'report_project_resource', 'tbl_projects', '{\r\n    "keyColumn": "project_id",\r\n    "reportPanel": "true",\r\n    "reportTitle": "Project Report ",\r\n    "defaultDateRange": "weekly",\r\n    "dateRange": [\r\n        "weekly",\r\n        "monthly",\r\n        "custom"\r\n    ],\r\n    "dateField": "worked_on",\r\n    "dataSource": {\r\n        "queryFunction": "Cmshelper::getProjectResourceAnalatics"\r\n    },\r\n    "export": "true",\r\n    "listColumns": [\r\n        "project_name",\r\n        "project_category",\r\n        "total_allocated_hours",\r\n        "total_worked_hours",\r\n        "details",\r\n        "details_task"\r\n    ],\r\n    "exportColumns": [\r\n        "project_name",\r\n        "project_category",\r\n        "project_start_date",\r\n        "total_allocated_hours",\r\n        "total_worked_hours"\r\n    ],\r\n    "detailColumns": [\r\n        "project_name",\r\n        "project_category",\r\n        "total_allocated_hours",\r\n        "total_worked_hours",\r\n        "details",\r\n        "details_task"\r\n    ],\r\n    "columns": {\r\n        "project_name": {\r\n            "name": "Project",\r\n            "type": "text",\r\n            "defaultText": "Admin",\r\n            "sortable": "true",\r\n            "searchable": "searchable"\r\n        },\r\n        "project_category": {\r\n            "name": "Category",\r\n            "defaultText": "0",\r\n            "type": "text",\r\n            "sortable": "true",\r\n            "searchable": "searchable"\r\n        },\r\n        "total_allocated_hours": {\r\n            "name": "Total Allocated Hours",\r\n            "defaultText": "0",\r\n            "type": "text"\r\n        },\r\n        "total_worked_hours": {\r\n            "name": "Total Worked Hours",\r\n            "defaultText": "0",\r\n            "type": "text"\r\n        },\r\n        "details": {\r\n            "name": "Resource Details",\r\n            "customColumn": "true",\r\n            "customaction": "Cmshelper::getDetailsText",\r\n            "popupoptions": {\r\n                "type": "popup",\r\n                "customaction": "Cmshelper::getProjectDetailsURL"\r\n            }\r\n        },\r\n        "details_task": {\r\n            "name": "Task Details",\r\n            "customColumn": "true",\r\n            "customaction": "Cmshelper::getDetailsText",\r\n            "popupoptions": {\r\n                "type": "popup",\r\n                "customaction": "Cmshelper::getProjectTaskDetailsURL"\r\n            }\r\n        }\r\n    }\r\n}', '1', 10, 'all', 'admin', 'main', NULL);

INSERT INTO `cms_sections` (`id`, `group_id`, `section_name`, `section_alias`, `table_name`, `section_config`, `visibilty`, `display_order`, `user_privilege`, `module`, `db_type`, `smb_id`) VALUES
(183, 13, 'Documents', 'documents', 'tbl_documents', '{\r\n	"keyColumn": "document_id",\r\n	"wildsearch": "true",\r\n	"detailHeaderColumnPrefix": "Document: ",\r\n	"handleFile": "true",\r\n	"detailHeaderColumns": [\r\n		"document_id"\r\n	],\r\n	"breadCrumbColumn": "document_id",\r\n	"orderBy": {\r\n		"document_id": "DESC"\r\n	},\r\n	"listColumns": [\r\n		"document_name",\r\n		"document_image"\r\n\r\n	],\r\n	"showColumns": [\r\n		"document_name",\r\n		"document_image"\r\n	],\r\n	"detailColumns": [\r\n		"document_name",\r\n		"document_image"\r\n	],\r\n	"columns": {\r\n		"document_name": {\r\n			"name": "Document Name",\r\n			"searchable": "true",\r\n			"sortable": "true",\r\n			"editoptions": {\r\n				"type": "textbox",\r\n				"label": "Document name",\r\n				"class": "textbox",\r\n				"hint": "Document name",\r\n				"validations": [\r\n					"required"\r\n				]\r\n			}\r\n		},\r\n		"document_image": {\r\n			"name": "Document",\r\n			"external": "true",\r\n			"externalOptions": {\r\n				"externalTable": "tbl_files",\r\n				"externalColumn": "file_id",\r\n				"externalShowColumn": "file_id"\r\n			},\r\n			"editoptions": {\r\n				"type": "file",\r\n				"label": "Upload document",\r\n				"class": "file"\r\n			}\r\n		}\r\n	},\r\n\r\n	"opertations": [\r\n\r\n		"view"\r\n	],\r\n	"operationLabel": {\r\n\r\n		"viewTitle": "View Document"\r\n\r\n	}\r\n}', '0', 4, 'all', 'admin', 'main', NULL),
(182, 13, 'Holidays', 'viewholidays', 'tbl_holidays', '{ "keyColumn": "id", "wildsearch": "true", "dataSource": "external", "dataSourceFunction": "Cmshelper::fetchHolidaysList", "dataSourceCountFunction": "Cmshelper::fetchHolidaysListCount", "detailHeaderColumnPrefix": "Holidays: ", "handleFile": "true", "detailHeaderColumns": [ "title" ], "breadCrumbColumn": "title", "orderBy": { "id": "DESC" }, "where": "active=''Y''", "listColumns": [ "title", "date" ], "showColumns": [ "id", "title", "description", "date" ], "detailColumns": [ "title", "description", "date" ], "columns": { "id": { "name": "ID" }, "title": { "name": "Title" }, "description": { "name": "Description" }, "date": { "name": "Date", "dbFormat": "date", "displayFormat": "M d, Y" } }, "opertations": [ "view" ], "operationLabel": { "viewTitle": "View Holiday Details" } }', '0', 5, 'all', 'admin', 'main', NULL),
(181, 1, 'Revamp Dashboard', 'revampdashboard', 'tbl_project_tasks', '    {\r\n     "customAction": "true",\r\n     "controller": "Cmshelper",\r\n     "method": "revampdashboard",\r\n     "module": "default"\r\n    }', '0', 0, 'all', 'admin', 'main', NULL),
(208, 25, 'Bug Tracker', 'bug_tracker', 'tbl_project_bugs', '{\r\n  "customAction": "true",\r\n  "controller": "Cmshelper",\r\n  "method": "bug_tracker",\r\n  "module": "default"\r\n}', '0', 3, 'all', 'admin', 'main', NULL),
(207, 25, 'Timesheets Management', 'timesheet_management', 'tbl_project_timesheets', '{\r\n	"keyColumn": "timesheet_id",\r\n	"wildsearch": "true",\r\n	"detailHeaderColumnPrefix": "Team: ",\r\n	"handleFile": "true",\r\n	"detailHeaderColumns": [\r\n		"project_id"\r\n	],\r\n	"breadCrumbColumn": "project_id",\r\n	"orderBy": {\r\n		"timesheet_id": "DESC"\r\n	},\r\n	"listColumns": [\r\n		"project_id",\r\n		"estimation_file_id",\r\n		"timesheet_estimated_time",\r\n		"timesheet_description",\r\n		"timesheet_type",\r\n		"timesheet_status",\r\n		"added_on",\r\n		"added_by"\r\n	],\r\n	"showColumns": [\r\n		"project_id",\r\n		"estimation_file_id",\r\n		"timesheet_estimated_time",\r\n		"timesheet_description",\r\n		"timesheet_type",\r\n		"timesheet_status",\r\n		"added_on",\r\n		"added_by"\r\n	],\r\n	"detailColumns": [\r\n		"timesheet_id",\r\n		"project_id",\r\n		"estimation_file_id",\r\n		"timesheet_estimated_time",\r\n		"timesheet_description",\r\n		"timesheet_type",\r\n		"timesheet_status",\r\n		"added_on",\r\n		"added_by"\r\n	],\r\n	"columns": {\r\n		"timesheet_id": {\r\n			"name": "ID",\r\n			"editoptions": {\r\n				"type": "hidden"\r\n			}\r\n		},\r\n		"project_id": {\r\n			"name": "Project",\r\n			"searchable": "true",\r\n			"sortable": "true",\r\n			"external": "true",\r\n			"externalOptions": {\r\n				"externalTable": "tbl_projects",\r\n				"externalColumn": "project_id",\r\n				"externalShowColumn": "project_title"\r\n			}\r\n		},\r\n		"estimation_file_id": {\r\n			"name": "uploaded timesheet",\r\n			"external": "true",\r\n			"externalOptions": {\r\n				"externalTable": "tbl_files",\r\n				"externalColumn": "file_id",\r\n				"externalShowColumn": "file_id"\r\n			},\r\n			"editoptions": {\r\n				"type": "file",\r\n				"label": "Upload timesheet",\r\n				"class": "file"\r\n			}\r\n		},\r\n		"timesheet_estimated_time": {\r\n			"name": "Estimated Hours",\r\n			"searchable": "true",\r\n			"sortable": "true",\r\n			"editoptions": {\r\n				"type": "textbox",\r\n				"label": "Estimated Hours",\r\n				"class": "textbox",\r\n				"hint": "Estimated Hours",\r\n				"validations": [\r\n					"required"\r\n				]\r\n			}\r\n		},\r\n		"timesheet_description": {\r\n			"name": "Description",\r\n			"editoptions": {\r\n				"type": "textarea",\r\n				"label": "Timesheet Description",\r\n				"class": "textbox",\r\n				"validations": [\r\n					"required"\r\n				]\r\n			}\r\n		},\r\n		"added_on": {\r\n			"name": "Added on [m/d/Y]",\r\n			"sortable": "true",\r\n			"dbFormat": "date",\r\n			"displayFormat": "m/d/Y"\r\n		},\r\n		"added_by": {\r\n			"name": "Added by",\r\n			"external": "true",\r\n			"externalOptions": {\r\n				"externalTable": "tbl_employee",\r\n				"externalColumn": "emp_main_id",\r\n				"externalShowColumn": "first_name"\r\n			},\r\n			"editoptions": {}\r\n		},\r\n		"timesheet_type": {\r\n			"name": "Type",\r\n			"searchable": "true",\r\n			"editoptions": {\r\n				"type": "select",\r\n				"source": {\r\n					"main estimate": "Main estimate",\r\n					"additional estimate": "Additional estimate",\r\n					"estimation error": "Estimation error",\r\n					"client feedback": "Client feedback",\r\n					"plan variation": "Plan variation",\r\n					"others": "Others"\r\n				},\r\n				"default": "",\r\n				"source_type": "array",\r\n				"label": "Timesheet Type",\r\n				"class": "select",\r\n				"validations": [\r\n					"required"\r\n				]\r\n			}\r\n		},\r\n		"timesheet_status": {\r\n			"name": "Status",\r\n			"sortable": "true",\r\n			"popupoptions": {\r\n				"type": "popup",\r\n				"customaction": "Cmshelper::getTimesheetstatusPopupUrl"\r\n			}\r\n		}\r\n	},\r\n\r\n	"customActions": {\r\n		"beforeAddRecord": "Cmshelper::validateEngine",\r\n		"afterAddRecord": "Cmshelper::increaseTimesheetCount",\r\n		"beforeEditRecord": "Cmshelper::updateTimesheetCount",\r\n		"beforeDeleteRecord": "Cmshelper::decreaseTimesheetCount"\r\n	},\r\n	"opertations": [\r\n		"add",\r\n		"view",\r\n		"delete"\r\n	],\r\n	"operationLabel": {\r\n		"addLabel": "Add Timesheet",\r\n		"viewTitle": "View Timesheet Details",\r\n		"deleteTitle": "Delete Timesheet"\r\n	}\r\n}', '1', 7, 'all', 'admin', 'main', NULL);

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

--
-- Table structure for table `cms_users`
--

CREATE TABLE IF NOT EXISTS `cms_users` (
  `id` int(11) NOT NULL,
  `type` enum('sadmin','admin') NOT NULL,
  `username` varchar(256) NOT NULL,
  `password` varchar(256) NOT NULL,
  `email` varchar(256) NOT NULL,
  `role_id` int(11) NOT NULL,
  `status` enum('active','deleted') NOT NULL,
  `module` enum('admin','user') NOT NULL DEFAULT 'admin',
  `visibility` enum('0','1') DEFAULT '1',
  `reporting_id` bigint(20) NOT NULL
) ENGINE=MyISAM AUTO_INCREMENT=450 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `cms_users`
--

INSERT INTO `cms_users` (`id`, `type`, `username`, `password`, `email`, `role_id`, `status`, `module`, `visibility`, `reporting_id`) VALUES
(1, 'sadmin', 'sadmin', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 0, 'active', 'admin', '0', 0),
(2, 'admin', 'admin', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 1, 'active', 'admin', '0', 0),
(50, 'sadmin', 'S245', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(49, 'sadmin', 'S286', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(48, 'sadmin', 'S219', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 22, 'active', 'admin', '1', 0),
(47, 'sadmin', 'S215', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 22, 'active', 'admin', '1', 0),
(46, 'sadmin', 'S259', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 18, 'active', 'admin', '1', 0),
(45, 'sadmin', 'D101', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 18, 'active', 'admin', '1', 0),
(51, 'sadmin', 'S272', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(52, 'sadmin', 'S271', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(53, 'sadmin', 'S236', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(54, 'sadmin', 'S265', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(55, 'sadmin', 'S290', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(56, 'sadmin', 'S287', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(57, 'sadmin', 'S280', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(58, 'sadmin', 'S291', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(59, 'sadmin', 'S266', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(60, 'sadmin', 'S273', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(61, 'sadmin', 'S244', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(62, 'sadmin', 'S275', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(63, 'sadmin', 'S249', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(64, 'sadmin', 'D145', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'deleted', 'admin', '1', 0),
(65, 'sadmin', 'S295', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(66, 'sadmin', 'S293', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(67, 'sadmin', 'S288', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(127, 'sadmin', 'S284', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(69, 'sadmin', 'S292', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(70, 'sadmin', 'S296', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(71, 'sadmin', 'S283', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(72, 'sadmin', 'S281', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(73, 'sadmin', 'S227', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(74, 'sadmin', 'S269', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(75, 'sadmin', 'S212', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(76, 'sadmin', 'S268', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(77, 'sadmin', 'S216', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(78, 'sadmin', 'S277', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(79, 'sadmin', 'B105', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 18, 'active', 'admin', '1', 0),
(80, 'sadmin', 'B143', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(81, 'sadmin', 'B149', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(82, 'sadmin', 'B148', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(83, 'sadmin', 'B150', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(84, 'sadmin', 'B146', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(85, 'sadmin', 'B139', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 25, 'active', 'admin', '1', 0),
(86, 'sadmin', 'B142', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(190, 'sadmin', 'S326', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(88, 'sadmin', 'M113', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 14, 'deleted', 'admin', '1', 0),
(89, 'sadmin', 'M109', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 14, 'deleted', 'admin', '1', 0),
(91, 'sadmin', 'D112', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(92, 'sadmin', 'D214', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'deleted', 'admin', '1', 0),
(93, 'sadmin', 'D206', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(94, 'sadmin', 'D197', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(95, 'sadmin', 'D212', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(96, 'sadmin', 'D201', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(97, 'sadmin', 'D200', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'active', 'admin', '1', 0),
(98, 'sadmin', 'D209', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'deleted', 'admin', '1', 0),
(99, 'sadmin', 'D176', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 27, 'active', 'admin', '1', 0),
(100, 'sadmin', 'D189', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(101, 'sadmin', 'D208', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(102, 'sadmin', 'D147', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'active', 'admin', '1', 0),
(103, 'sadmin', 'D181', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'deleted', 'admin', '1', 0),
(104, 'sadmin', 'D207', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'deleted', 'admin', '1', 0),
(105, 'sadmin', 'D203', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(106, 'sadmin', 'D188', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'deleted', 'admin', '1', 0),
(107, 'sadmin', 'D186', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(108, 'sadmin', 'D193', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(109, 'sadmin', 'D210', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 17, 'deleted', 'admin', '1', 0),
(110, 'sadmin', 'D205', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(111, 'sadmin', 'D184', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'active', 'admin', '1', 0),
(112, 'sadmin', 'D198', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(113, 'sadmin', 'D199', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(114, 'sadmin', 'D191', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(115, 'sadmin', 'D166', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'deleted', 'admin', '1', 0),
(116, 'sadmin', 'D211', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(117, 'sadmin', 'D213', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(118, 'sadmin', 'D202', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(119, 'sadmin', 'S176', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(120, 'sadmin', 'S263', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(121, 'sadmin', 'D124', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'deleted', 'admin', '1', 0),
(122, 'sadmin', 'D169', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(123, 'sadmin', 'D195', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(124, 'sadmin', 'D185', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(125, 'sadmin', 'D179', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'active', 'admin', '1', 0),
(128, 'sadmin', 'D215', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(129, 'sadmin', 'B151', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(130, 'sadmin', 'D216', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(131, 'sadmin', 'D217', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 24, 'active', 'admin', '1', 0),
(132, 'sadmin', 'M114', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 21, 'active', 'admin', '1', 0),
(133, 'sadmin', 'B152', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 19, 'deleted', 'admin', '1', 0),
(134, 'sadmin', 'S297', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(135, 'sadmin', 'D218', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(143, 'sadmin', 'S300', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(142, 'sadmin', 'S299', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(141, 'sadmin', 'D219', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(140, 'sadmin', 'S298', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(144, 'sadmin', 'B153', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(145, 'sadmin', 'S301', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(146, 'sadmin', 'S302', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(147, 'sadmin', 'D220', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(148, 'sadmin', 'D221', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(149, 'sadmin', 'D222', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 17, 'deleted', 'admin', '1', 0),
(150, 'sadmin', 'S303', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(151, 'sadmin', 'S304', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(152, 'sadmin', 'S305', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(153, 'sadmin', 'S306', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(154, 'sadmin', 'D223', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'deleted', 'admin', '1', 0),
(155, 'sadmin', 'D224', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'active', 'admin', '1', 0),
(156, 'sadmin', 'D225', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(157, 'sadmin', 'S307', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(158, 'sadmin', 'S308', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(159, 'sadmin', 'S309', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(160, 'sadmin', 'D226', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(161, 'sadmin', 'S310', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(162, 'sadmin', 'S311', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(163, 'sadmin', 'D227', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 27, 'active', 'admin', '1', 0),
(164, 'sadmin', 'D228', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(165, 'sadmin', 'D229', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 17, 'active', 'admin', '1', 0),
(166, 'sadmin', 'S312', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(167, 'sadmin', 'S313', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(168, 'sadmin', 'S314', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(169, 'sadmin', 'S315', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(170, 'sadmin', 'S316', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(171, 'sadmin', 'B154', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(172, 'sadmin', 'S317', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(173, 'sadmin', 'S318', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(174, 'sadmin', 'S319', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(175, 'sadmin', 'S320', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(176, 'sadmin', 'D230', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(177, 'sadmin', 'D231', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(178, 'sadmin', 'D232', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(179, 'sadmin', 'B155', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(180, 'sadmin', 'B156', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(181, 'sadmin', 'S321', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(182, 'sadmin', 'S322', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(183, 'sadmin', 'S323', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(184, 'sadmin', 'S324', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 29, 'active', 'admin', '1', 0),
(185, 'sadmin', 'S325', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(186, 'sadmin', 'D233', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(187, 'sadmin', 'B157', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(188, 'sadmin', 'D234', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(189, 'sadmin', 'D235', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'deleted', 'admin', '1', 0),
(191, 'sadmin', 'S327', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(192, 'sadmin', 'S328', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(193, 'sadmin', 'M115', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 14, 'deleted', 'admin', '1', 0),
(194, 'sadmin', 'S329', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(195, 'sadmin', 'S330', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(196, 'sadmin', 'S331', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(197, 'sadmin', 'S332', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(198, 'sadmin', 'S333', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(199, 'sadmin', 'S334', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(200, 'sadmin', 'S335', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(201, 'sadmin', 's336', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(202, 'sadmin', 'S337', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(203, 'sadmin', 'S338', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(204, 'sadmin', 'S339', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(205, 'sadmin', 'S340', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(206, 'sadmin', 'S341', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(207, 'sadmin', 'S342', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(208, 'sadmin', 'S343', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(209, 'sadmin', 'S344', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(210, 'sadmin', 'S345', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(211, 'sadmin', 'S346', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(212, 'sadmin', 'S347', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(213, 'sadmin', 'S348', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(214, 'sadmin', 'S349', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(215, 'sadmin', 'S350', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(217, 'sadmin', 'D236', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(218, 'sadmin', 'S351', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(219, 'sadmin', 'S352', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(220, 'sadmin', 'D237', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'active', 'admin', '1', 0),
(221, 'sadmin', 'S353', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(222, 'sadmin', 'S354', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(223, 'sadmin', 'S355', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(224, 'sadmin', 'D238', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(225, 'sadmin', 'S356', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(226, 'sadmin', 'B158', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(227, 'sadmin', 'S357', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(228, 'sadmin', 'M116', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 18, 'active', 'admin', '1', 0),
(229, 'sadmin', 'S358', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(230, 'sadmin', 'B159', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 26, 'active', 'admin', '1', 0),
(231, 'sadmin', 'B162', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(232, 'sadmin', 'B161', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(233, 'sadmin', 'M117', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 14, 'deleted', 'admin', '1', 0),
(234, 'sadmin', 'S359', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(235, 'sadmin', 'S360', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(236, 'sadmin', 'S361', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(237, 'sadmin', 'S362', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(238, 'sadmin', 'D239', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(239, 'sadmin', 'S363', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(240, 'sadmin', 'S364', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(241, 'sadmin', 'S365', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(242, 'sadmin', 'D240', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(243, 'sadmin', 'D241', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 17, 'active', 'admin', '1', 0),
(244, 'sadmin', 'S366', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(245, 'sadmin', 'S367', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(246, 'sadmin', 'S368', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(247, 'sadmin', 'S369', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(248, 'sadmin', 'S370', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(249, 'sadmin', 'S371', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(250, 'sadmin', 'S372', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(251, 'sadmin', 'S373', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(252, 'sadmin', 'S374', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(253, 'sadmin', 'B163', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(254, 'sadmin', 'S375', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(255, 'sadmin', 'S376', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(256, 'sadmin', 'S377', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(257, 'sadmin', 'S378', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(258, 'sadmin', 'S379', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(259, 'sadmin', 'S380', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(260, 'sadmin', 'S381', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(261, 'sadmin', 'S382', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(262, 'sadmin', 'S383', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(263, 'sadmin', 'S384', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(264, 'sadmin', 'D242', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(265, 'sadmin', 'D243', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(266, 'sadmin', 'B164', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(267, 'sadmin', 'S385', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(268, 'sadmin', 'D244', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(269, 'sadmin', 'D245', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(270, 'sadmin', 'D246', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(271, 'sadmin', 'S386', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(272, 'sadmin', 'D247', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(273, 'sadmin', 'B165', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 26, 'active', 'admin', '1', 0),
(274, 'sadmin', 'S387', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(275, 'sadmin', 'D248', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 27, 'active', 'admin', '1', 0),
(276, 'sadmin', 'M118', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(277, 'sadmin', 'S388', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(278, 'sadmin', 'D249', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'active', 'admin', '1', 0),
(279, 'sadmin', 'B166', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 20, 'deleted', 'admin', '1', 0),
(280, 'sadmin', 'D250', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(281, 'sadmin', 'B167', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 20, 'active', 'admin', '1', 0),
(282, 'sadmin', 'D251', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(283, 'sadmin', 'D252', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(284, 'sadmin', 'D253', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(327, 'sadmin', 'B170', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(286, 'sadmin', 'D255', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(287, 'sadmin', 'D256', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(288, 'sadmin', 'D257', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(289, 'sadmin', 'D258', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(290, 'sadmin', 'D259', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(291, 'sadmin', 'D260', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(292, 'sadmin', 'D261', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(293, 'sadmin', 'D262', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(328, 'sadmin', 'S408', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(295, 'sadmin', 'D264', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(296, 'sadmin', 'S389', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 22, 'active', 'admin', '1', 0),
(297, 'sadmin', 'D265', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(298, 'sadmin', 'D266', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'active', 'admin', '1', 0),
(299, 'sadmin', 'D267', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 17, 'deleted', 'admin', '1', 0),
(300, 'sadmin', 'B168', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 19, 'active', 'admin', '1', 0),
(301, 'sadmin', 'S390', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(302, 'sadmin', 'S391', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(303, 'sadmin', 'S392', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(304, 'sadmin', 'S393', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(305, 'sadmin', 'S394', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(306, 'sadmin', 'M119', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(307, 'sadmin', 'S395', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(308, 'sadmin', 'S396', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(309, 'sadmin', 'S397', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(310, 'sadmin', 'S398', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(311, 'sadmin', 'S399', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(312, 'sadmin', 'S400', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(313, 'sadmin', 'S401', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(314, 'sadmin', 'M120', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 14, 'deleted', 'admin', '1', 0),
(315, 'sadmin', 'S402', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(316, 'sadmin', 'S403', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(317, 'sadmin', 'S404', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(318, 'sadmin', 'S405', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(322, 'sadmin', 'D268', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(418, 'sadmin', 'D285', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 16, 'deleted', 'admin', '1', 0),
(324, 'sadmin', 'S406', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 22, 'active', 'admin', '1', 0),
(325, 'sadmin', 'S407', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(326, 'sadmin', 'B169', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 20, 'active', 'admin', '1', 0),
(329, 'sadmin', 'S409', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(330, 'sadmin', 'B171', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 20, 'deleted', 'admin', '1', 0),
(333, 'sadmin', 'B172', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(332, 'sadmin', 'S410', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(334, 'sadmin', 'D270', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(335, 'sadmin', 'M121', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 14, 'active', 'admin', '1', 0),
(336, 'sadmin', 'S411', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(337, 'sadmin', 'S413', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(338, 'sadmin', 'S412', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(339, 'sadmin', 'S414', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(340, 'sadmin', 'B173', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(341, 'sadmin', 'S415', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(343, 'sadmin', 'S416', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(344, 'sadmin', 'S417', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(345, 'sadmin', 'D271', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 17, 'active', 'admin', '1', 0),
(346, 'sadmin', 'S420', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(347, 'sadmin', 'S419', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(348, 'sadmin', 'S418', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(349, 'sadmin', 'S421', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(350, 'sadmin', 'S422', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(352, 'sadmin', 'S423', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(353, 'sadmin', 'S424', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(354, 'sadmin', 'S425', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(355, 'sadmin', 'S426', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(356, 'sadmin', 'S427', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(357, 'sadmin', 'S428', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(358, 'sadmin', 'S429', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(359, 'sadmin', 'S430', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(360, 'sadmin', 'D272', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 27, 'active', 'admin', '1', 0),
(361, 'sadmin', 'D273', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(362, 'sadmin', 'S431', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(363, 'sadmin', 'S432', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(364, 'sadmin', 'B174', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(365, 'sadmin', 'S433', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(366, 'sadmin', 'S434', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(367, 'sadmin', 'S435', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(368, 'sadmin', 'S436', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(369, 'sadmin', 'S437', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(370, 'sadmin', 'S438', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(372, 'sadmin', 'S439', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(373, 'sadmin', 'S440', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(374, 'sadmin', 'S441', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(377, 'sadmin', 'S443', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(376, 'sadmin', 'S442', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(378, 'sadmin', 'D274', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(379, 'sadmin', 'S444', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(380, 'sadmin', 'S445', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(381, 'sadmin', 'S446', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(382, 'sadmin', 'S447', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(383, 'sadmin', 'S448', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(384, 'sadmin', 'S449', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(385, 'sadmin', 'S450', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(386, 'sadmin', 'S451', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(387, 'sadmin', 'S452', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(388, 'sadmin', 'S453', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(389, 'sadmin', 'B175', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 20, 'active', 'admin', '1', 0),
(390, 'sadmin', 'S454', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(391, 'sadmin', 'S455', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(393, 'sadmin', 'M122', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 14, 'active', 'admin', '1', 0),
(394, 'sadmin', 'D275', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 28, 'active', 'admin', '1', 0),
(395, 'sadmin', 'S456', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(396, 'sadmin', 'S457', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(397, 'sadmin', 'S458', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(398, 'sadmin', 'B176', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 20, 'active', 'admin', '1', 0),
(399, 'sadmin', 'S459', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(400, 'sadmin', 'S460', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(401, 'sadmin', 'D276', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'deleted', 'admin', '1', 0),
(402, 'sadmin', 'S461', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 29, 'active', 'admin', '1', 0),
(403, 'sadmin', 'B177', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 20, 'active', 'admin', '1', 0),
(404, 'sadmin', 'D277', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'deleted', 'admin', '1', 0),
(405, 'sadmin', 'S462', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(406, 'sadmin', 'D279', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(407, 'sadmin', 'D278', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 17, 'active', 'admin', '1', 0),
(408, 'sadmin', 'B178', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 20, 'deleted', 'admin', '1', 0),
(409, 'sadmin', 'D280', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(410, 'sadmin', 'D281', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(411, 'sadmin', 'D282', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(412, 'sadmin', 'D283', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(413, 'sadmin', 'D284', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(414, 'sadmin', 'B179', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(415, 'sadmin', 'S463', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(416, 'sadmin', 'S464', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(419, 'sadmin', 'D0', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(420, 'sadmin', 'S465', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(421, 'sadmin', 'D286', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(422, 'sadmin', 'S466', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(423, 'sadmin', 'S467', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(424, 'sadmin', 'D287', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(425, 'sadmin', 'S468', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(426, 'sadmin', 'B180', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 20, 'active', 'admin', '1', 0),
(427, 'sadmin', 'S469', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(428, 'sadmin', 'S470', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(430, 'sadmin', 'S471', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(431, 'sadmin', 'S472', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(432, 'sadmin', 'S473', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(433, 'sadmin', 'S474', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(434, 'sadmin', 'S475', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(435, 'sadmin', 'D288', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 30, 'active', 'admin', '1', 0),
(436, 'sadmin', 'D289', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 12, 'active', 'admin', '1', 0),
(437, 'sadmin', 'S477', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(438, 'sadmin', 'S476', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(439, 'sadmin', 'B181', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 20, 'active', 'admin', '1', 0),
(440, 'sadmin', 'B182', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 19, 'active', 'admin', '1', 0),
(441, 'sadmin', 'S478', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(442, 'sadmin', 'S479', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(443, 'sadmin', 'S480', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(444, 'sadmin', 'S481', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(445, 'sadmin', 'S482', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(446, 'sadmin', 'S483', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(449, 'sadmin', 'S485', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0),
(448, 'sadmin', 'S484', 'ea6b2efbdd4255a9f1b3bbc6399b58f4', '', 23, 'active', 'admin', '1', 0);

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

--
