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




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

--
-- Table structure for table `ard_audit_score`
--

CREATE TABLE `ard_audit_score` (
  `id` int(11) NOT NULL,
  `auditscore` int(11) NOT NULL DEFAULT '0',
  `lowscore` int(11) NOT NULL DEFAULT '0',
  `mediumscore` int(11) NOT NULL DEFAULT '0',
  `highscore` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_audit_score`
--

INSERT INTO `ard_audit_score` (`id`, `auditscore`, `lowscore`, `mediumscore`, `highscore`) VALUES
(1, 98, 1, 2, 3);

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

--
-- Table structure for table `ard_aud_ins_ip`
--

CREATE TABLE `ard_aud_ins_ip` (
  `id` int(11) NOT NULL,
  `aud_chap_name_id` int(11) NOT NULL,
  `aud_subchap_name_id` int(11) NOT NULL,
  `aud_subchap_req_id` int(11) NOT NULL,
  `aud_ins_ip_en` text,
  `aud_ins_ip_ar` text CHARACTER SET utf8,
  `status` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `ard_aud_method`
--

CREATE TABLE `ard_aud_method` (
  `id` int(11) NOT NULL,
  `method_name_en` text,
  `method_name_ar` text CHARACTER SET utf8,
  `status` int(11) NOT NULL DEFAULT '1',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `ard_aud_subchap_req_name`
--

CREATE TABLE `ard_aud_subchap_req_name` (
  `id` int(11) NOT NULL,
  `aud_chap_name_id` int(11) NOT NULL,
  `aud_subchap_name_id` int(11) NOT NULL,
  `aud_subchap_req_name_en` text,
  `aud_subchap_req_name_ar` text CHARACTER SET utf8,
  `status` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `ard_company`
--

CREATE TABLE `ard_company` (
  `id` int(11) NOT NULL,
  `company_name` text,
  `company_name_ar` varchar(255) DEFAULT NULL,
  `company_number` varchar(255) NOT NULL,
  `company_address1_en` text,
  `company_address1_ar` varchar(255) DEFAULT NULL,
  `company_address2_en` text,
  `company_address2_ar` varchar(255) DEFAULT NULL,
  `company_city_en` varchar(255) DEFAULT NULL,
  `company_city_ar` varchar(255) DEFAULT NULL,
  `company_state_en` varchar(255) DEFAULT NULL,
  `company_state_ar` varchar(255) DEFAULT NULL,
  `company_country_en` varchar(10) DEFAULT NULL,
  `company_country_ar` varchar(255) DEFAULT NULL,
  `company_zip_code_en` varchar(255) DEFAULT NULL,
  `company_zip_code_ar` varchar(255) DEFAULT NULL,
  `company_email_address` varchar(255) DEFAULT NULL,
  `company_contact_mobile_no` varchar(255) DEFAULT NULL,
  `company_contact_phone_no` varchar(255) DEFAULT NULL,
  `contact_person_name_en` varchar(255) DEFAULT NULL,
  `contact_person_name_ar` varchar(255) DEFAULT NULL,
  `contact_person_mobile_no` varchar(255) DEFAULT NULL,
  `contact_person_phone_no` varchar(255) DEFAULT NULL,
  `company_contact_person_designation_en` varchar(512) DEFAULT NULL,
  `company_contact_person_designation_ar` varchar(255) DEFAULT NULL,
  `company_contact_person_department_en` varchar(512) DEFAULT NULL,
  `company_contact_person_department_ar` varchar(255) DEFAULT NULL,
  `contact_person_email` varchar(255) DEFAULT NULL,
  `company_activity_en` text,
  `company_activity_ar` varchar(255) DEFAULT NULL,
  `company_prefix` varchar(20) NOT NULL,
  `company_country_use` varchar(512) NOT NULL,
  `company_country_use_ar` varchar(255) DEFAULT NULL,
  `equipment_count` int(11) DEFAULT '0',
  `company_module` mediumtext,
  `insp_auto_keyword` varchar(10) NOT NULL,
  `aud_auto_keyword` varchar(10) NOT NULL,
  `company_admin_id` varchar(512) DEFAULT NULL,
  `company_status` int(11) DEFAULT '0',
  `company_created_on` datetime DEFAULT NULL,
  `company_updated_on` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `company_logo` mediumtext,
  `small_company_logo` mediumtext,
  `insp_auto_keyword_json` mediumtext,
  `aud_auto_keyword_json` mediumtext,
  `company_language` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `ard_company`
--

INSERT INTO `ard_company` (`id`, `company_name`, `company_name_ar`, `company_number`, `company_address1_en`, `company_address1_ar`, `company_address2_en`, `company_address2_ar`, `company_city_en`, `company_city_ar`, `company_state_en`, `company_state_ar`, `company_country_en`, `company_country_ar`, `company_zip_code_en`, `company_zip_code_ar`, `company_email_address`, `company_contact_mobile_no`, `company_contact_phone_no`, `contact_person_name_en`, `contact_person_name_ar`, `contact_person_mobile_no`, `contact_person_phone_no`, `company_contact_person_designation_en`, `company_contact_person_designation_ar`, `company_contact_person_department_en`, `company_contact_person_department_ar`, `contact_person_email`, `company_activity_en`, `company_activity_ar`, `company_prefix`, `company_country_use`, `company_country_use_ar`, `equipment_count`, `company_module`, `insp_auto_keyword`, `aud_auto_keyword`, `company_admin_id`, `company_status`, `company_created_on`, `company_updated_on`, `company_logo`, `small_company_logo`, `insp_auto_keyword_json`, `aud_auto_keyword_json`, `company_language`) VALUES
(1, 'Ardhas Technology', 'التكنولوجيا', 'TSQCTC-CMP-00001', 'Ground Floor', 'الطابق الأرضي', 'Tower B, CHIL SEZ IT park,Keeranatham Road,Saravanampatty', 'لا توجد معلومات متاحة', 'Coimbatore', 'لا توجد معلوم', 'Tamil Nadu', 'سيرفيسي يترجم', 'IN', 'IN', '641035', '641035', 'mkesav.ardhas@gmail.com', NULL, '042226989', 'kesavan', 'كيسافان', '7094422114', '7094422114', 'HR', 'الإنسان', 'HR', 'الإنسان', 'mkesav.ardhas@gmail.com', 'Web Development', 'رقم الهاتف المحمول', 'ard', 'IN', 'IN', 16, 'INS,AUD', 'TSQCTC/INS', 'TSQCTC/AUD', '1067', 1, '2018-04-03 18:13:43', '2018-08-06 10:35:42', 'assets/images/logo/logo_1533528737.png', 'assets/images/logo/small_1533528738.png', '["T","S","Q","C","T","C","\\/","I","N","S"]', '["T","S","Q","C","T","C","\\/","A","U","D"]', 'both');

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

--
-- Table structure for table `ard_company_device_map`
--

CREATE TABLE `ard_company_device_map` (
  `id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `license_number` varchar(512) DEFAULT NULL,
  `mac_address` varchar(512) DEFAULT NULL,
  `equipment_modal` varchar(512) DEFAULT NULL,
  `device_status` int(11) NOT NULL DEFAULT '0',
  `device_map_created_on` datetime DEFAULT CURRENT_TIMESTAMP,
  `device_map_updated_on` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `device_modules` varchar(50) DEFAULT NULL,
  `license_expiry_year` varchar(10) DEFAULT NULL,
  `lic_expiry_date` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_company_device_map`
--

INSERT INTO `ard_company_device_map` (`id`, `company_id`, `license_number`, `mac_address`, `equipment_modal`, `device_status`, `device_map_created_on`, `device_map_updated_on`, `device_modules`, `license_expiry_year`, `lic_expiry_date`) VALUES
(1, 1, '69T96-EBZUM-HRSGR-JA85N', 'bc:d1:1f:5f:df:18', '', 1, '2018-08-21 14:12:19', '2018-08-21 14:12:19', 'INS,AUD', '1', '2019-05-22'),
(2, 1, 'FL2ZA-EJFLL-JHK4G-G8J7T', '', '', -1, '2018-08-21 14:12:19', '2018-08-21 14:12:19', 'INS,AUD', '0', '2018-07-24'),
(3, 1, 'WFBEM-SPNRJ-2XVSN-VWW39', '10:7:b6:4d:7c:ce', '', 1, '2018-08-21 14:12:19', '2018-08-21 14:12:19', 'INS,AUD', '0', '2018-07-24'),
(4, 1, '9BGJ5-PR4YP-NLUPR-886LQ', '', '', 0, '2018-08-21 14:12:22', '2018-08-21 14:12:22', 'INS,AUD', '1', '2019-05-22'),
(5, 1, 'FCD2V-RNHEF-HDHQN-D658U', '54:27:58:e5:78:7f', '', 1, '2018-08-21 14:12:25', '2018-08-21 14:12:25', 'INS', '1', '2019-05-22'),
(6, 1, 'JL652-M3ZHD-FPGKG-33UB7', '2:0:0:44:55:66', '', 1, '2018-08-21 14:12:27', '2018-08-21 14:12:27', 'AUD', '1', '2019-05-22'),
(7, 1, '2KBAZ-PDVKB-GUNCP-FQG6Y', '', '', 0, '2018-08-21 14:12:28', '2018-08-21 14:12:28', 'AUD', '1', '2019-05-22'),
(8, 1, 'LCDSN-KLF6M-DXWEY-NU3A5', '', '', 0, '2018-08-21 14:12:31', '2018-08-21 14:12:31', 'AUD', '1', '2019-05-22'),
(9, 1, '5GQJK-5PZCL-QNPT7-45H92', 'a0:32:99:41:c:86', '', 1, '2018-08-21 14:12:34', '2018-08-21 14:12:34', 'AUD', '1', '2019-05-22'),
(10, 1, 'RJDUX-5LGTE-GQ3HE-LZS6H', '10:7:b6:4d:7c:ce', '', 1, '2018-08-21 14:12:34', '2018-08-21 14:12:34', 'AUD', '1', '2019-05-22'),
(11, 1, 'FAMMM-G7WDA-PNSJL-7QJBF', 'bc:d1:1f:5f:df:18', '', 1, '2018-08-21 14:12:35', '2018-08-21 14:12:35', 'AUD', '1', '2019-05-22'),
(12, 1, '3URVQ-Q7KUV-3KV9C-LSHYR', 'a0:32:99:41:c:86', '', 1, '2018-08-21 14:12:35', '2018-08-21 14:12:35', 'INS', '1', '2019-05-22'),
(13, 1, 'WLDAU-4L7BW-E4HWQ-XCM8W', '4:22:15:54:59:17', '', 1, '2018-08-21 14:12:35', '2018-08-21 14:12:35', 'INS', '1', '2019-05-22'),
(14, 1, 'UVD57-T3BQ6-NFXJ9-3HNWB', '54:27:58:e5:78:7f', '', 1, '2018-08-21 14:12:35', '2018-08-21 14:12:35', 'INS,AUD', '1', '2019-05-22'),
(15, 1, 'ME34N-MHZA4-LXNM2-CAPVM', '20:47:da:af:36:3c', '', 1, '2018-08-21 14:12:35', '2018-08-21 14:12:35', 'INS', '1', '2019-05-22'),
(16, 1, 'XJ8LB-FAZM8-TYCMT-QY2GZ', '48:88:ca:8e:6b:9b', '', 1, '2018-08-21 14:12:35', '2018-08-21 14:12:35', 'AUD', '4', '2022-05-22');

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

--
-- Table structure for table `ard_comp_profile`
--

CREATE TABLE `ard_comp_profile` (
  `id` int(11) NOT NULL,
  `name_en` text,
  `name_ar` text CHARACTER SET utf8,
  `addr_en` text,
  `addr_ar` text CHARACTER SET utf8,
  `city_en` text,
  `city_ar` text CHARACTER SET utf8,
  `state_en` text,
  `state_ar` text CHARACTER SET utf8,
  `cntry_en` text,
  `cntry_ar` text CHARACTER SET utf8,
  `zip_code_en` text,
  `zip_code_ar` text,
  `comp_email` text,
  `comp_contact` text,
  `company_logo` text NOT NULL,
  `company_small_logo` text NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_on` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `status` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_comp_profile`
--

INSERT INTO `ard_comp_profile` (`id`, `name_en`, `name_ar`, `addr_en`, `addr_ar`, `city_en`, `city_ar`, `state_en`, `state_ar`, `cntry_en`, `cntry_ar`, `zip_code_en`, `zip_code_ar`, `comp_email`, `comp_contact`, `company_logo`, `company_small_logo`, `created_on`, `updated_on`, `status`) VALUES
(1, 'Ardhas Technologyy', NULL, 'Ground Floor,Tower B, CHIL SEZ IT park,Keeranatham Road,Saravanampatty', NULL, 'Coimbatore', NULL, 'Tamil Nadu', NULL, 'India', NULL, '641035', NULL, 'mkesav.ardhas@gmail.com', '42226989', 'assets/images/profile/1526445050_ur_log.jpg', 'assets/images/profile/1526444977_sm_ur_apple-icon-precomposed.png', '2018-05-15 16:56:54', '2018-05-22 13:55:15', 1);

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

--
-- Table structure for table `ard_country`
--

CREATE TABLE `ard_country` (
  `id` int(11) NOT NULL,
  `iso` char(2) NOT NULL,
  `name` varchar(80) NOT NULL,
  `nicename` varchar(80) NOT NULL,
  `iso3` char(3) DEFAULT NULL,
  `numcode` smallint(6) DEFAULT NULL,
  `country_status` int(11) NOT NULL DEFAULT '1'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_country`
--

INSERT INTO `ard_country` (`id`, `iso`, `name`, `nicename`, `iso3`, `numcode`, `country_status`) VALUES
(1, 'AF', 'AFGHANISTAN', 'Afghanistan', 'AFG', 4, 1),
(2, 'AL', 'ALBANIA', 'Albania', 'ALB', 8, 1),
(3, 'DZ', 'ALGERIA', 'Algeria', 'DZA', 12, 1),
(4, 'AS', 'AMERICAN SAMOA', 'American Samoa', 'ASM', 16, 1),
(5, 'AD', 'ANDORRA', 'Andorra', 'AND', 20, 1),
(6, 'AO', 'ANGOLA', 'Angola', 'AGO', 24, 1),
(7, 'AI', 'ANGUILLA', 'Anguilla', 'AIA', 660, 1),
(8, 'AQ', 'ANTARCTICA', 'Antarctica', NULL, NULL, 1),
(9, 'AG', 'ANTIGUA AND BARBUDA', 'Antigua and Barbuda', 'ATG', 28, 1),
(10, 'AR', 'ARGENTINA', 'Argentina', 'ARG', 32, 1),
(11, 'AM', 'ARMENIA', 'Armenia', 'ARM', 51, 1),
(12, 'AW', 'ARUBA', 'Aruba', 'ABW', 533, 1),
(13, 'AU', 'AUSTRALIA', 'Australia', 'AUS', 36, 1),
(14, 'AT', 'AUSTRIA', 'Austria', 'AUT', 40, 1),
(15, 'AZ', 'AZERBAIJAN', 'Azerbaijan', 'AZE', 31, 1),
(16, 'BS', 'BAHAMAS', 'Bahamas', 'BHS', 44, 1),
(17, 'BH', 'BAHRAIN', 'Bahrain', 'BHR', 48, 1),
(18, 'BD', 'BANGLADESH', 'Bangladesh', 'BGD', 50, 1),
(19, 'BB', 'BARBADOS', 'Barbados', 'BRB', 52, 1),
(20, 'BY', 'BELARUS', 'Belarus', 'BLR', 112, 1),
(21, 'BE', 'BELGIUM', 'Belgium', 'BEL', 56, 1),
(22, 'BZ', 'BELIZE', 'Belize', 'BLZ', 84, 1),
(23, 'BJ', 'BENIN', 'Benin', 'BEN', 204, 1),
(24, 'BM', 'BERMUDA', 'Bermuda', 'BMU', 60, 1),
(25, 'BT', 'BHUTAN', 'Bhutan', 'BTN', 64, 1),
(26, 'BO', 'BOLIVIA', 'Bolivia', 'BOL', 68, 1),
(27, 'BA', 'BOSNIA AND HERZEGOVINA', 'Bosnia and Herzegovina', 'BIH', 70, 1),
(28, 'BW', 'BOTSWANA', 'Botswana', 'BWA', 72, 1),
(29, 'BV', 'BOUVET ISLAND', 'Bouvet Island', NULL, NULL, 1),
(30, 'BR', 'BRAZIL', 'Brazil', 'BRA', 76, 1),
(31, 'IO', 'BRITISH INDIAN OCEAN TERRITORY', 'British Indian Ocean Territory', NULL, NULL, 1),
(32, 'BN', 'BRUNEI DARUSSALAM', 'Brunei Darussalam', 'BRN', 96, 1),
(33, 'BG', 'BULGARIA', 'Bulgaria', 'BGR', 100, 1),
(34, 'BF', 'BURKINA FASO', 'Burkina Faso', 'BFA', 854, 1),
(35, 'BI', 'BURUNDI', 'Burundi', 'BDI', 108, 1),
(36, 'KH', 'CAMBODIA', 'Cambodia', 'KHM', 116, 1),
(37, 'CM', 'CAMEROON', 'Cameroon', 'CMR', 120, 1),
(38, 'CA', 'CANADA', 'Canada', 'CAN', 124, 1),
(39, 'CV', 'CAPE VERDE', 'Cape Verde', 'CPV', 132, 1),
(40, 'KY', 'CAYMAN ISLANDS', 'Cayman Islands', 'CYM', 136, 1),
(41, 'CF', 'CENTRAL AFRICAN REPUBLIC', 'Central African Republic', 'CAF', 140, 1),
(42, 'TD', 'CHAD', 'Chad', 'TCD', 148, 1),
(43, 'CL', 'CHILE', 'Chile', 'CHL', 152, 1),
(44, 'CN', 'CHINA', 'China', 'CHN', 156, 1),
(45, 'CX', 'CHRISTMAS ISLAND', 'Christmas Island', NULL, NULL, 1),
(46, 'CC', 'COCOS (KEELING) ISLANDS', 'Cocos (Keeling) Islands', NULL, NULL, 1),
(47, 'CO', 'COLOMBIA', 'Colombia', 'COL', 170, 1),
(48, 'KM', 'COMOROS', 'Comoros', 'COM', 174, 1),
(49, 'CG', 'CONGO', 'Congo', 'COG', 178, 1),
(50, 'CD', 'CONGO, THE DEMOCRATIC REPUBLIC OF THE', 'Congo, the Democratic Republic of the', 'COD', 180, 1),
(51, 'CK', 'COOK ISLANDS', 'Cook Islands', 'COK', 184, 1),
(52, 'CR', 'COSTA RICA', 'Costa Rica', 'CRI', 188, 1),
(53, 'CI', 'COTE D\'IVOIRE', 'Cote D\'Ivoire', 'CIV', 384, 1),
(54, 'HR', 'CROATIA', 'Croatia', 'HRV', 191, 1),
(55, 'CU', 'CUBA', 'Cuba', 'CUB', 192, 1),
(56, 'CY', 'CYPRUS', 'Cyprus', 'CYP', 196, 1),
(57, 'CZ', 'CZECH REPUBLIC', 'Czech Republic', 'CZE', 203, 1),
(58, 'DK', 'DENMARK', 'Denmark', 'DNK', 208, 1),
(59, 'DJ', 'DJIBOUTI', 'Djibouti', 'DJI', 262, 1),
(60, 'DM', 'DOMINICA', 'Dominica', 'DMA', 212, 1),
(61, 'DO', 'DOMINICAN REPUBLIC', 'Dominican Republic', 'DOM', 214, 1),
(62, 'EC', 'ECUADOR', 'Ecuador', 'ECU', 218, 1),
(63, 'EG', 'EGYPT', 'Egypt', 'EGY', 818, 1),
(64, 'SV', 'EL SALVADOR', 'El Salvador', 'SLV', 222, 1),
(65, 'GQ', 'EQUATORIAL GUINEA', 'Equatorial Guinea', 'GNQ', 226, 1),
(66, 'ER', 'ERITREA', 'Eritrea', 'ERI', 232, 1),
(67, 'EE', 'ESTONIA', 'Estonia', 'EST', 233, 1),
(68, 'ET', 'ETHIOPIA', 'Ethiopia', 'ETH', 231, 1),
(69, 'FK', 'FALKLAND ISLANDS (MALVINAS)', 'Falkland Islands (Malvinas)', 'FLK', 238, 1),
(70, 'FO', 'FAROE ISLANDS', 'Faroe Islands', 'FRO', 234, 1),
(71, 'FJ', 'FIJI', 'Fiji', 'FJI', 242, 1),
(72, 'FI', 'FINLAND', 'Finland', 'FIN', 246, 1),
(73, 'FR', 'FRANCE', 'France', 'FRA', 250, 1),
(74, 'GF', 'FRENCH GUIANA', 'French Guiana', 'GUF', 254, 1),
(75, 'PF', 'FRENCH POLYNESIA', 'French Polynesia', 'PYF', 258, 1),
(76, 'TF', 'FRENCH SOUTHERN TERRITORIES', 'French Southern Territories', NULL, NULL, 1),
(77, 'GA', 'GABON', 'Gabon', 'GAB', 266, 1),
(78, 'GM', 'GAMBIA', 'Gambia', 'GMB', 270, 1),
(79, 'GE', 'GEORGIA', 'Georgia', 'GEO', 268, 1),
(80, 'DE', 'GERMANY', 'Germany', 'DEU', 276, 1),
(81, 'GH', 'GHANA', 'Ghana', 'GHA', 288, 1),
(82, 'GI', 'GIBRALTAR', 'Gibraltar', 'GIB', 292, 1),
(83, 'GR', 'GREECE', 'Greece', 'GRC', 300, 1),
(84, 'GL', 'GREENLAND', 'Greenland', 'GRL', 304, 1),
(85, 'GD', 'GRENADA', 'Grenada', 'GRD', 308, 1),
(86, 'GP', 'GUADELOUPE', 'Guadeloupe', 'GLP', 312, 1),
(87, 'GU', 'GUAM', 'Guam', 'GUM', 316, 1),
(88, 'GT', 'GUATEMALA', 'Guatemala', 'GTM', 320, 1),
(89, 'GN', 'GUINEA', 'Guinea', 'GIN', 324, 1),
(90, 'GW', 'GUINEA-BISSAU', 'Guinea-Bissau', 'GNB', 624, 1),
(91, 'GY', 'GUYANA', 'Guyana', 'GUY', 328, 1),
(92, 'HT', 'HAITI', 'Haiti', 'HTI', 332, 1),
(93, 'HM', 'HEARD ISLAND AND MCDONALD ISLANDS', 'Heard Island and Mcdonald Islands', NULL, NULL, 1),
(94, 'VA', 'HOLY SEE (VATICAN CITY STATE)', 'Holy See (Vatican City State)', 'VAT', 336, 1),
(95, 'HN', 'HONDURAS', 'Honduras', 'HND', 340, 1),
(96, 'HK', 'HONG KONG', 'Hong Kong', 'HKG', 344, 1),
(97, 'HU', 'HUNGARY', 'Hungary', 'HUN', 348, 1),
(98, 'IS', 'ICELAND', 'Iceland', 'ISL', 352, 1),
(99, 'IN', 'INDIA', 'India', 'IND', 356, 1),
(100, 'ID', 'INDONESIA', 'Indonesia', 'IDN', 360, 1),
(101, 'IR', 'IRAN, ISLAMIC REPUBLIC OF', 'Iran, Islamic Republic of', 'IRN', 364, 1),
(102, 'IQ', 'IRAQ', 'Iraq', 'IRQ', 368, 1),
(103, 'IE', 'IRELAND', 'Ireland', 'IRL', 372, 1),
(104, 'IL', 'ISRAEL', 'Israel', 'ISR', 376, 1),
(105, 'IT', 'ITALY', 'Italy', 'ITA', 380, 1),
(106, 'JM', 'JAMAICA', 'Jamaica', 'JAM', 388, 1),
(107, 'JP', 'JAPAN', 'Japan', 'JPN', 392, 1),
(108, 'JO', 'JORDAN', 'Jordan', 'JOR', 400, 1),
(109, 'KZ', 'KAZAKHSTAN', 'Kazakhstan', 'KAZ', 398, 1),
(110, 'KE', 'KENYA', 'Kenya', 'KEN', 404, 1),
(111, 'KI', 'KIRIBATI', 'Kiribati', 'KIR', 296, 1),
(112, 'KP', 'KOREA, DEMOCRATIC PEOPLE\'S REPUBLIC OF', 'Korea, Democratic People\'s Republic of', 'PRK', 408, 1),
(113, 'KR', 'KOREA, REPUBLIC OF', 'Korea, Republic of', 'KOR', 410, 1),
(114, 'KW', 'KUWAIT', 'Kuwait', 'KWT', 414, 1),
(115, 'KG', 'KYRGYZSTAN', 'Kyrgyzstan', 'KGZ', 417, 1),
(116, 'LA', 'LAO PEOPLE\'S DEMOCRATIC REPUBLIC', 'Lao People\'s Democratic Republic', 'LAO', 418, 1),
(117, 'LV', 'LATVIA', 'Latvia', 'LVA', 428, 1),
(118, 'LB', 'LEBANON', 'Lebanon', 'LBN', 422, 1),
(119, 'LS', 'LESOTHO', 'Lesotho', 'LSO', 426, 1),
(120, 'LR', 'LIBERIA', 'Liberia', 'LBR', 430, 1),
(121, 'LY', 'LIBYAN ARAB JAMAHIRIYA', 'Libyan Arab Jamahiriya', 'LBY', 434, 1),
(122, 'LI', 'LIECHTENSTEIN', 'Liechtenstein', 'LIE', 438, 1),
(123, 'LT', 'LITHUANIA', 'Lithuania', 'LTU', 440, 1),
(124, 'LU', 'LUXEMBOURG', 'Luxembourg', 'LUX', 442, 1),
(125, 'MO', 'MACAO', 'Macao', 'MAC', 446, 1),
(126, 'MK', 'MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF', 'Macedonia, the Former Yugoslav Republic of', 'MKD', 807, 1),
(127, 'MG', 'MADAGASCAR', 'Madagascar', 'MDG', 450, 1),
(128, 'MW', 'MALAWI', 'Malawi', 'MWI', 454, 1),
(129, 'MY', 'MALAYSIA', 'Malaysia', 'MYS', 458, 1),
(130, 'MV', 'MALDIVES', 'Maldives', 'MDV', 462, 1),
(131, 'ML', 'MALI', 'Mali', 'MLI', 466, 1),
(132, 'MT', 'MALTA', 'Malta', 'MLT', 470, 1),
(133, 'MH', 'MARSHALL ISLANDS', 'Marshall Islands', 'MHL', 584, 1),
(134, 'MQ', 'MARTINIQUE', 'Martinique', 'MTQ', 474, 1),
(135, 'MR', 'MAURITANIA', 'Mauritania', 'MRT', 478, 1),
(136, 'MU', 'MAURITIUS', 'Mauritius', 'MUS', 480, 1),
(137, 'YT', 'MAYOTTE', 'Mayotte', NULL, NULL, 1),
(138, 'MX', 'MEXICO', 'Mexico', 'MEX', 484, 1),
(139, 'FM', 'MICRONESIA, FEDERATED STATES OF', 'Micronesia, Federated States of', 'FSM', 583, 1),
(140, 'MD', 'MOLDOVA, REPUBLIC OF', 'Moldova, Republic of', 'MDA', 498, 1),
(141, 'MC', 'MONACO', 'Monaco', 'MCO', 492, 1),
(142, 'MN', 'MONGOLIA', 'Mongolia', 'MNG', 496, 1),
(143, 'MS', 'MONTSERRAT', 'Montserrat', 'MSR', 500, 1),
(144, 'MA', 'MOROCCO', 'Morocco', 'MAR', 504, 1),
(145, 'MZ', 'MOZAMBIQUE', 'Mozambique', 'MOZ', 508, 1),
(146, 'MM', 'MYANMAR', 'Myanmar', 'MMR', 104, 1),
(147, 'NA', 'NAMIBIA', 'Namibia', 'NAM', 516, 1),
(148, 'NR', 'NAURU', 'Nauru', 'NRU', 520, 1),
(149, 'NP', 'NEPAL', 'Nepal', 'NPL', 524, 1),
(150, 'NL', 'NETHERLANDS', 'Netherlands', 'NLD', 528, 1),
(151, 'AN', 'NETHERLANDS ANTILLES', 'Netherlands Antilles', 'ANT', 530, 1),
(152, 'NC', 'NEW CALEDONIA', 'New Caledonia', 'NCL', 540, 1),
(153, 'NZ', 'NEW ZEALAND', 'New Zealand', 'NZL', 554, 1),
(154, 'NI', 'NICARAGUA', 'Nicaragua', 'NIC', 558, 1),
(155, 'NE', 'NIGER', 'Niger', 'NER', 562, 1),
(156, 'NG', 'NIGERIA', 'Nigeria', 'NGA', 566, 1),
(157, 'NU', 'NIUE', 'Niue', 'NIU', 570, 1),
(158, 'NF', 'NORFOLK ISLAND', 'Norfolk Island', 'NFK', 574, 1),
(159, 'MP', 'NORTHERN MARIANA ISLANDS', 'Northern Mariana Islands', 'MNP', 580, 1),
(160, 'NO', 'NORWAY', 'Norway', 'NOR', 578, 1),
(161, 'OM', 'OMAN', 'Oman', 'OMN', 512, 1),
(162, 'PK', 'PAKISTAN', 'Pakistan', 'PAK', 586, 1),
(163, 'PW', 'PALAU', 'Palau', 'PLW', 585, 1),
(164, 'PS', 'PALESTINIAN TERRITORY, OCCUPIED', 'Palestinian Territory, Occupied', NULL, NULL, 1),
(165, 'PA', 'PANAMA', 'Panama', 'PAN', 591, 1),
(166, 'PG', 'PAPUA NEW GUINEA', 'Papua New Guinea', 'PNG', 598, 1),
(167, 'PY', 'PARAGUAY', 'Paraguay', 'PRY', 600, 1),
(168, 'PE', 'PERU', 'Peru', 'PER', 604, 1),
(169, 'PH', 'PHILIPPINES', 'Philippines', 'PHL', 608, 1),
(170, 'PN', 'PITCAIRN', 'Pitcairn', 'PCN', 612, 1),
(171, 'PL', 'POLAND', 'Poland', 'POL', 616, 1),
(172, 'PT', 'PORTUGAL', 'Portugal', 'PRT', 620, 1),
(173, 'PR', 'PUERTO RICO', 'Puerto Rico', 'PRI', 630, 1),
(174, 'QA', 'QATAR', 'Qatar', 'QAT', 634, 1),
(175, 'RE', 'REUNION', 'Reunion', 'REU', 638, 1),
(176, 'RO', 'ROMANIA', 'Romania', 'ROM', 642, 1),
(177, 'RU', 'RUSSIAN FEDERATION', 'Russian Federation', 'RUS', 643, 1),
(178, 'RW', 'RWANDA', 'Rwanda', 'RWA', 646, 1),
(179, 'SH', 'SAINT HELENA', 'Saint Helena', 'SHN', 654, 1),
(180, 'KN', 'SAINT KITTS AND NEVIS', 'Saint Kitts and Nevis', 'KNA', 659, 1),
(181, 'LC', 'SAINT LUCIA', 'Saint Lucia', 'LCA', 662, 1),
(182, 'PM', 'SAINT PIERRE AND MIQUELON', 'Saint Pierre and Miquelon', 'SPM', 666, 1),
(183, 'VC', 'SAINT VINCENT AND THE GRENADINES', 'Saint Vincent and the Grenadines', 'VCT', 670, 1),
(184, 'WS', 'SAMOA', 'Samoa', 'WSM', 882, 1),
(185, 'SM', 'SAN MARINO', 'San Marino', 'SMR', 674, 1),
(186, 'ST', 'SAO TOME AND PRINCIPE', 'Sao Tome and Principe', 'STP', 678, 1),
(187, 'SA', 'SAUDI ARABIA', 'Saudi Arabia', 'SAU', 682, 1),
(188, 'SN', 'SENEGAL', 'Senegal', 'SEN', 686, 1),
(189, 'CS', 'SERBIA AND MONTENEGRO', 'Serbia and Montenegro', NULL, NULL, 1),
(190, 'SC', 'SEYCHELLES', 'Seychelles', 'SYC', 690, 1),
(191, 'SL', 'SIERRA LEONE', 'Sierra Leone', 'SLE', 694, 1),
(192, 'SG', 'SINGAPORE', 'Singapore', 'SGP', 702, 1),
(193, 'SK', 'SLOVAKIA', 'Slovakia', 'SVK', 703, 1),
(194, 'SI', 'SLOVENIA', 'Slovenia', 'SVN', 705, 1),
(195, 'SB', 'SOLOMON ISLANDS', 'Solomon Islands', 'SLB', 90, 1),
(196, 'SO', 'SOMALIA', 'Somalia', 'SOM', 706, 1),
(197, 'ZA', 'SOUTH AFRICA', 'South Africa', 'ZAF', 710, 1),
(198, 'GS', 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS', 'South Georgia and the South Sandwich Islands', NULL, NULL, 1),
(199, 'ES', 'SPAIN', 'Spain', 'ESP', 724, 1),
(200, 'LK', 'SRI LANKA', 'Sri Lanka', 'LKA', 144, 1),
(201, 'SD', 'SUDAN', 'Sudan', 'SDN', 736, 1),
(202, 'SR', 'SURINAME', 'Suriname', 'SUR', 740, 1),
(203, 'SJ', 'SVALBARD AND JAN MAYEN', 'Svalbard and Jan Mayen', 'SJM', 744, 1),
(204, 'SZ', 'SWAZILAND', 'Swaziland', 'SWZ', 748, 1),
(205, 'SE', 'SWEDEN', 'Sweden', 'SWE', 752, 1),
(206, 'CH', 'SWITZERLAND', 'Switzerland', 'CHE', 756, 1),
(207, 'SY', 'SYRIAN ARAB REPUBLIC', 'Syrian Arab Republic', 'SYR', 760, 1),
(208, 'TW', 'TAIWAN, PROVINCE OF CHINA', 'Taiwan, Province of China', 'TWN', 158, 1),
(209, 'TJ', 'TAJIKISTAN', 'Tajikistan', 'TJK', 762, 1),
(210, 'TZ', 'TANZANIA, UNITED REPUBLIC OF', 'Tanzania, United Republic of', 'TZA', 834, 1),
(211, 'TH', 'THAILAND', 'Thailand', 'THA', 764, 1),
(212, 'TL', 'TIMOR-LESTE', 'Timor-Leste', NULL, NULL, 1),
(213, 'TG', 'TOGO', 'Togo', 'TGO', 768, 1),
(214, 'TK', 'TOKELAU', 'Tokelau', 'TKL', 772, 1),
(215, 'TO', 'TONGA', 'Tonga', 'TON', 776, 1),
(216, 'TT', 'TRINIDAD AND TOBAGO', 'Trinidad and Tobago', 'TTO', 780, 1),
(217, 'TN', 'TUNISIA', 'Tunisia', 'TUN', 788, 1),
(218, 'TR', 'TURKEY', 'Turkey', 'TUR', 792, 1),
(219, 'TM', 'TURKMENISTAN', 'Turkmenistan', 'TKM', 795, 1),
(220, 'TC', 'TURKS AND CAICOS ISLANDS', 'Turks and Caicos Islands', 'TCA', 796, 1),
(221, 'TV', 'TUVALU', 'Tuvalu', 'TUV', 798, 1),
(222, 'UG', 'UGANDA', 'Uganda', 'UGA', 800, 1),
(223, 'UA', 'UKRAINE', 'Ukraine', 'UKR', 804, 1),
(224, 'AE', 'UNITED ARAB EMIRATES', 'United Arab Emirates', 'ARE', 784, 1),
(225, 'GB', 'UNITED KINGDOM', 'United Kingdom', 'GBR', 826, 1),
(226, 'US', 'UNITED STATES', 'United States', 'USA', 840, 1),
(227, 'UM', 'UNITED STATES MINOR OUTLYING ISLANDS', 'United States Minor Outlying Islands', NULL, NULL, 1),
(228, 'UY', 'URUGUAY', 'Uruguay', 'URY', 858, 1),
(229, 'UZ', 'UZBEKISTAN', 'Uzbekistan', 'UZB', 860, 1),
(230, 'VU', 'VANUATU', 'Vanuatu', 'VUT', 548, 1),
(231, 'VE', 'VENEZUELA', 'Venezuela', 'VEN', 862, 1),
(232, 'VN', 'VIET NAM', 'Viet Nam', 'VNM', 704, 1),
(233, 'VG', 'VIRGIN ISLANDS, BRITISH', 'Virgin Islands, British', 'VGB', 92, 1),
(234, 'VI', 'VIRGIN ISLANDS, U.S.', 'Virgin Islands, U.s.', 'VIR', 850, 1),
(235, 'WF', 'WALLIS AND FUTUNA', 'Wallis and Futuna', 'WLF', 876, 1),
(236, 'EH', 'WESTERN SAHARA', 'Western Sahara', 'ESH', 732, 1),
(237, 'YE', 'YEMEN', 'Yemen', 'YEM', 887, 1),
(238, 'ZM', 'ZAMBIA', 'Zambia', 'ZMB', 894, 1),
(239, 'ZW', 'ZIMBABWE', 'Zimbabwe', 'ZWE', 716, 1),
(240, 'RS', 'SERBIA', 'Serbia', 'SRB', 688, 1),
(241, 'AP', 'ASIA PACIFIC REGION', 'Asia / Pacific Region', '0', 0, 1),
(242, 'ME', 'MONTENEGRO', 'Montenegro', 'MNE', 499, 1),
(243, 'AX', 'ALAND ISLANDS', 'Aland Islands', 'ALA', 248, 1),
(244, 'BQ', 'BONAIRE, SINT EUSTATIUS AND SABA', 'Bonaire, Sint Eustatius and Saba', 'BES', 535, 1),
(245, 'CW', 'CURACAO', 'Curacao', 'CUW', 531, 1),
(246, 'GG', 'GUERNSEY', 'Guernsey', 'GGY', 831, 1),
(247, 'IM', 'ISLE OF MAN', 'Isle of Man', 'IMN', 833, 1),
(248, 'JE', 'JERSEY', 'Jersey', 'JEY', 832, 1),
(249, 'XK', 'KOSOVO', 'Kosovo', '---', 0, 1),
(250, 'BL', 'SAINT BARTHELEMY', 'Saint Barthelemy', 'BLM', 652, 1),
(251, 'MF', 'SAINT MARTIN', 'Saint Martin', 'MAF', 663, 1),
(252, 'SX', 'SINT MAARTEN', 'Sint Maarten', 'SXM', 534, 1),
(253, 'SS', 'SOUTH SUDAN', 'South Sudan', 'SSD', 728, 1);

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

--
-- Table structure for table `ard_hazard`
--

CREATE TABLE `ard_hazard` (
  `id` int(11) NOT NULL,
  `comp_id` int(11) DEFAULT NULL,
  `hazard_en` text,
  `hazard_ar` text CHARACTER SET utf8,
  `status` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_on` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_hazard`
--

INSERT INTO `ard_hazard` (`id`, `comp_id`, `hazard_en`, `hazard_ar`, `status`, `created_on`, `updated_on`) VALUES
(1, NULL, 'PPE', 'خطر', 1, '2018-07-19 11:23:17', '2018-07-19 12:13:31'),
(2, NULL, 'Hand & Power Tools Safety', 'السلامة من الحرائقأدوات السلامة والأدوات اليدوية', 1, '2018-07-19 11:23:51', '2018-07-19 12:13:55'),
(3, NULL, 'Confined Space Safety', 'سلامة الفضاء المحصورة', 1, '2018-07-19 11:24:17', '2018-07-19 12:14:30'),
(4, NULL, 'House Keepingg', 'التدبير المنزلي', 1, '2018-07-19 11:24:35', '2018-07-22 13:42:44'),
(5, 1, 'sgdfgfdj', 'gfjhgkjhgjk', 2, '2018-07-20 17:06:56', '2018-07-22 13:42:55'),
(6, 1, 'ertdytri', 'fyhfgduyi', 1, '2018-07-22 13:42:18', NULL);

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

--
-- Table structure for table `ard_insaud_chap_name`
--

CREATE TABLE `ard_insaud_chap_name` (
  `id` int(11) NOT NULL,
  `fk_insp_name_id` int(11) DEFAULT NULL,
  `chap_name_en` text,
  `chap_name_ar` text,
  `status` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `ard_insaud_chap_name`
--

INSERT INTO `ard_insaud_chap_name` (`id`, `fk_insp_name_id`, `chap_name_en`, `chap_name_ar`, `status`, `created_on`, `updated_on`) VALUES
(1, 1, 'chap1', 'chap1', 1, '2018-07-12 13:22:46', '2018-07-12 13:24:06'),
(2, 1, 'chap2', 'chap2', 1, '2018-07-12 13:22:46', '2018-07-12 13:22:46');

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

--
-- Table structure for table `ard_insaud_subchap_name`
--

CREATE TABLE `ard_insaud_subchap_name` (
  `id` int(11) NOT NULL,
  `fk_chap_name_id` int(11) NOT NULL,
  `subchap_name_en` text,
  `subchap_name_ar` text,
  `status` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `ard_insaud_subchap_name`
--

INSERT INTO `ard_insaud_subchap_name` (`id`, `fk_chap_name_id`, `subchap_name_en`, `subchap_name_ar`, `status`, `created_on`, `updated_on`) VALUES
(1, 1, 'subchap1', 'subchap1', 1, '2018-07-12 13:24:40', '2018-07-12 13:24:40'),
(2, 1, 'subchap2', 'subchap2', 1, '2018-07-12 13:24:40', '2018-07-12 13:24:40'),
(3, 2, 'subchap21', 'subchap21', 1, '2018-07-12 13:24:40', '2018-07-12 13:24:40'),
(4, 2, 'subchap22', 'subchap22', 1, '2018-07-12 13:24:40', '2018-07-12 13:24:40');

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

--
-- Table structure for table `ard_inspection_report`
--

CREATE TABLE `ard_inspection_report` (
  `id_report` int(11) NOT NULL,
  `fk_inspection_plan_id` int(11) NOT NULL,
  `report_path` text NOT NULL,
  `report_extension` varchar(255) NOT NULL,
  `report_version` varchar(512) NOT NULL,
  `report_version_date` date DEFAULT NULL,
  `report_creation_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `report_modified_on` datetime NOT NULL,
  `report_status` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_inspection_report`
--

INSERT INTO `ard_inspection_report` (`id_report`, `fk_inspection_plan_id`, `report_path`, `report_extension`, `report_version`, `report_version_date`, `report_creation_on`, `report_modified_on`, `report_status`) VALUES
(1, 1, 'assets/module/inspection/report/inspection-2018-07-19-07-07-10.pdf', 'PDF', '1', '2018-07-19', '2018-07-19 07:30:11', '0000-00-00 00:00:00', 1),
(2, 31, 'assets/module/inspection/report/inspection-2018-07-22-10-07-24.pdf', 'PDF', '1', '2018-07-22', '2018-07-22 10:02:28', '0000-00-00 00:00:00', 1),
(3, 51, 'assets/module/inspection/report/inspection-2018-07-30-12-07-14.pdf', 'PDF', '1', '2018-07-30', '2018-07-30 12:16:19', '0000-00-00 00:00:00', 1);

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

--
-- Table structure for table `ard_insp_action_track`
--

CREATE TABLE `ard_insp_action_track` (
  `id` int(11) NOT NULL,
  `plan_id` int(11) DEFAULT NULL,
  `sched_id` int(11) DEFAULT NULL,
  `finding_id` int(11) DEFAULT NULL,
  `action_to_take` text CHARACTER SET utf8,
  `resp` text CHARACTER SET utf8,
  `target_date` text CHARACTER SET utf8,
  `action_taken` text CHARACTER SET utf8,
  `completion_date` text CHARACTER SET utf8 NOT NULL,
  `track_status` text CHARACTER SET utf8,
  `status` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_action_track`
--

INSERT INTO `ard_insp_action_track` (`id`, `plan_id`, `sched_id`, `finding_id`, `action_to_take`, `resp`, `target_date`, `action_taken`, `completion_date`, `track_status`, `status`, `created_on`, `updated_on`) VALUES
(1, 1, 1, 1, 'Action to Be taken testing\r\n', 'Action Taken/ Completed testing', '2018-07-19', 'Action Taken/ Completed testing\r\n', '2018-07-19', 'completed', 1, '2018-07-19 12:42:44', '2018-07-19 12:42:44'),
(2, 1, 1, 2, 'Action to Be taken\r\n', 'Responsibility  test', '2018-07-19', 'Action Taken/ Completed\r\n', '2018-07-19', 'complete', 1, '2018-07-19 12:42:44', '2018-07-19 12:42:44'),
(3, 1, 1, 3, 'Action to Be taken test\r\n', 'Responsibility ', '2018-07-19', 'Action Taken/ Completed test\r\n ', '2018-07-19', 'complete', 1, '2018-07-19 12:42:44', '2018-07-19 12:42:44'),
(4, 5, 5, 10, 'Action to Be taken 5 testing\r\n ', 'Action to Be taken 5 testing', '2018-07-19', 'Action to Be taken 5 testing\r\n', '2018-07-19', 'completed', 1, '2018-07-19 12:44:57', '2018-07-19 12:44:57'),
(5, 29, 33, 26, 'dsg gfhfghfgh', 'fdg', '2018-07-22', 'fg', '2018-07-22', 'dfg', 1, '2018-07-22 13:04:42', '2018-07-22 13:04:42'),
(6, 29, 33, 27, '', '', '2018-07-22', '', '2018-07-22', '', 1, '2018-07-22 13:04:42', '2018-07-22 13:04:42'),
(7, 29, 34, 28, '', '', '2018-07-22', '', '2018-07-22', '', 1, '2018-07-22 13:04:42', '2018-07-22 13:04:42'),
(8, 29, 35, 29, '', '', '2018-07-22', '', '2018-07-22', '', 1, '2018-07-22 13:04:42', '2018-07-22 13:04:42'),
(9, 31, 39, 31, 'nvbjfg', 'hfdgfh', '2018-07-22', 'fgjfgjfgj', '2018-07-23', 'fghfgh', 1, '2018-07-22 14:33:27', '2018-07-22 14:33:27'),
(10, 31, 39, 32, '', '', '2018-07-22', '', '2018-07-22', '', 1, '2018-07-22 14:33:27', '2018-07-22 14:33:27'),
(11, 31, 40, 33, '', '', '2018-07-22', '', '2018-07-22', '', 1, '2018-07-22 14:33:27', '2018-07-22 14:33:28'),
(12, 51, 64, 58, 'gfdgdfhdfdfh', 'fgdfgd', '2018-07-30', 'dgdfgfdhdfh', '2018-07-30', 'completed', 1, '2018-07-30 18:17:30', '2018-07-30 18:17:30'),
(13, 51, 64, 60, 'dsgdhgsdfh', 'dsgdshg', '2018-07-30', 'sdghfdhsfh', '2018-07-30', 'completed', 1, '2018-07-30 18:17:30', '2018-07-30 18:17:30'),
(14, 51, 65, 59, 'sgsdgsd', 'dsgshgds', '2018-07-30', 'gdsgsdgsd', '2018-07-30', 'completed', 1, '2018-07-30 18:17:30', '2018-07-30 18:17:30'),
(15, 51, 65, 61, 'fdshsdh', 'sdhdshsd', '2018-07-30', 'sdfhsdh', '2018-07-30', 'pending', 1, '2018-07-30 18:17:30', '2018-07-30 18:17:30'),
(16, 51, 65, 62, 'dsshdshsd', 'sdhds', '2018-07-30', 'dhshsd', '2018-07-30', 'pending', 1, '2018-07-30 18:17:30', '2018-07-30 18:17:30');

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

--
-- Table structure for table `ard_insp_cause_category`
--

CREATE TABLE `ard_insp_cause_category` (
  `id` int(11) NOT NULL,
  `category_name_en` text,
  `category_name_ar` text CHARACTER SET utf8,
  `cat_status` int(11) NOT NULL DEFAULT '0',
  `cat_created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `cat_updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_cause_category`
--

INSERT INTO `ard_insp_cause_category` (`id`, `category_name_en`, `category_name_ar`, `cat_status`, `cat_created_on`, `cat_updated_on`) VALUES
(1, 'Unsafe act', 'عمل غير آمنة', 1, '2018-04-09 14:57:41', '2018-04-09 14:57:41'),
(2, 'Unsafe Condition', 'حالة غير آمنة', 1, '2018-04-09 14:59:00', '2018-04-09 14:59:00'),
(3, 'Unsafe Equipment', 'معدات غير آمنة', 1, '2018-04-09 14:59:00', '2018-04-09 14:59:00'),
(4, 'Process / System Weakness', 'ضعف عملية / نظام', 1, '2018-04-09 14:59:58', '2018-04-09 14:59:58');

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

--
-- Table structure for table `ard_insp_department`
--

CREATE TABLE `ard_insp_department` (
  `id` int(11) NOT NULL,
  `fac_id` int(11) DEFAULT NULL,
  `dept_name_en` text CHARACTER SET utf8,
  `dept_name_ar` text CHARACTER SET utf8,
  `status` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_department`
--

INSERT INTO `ard_insp_department` (`id`, `fac_id`, `dept_name_en`, `dept_name_ar`, `status`, `created_on`, `updated_on`) VALUES
(1, 1, 'dept11', '11قسم', 1, '2018-07-19 11:13:07', '2018-07-19 12:16:48'),
(2, 1, 'dept12', '12قسم', 1, '2018-07-19 11:13:24', '2018-07-19 12:16:51'),
(3, 1, 'dept21', '21قسم', 2, '2018-07-19 11:13:44', '2018-07-19 12:16:57'),
(4, 1, 'dept22', '22قسم', 2, '2018-07-19 11:13:53', '2018-07-19 12:17:00'),
(5, 1, 'dept31', '31قسم', 2, '2018-07-19 11:14:03', '2018-07-19 12:17:39'),
(6, 1, 'dept32', '32قسم', 2, '2018-07-19 11:14:12', '2018-07-19 12:17:34'),
(7, 2, 'dept21', '21صباح', 1, '2018-07-19 11:53:04', '2018-07-19 12:17:46'),
(8, 2, 'dept22', '22صباح', 1, '2018-07-19 11:53:04', '2018-07-19 12:18:15'),
(9, 3, 'dept31', '31سم القسم', 1, '2018-07-19 11:53:38', '2018-07-19 12:18:24'),
(10, 3, 'dept32', '32علامة', 1, '2018-07-19 11:53:38', '2018-07-19 12:18:29'),
(11, 4, 'dept41', '41 قطن', 1, '2018-07-19 11:54:28', '2018-07-19 12:18:34'),
(12, 4, 'dept42', '42 الهندية', 1, '2018-07-19 11:54:28', '2018-07-19 12:18:38'),
(13, 10, 'ljdkshfdsg', 'hgkhgjkjhlkjl', 2, '2018-07-20 17:05:57', '2018-07-22 12:34:09'),
(14, 14, 'cvnbvcn', 'arabicx test1', 2, '2018-07-22 12:18:55', '2018-07-22 12:47:03'),
(15, 14, 'vnvcnbvmbvm', 'arabic test2', 2, '2018-07-22 12:18:55', '2018-07-22 12:47:19'),
(16, 10, 'dsgfdhgdfhghgj', 'szvgxcfdhggfdh', 1, '2018-07-22 12:34:32', '2018-07-22 12:34:53'),
(17, 14, 'maintenance', 'ءاييفعف', 2, '2018-07-22 12:37:55', '2018-07-22 12:47:19'),
(18, 14, 'fgfdhfhgfj', 'rtrytyr', 1, '2018-07-22 12:47:41', '2018-07-22 12:47:53'),
(19, 2, 'sadfrsdf', NULL, 1, '2018-07-22 12:56:12', '2018-07-22 12:56:12'),
(20, 4, 'ljdkshfdsg', 'hgkhgjkjhlkjl', 1, '2018-07-22 16:54:08', '2018-07-22 16:54:08');

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

--
-- Table structure for table `ard_insp_designation`
--

CREATE TABLE `ard_insp_designation` (
  `id` int(11) NOT NULL,
  `insp_desg_en` text,
  `insp_desg_ar` text CHARACTER SET utf8,
  `status` int(11) DEFAULT '1',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_designation`
--

INSERT INTO `ard_insp_designation` (`id`, `insp_desg_en`, `insp_desg_ar`, `status`, `created_on`, `updated_on`) VALUES
(1, 'Project Manager', 'Project Manager', 1, '2018-07-04 11:41:02', '2018-07-04 11:41:02'),
(2, 'Team Leader', 'Team Leader', 1, '2018-07-04 11:44:27', '2018-07-04 11:44:27'),
(3, 'Designers', 'Designer', 2, '2018-07-04 11:44:54', '2018-07-04 11:45:13'),
(4, 'Designers', 'Designers', 1, '2018-07-04 11:45:32', '2018-07-04 11:45:32'),
(5, 'test desig', NULL, 2, '2018-07-22 13:33:35', '2018-07-22 13:34:44'),
(6, 'eng new desig', 'new desig arabic', 2, '2018-07-22 13:33:53', '2018-07-22 13:34:41'),
(7, 'add new desig english', 'add new desig arabic', 1, '2018-07-22 13:34:57', '2018-07-22 13:35:11');

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

--
-- Table structure for table `ard_insp_facility`
--

CREATE TABLE `ard_insp_facility` (
  `id` int(11) NOT NULL,
  `comp_id` int(11) NOT NULL,
  `facility_en` text CHARACTER SET utf8,
  `facility_ar` text CHARACTER SET utf8,
  `status` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_facility`
--

INSERT INTO `ard_insp_facility` (`id`, `comp_id`, `facility_en`, `facility_ar`, `status`, `created_on`, `updated_on`) VALUES
(1, 0, 'fac1', '1جعل', 1, '2018-07-19 11:11:16', '2018-07-19 12:16:20'),
(2, 1, 'fac2', '2جعل', 1, '2018-07-19 11:11:41', '2018-07-19 12:16:24'),
(3, 1, 'fac3', '3جعل', 1, '2018-07-19 11:11:59', '2018-07-19 12:16:27'),
(4, 1, 'fac4', '4جعل', 1, '2018-07-19 11:12:18', '2018-07-19 12:16:30'),
(5, 1, 'fac5', '5جعل', 1, '2018-07-19 11:12:27', '2018-07-19 12:16:34'),
(6, 1, 'dubai officerr', NULL, 2, '2018-07-19 15:01:39', '2018-07-19 15:03:36'),
(7, 1, 'dubai officeee', NULL, 1, '2018-07-20 11:19:05', '2018-07-20 11:19:19'),
(8, 1, 'dubai office', 'dubai office', 1, '2018-07-20 11:19:34', '2018-07-20 11:19:34'),
(9, 1, 'aaa  aaaa', 'aaa  aaaa', 1, '2018-07-20 15:44:12', '2018-07-20 15:44:12'),
(10, 1, 'aaaaaa', 'aaaaaa', 1, '2018-07-20 17:05:22', '2018-07-20 17:05:22'),
(14, 0, 'dgsgsdgds12345', 'fxghgfdshdegtrtyty', 1, '2018-07-22 12:08:08', '2018-07-22 12:10:25');

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

--
-- Table structure for table `ard_insp_inspection_criteria`
--

CREATE TABLE `ard_insp_inspection_criteria` (
  `id` int(11) NOT NULL,
  `insp_name_id` int(11) NOT NULL,
  `insp_criteria_en` text CHARACTER SET utf8,
  `insp_criteria_ar` text CHARACTER SET utf8,
  `status` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_inspection_criteria`
--

INSERT INTO `ard_insp_inspection_criteria` (`id`, `insp_name_id`, `insp_criteria_en`, `insp_criteria_ar`, `status`, `created_on`, `updated_on`) VALUES
(1, 0, 'criteria1', 'المعايير', 1, '2018-07-19 11:33:56', '2018-07-19 11:33:56'),
(2, 0, 'criteria2', 'تقنية', 1, '2018-07-19 11:34:18', '2018-07-19 11:34:18'),
(3, 0, 'criteria3', 'مارتن', 1, '2018-07-19 11:35:37', '2018-07-19 11:35:37'),
(4, 0, 'criteria4', 'خروف', 1, '2018-07-19 11:35:56', '2018-07-19 11:35:56'),
(5, 0, 'criteria5', 'صباح', 1, '2018-07-19 11:36:27', '2018-07-19 11:36:27'),
(6, 0, 'dsgdfhg', 'dfhgfjhgj', 1, '2018-07-20 17:08:27', '2018-07-20 17:08:27'),
(7, 0, 'insp crieria 2', 'insp crieria 2', 1, '2018-07-22 14:11:51', '2018-07-22 14:11:51');

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

--
-- Table structure for table `ard_insp_inspection_name`
--

CREATE TABLE `ard_insp_inspection_name` (
  `id` int(11) NOT NULL,
  `inspection_name_en` text CHARACTER SET utf8,
  `inspection_name_ar` text CHARACTER SET utf8,
  `status` int(11) NOT NULL DEFAULT '1',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_inspection_name`
--

INSERT INTO `ard_insp_inspection_name` (`id`, `inspection_name_en`, `inspection_name_ar`, `status`, `created_on`, `updated_on`) VALUES
(1, 'inspname1', 'اسم', 1, '2018-07-19 11:25:27', '2018-07-19 11:25:27'),
(2, 'inspname2', 'اسم عزيزي', 1, '2018-07-19 11:25:56', '2018-07-19 11:25:56'),
(3, 'inspname3', 'مدرسة عزيزي', 1, '2018-07-19 11:26:23', '2018-07-19 11:26:23'),
(4, 'inspname4', 'مستشفى', 1, '2018-07-19 11:27:07', '2018-07-19 11:27:07');

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

--
-- Table structure for table `ard_insp_location`
--

CREATE TABLE `ard_insp_location` (
  `id` int(11) NOT NULL,
  `dept_id` int(11) NOT NULL,
  `location_en` text CHARACTER SET utf8,
  `location_ar` text CHARACTER SET utf8,
  `status` int(11) NOT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_location`
--

INSERT INTO `ard_insp_location` (`id`, `dept_id`, `location_en`, `location_ar`, `status`, `created_on`, `updated_on`) VALUES
(1, 1, 'loc11', 'مكان', 1, '2018-07-19 11:15:00', '2018-07-19 11:15:00'),
(2, 1, 'loc12', 'مكان', 1, '2018-07-19 11:15:19', '2018-07-19 11:15:19'),
(3, 2, 'loc21', 'مكان', 1, '2018-07-19 11:15:35', '2018-07-19 11:15:35'),
(4, 2, 'loc22', 'مكان', 1, '2018-07-19 11:15:49', '2018-07-19 11:15:49'),
(5, 3, 'loc31', 'مكان', 1, '2018-07-19 11:16:02', '2018-07-19 11:16:02'),
(6, 3, 'loc32', 'مكان', 1, '2018-07-19 11:16:10', '2018-07-19 11:16:10'),
(7, 1, 'loc111', ' الموقع', 1, '2018-07-19 12:00:16', '2018-07-19 12:00:16'),
(8, 1, 'loc22', 'اسم', 1, '2018-07-19 12:00:16', '2018-07-19 12:00:16'),
(9, 7, 'loc343', 'اسم القسم', 1, '2018-07-19 12:00:44', '2018-07-19 12:00:44'),
(10, 9, 'loc311', ' أضف ', 1, '2018-07-19 12:13:48', '2018-07-19 12:13:48'),
(11, 11, 'loc442', ' اسم الموقع2', 1, '2018-07-19 12:16:39', '2018-07-19 12:16:39'),
(12, 8, 'Location22', 'الموقع23', 1, '2018-07-19 12:23:09', '2018-07-19 12:23:09'),
(13, 8, 'loc a', 'loc a', 1, '2018-07-20 17:06:24', '2018-07-20 17:06:24'),
(14, 8, 'Loc C', 'اسم الموقع', 1, '2018-07-20 17:06:24', '2018-07-20 17:06:24'),
(15, 16, 'eng loc 1', 'arabic loc 1', 2, '2018-07-22 12:57:54', '2018-07-22 13:03:33'),
(16, 16, 'eng loc 2', 'arabic loc 2', 2, '2018-07-22 13:01:43', '2018-07-22 13:02:36');

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

--
-- Table structure for table `ard_insp_planning`
--

CREATE TABLE `ard_insp_planning` (
  `id` int(11) NOT NULL,
  `overall_from_date` date NOT NULL,
  `overall_to_date` date NOT NULL,
  `from_date` date NOT NULL,
  `to_date` date NOT NULL,
  `from_time` time NOT NULL,
  `to_time` time NOT NULL,
  `fk_insp_company_id` int(11) NOT NULL,
  `fk_insp_name_id` int(11) NOT NULL,
  `fk_insp_criteria_id` int(11) NOT NULL,
  `insp_planning_num` varchar(255) CHARACTER SET utf8 NOT NULL,
  `temp_insp_planning_num` varchar(512) CHARACTER SET utf8 NOT NULL,
  `fk_facility_id` int(11) NOT NULL,
  `insp_plan_language` enum('en','ar') CHARACTER SET utf8 NOT NULL DEFAULT 'en',
  `insp_approver_id` int(11) NOT NULL,
  `insp_approver_pos_id` int(11) NOT NULL,
  `insp_approved_date` datetime NOT NULL,
  `insp_approved_status` int(11) NOT NULL DEFAULT '0' COMMENT '-1->reapprove,0->pending,1->approved',
  `insp_planning_status` int(11) NOT NULL DEFAULT '0' COMMENT '0->pending,1->plan_opened,2->paln_delete,3->plan_closed',
  `insp_planning_remarks` text CHARACTER SET utf8,
  `insp_unplan_uni_id` text,
  `insp_plan_created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `insp_plan_updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `insp_plan_created_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_planning`
--

INSERT INTO `ard_insp_planning` (`id`, `overall_from_date`, `overall_to_date`, `from_date`, `to_date`, `from_time`, `to_time`, `fk_insp_company_id`, `fk_insp_name_id`, `fk_insp_criteria_id`, `insp_planning_num`, `temp_insp_planning_num`, `fk_facility_id`, `insp_plan_language`, `insp_approver_id`, `insp_approver_pos_id`, `insp_approved_date`, `insp_approved_status`, `insp_planning_status`, `insp_planning_remarks`, `insp_unplan_uni_id`, `insp_plan_created_on`, `insp_plan_updated_on`, `insp_plan_created_by`) VALUES
(1, '2018-01-01', '2018-01-30', '2018-01-01', '2018-01-16', '06:42:00', '23:55:00', 1, 1, 1, 'TSQCTC/INS-00001', '', 1, 'en', 7, 0, '2018-07-19 12:00:09', 1, 3, NULL, NULL, '2018-07-19 11:47:28', '2018-07-19 12:00:09', 0),
(2, '2018-02-02', '2018-02-28', '2018-02-08', '2018-02-16', '02:10:00', '09:45:00', 1, 2, 2, 'TSQCTC/INS-00002', '', 2, 'ar', 7, 0, '2018-07-19 12:07:28', 4, 5, NULL, NULL, '2018-07-19 12:01:14', '2018-07-31 11:07:59', 0),
(3, '2018-03-01', '2018-03-29', '2018-03-02', '2018-03-22', '10:45:00', '10:50:00', 1, 3, 3, 'TSQCTC/INS-00003', '', 3, 'en', 7, 0, '2018-07-19 12:42:46', 4, 5, NULL, NULL, '2018-07-19 12:14:09', '2018-07-31 11:07:58', 0),
(4, '2018-04-02', '2018-04-25', '2018-04-11', '2018-04-18', '22:50:00', '13:05:00', 1, 4, 4, 'TSQCTC/INS-00004', '', 4, 'en', 7, 0, '2018-07-31 16:28:44', 4, 5, NULL, NULL, '2018-07-19 12:17:02', '2018-07-31 16:28:44', 0),
(5, '2018-05-01', '2018-05-05', '2018-05-02', '2018-05-03', '23:55:00', '23:55:00', 1, 2, 1, 'TSQCTC/INS-00005', '', 2, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-19 12:19:07', '2018-07-19 12:24:24', 0),
(6, '2018-06-01', '2018-06-07', '2018-06-01', '2018-06-05', '22:00:00', '05:33:00', 1, 2, 4, 'TSQCTC/INS-00006', '', 2, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-19 12:23:25', '2018-07-19 12:28:27', 0),
(7, '2018-06-14', '2018-07-27', '2018-06-14', '2018-06-20', '10:50:00', '11:55:00', 1, 1, 2, 'TSQCTC/INS-00007', '', 2, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-19 12:24:38', '2018-07-19 12:29:35', 0),
(8, '2018-07-04', '2018-07-07', '2018-07-05', '2018-07-07', '10:55:00', '22:50:00', 1, 1, 2, 'TSQCTC/INS-00008', '', 3, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-19 12:30:33', '2018-07-22 13:53:05', 0),
(9, '2018-07-07', '2018-07-10', '2018-07-07', '2018-07-10', '01:52:00', '23:55:00', 1, 3, 2, 'TSQCTC/INS-00009', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-19 12:56:46', '2018-07-19 12:59:29', 0),
(10, '2018-01-18', '2018-01-24', '2018-01-20', '2018-01-21', '06:55:00', '23:55:00', 1, 1, 3, 'TSQCTC/INS-00010', '', 1, 'en', 7, 0, '2018-07-31 14:50:33', 4, 5, NULL, NULL, '2018-07-19 15:09:09', '2018-07-31 14:50:33', 0),
(11, '0000-00-00', '0000-00-00', '1970-01-01', '1970-01-01', '00:00:00', '00:00:00', 1, 1, 1, 'TSQCTC/INS-00011', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-19 15:23:35', '2018-07-19 15:23:35', 0),
(12, '0000-00-00', '0000-00-00', '2018-07-19', '2018-07-20', '16:11:00', '16:11:00', 1, 1, 1, 'TSQCTC/INS-00012', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-19 16:11:20', '2018-07-19 16:11:20', 0),
(13, '0000-00-00', '0000-00-00', '2018-07-19', '2018-07-20', '16:11:00', '16:11:00', 1, 1, 1, 'TSQCTC/INS-00013', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-19 16:11:37', '2018-07-19 16:11:37', 0),
(14, '0000-00-00', '0000-00-00', '2018-07-19', '2018-07-20', '16:11:00', '16:11:00', 1, 1, 1, 'TSQCTC/INS-00014', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-19 16:11:37', '2018-07-19 16:11:37', 0),
(15, '0000-00-00', '0000-00-00', '1970-01-01', '1970-01-01', '00:00:00', '00:00:00', 1, 1, 1, 'TSQCTC/INS-00015', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-19 16:25:37', '2018-07-19 16:25:37', 0),
(16, '0000-00-00', '0000-00-00', '2018-07-19', '2018-07-19', '18:52:00', '18:52:00', 1, 1, 4, 'TSQCTC/INS-00016', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-19 18:52:16', '2018-07-19 18:52:16', 0),
(17, '2018-08-31', '2018-09-28', '2018-09-06', '2018-10-25', '01:01:00', '10:00:00', 1, 2, 1, 'TSQCTC/INS-00017', '', 3, 'en', 9, 0, '0000-00-00 00:00:00', 0, 0, NULL, NULL, '2018-07-20 16:28:59', '2018-07-20 16:28:59', 0),
(18, '2018-09-01', '2018-09-29', '2018-09-02', '2018-09-18', '01:55:00', '02:55:00', 1, 2, 2, 'TSQCTC/INS-00018', '', 4, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-20 16:31:25', '2018-07-22 13:55:37', 0),
(19, '2018-07-21', '2018-07-21', '2018-07-21', '2018-07-21', '00:00:00', '00:00:00', 1, 2, 1, 'TSQCTC/INS-00019', '', 0, 'en', 7, 0, '0000-00-00 00:00:00', 0, 0, NULL, NULL, '2018-07-21 17:54:17', '2018-07-21 17:54:17', 0),
(20, '2018-07-21', '2018-07-22', '2018-07-21', '2018-07-22', '11:10:00', '04:10:00', 1, 1, 1, 'TSQCTC/INS-00020', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-21 17:57:46', '2018-07-22 14:29:39', 0),
(21, '0000-00-00', '0000-00-00', '2018-07-21', '2018-07-21', '18:31:00', '18:31:00', 1, 1, 1, 'TSQCTC/INS-00021', '', 1, 'en', 0, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-21 18:32:12', '2018-07-21 18:32:12', 0),
(22, '0000-00-00', '0000-00-00', '2018-07-21', '2018-07-21', '18:31:00', '18:31:00', 1, 1, 1, 'TSQCTC/INS-00022', '', 1, 'en', 0, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-21 18:32:12', '2018-07-21 18:32:12', 0),
(23, '0000-00-00', '0000-00-00', '2018-07-21', '2018-07-21', '18:31:00', '18:31:00', 1, 1, 1, 'TSQCTC/INS-00023', '', 1, 'en', 0, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-21 18:32:12', '2018-07-21 18:32:12', 0),
(24, '0000-00-00', '0000-00-00', '2018-07-21', '2018-07-21', '18:32:00', '18:32:00', 1, 1, 1, 'TSQCTC/INS-00024', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-21 18:32:22', '2018-07-21 18:32:22', 0),
(25, '0000-00-00', '0000-00-00', '2018-07-21', '2018-07-21', '18:31:00', '18:31:00', 1, 1, 1, 'TSQCTC/INS-00025', '', 1, 'en', 0, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-21 18:44:54', '2018-07-21 18:44:54', 0),
(26, '0000-00-00', '0000-00-00', '2018-07-21', '2018-07-21', '18:31:00', '18:31:00', 1, 1, 1, 'TSQCTC/INS-00026', '', 1, 'en', 0, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-21 18:44:54', '2018-07-21 18:44:54', 0),
(27, '0000-00-00', '0000-00-00', '2018-07-21', '2018-07-21', '18:31:00', '18:31:00', 1, 1, 1, 'TSQCTC/INS-00027', '', 1, 'en', 0, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-21 18:45:37', '2018-07-21 18:45:37', 0),
(28, '0000-00-00', '0000-00-00', '2018-07-21', '2018-07-21', '18:46:00', '18:46:00', 1, 1, 1, 'TSQCTC/INS-00028', '', 1, 'en', 0, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-21 18:48:55', '2018-07-21 18:48:55', 0),
(29, '2018-12-01', '2018-12-05', '2018-12-02', '2018-12-04', '06:30:00', '08:55:00', 1, 1, 1, 'TSQCTC/INS-00029', '', 1, 'en', 7, 0, '2018-07-22 12:55:26', -1, 3, NULL, NULL, '2018-07-22 12:25:16', '2018-07-22 13:04:26', 0),
(30, '2018-12-13', '2018-12-16', '2018-12-13', '2018-12-16', '06:30:00', '22:51:00', 1, 1, 1, 'TSQCTC/INS-00030', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-22 13:16:09', '2018-07-22 13:20:33', 0),
(31, '2018-11-01', '2018-11-05', '2018-11-01', '2018-11-04', '06:30:00', '23:55:00', 1, 1, 1, 'TSQCTC/INS-00031', '', 1, 'en', 7, 0, '2018-07-22 14:32:24', 1, 3, NULL, NULL, '2018-07-22 13:24:54', '2018-07-22 14:32:24', 0),
(32, '2018-08-01', '2018-08-08', '2018-08-02', '2018-08-07', '06:30:00', '23:55:00', 1, 1, 1, 'TSQCTC/INS-00032', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-22 17:15:35', '2018-07-23 10:29:46', 0),
(33, '2018-08-15', '2018-08-30', '2018-08-16', '2018-08-22', '12:29:00', '11:05:00', 1, 1, 1, 'TSQCTC/INS-00033', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-23 10:36:46', '2018-07-23 10:37:05', 0),
(34, '0000-00-00', '0000-00-00', '2018-07-23', '2018-07-24', '14:00:00', '15:00:00', 1, 2, 2, 'TSQCTC/INS-00034', '', 2, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-23 14:01:18', '2018-07-23 14:01:18', 0),
(35, '0000-00-00', '0000-00-00', '2018-07-23', '2018-07-23', '14:06:00', '14:06:00', 1, 1, 1, 'TSQCTC/INS-00035', '', 1, 'en', 0, 0, '2018-07-31 14:48:33', 4, 5, NULL, NULL, '2018-07-23 14:07:56', '2018-07-31 14:48:33', 0),
(36, '2018-09-01', '2018-09-13', '2018-09-05', '2018-09-10', '06:30:00', '23:55:00', 1, 1, 1, 'TSQCTC/INS-00036', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-23 15:40:54', '2018-07-23 15:57:57', 0),
(37, '0000-00-00', '0000-00-00', '2018-07-24', '2018-07-24', '12:01:00', '12:01:00', 1, 1, 1, 'TSQCTC/INS-00037', '', 2, 'en', 0, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-24 12:03:02', '2018-07-24 12:03:02', 0),
(38, '0000-00-00', '0000-00-00', '2018-07-24', '2018-07-24', '12:04:00', '12:04:00', 1, 1, 1, 'TSQCTC/INS-00038', '', 1, 'en', 0, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-24 12:35:35', '2018-07-24 12:35:35', 0),
(39, '0000-00-00', '0000-00-00', '1970-01-01', '1970-01-01', '00:00:00', '00:00:00', 1, 1, 1, 'TSQCTC/INS-00039', '', 1, 'en', 0, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-24 12:35:35', '2018-07-24 12:35:35', 0),
(40, '0000-00-00', '0000-00-00', '2018-07-24', '2018-07-24', '12:04:00', '12:04:00', 1, 1, 1, 'TSQCTC/INS-00040', '', 1, 'en', 0, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-24 12:36:17', '2018-07-24 12:36:17', 0),
(41, '2018-01-17', '2018-01-31', '2018-01-18', '2018-01-31', '06:00:00', '22:30:00', 1, 1, 1, 'TSQCTC/INS-00041', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-25 10:41:45', '2018-08-03 12:11:43', 0),
(42, '2018-09-01', '2018-09-06', '2018-09-02', '2018-09-03', '06:30:00', '11:55:00', 1, 1, 1, 'TSQCTC/INS-00042', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-25 16:54:15', '2018-08-02 16:13:22', 0),
(43, '0000-00-00', '0000-00-00', '2018-07-26', '2018-07-26', '10:06:00', '10:06:00', 1, 4, 3, 'TSQCTC/INS-00043', '', 3, 'en', 19, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-26 10:07:35', '2018-07-26 10:07:35', 0),
(44, '0000-00-00', '0000-00-00', '2018-07-26', '2018-07-26', '10:08:00', '10:08:00', 1, 1, 1, 'TSQCTC/INS-00044', '', 1, 'en', 16, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-26 10:08:15', '2018-07-26 10:08:15', 0),
(45, '0000-00-00', '0000-00-00', '2018-07-26', '2018-07-26', '11:52:00', '11:52:00', 1, 1, 1, 'TSQCTC/INS-00045', '', 1, 'en', 0, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-26 11:54:42', '2018-07-26 11:54:42', 0),
(46, '0000-00-00', '0000-00-00', '2018-07-26', '2018-07-26', '12:00:00', '12:00:00', 1, 2, 1, 'TSQCTC/INS-00046', '', 1, 'en', 0, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-26 12:01:00', '2018-07-26 12:01:00', 0),
(47, '0000-00-00', '0000-00-00', '2018-07-26', '2018-07-26', '12:15:00', '12:15:00', 1, 4, 4, 'TSQCTC/INS-00047', '', 4, 'en', 0, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-26 12:16:30', '2018-07-26 12:16:30', 0),
(48, '0000-00-00', '0000-00-00', '2018-07-26', '2018-07-26', '12:22:00', '12:22:00', 1, 2, 2, 'TSQCTC/INS-00048', '', 2, 'en', 0, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-26 12:23:48', '2018-07-26 12:23:48', 0),
(49, '0000-00-00', '0000-00-00', '2018-07-27', '2018-07-27', '09:25:00', '15:25:00', 1, 1, 5, 'TSQCTC/INS-00049', '', 3, 'en', 9, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-27 09:26:01', '2018-07-27 09:26:01', 0),
(50, '0000-00-00', '0000-00-00', '2018-07-30', '2018-07-30', '11:50:00', '11:50:00', 1, 1, 1, 'TSQCTC/INS-00050', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-30 11:50:35', '2018-07-30 11:50:35', 0),
(51, '2018-10-02', '2018-10-11', '2018-10-03', '2018-10-05', '06:30:00', '09:45:00', 1, 1, 1, 'TSQCTC/INS-00051', '', 1, 'en', 7, 0, '2018-07-30 16:46:14', 1, 3, NULL, NULL, '2018-07-30 15:36:19', '2018-07-30 16:46:14', 0),
(52, '2018-11-01', '2018-11-15', '2018-11-01', '2018-11-05', '08:30:00', '13:15:00', 1, 1, 1, 'TSQCTC/INS-00052', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-30 17:52:33', '2018-08-02 16:12:42', 0),
(53, '2018-08-01', '2018-08-31', '2018-08-03', '2018-08-31', '06:00:00', '21:00:00', 1, 2, 1, 'TSQCTC/INS-00053', '', 2, 'en', 7, 0, '0000-00-00 00:00:00', 0, 0, NULL, NULL, '2018-07-31 10:02:37', '2018-07-31 10:02:37', 0),
(54, '2018-08-01', '2018-08-31', '2018-08-07', '2018-08-15', '06:00:00', '21:00:00', 1, 4, 3, 'TSQCTC/INS-00054', '', 2, 'en', 7, 0, '0000-00-00 00:00:00', 0, 0, NULL, NULL, '2018-07-31 10:10:02', '2018-07-31 10:10:02', 0),
(55, '2018-08-01', '2018-08-04', '2018-08-01', '2018-08-04', '10:50:00', '16:26:00', 1, 3, 3, 'TSQCTC/INS-00055', '', 2, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-07-31 10:17:57', '2018-08-02 16:11:43', 0),
(56, '0000-00-00', '0000-00-00', '2018-08-02', '2018-08-02', '17:03:00', '17:03:00', 1, 1, 1, 'TSQCTC/INS-00056', '', 1, 'ar', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-08-02 17:03:49', '2018-08-02 17:03:49', 0),
(57, '0000-00-00', '0000-00-00', '2018-08-02', '2018-08-03', '17:34:00', '17:34:00', 1, 1, 1, 'TSQCTC/INS-00057', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-08-02 17:38:21', '2018-08-02 17:38:21', 0),
(58, '0000-00-00', '0000-00-00', '2018-08-03', '2018-08-04', '15:44:00', '12:43:00', 1, 2, 5, 'TSQCTC/INS-00058', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-08-03 12:56:34', '2018-08-03 12:56:34', 0),
(59, '2018-08-06', '2018-11-29', '2018-08-06', '2018-11-29', '00:00:00', '00:00:00', 1, 1, 1, 'TSQCTC/INS-00059', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-08-06 12:07:41', '2018-08-06 12:12:28', 0),
(60, '2018-10-11', '2018-10-19', '2018-10-13', '2018-10-14', '11:55:00', '23:55:00', 1, 1, 1, 'TSQCTC/INS-00060', '', 1, 'en', 7, 0, '0000-00-00 00:00:00', 0, 1, NULL, NULL, '2018-08-28 11:10:21', '2018-08-28 11:10:21', 0);

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

--
-- Table structure for table `ard_insp_planning_chart`
--

CREATE TABLE `ard_insp_planning_chart` (
  `id_chart` int(11) NOT NULL,
  `fk_insp_plan_id` int(11) NOT NULL,
  `fk_revision_id` int(11) NOT NULL,
  `risk_chart_path` text NOT NULL,
  `hazard_chart_path` text NOT NULL,
  `chart_status` int(11) NOT NULL,
  `chart_created_on` datetime NOT NULL,
  `chart_modified_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_planning_chart`
--

INSERT INTO `ard_insp_planning_chart` (`id_chart`, `fk_insp_plan_id`, `fk_revision_id`, `risk_chart_path`, `hazard_chart_path`, `chart_status`, `chart_created_on`, `chart_modified_on`) VALUES
(1, 1, 1, 'assets/module/inspection/chart/inspchart-1-2.jpeg', 'assets/module/inspection/chart/inspchart-1-1.jpeg', 0, '2018-07-19 12:00:00', '2018-07-19 12:00:00'),
(2, 1, 2, 'assets/module/inspection/chart/inspchart-1-2.jpeg', 'assets/module/inspection/chart/inspchart-1-1.jpeg', 0, '2018-07-20 13:20:55', '2018-07-20 13:20:55'),
(3, 2, 1, 'assets/module/inspection/chart/inspchart-2-2.jpeg', 'assets/module/inspection/chart/inspchart-2-1.jpeg', 0, '2018-07-19 12:06:30', '2018-07-19 12:06:30'),
(4, 3, 1, 'assets/module/inspection/chart/inspchart-3-2.jpeg', 'assets/module/inspection/chart/inspchart-3-1.jpeg', 0, '2018-07-19 12:41:48', '2018-07-19 12:41:48'),
(5, 10, 1, 'assets/module/inspection/chart/inspchart-10-2.jpeg', 'assets/module/inspection/chart/inspchart-10-1.jpeg', 0, '2018-07-31 14:50:02', '2018-07-31 14:50:02'),
(6, 29, 1, 'assets/module/inspection/chart/inspchart-29-2.jpeg', 'assets/module/inspection/chart/inspchart-29-1.jpeg', 0, '2018-07-25 17:15:27', '2018-07-25 17:15:27'),
(7, 31, 1, 'assets/module/inspection/chart/inspchart-31-2.jpeg', 'assets/module/inspection/chart/inspchart-31-1.jpeg', 0, '2018-07-22 14:31:49', '2018-07-22 14:31:49'),
(8, 51, 1, 'assets/module/inspection/chart/inspchart-51-2.jpeg', 'assets/module/inspection/chart/inspchart-51-1.jpeg', 0, '2018-07-30 16:46:05', '2018-07-30 16:46:05'),
(9, 35, 1, 'assets/module/inspection/chart/inspchart-35-2.jpeg', 'assets/module/inspection/chart/inspchart-35-1.jpeg', 0, '2018-07-31 14:48:10', '2018-07-31 14:48:10'),
(10, 4, 1, 'assets/module/inspection/chart/inspchart-4-2.jpeg', 'assets/module/inspection/chart/inspchart-4-1.jpeg', 0, '2018-07-31 16:28:21', '2018-07-31 16:28:21'),
(11, 50, 1, 'assets/module/inspection/chart/inspchart-50-2.jpeg', 'assets/module/inspection/chart/inspchart-50-1.jpeg', 0, '2018-07-31 16:38:18', '2018-07-31 16:38:18'),
(12, 51, 2, 'assets/module/inspection/chart/inspchart-51-2.jpeg', 'assets/module/inspection/chart/inspchart-51-1.jpeg', 0, '2018-07-31 16:56:57', '2018-07-31 16:56:57');

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

--
-- Table structure for table `ard_insp_plan_execution`
--

CREATE TABLE `ard_insp_plan_execution` (
  `id` int(11) NOT NULL,
  `fk_insp_plan_id` int(11) DEFAULT NULL,
  `fk_insp_plan_sch_id` int(11) DEFAULT NULL,
  `insp_sno` text,
  `insp_temp_sno` text,
  `insp_date` date DEFAULT NULL,
  `fk_insp_inspector_id` int(11) DEFAULT NULL,
  `fk_insp_dept_id` int(11) DEFAULT NULL,
  `fk_insp_loca_id` int(11) DEFAULT NULL,
  `insp_desc` text CHARACTER SET utf8,
  `insp_conseq` text CHARACTER SET utf8,
  `fk_insp_cause_cat_id` int(11) DEFAULT NULL,
  `fk_insp_haz_id` int(11) DEFAULT NULL,
  `insp_risk_level_id` int(11) DEFAULT NULL,
  `insp_act_taken` text CHARACTER SET utf8,
  `finding_loc_id` int(11) DEFAULT NULL,
  `finding_dept_id` int(11) DEFAULT NULL,
  `fk_lang` text,
  `insp_ex_version` text,
  `insp_ex_status` int(11) NOT NULL DEFAULT '0' COMMENT '-1->reject,0->not completed,1->completed,2->deleted',
  `insp_ex_complete_status` int(11) DEFAULT '0',
  `insp_ex_approved_status` int(11) NOT NULL DEFAULT '0' COMMENT '-1-> Leader Approved,0->pending,1->approved',
  `insp_ex_created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `insp_ex_updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_plan_execution`
--

INSERT INTO `ard_insp_plan_execution` (`id`, `fk_insp_plan_id`, `fk_insp_plan_sch_id`, `insp_sno`, `insp_temp_sno`, `insp_date`, `fk_insp_inspector_id`, `fk_insp_dept_id`, `fk_insp_loca_id`, `insp_desc`, `insp_conseq`, `fk_insp_cause_cat_id`, `fk_insp_haz_id`, `insp_risk_level_id`, `insp_act_taken`, `finding_loc_id`, `finding_dept_id`, `fk_lang`, `insp_ex_version`, `insp_ex_status`, `insp_ex_complete_status`, `insp_ex_approved_status`, `insp_ex_created_on`, `insp_ex_updated_on`) VALUES
(1, 1, 1, '1', '1531981194', '2018-01-11', 2, 1, 1, 'testing', 'testing', 1, 1, 1, 'testing', NULL, NULL, '', '1', 1, 1, 0, '2018-07-19 11:51:39', '2018-07-19 11:52:53'),
(2, 1, 1, '2', '1531981301', '2018-01-11', 2, 1, 1, 'Lorem Ipsum 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.', 'Lorem Ipsum 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.', 2, 2, 3, 'Lorem Ipsum 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.', NULL, NULL, '', '1', 1, 1, 0, '2018-07-19 11:52:48', '2018-07-19 11:52:53'),
(3, 1, 1, '1', '1531981455', '2018-01-11', 5, 1, 1, 'Lorem Ipsum 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.', 'Lorem Ipsum 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.', 1, 3, 3, 'Lorem Ipsum 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.', NULL, NULL, '', '1', 1, 1, 0, '2018-07-19 11:54:24', '2018-07-19 11:54:26'),
(4, 2, 2, '1', '1531981913', '2018-02-14', 2, 7, 9, 'للمصممين نص لوريم ايبسوم عربي - شركة ناب للدعاية والاعلان', 'للمصممين نص لوريم ايبسوم عربي - شركة ناب للدعاية والاعلان', 1, 1, 2, 'للمصممين نص لوريم ايبسوم عربي - شركة ناب للدعاية والاعلان', NULL, NULL, '', '1', 1, 1, 0, '2018-07-19 12:03:01', '2018-07-19 12:03:05'),
(5, 2, 2, '1', '1531982100', '2018-02-14', 6, 7, 9, 'للمصممين نص لوريم ايبسوم عربي - شركة ناب للدعاية والاعلان', 'للمصممين نص لوريم ايبسوم عربي - شركة ناب للدعاية والاعلان', 2, 2, 2, 'للمصممين نص لوريم ايبسوم عربي - شركة ناب للدعاية والاعلان', NULL, NULL, '', '1', 1, 1, 0, '2018-07-19 12:05:23', '2018-07-19 12:05:49'),
(6, 2, 2, '2', '1531982126', '2018-02-14', 6, 7, 9, 'للمصممين نص لوريم ايبسوم عربي - شركة ناب للدعاية والاعلان', 'للمصممين نص لوريم ايبسوم عربي - شركة ناب للدعاية والاعلان', 2, 4, 1, 'للمصممين نص لوريم ايبسوم عربي - شركة ناب للدعاية والاعلان', NULL, NULL, '', '1', -1, 1, 0, '2018-07-19 12:05:48', '2018-07-19 12:07:28'),
(7, 4, 4, '1', '1531983830', '2018-04-13', 2, 11, 11, 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the material or item is in proper quantity and condition, and if it conforms to the applicable or specified requirements.', 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the material or item is in proper quantity and condition, and if it conforms to the applicable or specified requirements.', 3, 3, 2, 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the material or item is in proper quantity and condition, and if it conforms to the applicable or specified requirements.', NULL, NULL, '', '1', 1, 1, -1, '2018-07-19 12:34:39', '2018-07-31 16:28:43'),
(8, 4, 4, '2', '1531983881', '2018-04-13', 2, 11, 11, 'Lorem Ipsum 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.', 'Lorem Ipsum 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.', 2, 3, 2, 'Lorem Ipsum 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.', NULL, NULL, '', '1', 1, 1, -1, '2018-07-19 12:35:05', '2018-07-31 16:28:43'),
(9, 3, 3, '1', '1531983917', '2018-03-14', 2, 9, 10, 'Lorem Ipsum 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.', 'Lorem Ipsum 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.', 4, 4, 2, 'Lorem Ipsum 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.', NULL, NULL, '', '1', 1, 1, 0, '2018-07-19 12:35:42', '2018-07-19 12:35:44'),
(10, 5, 5, '1', '1531983963', '2018-05-03', 2, 7, 9, 'Lorem Ipsum 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.', 'Lorem Ipsum 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.', 2, 2, 2, 'Lorem Ipsum 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.', NULL, NULL, '', '1', 1, 1, 0, '2018-07-19 12:36:43', '2018-07-19 12:36:46'),
(11, 3, 3, '1', '1531984023', '2018-03-14', 6, 9, 10, 'Lorem Ipsum 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.', 'Lorem Ipsum 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.', 3, 4, 2, 'Lorem Ipsum 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.', NULL, NULL, '', '1', 1, 1, 0, '2018-07-19 12:39:21', '2018-07-19 12:40:46'),
(12, 3, 3, '2', '1531984169', '2018-03-14', 6, 9, 10, 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the material or item is in proper quantity and condition, and if it conforms to the applicable or specified requirements.', 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the material or item is in proper quantity and condition, and if it conforms to the applicable or specified requirements.', 3, 3, 2, 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the material or item is in proper quantity and condition, and if it conforms to the applicable or specified requirements.', NULL, NULL, '', '1', -1, 1, 0, '2018-07-19 12:40:16', '2018-07-19 12:42:45'),
(13, 3, 3, '3', '1531984221', '2018-03-14', 6, 9, 10, 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the material or item is in proper quantity and condition, and if it conforms to the applicable or specified requirements.', 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the material or item is in proper quantity and condition, and if it conforms to the applicable or specified requirements.', 3, 2, 3, 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the material or item is in proper quantity and condition, and if it conforms to the applicable or specified requirements.', NULL, NULL, '', '1', 1, 1, 0, '2018-07-19 12:40:44', '2018-07-19 12:40:46'),
(14, 9, 9, '1', '1531985405', '2018-07-07', 2, 1, 2, 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the material or item is in proper quantity and condition, and if it conforms to the applicable or specified requirements.', 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the material or item is in proper quantity and condition, and if it conforms to the applicable or specified requirements.', 3, 2, 2, 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the material or item is in proper quantity and condition, and if it conforms to the applicable or specified requirements.', NULL, NULL, '', '1', 1, 1, 0, '2018-07-19 13:00:38', '2018-07-19 13:01:18'),
(15, 9, 9, '2', '1531985441', '2018-07-07', 2, 1, 2, 'Lorem Ipsum 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.', 'Lorem Ipsum 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.', 3, 3, 3, 'Lorem Ipsum 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.', NULL, NULL, '', '1', 1, 1, 0, '2018-07-19 13:01:17', '2018-07-19 13:01:18'),
(16, 9, 10, '1', '1531985537', '2018-07-08', 2, 2, 4, 'Lorem Ipsum 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.', 'Lorem Ipsum 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.', 2, 2, 2, 'Lorem Ipsum 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.', NULL, NULL, '', '1', 1, 1, 0, '2018-07-19 13:02:38', '2018-07-19 13:02:39'),
(17, 9, 11, '1', '1531985567', '2018-07-09', 2, 1, 7, 'Lorem Ipsum 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.', 'Lorem Ipsum 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.', 3, 3, 2, 'Lorem Ipsum 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.', NULL, NULL, '', '1', 1, 1, 0, '2018-07-19 13:03:52', '2018-07-19 13:03:54'),
(18, 9, 12, '1', '1531985862', '2018-07-10', 6, 2, 4, 'Lorem Ipsum 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.', 'Lorem Ipsum 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.', 2, 2, 2, 'Lorem Ipsum 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.\r\nLorem Ipsum 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.', NULL, NULL, '', '1', 1, 1, 0, '2018-07-19 13:08:03', '2018-07-19 13:08:45'),
(19, 9, 12, '2', '1531985885', '2018-07-10', 6, 2, 4, 'Lorem Ipsum 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.', 'Lorem Ipsum 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.', 3, 2, 2, 'Lorem Ipsum 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.', NULL, NULL, '', '1', 1, 1, 0, '2018-07-19 13:08:43', '2018-07-19 13:08:45'),
(20, 10, 13, '1', '1531993261', '2018-01-20', 2, 1, 1, 'dshfdhh', 'fdhdfhgd', 1, 1, 1, 'fdhfdhdh', NULL, NULL, '', '1', -1, 1, 0, '2018-07-19 15:13:18', '2018-07-31 14:50:32'),
(21, 10, 13, '1', '1533032664', '2018-01-20', 5, 1, 1, 'testreject', 'testreject', 1, 1, 1, 'testreject', NULL, NULL, 'en', '1', 1, 0, 0, '2018-07-19 15:13:57', '2018-07-31 15:55:05'),
(22, 16, 19, '1', '1532006564', '2018-07-19', 2, 1, 1, 'test', 'test', 2, 2, 2, 'test', NULL, NULL, '1', '1', 1, 0, 0, '2018-07-19 18:54:09', '2018-07-19 18:54:09'),
(23, 9, 11, '1', '1532006782', '2018-07-09', 5, 1, 7, 'test', 'test', 1, 1, 1, 'test', NULL, NULL, '1', '1', 1, 0, 0, '2018-07-19 18:57:48', '2018-07-19 18:57:48'),
(24, 9, 10, '1', '1532006957', '2018-07-08', 5, 2, 4, 'test2', 'test2', 1, 1, 1, 'test2', NULL, NULL, '1', '1', 1, 0, 0, '2018-07-19 18:59:28', '2018-07-19 18:59:28'),
(25, 20, 22, '1', '1532176738', '2018-07-21', 2, 1, 1, 'tevshshhsg', ' gdujdhhdu', 1, 1, 1, 'hrhrneidije', NULL, NULL, 'en', '1', 1, 0, 0, '2018-07-21 18:08:20', '2018-07-21 18:09:13'),
(26, 29, 33, '1', '1532243638', '2018-12-02', 2, 1, 1, 'fgj', 'fhfgh', 1, 1, 2, 'fgjgjgfj', NULL, NULL, '', '1', 1, 1, 0, '2018-07-22 12:46:37', '2018-07-22 12:46:38'),
(27, 29, 33, '1', '1532243966', '2018-12-02', 3, 1, 1, 'zfhdfh', 'dfhdfhfhdhdf', 1, 1, 2, 'fdhdfh', NULL, NULL, '', '1', 1, 1, 0, '2018-07-22 12:49:51', '2018-07-22 12:56:42'),
(28, 29, 34, '1', '1532244040', '2018-12-03', 3, 2, 3, 'sdgsdg', 'dfghdfg', 1, 1, 2, 'dsgfgf', NULL, NULL, '', '1', 1, 1, 0, '2018-07-22 12:51:08', '2018-07-22 12:51:09'),
(29, 29, 35, '1', '1532244209', '2018-12-04', 2, 2, 3, 'cvgfj', 'gfjgf', 1, 1, 3, 'jgfjfg', NULL, NULL, '', '1', 1, 1, 0, '2018-07-22 12:54:10', '2018-07-22 12:54:11'),
(30, 30, 37, '1', '1532246146', '2018-12-14', 2, 2, 3, 'test1', 'test1', 1, 1, 1, 'test2', NULL, NULL, '1', '1', 1, 0, 0, '2018-07-22 13:26:44', '2018-07-22 13:26:44'),
(31, 31, 39, '1', '1532248765', '2018-11-02', 2, 1, 1, 'fdhfdhd', 'fdhfdh', 1, 2, 1, 'fdhfdh', NULL, NULL, '', '1', 1, 1, 0, '2018-07-22 14:10:16', '2018-07-22 14:10:17'),
(32, 31, 39, '1', '1532249220', '2018-11-02', 3, 1, 1, 'bdffd', 'fdhfdh', 1, 1, 2, 'dfhfdhdf', NULL, NULL, '', '1', 1, 1, 0, '2018-07-22 14:17:43', '2018-07-22 14:17:44'),
(33, 31, 40, '1', '1532249933', '2018-11-03', 3, 1, 2, 'fjfgjf', 'fgjfgj', 1, 1, 2, 'fgjfg', NULL, NULL, '', '1', 1, 1, 0, '2018-07-22 14:30:38', '2018-07-22 14:30:39'),
(34, 34, 45, '1', '1532334697', '2018-07-23', 2, 7, 9, 'des', 'con', 1, 1, 1, 'action', NULL, NULL, '1', '1', 1, 0, 0, '2018-07-23 14:02:26', '2018-07-23 14:02:26'),
(35, 30, 37, '2', '1532422423', '2018-12-14', 2, 2, 3, 'des', 'con', 1, 1, 1, 'acyon', NULL, NULL, 'en', '1', 1, 0, 0, '2018-07-23 14:14:13', '2018-07-24 14:23:48'),
(36, 34, 45, '2', '1532335907', '2018-07-23', 2, 7, 9, 'பொதுவாக ', 'ஸ்ரீ', 1, 1, 1, 'தீபாவளி ', NULL, NULL, '1', '1', 1, 0, 0, '2018-07-23 14:22:54', '2018-07-23 14:22:54'),
(37, 36, 47, '1', '1532342585', '2018-09-06', 2, 1, 1, 'yhgdf', 'fhdh', 1, 2, 1, 'fdhdf', NULL, NULL, '', '1', 1, 1, 0, '2018-07-23 16:15:42', '2018-07-23 16:41:18'),
(38, 36, 47, '2', '1532342780', '2018-09-06', 2, 1, 1, 'dfhdfhsf', 'dfhdfhdfhdf', 1, 1, 2, 'dfhdfhdf', NULL, NULL, '', '1', 1, 1, 0, '2018-07-23 16:17:44', '2018-07-23 16:41:18'),
(39, 35, 46, '1', '1532344802', '2018-07-23', 2, 1, 1, 'gdgdg', 'vncvchf', 1, 1, 3, 'dfhdfhfd', NULL, NULL, '', '1', -1, 1, 0, '2018-07-23 16:53:17', '2018-07-31 14:48:33'),
(40, 36, 49, '1', '1532345058', '2018-09-08', 2, 1, 1, 'fdhdfh', 'cfhfh', 1, 1, 2, 'fgjfgjfg', NULL, NULL, '', '1', 1, 1, 0, '2018-07-23 16:54:46', '2018-07-23 16:54:47'),
(41, 36, 48, '1', '1532345785', '2018-09-07', 2, 2, 3, 'descrip', 'con', 1, 1, 1, 'action', NULL, NULL, '1', '1', 1, 0, 0, '2018-07-23 17:07:32', '2018-07-23 17:07:32'),
(42, 32, 41, '1', '1532409674', '2018-08-03', 2, 1, 1, 'fsaf', 'fsaf', 2, 1, 2, 'saf', NULL, NULL, '', '1', 1, 1, 0, '2018-07-24 10:51:43', '2018-07-24 10:51:45'),
(43, 30, 37, '3', 'null', '2018-12-14', 2, 2, 3, 'offline', 'offline', 1, 1, 1, 'offline', NULL, NULL, NULL, '1', 1, 0, 0, '2018-07-25 10:52:16', '2018-07-25 10:52:16'),
(44, 30, 37, '4', 'null', '2018-12-14', 2, 2, 3, 'offline', 'offline', 1, 1, 1, 'offline', NULL, NULL, NULL, '1', 1, 0, 0, '2018-07-25 11:15:16', '2018-07-25 11:15:16'),
(45, 30, 37, '5', 'null', '2018-12-14', 2, 2, 3, 'offline', 'offline', 1, 1, 1, 'offline', NULL, NULL, NULL, '1', 1, 0, 0, '2018-07-25 11:17:44', '2018-07-25 11:17:44'),
(57, 50, 63, '1', '1532931649', '2018-07-30', 2, 1, 1, 'test', 'test', 1, 1, 1, 'test', NULL, NULL, '', '1', 1, 1, 0, '2018-07-30 11:51:10', '2018-07-31 14:49:32'),
(58, 51, 64, '1', '1532945729', '2018-10-04', 2, 1, 1, 'des', 'conse', 1, 1, 1, 'actioh', NULL, NULL, '', '1', 1, 0, 0, '2018-07-30 15:46:08', '2018-07-30 16:08:23'),
(59, 51, 65, '1', '1532945847', '2018-10-05', 2, 2, 3, 'des', 'ddhjdjd', 1, 1, 2, 'action', NULL, NULL, '1', '1', 1, 0, 0, '2018-07-30 15:48:17', '2018-07-30 15:48:17'),
(60, 51, 64, '1', '1532946006', '2018-10-04', 5, 1, 1, 'fdgdfgfdhhstuetufgdgdgdyre', 'dsgsdgdsg', 1, 1, 2, 'sdgfdgdf', NULL, NULL, '', '1', 1, 1, 0, '2018-07-30 15:52:00', '2018-07-30 16:38:23'),
(61, 51, 65, '1', '1532946605', '2018-10-05', 5, 2, 3, 'desc1', 'cobs2', 1, 1, 1, 'action', NULL, NULL, '1', '1', 1, 1, 0, '2018-07-30 16:01:44', '2018-07-30 16:02:02'),
(62, 51, 65, '2', '1532946694', '2018-10-05', 5, 2, 3, 'httru', 'ryryer', 1, 1, 2, 'reyeryer', NULL, NULL, '', '1', 1, 1, 0, '2018-07-30 16:02:01', '2018-07-30 16:02:02'),
(63, 36, 49, '1', '1533010817', '2018-09-08', 5, 1, 1, '', '', 1, 1, 1, '', NULL, NULL, '1', '1', 1, 0, 0, '2018-07-31 09:50:18', '2018-07-31 09:50:18'),
(64, 36, 47, '1', '1533013175', '2018-09-06', 5, 1, 1, 'test', 'test', 1, 1, 1, 'test', NULL, NULL, '1', '1', 1, 0, 0, '2018-07-31 10:29:42', '2018-07-31 10:29:42'),
(65, 36, 47, '2', '1533013231', '2018-09-06', 5, 1, 1, 'test', 'test', 1, 1, 1, 'test', NULL, NULL, '1', '1', 1, 0, 0, '2018-07-31 10:30:47', '2018-07-31 10:30:47'),
(66, 4, 4, '1', '1533033508', '2018-04-13', 5, 11, 11, 'test', 'test', 1, 1, 1, 'test', NULL, NULL, '1', '1', -1, 0, 0, '2018-07-31 16:09:04', '2018-07-31 16:28:43'),
(68, 4, 4, '2', '1533034840', '2018-04-13', 5, 11, 11, 'de', 'xdddj', 1, 1, 1, 'ndndn', NULL, NULL, '1', '1', 1, 0, 0, '2018-07-31 16:30:58', '2018-07-31 16:30:58'),
(69, 49, 62, '1', '1533035330', '2018-07-27', 2, 9, 10, 'Testing', 'Testing', 2, 2, 2, 'Testing', NULL, NULL, '', '1', 1, 1, 0, '2018-07-31 16:39:32', '2018-07-31 16:39:37'),
(71, 57, 72, '1', 'INS/EXE-2-57-72-1', '2018-08-02', 2, 1, 1, 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys 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.', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys 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.', 1, 4, 2, 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys 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.', NULL, NULL, '', '1', 1, 1, 0, '2018-08-02 17:53:12', '2018-08-02 17:54:59'),
(72, 57, 72, '2', 'INS/EXE-2-57-72-2', '2018-08-02', 2, 1, 1, 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys 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.', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys 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.', 2, 2, 2, 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys 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.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys 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.', NULL, NULL, '', '1', 1, 1, 0, '2018-08-02 17:54:01', '2018-08-02 17:54:59'),
(73, 55, 70, '1', 'INS/EXE-2-55-70-1', '2018-08-01', 2, 7, 9, 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys 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.', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys 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.', 1, 2, 2, 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys 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.', NULL, NULL, '', '1', 1, 1, 0, '2018-08-02 17:56:49', '2018-08-02 17:57:33'),
(74, 55, 70, '2', 'INS/EXE-2-55-70-2', '2018-08-01', 2, 7, 9, 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys 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.', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys 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.', 3, 1, 2, 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys 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.', NULL, NULL, '', '1', 1, 1, 0, '2018-08-02 17:57:32', '2018-08-02 17:57:33');

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

--
-- Table structure for table `ard_insp_plan_execution_image`
--

CREATE TABLE `ard_insp_plan_execution_image` (
  `img_id` int(11) NOT NULL,
  `fk_insp_plan_id` int(11) DEFAULT NULL,
  `fk_insp_sch_id` int(11) DEFAULT NULL,
  `fk_insp_ex_id` int(11) DEFAULT NULL,
  `insp_img_org_name` text,
  `insp_img_path` text,
  `exe_img_desc` text CHARACTER SET utf8,
  `insp_img_ext` text,
  `insp_img_version` text,
  `insp_img_status` int(11) NOT NULL DEFAULT '0',
  `insp_img_created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `insp_img_updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_plan_execution_image`
--

INSERT INTO `ard_insp_plan_execution_image` (`img_id`, `fk_insp_plan_id`, `fk_insp_sch_id`, `fk_insp_ex_id`, `insp_img_org_name`, `insp_img_path`, `exe_img_desc`, `insp_img_ext`, `insp_img_version`, `insp_img_status`, `insp_img_created_on`, `insp_img_updated_on`) VALUES
(1, 1, 1, 1, NULL, 'assets/module/inspection/exec/1/insp_1531981299.png', 'testing ', '.png', '1', 1, '2018-07-19 11:52:47', '2018-07-19 11:52:47'),
(2, 1, 1, 1, NULL, 'assets/module/inspection/exec/1/insp_1531981300.png', 'testing ', '.png', '1', 1, '2018-07-19 11:52:46', '2018-07-19 11:52:46'),
(3, 1, 1, 2, NULL, 'assets/module/inspection/exec/2/insp_1531981368.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 11:52:48', '2018-07-19 11:52:48'),
(4, 1, 1, 2, NULL, 'assets/module/inspection/exec/2/insp_1531981369.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 11:52:50', '2018-07-19 11:52:50'),
(5, 1, 1, 2, NULL, 'assets/module/inspection/exec/2/insp_1531981371.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 11:52:51', '2018-07-19 11:52:51'),
(6, 1, 1, 2, NULL, 'assets/module/inspection/exec/2/insp_1531981372.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 11:52:52', '2018-07-19 11:52:52'),
(7, 1, 1, 3, NULL, 'assets/module/inspection/exec/3/insp_1531981464.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 11:54:24', '2018-07-19 11:54:24'),
(8, 1, 1, 3, NULL, 'assets/module/inspection/exec/3/insp_1531981465.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 11:54:25', '2018-07-19 11:54:25'),
(9, 2, 2, 4, NULL, 'assets/module/inspection/exec/4/insp_1531981981.png', 'للمصممين نص لوريم ايبسوم عربي - شركة ناب للدعاية والاعلان', '.png', '1', 1, '2018-07-19 12:03:01', '2018-07-19 12:03:01'),
(10, 2, 2, 4, NULL, 'assets/module/inspection/exec/4/insp_1531981982.png', 'للمصممين نص لوريم ايبسوم عربي - شركة ناب للدعاية والاعلان', '.png', '1', 1, '2018-07-19 12:03:02', '2018-07-19 12:03:02'),
(11, 2, 2, 4, NULL, 'assets/module/inspection/exec/4/insp_1531981983.png', 'للمصممين نص لوريم ايبسوم عربي - شركة ناب للدعاية والاعلان', '.png', '1', 1, '2018-07-19 12:03:03', '2018-07-19 12:03:03'),
(12, 2, 2, 4, NULL, 'assets/module/inspection/exec/4/insp_1531981984.png', 'للمصممين نص لوريم ايبسوم عربي - شركة ناب للدعاية والاعلان', '.png', '1', 1, '2018-07-19 12:03:04', '2018-07-19 12:03:04'),
(13, 2, 2, 5, NULL, 'assets/module/inspection/exec/5/insp_1531982123.png', 'للمصممين نص لوريم ايبسوم عربي - شركة ناب للدعاية والاعلان', '.png', '1', 1, '2018-07-19 12:05:47', '2018-07-19 12:05:47'),
(14, 2, 2, 5, NULL, 'assets/module/inspection/exec/5/insp_1531982124.png', 'للمصممين نص لوريم ايبسوم عربي - شركة ناب للدعاية والاعلان', '.png', '1', 1, '2018-07-19 12:05:46', '2018-07-19 12:05:46'),
(15, 2, 2, 6, NULL, 'assets/module/inspection/exec/6/insp_1531982148.png', 'للمصممين نص لوريم ايبسوم عربي - شركة ناب للدعاية والاعلان', '.png', '1', 1, '2018-07-19 12:05:48', '2018-07-19 12:05:48'),
(16, 4, 4, 7, NULL, 'assets/module/inspection/exec/7/insp_1531983879.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 12:35:04', '2018-07-19 12:35:04'),
(17, 4, 4, 8, NULL, 'assets/module/inspection/exec/8/insp_1531983905.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 12:35:05', '2018-07-19 12:35:05'),
(18, 3, 3, 9, NULL, 'assets/module/inspection/exec/9/insp_1531983942.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 12:35:42', '2018-07-19 12:35:42'),
(19, 3, 3, 9, NULL, 'assets/module/inspection/exec/9/insp_1531983943.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 12:35:43', '2018-07-19 12:35:43'),
(20, 5, 5, 10, NULL, 'assets/module/inspection/exec/10/insp_1531984003.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 12:36:43', '2018-07-19 12:36:43'),
(21, 5, 5, 10, NULL, 'assets/module/inspection/exec/10/insp_1531984005.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 12:36:45', '2018-07-19 12:36:45'),
(22, 3, 3, 11, NULL, 'assets/module/inspection/exec/11/insp_1531984161.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 12:40:39', '2018-07-19 12:40:39'),
(23, 3, 3, 12, NULL, 'assets/module/inspection/exec/12/insp_1531984216.png', 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the materia', '.png', '1', 1, '2018-07-19 12:40:43', '2018-07-19 12:40:43'),
(24, 3, 3, 12, NULL, 'assets/module/inspection/exec/12/insp_1531984218.png', 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the materia', '.png', '1', 1, '2018-07-19 12:40:42', '2018-07-19 12:40:42'),
(25, 3, 3, 12, NULL, 'assets/module/inspection/exec/12/insp_1531984219.png', 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the materia', '.png', '1', 1, '2018-07-19 12:40:41', '2018-07-19 12:40:41'),
(26, 3, 3, 12, NULL, 'assets/module/inspection/exec/12/insp_1531984220.png', 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the materia', '.png', '1', 1, '2018-07-19 12:40:40', '2018-07-19 12:40:40'),
(27, 3, 3, 13, NULL, 'assets/module/inspection/exec/13/insp_1531984245.png', 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the materia', '.png', '1', 1, '2018-07-19 12:40:45', '2018-07-19 12:40:45'),
(28, 9, 9, 14, NULL, 'assets/module/inspection/exec/14/insp_1531985439.png', 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the materia', '.png', '1', 1, '2018-07-19 13:01:15', '2018-07-19 13:01:15'),
(29, 9, 9, 14, NULL, 'assets/module/inspection/exec/14/insp_1531985440.png', 'Critical appraisal involving examination, measurement, testing, gauging, and comparison of materials or items. An inspection determines if the materia', '.png', '1', 1, '2018-07-19 13:01:14', '2018-07-19 13:01:14'),
(30, 9, 9, 15, NULL, 'assets/module/inspection/exec/15/insp_1531985477.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 13:01:17', '2018-07-19 13:01:17'),
(31, 9, 10, 16, NULL, 'assets/module/inspection/exec/16/insp_1531985558.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 13:02:38', '2018-07-19 13:02:38'),
(32, 9, 11, 17, NULL, 'assets/module/inspection/exec/17/insp_1531985632.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 13:03:52', '2018-07-19 13:03:52'),
(33, 9, 12, 18, NULL, 'assets/module/inspection/exec/18/insp_1531985883.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 13:08:42', '2018-07-19 13:08:42'),
(34, 9, 12, 19, NULL, 'assets/module/inspection/exec/19/insp_1531985923.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 13:08:43', '2018-07-19 13:08:43'),
(35, 9, 12, 19, NULL, 'assets/module/inspection/exec/19/insp_1531985924.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500', '.png', '1', 1, '2018-07-19 13:08:44', '2018-07-19 13:08:44'),
(36, 10, 13, 20, NULL, 'assets/module/inspection/exec/20/insp_1531993399.png', 'gfjgfjgf', '.png', '1', 1, '2018-07-19 15:13:19', '2018-07-19 15:13:19'),
(37, 10, 13, 20, NULL, 'assets/module/inspection/exec/20/insp_1531993400.png', 'fgjgfdjfjfj', '.png', '1', 1, '2018-07-19 15:13:20', '2018-07-19 15:13:20'),
(38, 10, 13, 20, NULL, 'assets/module/inspection/exec/20/insp_1531993401.png', 'fgsjgfjhgf', '.png', '1', 1, '2018-07-19 15:13:21', '2018-07-19 15:13:21'),
(39, 10, 13, 21, NULL, 'assets/module/inspection/exec/21/insp_1533032705.jpeg', 'des', '.jpeg', '1', 1, '2018-07-31 15:55:05', '2018-07-31 15:55:05'),
(40, 16, 19, 22, NULL, 'assets/module/inspection/exec/22/insp_1532006649.jpeg', '', '.jpeg', '1', 1, '2018-07-19 18:54:09', '2018-07-19 18:54:09'),
(41, 16, 19, 22, NULL, 'assets/module/inspection/exec/22/insp_1532006650.jpeg', '', '.jpeg', '1', 1, '2018-07-19 18:54:10', '2018-07-19 18:54:10'),
(42, 16, 19, 22, NULL, 'assets/module/inspection/exec/22/insp_1532006651.jpeg', '', '.jpeg', '1', 1, '2018-07-19 18:54:11', '2018-07-19 18:54:11'),
(43, 16, 19, 22, NULL, 'assets/module/inspection/exec/22/insp_1532006652.jpeg', '', '.jpeg', '1', 1, '2018-07-19 18:54:12', '2018-07-19 18:54:12'),
(44, 9, 11, 23, NULL, 'assets/module/inspection/exec/23/insp_1532006868.jpeg', '', '.jpeg', '1', 1, '2018-07-19 18:57:48', '2018-07-19 18:57:48'),
(45, 9, 11, 23, NULL, 'assets/module/inspection/exec/23/insp_1532006869.jpeg', '', '.jpeg', '1', 1, '2018-07-19 18:57:49', '2018-07-19 18:57:49'),
(46, 9, 11, 23, NULL, 'assets/module/inspection/exec/23/insp_1532006870.jpeg', '', '.jpeg', '1', 1, '2018-07-19 18:57:50', '2018-07-19 18:57:50'),
(47, 9, 11, 23, NULL, 'assets/module/inspection/exec/23/insp_1532006871.jpeg', '', '.jpeg', '1', 1, '2018-07-19 18:57:51', '2018-07-19 18:57:51'),
(48, 20, 22, 25, NULL, 'assets/module/inspection/exec/25/insp_1532176700.jpeg', '4', '.jpeg', '1', 1, '2018-07-21 18:08:20', '2018-07-21 18:08:20'),
(49, 20, 22, 25, NULL, 'assets/module/inspection/exec/25/insp_1532176701.jpeg', '3', '.jpeg', '1', 1, '2018-07-21 18:08:21', '2018-07-21 18:08:21'),
(50, 20, 22, 25, NULL, 'assets/module/inspection/exec/25/insp_1532176702.jpeg', '2', '.jpeg', '1', 1, '2018-07-21 18:08:22', '2018-07-21 18:08:22'),
(51, 20, 22, 25, NULL, 'assets/module/inspection/exec/25/insp_1532176703.jpeg', '1', '.jpeg', '1', 1, '2018-07-21 18:08:23', '2018-07-21 18:08:23'),
(52, 29, 33, 26, NULL, 'assets/module/inspection/exec/26/insp_1532243797.png', 'dssdgsd', '.png', '1', 1, '2018-07-22 12:46:37', '2018-07-22 12:46:37'),
(53, 29, 33, 27, NULL, 'assets/module/inspection/exec/27/insp_1532243991.png', 'fdhdfh', '.png', '1', 1, '2018-07-22 12:56:42', '2018-07-22 12:56:42'),
(54, 29, 34, 28, NULL, 'assets/module/inspection/exec/28/insp_1532244068.png', 'sfgsdg', '.png', '1', 1, '2018-07-22 12:51:08', '2018-07-22 12:51:08'),
(55, 29, 35, 29, NULL, 'assets/module/inspection/exec/29/insp_1532244250.png', 'gjfgjfg', '.png', '1', 1, '2018-07-22 12:54:10', '2018-07-22 12:54:10'),
(56, 30, 37, 30, NULL, 'assets/module/inspection/exec/30/insp_1532246204.jpeg', '1', '.jpeg', '1', 1, '2018-07-22 13:26:44', '2018-07-22 13:26:44'),
(57, 30, 37, 30, NULL, 'assets/module/inspection/exec/30/insp_1532246205.jpeg', '2', '.jpeg', '1', 1, '2018-07-22 13:26:45', '2018-07-22 13:26:45'),
(58, 30, 37, 30, NULL, 'assets/module/inspection/exec/30/insp_1532246206.jpeg', '3', '.jpeg', '1', 1, '2018-07-22 13:26:46', '2018-07-22 13:26:46'),
(59, 31, 39, 31, NULL, 'assets/module/inspection/exec/31/insp_1532248816.png', 'dfgdfhdf', '.png', '1', 1, '2018-07-22 14:10:16', '2018-07-22 14:10:16'),
(60, 31, 39, 32, NULL, 'assets/module/inspection/exec/32/insp_1532249263.png', 'dsfhdhdfffdgfd', '.png', '1', 1, '2018-07-22 14:17:43', '2018-07-22 14:17:43'),
(61, 31, 40, 33, NULL, 'assets/module/inspection/exec/33/insp_1532250038.png', 'dfgdfgdfgdf', '.png', '1', 1, '2018-07-22 14:30:38', '2018-07-22 14:30:38'),
(62, 34, 45, 34, NULL, 'assets/module/inspection/exec/34/insp_1532334746.jpeg', '', '.jpeg', '1', 1, '2018-07-23 14:02:26', '2018-07-23 14:02:26'),
(63, 30, 37, 35, NULL, 'assets/module/inspection/exec/35/insp_1532335453.jpeg', 'des', '.jpeg', '1', 1, '2018-07-23 14:14:13', '2018-07-23 14:14:13'),
(64, 34, 45, 36, NULL, 'assets/module/inspection/exec/36/insp_1532335974.jpeg', 'தீபாவளி வாழ்த்துக்கள் சகோ ', '.jpeg', '1', 1, '2018-07-23 14:22:54', '2018-07-23 14:22:54'),
(65, 36, 47, 37, NULL, 'assets/module/inspection/exec/37/insp_1532342742.png', 'desc', '.png', '1', 1, '2018-07-23 16:41:13', '2018-07-23 16:41:13'),
(66, 36, 47, 37, NULL, 'assets/module/inspection/exec/37/insp_1532342743.png', 'dfhdfhfg', '.png', '1', 1, '2018-07-23 16:41:12', '2018-07-23 16:41:12'),
(67, 36, 47, 37, NULL, 'assets/module/inspection/exec/37/insp_1532342744.png', 'dfhdfhdfhdhfgjfg', '.png', '1', 1, '2018-07-23 16:41:11', '2018-07-23 16:41:11'),
(68, 36, 47, 37, NULL, 'assets/module/inspection/exec/37/insp_1532342745.png', 'htryrtjrturtyu', '.png', '1', 1, '2018-07-23 16:41:09', '2018-07-23 16:41:09'),
(69, 36, 47, 38, NULL, 'assets/module/inspection/exec/38/insp_1532342864.png', 'fdhdfhdf', '.png', '1', 1, '2018-07-23 16:41:17', '2018-07-23 16:41:17'),
(70, 36, 47, 38, NULL, 'assets/module/inspection/exec/38/insp_1532342865.png', 'dfhdfdfddf', '.png', '1', 1, '2018-07-23 16:41:16', '2018-07-23 16:41:16'),
(71, 36, 47, 38, NULL, 'assets/module/inspection/exec/38/insp_1532342866.png', 'dfhdfhfdhdf', '.png', '1', 1, '2018-07-23 16:41:15', '2018-07-23 16:41:15'),
(72, 36, 47, 38, NULL, 'assets/module/inspection/exec/38/insp_1532342867.png', 'dsgfdhdfgdg', '.png', '1', 1, '2018-07-23 16:41:14', '2018-07-23 16:41:14'),
(73, 35, 46, 39, NULL, 'assets/module/inspection/exec/39/insp_1532344997.png', 'dfhhdfhfghgf', '.png', '1', 1, '2018-07-23 16:53:17', '2018-07-23 16:53:17'),
(74, 35, 46, 39, NULL, 'assets/module/inspection/exec/39/insp_1532344998.png', 'hfhfghfghfghf', '.png', '1', 1, '2018-07-23 16:53:18', '2018-07-23 16:53:18'),
(75, 36, 49, 40, NULL, 'assets/module/inspection/exec/40/insp_1532345086.png', 'drhfhgf', '.png', '1', 1, '2018-07-23 16:54:46', '2018-07-23 16:54:46'),
(76, 36, 48, 41, NULL, 'assets/module/inspection/exec/41/insp_1532345852.jpeg', 'des', '.jpeg', '1', 1, '2018-07-23 17:07:33', '2018-07-23 17:07:33'),
(77, 36, 48, 41, NULL, 'assets/module/inspection/exec/41/insp_1532345854.jpeg', 'des', '.jpeg', '1', 1, '2018-07-23 17:07:34', '2018-07-23 17:07:34'),
(78, 32, 41, 42, NULL, 'assets/module/inspection/exec/42/insp_1532409703.png', 'saf', '.png', '1', 1, '2018-07-24 10:51:43', '2018-07-24 10:51:43'),
(79, 30, 37, 43, NULL, 'assets/module/inspection/exec/43/insp_1532496136.jpeg', 'offline test', '.jpeg', '1', 1, '2018-07-25 10:52:16', '2018-07-25 10:52:16'),
(83, 30, 37, 44, NULL, 'assets/module/inspection/exec/44/insp_1532497516.jpeg', 'offline test', '.jpeg', '1', 1, '2018-07-25 11:15:16', '2018-07-25 11:15:16'),
(87, 30, 37, 45, NULL, 'assets/module/inspection/exec/45/insp_1532497664.jpeg', 'offline test', '.jpeg', '1', 1, '2018-07-25 11:17:44', '2018-07-25 11:17:44'),
(90, 51, 64, 58, NULL, 'assets/module/inspection/exec/58/insp_1532945768.jpeg', 'desfeew', '.jpeg', '1', 1, '2018-07-30 16:08:23', '2018-07-30 16:08:23'),
(91, 51, 65, 59, NULL, 'assets/module/inspection/exec/59/insp_1532945897.jpeg', 'des', '.jpeg', '1', 1, '2018-07-30 15:48:17', '2018-07-30 15:48:17'),
(92, 51, 65, 59, NULL, 'assets/module/inspection/exec/59/insp_1532945898.jpeg', 'des2', '.jpeg', '1', 1, '2018-07-30 15:48:18', '2018-07-30 15:48:18'),
(93, 51, 64, 60, NULL, 'assets/module/inspection/exec/60/insp_1532946120.png', 'fdhdfhfdfdfdhfdhfdhdyehehe', '.png', '1', 1, '2018-07-30 16:38:23', '2018-07-30 16:38:23'),
(94, 51, 65, 61, NULL, 'assets/module/inspection/exec/61/insp_1532946704.jpeg', 'test', '.jpeg', '1', 1, '2018-07-30 16:01:44', '2018-07-30 16:01:44'),
(95, 51, 65, 62, NULL, 'assets/module/inspection/exec/62/insp_1532946721.png', 'hrrehery', '.png', '1', 1, '2018-07-30 16:02:01', '2018-07-30 16:02:01'),
(96, 36, 47, 65, NULL, 'assets/module/inspection/exec/65/insp_1533013247.jpeg', '', '.jpeg', '1', 1, '2018-07-31 10:30:47', '2018-07-31 10:30:47'),
(97, 4, 4, 66, NULL, 'assets/module/inspection/exec/66/insp_1533033544.jpeg', '', '.jpeg', '1', 1, '2018-07-31 16:09:04', '2018-07-31 16:09:04'),
(98, 0, 0, 67, NULL, 'assets/module/inspection/exec/67/insp_1533034487.octet-stream', 'fgjfgj', '.octet-stream', '1', 1, '2018-07-31 16:24:47', '2018-07-31 16:24:48'),
(99, 0, 0, 67, NULL, 'assets/module/inspection/exec/67/insp_1533034489.octet-stream', 'jhgj', '.octet-stream', '1', 1, '2018-07-31 16:24:49', '2018-07-31 16:24:49'),
(100, 4, 4, 68, NULL, 'assets/module/inspection/exec/68/insp_1533034858.jpeg', '', '.jpeg', '1', 1, '2018-07-31 16:30:58', '2018-07-31 16:30:58'),
(101, 49, 62, 69, NULL, 'assets/module/inspection/exec/69/insp_1533035372.png', 'Testing', '.png', '1', 1, '2018-07-31 16:39:32', '2018-07-31 16:39:32'),
(102, 49, 62, 69, NULL, 'assets/module/inspection/exec/69/insp_1533035373.png', 'Testing', '.png', '1', 1, '2018-07-31 16:39:33', '2018-07-31 16:39:33'),
(103, 49, 62, 69, NULL, 'assets/module/inspection/exec/69/insp_1533035374.png', 'Testing', '.png', '1', 1, '2018-07-31 16:39:35', '2018-07-31 16:39:35'),
(104, 49, 62, 69, NULL, 'assets/module/inspection/exec/69/insp_1533035376.png', 'Testing', '.png', '1', 1, '2018-07-31 16:39:36', '2018-07-31 16:39:36'),
(105, 0, 0, 70, NULL, 'assets/module/inspection/exec/70/insp_1533211710.jpeg', 'test', '.jpeg', '1', 1, '2018-08-02 17:38:30', '2018-08-02 17:38:30'),
(106, 0, 0, 70, NULL, 'assets/module/inspection/exec/70/insp_1533211711.jpeg', 'test', '.jpeg', '1', 1, '2018-08-02 17:38:31', '2018-08-02 17:38:31'),
(107, 0, 0, 70, NULL, 'assets/module/inspection/exec/70/insp_1533211712.jpeg', '', '.jpeg', '1', 1, '2018-08-02 17:38:32', '2018-08-02 17:38:32'),
(108, 0, 0, 70, NULL, 'assets/module/inspection/exec/70/insp_1533211713.jpeg', '', '.jpeg', '1', 1, '2018-08-02 17:38:33', '2018-08-02 17:38:33'),
(109, 57, 72, 71, NULL, 'assets/module/inspection/exec/71/insp_1533212592.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s', '.png', '1', 1, '2018-08-02 17:53:29', '2018-08-02 17:53:29'),
(110, 57, 72, 71, NULL, 'assets/module/inspection/exec/71/insp_1533212593.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s', '.png', '1', 1, '2018-08-02 17:53:28', '2018-08-02 17:53:28'),
(111, 57, 72, 71, NULL, 'assets/module/inspection/exec/71/insp_1533212595.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s', '.png', '1', 1, '2018-08-02 17:53:27', '2018-08-02 17:53:27'),
(112, 57, 72, 71, NULL, 'assets/module/inspection/exec/71/insp_1533212596.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s', '.png', '1', 1, '2018-08-02 17:53:26', '2018-08-02 17:53:26'),
(113, 57, 72, 72, NULL, 'assets/module/inspection/exec/72/insp_1533212641.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s', '.png', '1', 1, '2018-08-02 17:54:24', '2018-08-02 17:54:24'),
(114, 57, 72, 72, NULL, 'assets/module/inspection/exec/72/insp_1533212642.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s', '.png', '1', 1, '2018-08-02 17:54:23', '2018-08-02 17:54:23'),
(115, 55, 70, 73, NULL, 'assets/module/inspection/exec/73/insp_1533212809.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s', '.png', '1', 1, '2018-08-02 17:57:05', '2018-08-02 17:57:05'),
(116, 55, 70, 74, NULL, 'assets/module/inspection/exec/74/insp_1533212852.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s', '.png', '1', 1, '2018-08-02 17:57:32', '2018-08-02 17:57:32');

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

--
-- Table structure for table `ard_insp_plan_schedule`
--

CREATE TABLE `ard_insp_plan_schedule` (
  `id` int(11) NOT NULL,
  `fk_insp_plan_id` int(11) NOT NULL,
  `fk_insp_resch_id` int(11) DEFAULT NULL,
  `insp_sch_date` date NOT NULL,
  `insp_sch_from_time` time NOT NULL,
  `insp_sch_to_time` time NOT NULL,
  `fk_dept_id` int(11) NOT NULL,
  `fk_loc_id` int(11) NOT NULL,
  `fk_process_id` int(11) NOT NULL,
  `insp_unsch_uni_id` text,
  `insp_sch_approver_leader_id` int(11) NOT NULL DEFAULT '0',
  `insp_sch_approved_leader_status` int(11) NOT NULL DEFAULT '0',
  `insp_sch_approved_leader_date` datetime NOT NULL,
  `insp_sch_status` int(11) NOT NULL DEFAULT '0',
  `insp_sch_created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `insp_sch_updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_plan_schedule`
--

INSERT INTO `ard_insp_plan_schedule` (`id`, `fk_insp_plan_id`, `fk_insp_resch_id`, `insp_sch_date`, `insp_sch_from_time`, `insp_sch_to_time`, `fk_dept_id`, `fk_loc_id`, `fk_process_id`, `insp_unsch_uni_id`, `insp_sch_approver_leader_id`, `insp_sch_approved_leader_status`, `insp_sch_approved_leader_date`, `insp_sch_status`, `insp_sch_created_on`, `insp_sch_updated_on`) VALUES
(1, 1, NULL, '2018-01-11', '11:55:00', '23:55:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 3, '2018-07-19 11:47:28', '2018-07-19 11:58:44'),
(2, 2, NULL, '2018-02-14', '10:50:00', '23:55:00', 7, 9, 2, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-19 12:01:14', '2018-07-19 12:01:32'),
(3, 3, NULL, '2018-03-14', '09:45:00', '22:50:00', 9, 10, 3, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-19 12:14:09', '2018-07-19 12:14:58'),
(4, 4, NULL, '2018-04-13', '22:50:00', '13:05:00', 11, 11, 5, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-19 12:17:02', '2018-07-19 12:19:08'),
(5, 5, NULL, '2018-05-03', '22:50:00', '11:55:00', 7, 9, 2, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-19 12:19:07', '2018-07-19 12:24:24'),
(6, 6, NULL, '2018-06-04', '11:55:00', '23:55:00', 8, 12, 3, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-19 12:23:25', '2018-07-19 12:28:27'),
(7, 7, NULL, '2018-06-16', '22:50:00', '23:55:00', 7, 9, 2, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-19 12:24:38', '2018-07-19 12:29:35'),
(8, 8, NULL, '2018-07-05', '11:55:00', '22:50:00', 9, 10, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-19 12:30:33', '2018-07-22 13:53:05'),
(9, 9, NULL, '2018-07-07', '22:50:00', '10:50:00', 1, 2, 2, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-19 12:56:46', '2018-07-19 12:59:29'),
(10, 9, NULL, '2018-07-08', '11:54:00', '23:55:00', 2, 4, 4, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-19 12:56:52', '2018-07-19 12:59:29'),
(11, 9, NULL, '2018-07-09', '23:55:00', '22:50:00', 1, 7, 3, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-19 12:56:56', '2018-07-19 12:59:29'),
(12, 9, 10, '2018-07-10', '11:54:00', '23:55:00', 2, 4, 4, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-19 13:07:15', '2018-07-19 13:07:15'),
(13, 10, NULL, '2018-01-20', '09:45:00', '22:50:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-19 15:09:09', '2018-07-19 15:10:12'),
(14, 11, NULL, '1970-01-01', '00:00:00', '00:00:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-19 15:23:35', '2018-07-19 15:23:35'),
(15, 12, NULL, '2018-07-19', '16:11:00', '16:11:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-19 16:11:20', '2018-07-19 16:11:20'),
(16, 14, NULL, '2018-07-19', '16:11:00', '16:11:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-19 16:11:37', '2018-07-19 16:11:37'),
(17, 14, NULL, '2018-07-19', '16:11:00', '16:11:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-19 16:11:37', '2018-07-19 16:11:37'),
(18, 15, NULL, '1970-01-01', '00:00:00', '00:00:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-19 16:25:38', '2018-07-19 16:25:38'),
(19, 16, NULL, '2018-07-19', '18:52:00', '18:52:00', 1, 1, 3, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-19 18:52:16', '2018-07-19 18:52:16'),
(20, 17, NULL, '2018-09-14', '11:55:00', '22:50:00', 9, 10, 2, NULL, 0, 0, '0000-00-00 00:00:00', 0, '2018-07-20 16:28:59', '2018-07-20 16:28:59'),
(21, 18, NULL, '2018-09-14', '11:55:00', '13:00:00', 11, 11, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-20 16:31:25', '2018-07-22 13:55:37'),
(22, 20, NULL, '2018-07-21', '12:05:00', '23:00:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-21 17:57:46', '2018-07-22 14:29:39'),
(23, 20, NULL, '2018-07-22', '01:05:00', '03:00:00', 2, 4, 2, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-21 17:57:51', '2018-07-22 14:29:39'),
(24, 20, NULL, '2018-07-22', '03:30:00', '05:00:00', 2, 4, 3, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-21 17:57:55', '2018-07-22 14:29:39'),
(25, 21, NULL, '2018-07-21', '18:31:00', '18:31:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-21 18:32:12', '2018-07-21 18:32:12'),
(26, 22, NULL, '2018-07-21', '18:31:00', '18:31:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-21 18:32:12', '2018-07-21 18:32:12'),
(27, 23, NULL, '2018-07-21', '18:31:00', '18:31:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-21 18:32:12', '2018-07-21 18:32:12'),
(28, 24, NULL, '2018-07-21', '18:32:00', '18:32:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-21 18:32:22', '2018-07-21 18:32:22'),
(29, 25, NULL, '2018-07-21', '18:31:00', '18:31:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-21 18:44:55', '2018-07-21 18:44:55'),
(30, 26, NULL, '2018-07-21', '18:31:00', '18:31:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-21 18:44:55', '2018-07-21 18:44:55'),
(31, 27, NULL, '2018-07-21', '18:31:00', '18:31:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-21 18:45:37', '2018-07-21 18:45:37'),
(32, 28, NULL, '2018-07-21', '18:46:00', '18:46:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-21 18:48:55', '2018-07-21 18:48:55'),
(33, 29, NULL, '2018-12-02', '09:45:00', '11:55:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 3, '2018-07-22 12:25:16', '2018-07-22 12:57:43'),
(34, 29, NULL, '2018-12-03', '10:50:00', '11:55:00', 2, 3, 1, NULL, 0, 0, '0000-00-00 00:00:00', 3, '2018-07-22 12:25:21', '2018-07-22 12:57:43'),
(35, 29, 34, '2018-12-04', '10:50:00', '11:55:00', 2, 3, 1, NULL, 0, 0, '0000-00-00 00:00:00', 3, '2018-07-22 12:52:26', '2018-07-22 12:57:43'),
(36, 30, NULL, '2018-12-13', '08:40:00', '23:55:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-22 13:16:09', '2018-07-22 13:20:33'),
(37, 30, NULL, '2018-12-14', '09:50:00', '23:00:00', 2, 3, 2, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-22 13:16:14', '2018-07-22 13:20:33'),
(38, 30, NULL, '2018-12-15', '22:50:00', '23:55:00', 2, 3, 2, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-22 13:18:14', '2018-07-22 13:20:33'),
(39, 31, NULL, '2018-11-02', '11:55:00', '23:55:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 3, '2018-07-22 13:24:54', '2018-07-22 14:31:32'),
(40, 31, NULL, '2018-11-03', '23:55:00', '01:05:00', 1, 2, 2, NULL, 0, 0, '0000-00-00 00:00:00', 3, '2018-07-22 13:24:59', '2018-07-22 14:31:32'),
(41, 32, NULL, '2018-08-03', '06:30:00', '22:50:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-22 17:15:35', '2018-07-23 10:29:46'),
(42, 32, NULL, '2018-08-04', '09:45:00', '22:50:00', 2, 4, 2, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-22 17:15:40', '2018-07-23 10:29:46'),
(43, 32, NULL, '2018-08-05', '10:50:00', '22:50:00', 1, 2, 2, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-22 17:15:45', '2018-07-23 10:29:46'),
(44, 33, NULL, '2018-08-16', '01:00:00', '02:00:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-23 10:36:46', '2018-07-23 10:37:05'),
(45, 34, NULL, '2018-07-23', '14:00:00', '15:00:00', 7, 9, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-23 14:01:18', '2018-07-23 14:01:18'),
(46, 35, NULL, '2018-07-23', '14:06:00', '14:06:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-23 14:07:56', '2018-07-23 14:07:56'),
(47, 36, NULL, '2018-09-06', '11:55:00', '23:55:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-23 15:40:54', '2018-07-23 15:51:39'),
(48, 36, NULL, '2018-09-07', '23:55:00', '01:05:00', 2, 3, 2, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-23 15:41:00', '2018-07-23 15:51:39'),
(49, 36, NULL, '2018-09-08', '10:50:00', '23:55:00', 1, 1, 3, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-23 15:41:04', '2018-07-23 15:51:39'),
(50, 37, NULL, '2018-07-24', '12:01:00', '12:01:00', 7, 9, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-24 12:03:02', '2018-07-24 12:03:02'),
(51, 38, NULL, '2018-07-24', '12:04:00', '12:04:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-24 12:35:35', '2018-07-24 12:35:35'),
(52, 39, NULL, '1970-01-01', '00:00:00', '00:00:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-24 12:35:35', '2018-07-24 12:35:35'),
(53, 40, NULL, '2018-07-24', '12:04:00', '12:04:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-24 12:36:17', '2018-07-24 12:36:17'),
(54, 41, NULL, '2018-01-18', '06:00:00', '22:30:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-25 10:41:45', '2018-08-03 12:11:43'),
(55, 42, NULL, '2018-09-03', '10:50:00', '08:35:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-25 16:54:15', '2018-08-02 16:13:22'),
(56, 43, NULL, '2018-07-26', '10:06:00', '10:06:00', 10, 10, 4, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-26 10:07:35', '2018-07-26 10:07:35'),
(57, 44, NULL, '2018-07-26', '10:08:00', '10:08:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-26 10:08:15', '2018-07-26 10:08:15'),
(58, 45, NULL, '2018-07-26', '11:52:00', '11:52:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-26 11:54:42', '2018-07-26 11:54:42'),
(59, 46, NULL, '2018-07-26', '12:00:00', '12:00:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-26 12:01:00', '2018-07-26 12:01:00'),
(60, 47, NULL, '2018-07-26', '12:15:00', '12:15:00', 11, 11, 4, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-26 12:16:30', '2018-07-26 12:16:30'),
(61, 48, NULL, '2018-07-26', '12:22:00', '12:22:00', 8, 13, 2, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-26 12:23:48', '2018-07-26 12:23:48'),
(62, 49, NULL, '2018-07-27', '09:25:00', '15:25:00', 9, 10, 8, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-27 09:26:01', '2018-07-27 09:26:01'),
(63, 50, NULL, '2018-07-30', '11:50:00', '11:50:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-30 11:50:35', '2018-07-30 11:50:35'),
(64, 51, NULL, '2018-10-04', '08:40:00', '10:50:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 3, '2018-07-30 15:36:19', '2018-07-30 16:30:02'),
(65, 51, NULL, '2018-10-05', '07:35:00', '09:40:00', 2, 3, 2, NULL, 0, 0, '0000-00-00 00:00:00', 3, '2018-07-30 15:36:30', '2018-07-30 16:30:02'),
(66, 52, NULL, '2018-11-01', '09:55:00', '12:00:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-30 17:52:33', '2018-08-02 16:12:42'),
(67, 53, NULL, '2018-08-04', '06:00:00', '21:00:00', 7, 9, 1, NULL, 0, 0, '0000-00-00 00:00:00', 0, '2018-07-31 10:02:37', '2018-07-31 10:02:37'),
(68, 53, NULL, '2018-08-05', '06:00:00', '21:00:00', 7, 9, 1, NULL, 0, 0, '0000-00-00 00:00:00', 0, '2018-07-31 10:02:41', '2018-07-31 10:02:41'),
(69, 54, NULL, '2018-08-08', '06:00:00', '21:00:00', 7, 9, 1, NULL, 0, 0, '0000-00-00 00:00:00', 0, '2018-07-31 10:10:02', '2018-07-31 10:10:02'),
(70, 55, NULL, '2018-08-01', '16:21:00', '17:23:00', 7, 9, 2, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-07-31 10:17:57', '2018-08-02 16:11:43'),
(71, 56, NULL, '2018-08-02', '17:03:00', '17:03:00', 1, 2, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-08-02 17:03:49', '2018-08-02 17:03:49'),
(72, 57, NULL, '2018-08-02', '17:34:00', '17:34:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-08-02 17:38:21', '2018-08-02 17:38:21'),
(73, 58, NULL, '2018-08-03', '15:44:00', '12:43:00', 2, 4, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-08-03 12:56:34', '2018-08-03 12:56:34'),
(74, 59, NULL, '2018-08-06', '00:00:00', '00:00:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 1, '2018-08-06 12:07:41', '2018-08-06 12:12:28'),
(75, 60, NULL, '2018-10-14', '10:50:00', '11:55:00', 1, 1, 1, NULL, 0, 0, '0000-00-00 00:00:00', 0, '2018-08-28 11:10:21', '2018-08-28 11:10:21');

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

--
-- Table structure for table `ard_insp_process`
--

CREATE TABLE `ard_insp_process` (
  `id` int(11) NOT NULL,
  `ins_id` int(11) DEFAULT NULL,
  `process_name_en` text CHARACTER SET utf8,
  `process_name_ar` text CHARACTER SET utf8,
  `status` int(11) NOT NULL DEFAULT '1',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_process`
--

INSERT INTO `ard_insp_process` (`id`, `ins_id`, `process_name_en`, `process_name_ar`, `status`, `created_on`, `updated_on`) VALUES
(1, NULL, 'process1', 'معالجة', 1, '2018-07-19 11:30:22', '2018-07-19 11:30:57'),
(2, NULL, 'process2', 'زواج', 1, '2018-07-19 11:30:50', '2018-07-19 11:30:50'),
(3, NULL, 'process3', 'ترجمه', 1, '2018-07-19 11:31:25', '2018-07-19 11:31:25'),
(4, NULL, 'process4', 'اللغات', 1, '2018-07-19 11:31:50', '2018-07-19 11:31:50'),
(5, NULL, 'process5', 'لقطات', 1, '2018-07-19 11:33:27', '2018-07-19 11:33:27'),
(6, NULL, 'gxg', 'hghgjghjk', 1, '2018-07-20 17:08:01', '2018-07-20 17:08:01'),
(7, NULL, 'fzhfdhg', 'jhgjhgjkhjk', 1, '2018-07-22 14:12:05', '2018-07-22 14:12:05'),
(8, NULL, 'processtext', NULL, 1, '2018-07-22 16:58:56', '2018-07-22 16:58:56');

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

--
-- Table structure for table `ard_insp_remarks_history`
--

CREATE TABLE `ard_insp_remarks_history` (
  `id_remark` int(11) NOT NULL,
  `fk_inspection_plan_id` int(11) DEFAULT NULL,
  `fk_approver_id` int(11) DEFAULT NULL,
  `insp_planning_remarks` text CHARACTER SET utf8 NOT NULL,
  `remarked_date` datetime DEFAULT NULL,
  `edited_inspector_id` int(11) DEFAULT NULL,
  `edited_inspection_date` datetime DEFAULT NULL,
  `remark_created_on` datetime DEFAULT CURRENT_TIMESTAMP,
  `remark_modified_on` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `remark_status` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `ard_insp_report_log`
--

CREATE TABLE `ard_insp_report_log` (
  `report_id` int(11) NOT NULL,
  `report_search_data` longtext CHARACTER SET utf8 NOT NULL,
  `report_result_data` longtext CHARACTER SET utf8 NOT NULL,
  `report_cust_query` int(11) NOT NULL DEFAULT '0',
  `report_status` int(11) NOT NULL DEFAULT '0',
  `report_created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `report_updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `report_pdf_path` text CHARACTER SET utf8 NOT NULL,
  `report_chart_data` text CHARACTER SET utf8 NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_report_log`
--

INSERT INTO `ard_insp_report_log` (`report_id`, `report_search_data`, `report_result_data`, `report_cust_query`, `report_status`, `report_created_on`, `report_updated_on`, `report_pdf_path`, `report_chart_data`) VALUES
(1, '""', '{"hazardReportInfo":[{"hazard_id":"1","id":"1","comp_id":null,"hazard_en":"PPE","hazard_ar":"\\u062e\\u0637\\u0631","status":"1","created_on":"2018-07-19 11:23:17","updated_on":"2018-07-19 12:13:31","fk_insp_haz_id":"1","insp_date":"2018-01-11","yrs":"2018","hazid":"1","Jan":"1","Feb":"1","Mar":"0","Apr":"0","May":"0","Jun":"0","Jul":"0","Aug":"0","Sep":"0","Oct":"0","Nov":"0","Dece":"0","total":"2"},{"hazard_id":"2","id":"2","comp_id":null,"hazard_en":"Hand & Power Tools Safety","hazard_ar":"\\u0627\\u0644\\u0633\\u0644\\u0627\\u0645\\u0629 \\u0645\\u0646 \\u0627\\u0644\\u062d\\u0631\\u0627\\u0626\\u0642\\u0623\\u062f\\u0648\\u0627\\u062a \\u0627\\u0644\\u0633\\u0644\\u0627\\u0645\\u0629 \\u0648\\u0627\\u0644\\u0623\\u062f\\u0648\\u0627\\u062a \\u0627\\u0644\\u064a\\u062f\\u0648\\u064a\\u0629","status":"1","created_on":"2018-07-19 11:23:51","updated_on":"2018-07-19 12:13:55","fk_insp_haz_id":"2","insp_date":"2018-01-11","yrs":"2018","hazid":"2","Jan":"1","Feb":"1","Mar":"1","Apr":"0","May":"1","Jun":"0","Jul":"4","Aug":"0","Sep":"0","Oct":"0","Nov":"0","Dece":"0","total":"8"},{"hazard_id":"3","id":"3","comp_id":null,"hazard_en":"Confined Space Safety","hazard_ar":"\\u0633\\u0644\\u0627\\u0645\\u0629 \\u0627\\u0644\\u0641\\u0636\\u0627\\u0621 \\u0627\\u0644\\u0645\\u062d\\u0635\\u0648\\u0631\\u0629","status":"1","created_on":"2018-07-19 11:24:17","updated_on":"2018-07-19 12:14:30","fk_insp_haz_id":"3","insp_date":"2018-01-11","yrs":"2018","hazid":"3","Jan":"1","Feb":"0","Mar":"1","Apr":"2","May":"0","Jun":"0","Jul":"2","Aug":"0","Sep":"0","Oct":"0","Nov":"0","Dece":"0","total":"6"},{"hazard_id":"4","id":"4","comp_id":null,"hazard_en":"House Keeping","hazard_ar":"\\u0627\\u0644\\u062a\\u062f\\u0628\\u064a\\u0631 \\u0627\\u0644\\u0645\\u0646\\u0632\\u0644\\u064a","status":"1","created_on":"2018-07-19 11:24:35","updated_on":"2018-07-19 12:14:13","fk_insp_haz_id":"4","insp_date":"2018-02-14","yrs":"2018","hazid":"4","Jan":"0","Feb":"1","Mar":"2","Apr":"0","May":"0","Jun":"0","Jul":"0","Aug":"0","Sep":"0","Oct":"0","Nov":"0","Dece":"0","total":"3"}],"yrs":null,"Searchstr":""}', 0, 0, '2018-07-19 14:00:49', '2018-07-19 14:00:49', '', ''),
(2, '""', '{"hazardReportInfo":[{"hazard_id":"1","id":"1","comp_id":null,"hazard_en":"PPE","hazard_ar":"\\u062e\\u0637\\u0631","status":"1","created_on":"2018-07-19 11:23:17","updated_on":"2018-07-19 12:13:31","fk_insp_haz_id":"1","insp_date":"2018-01-11","yrs":"2018","hazid":"1","Jan":"1","Feb":"1","Mar":"0","Apr":"0","May":"0","Jun":"0","Jul":"0","Aug":"0","Sep":"0","Oct":"0","Nov":"0","Dece":"0","total":"2"},{"hazard_id":"2","id":"2","comp_id":null,"hazard_en":"Hand & Power Tools Safety","hazard_ar":"\\u0627\\u0644\\u0633\\u0644\\u0627\\u0645\\u0629 \\u0645\\u0646 \\u0627\\u0644\\u062d\\u0631\\u0627\\u0626\\u0642\\u0623\\u062f\\u0648\\u0627\\u062a \\u0627\\u0644\\u0633\\u0644\\u0627\\u0645\\u0629 \\u0648\\u0627\\u0644\\u0623\\u062f\\u0648\\u0627\\u062a \\u0627\\u0644\\u064a\\u062f\\u0648\\u064a\\u0629","status":"1","created_on":"2018-07-19 11:23:51","updated_on":"2018-07-19 12:13:55","fk_insp_haz_id":"2","insp_date":"2018-01-11","yrs":"2018","hazid":"2","Jan":"1","Feb":"1","Mar":"1","Apr":"0","May":"1","Jun":"0","Jul":"4","Aug":"0","Sep":"0","Oct":"0","Nov":"0","Dece":"0","total":"8"},{"hazard_id":"3","id":"3","comp_id":null,"hazard_en":"Confined Space Safety","hazard_ar":"\\u0633\\u0644\\u0627\\u0645\\u0629 \\u0627\\u0644\\u0641\\u0636\\u0627\\u0621 \\u0627\\u0644\\u0645\\u062d\\u0635\\u0648\\u0631\\u0629","status":"1","created_on":"2018-07-19 11:24:17","updated_on":"2018-07-19 12:14:30","fk_insp_haz_id":"3","insp_date":"2018-01-11","yrs":"2018","hazid":"3","Jan":"1","Feb":"0","Mar":"1","Apr":"2","May":"0","Jun":"0","Jul":"2","Aug":"0","Sep":"0","Oct":"0","Nov":"0","Dece":"0","total":"6"},{"hazard_id":"4","id":"4","comp_id":null,"hazard_en":"House Keeping","hazard_ar":"\\u0627\\u0644\\u062a\\u062f\\u0628\\u064a\\u0631 \\u0627\\u0644\\u0645\\u0646\\u0632\\u0644\\u064a","status":"1","created_on":"2018-07-19 11:24:35","updated_on":"2018-07-19 12:14:13","fk_insp_haz_id":"4","insp_date":"2018-02-14","yrs":"2018","hazid":"4","Jan":"0","Feb":"1","Mar":"2","Apr":"0","May":"0","Jun":"0","Jul":"0","Aug":"0","Sep":"0","Oct":"0","Nov":"0","Dece":"0","total":"3"}],"yrs":null,"Searchstr":""}', 0, 0, '2018-07-19 14:00:49', '2018-07-19 14:00:51', '', 'assets/module/inspection/chart/google_report-2018-07-19-02-07-51.png'),
(3, '""', '{"hazardReportInfo":[{"hazard_id":"1","id":"1","comp_id":null,"hazard_en":"PPE","hazard_ar":"\\u062e\\u0637\\u0631","status":"1","created_on":"2018-07-19 11:23:17","updated_on":"2018-07-19 12:13:31","fk_insp_haz_id":"1","insp_date":"2018-01-11","yrs":"2018","hazid":"1","Jan":"3","Feb":"1","Mar":"0","Apr":"0","May":"0","Jun":"0","Jul":"3","Aug":"0","Sep":"0","Oct":"0","Nov":"2","Dece":"5","total":"14"},{"hazard_id":"2","id":"2","comp_id":null,"hazard_en":"Hand & Power Tools Safety","hazard_ar":"\\u0627\\u0644\\u0633\\u0644\\u0627\\u0645\\u0629 \\u0645\\u0646 \\u0627\\u0644\\u062d\\u0631\\u0627\\u0626\\u0642\\u0623\\u062f\\u0648\\u0627\\u062a \\u0627\\u0644\\u0633\\u0644\\u0627\\u0645\\u0629 \\u0648\\u0627\\u0644\\u0623\\u062f\\u0648\\u0627\\u062a \\u0627\\u0644\\u064a\\u062f\\u0648\\u064a\\u0629","status":"1","created_on":"2018-07-19 11:23:51","updated_on":"2018-07-19 12:13:55","fk_insp_haz_id":"2","insp_date":"2018-01-11","yrs":"2018","hazid":"2","Jan":"1","Feb":"1","Mar":"1","Apr":"0","May":"1","Jun":"0","Jul":"5","Aug":"0","Sep":"0","Oct":"0","Nov":"1","Dece":"0","total":"10"},{"hazard_id":"3","id":"3","comp_id":null,"hazard_en":"Confined Space Safety","hazard_ar":"\\u0633\\u0644\\u0627\\u0645\\u0629 \\u0627\\u0644\\u0641\\u0636\\u0627\\u0621 \\u0627\\u0644\\u0645\\u062d\\u0635\\u0648\\u0631\\u0629","status":"1","created_on":"2018-07-19 11:24:17","updated_on":"2018-07-19 12:14:30","fk_insp_haz_id":"3","insp_date":"2018-01-11","yrs":"2018","hazid":"3","Jan":"1","Feb":"0","Mar":"1","Apr":"2","May":"0","Jun":"0","Jul":"2","Aug":"0","Sep":"0","Oct":"0","Nov":"0","Dece":"0","total":"6"},{"hazard_id":"4","id":"4","comp_id":null,"hazard_en":"House Keepingg","hazard_ar":"\\u0627\\u0644\\u062a\\u062f\\u0628\\u064a\\u0631 \\u0627\\u0644\\u0645\\u0646\\u0632\\u0644\\u064a","status":"1","created_on":"2018-07-19 11:24:35","updated_on":"2018-07-22 13:42:44","fk_insp_haz_id":"4","insp_date":"2018-02-14","yrs":"2018","hazid":"4","Jan":"0","Feb":"1","Mar":"2","Apr":"0","May":"0","Jun":"0","Jul":"0","Aug":"0","Sep":"0","Oct":"0","Nov":"0","Dece":"0","total":"3"},{"hazard_id":"5","id":"5","comp_id":"1","hazard_en":"sgdfgfdj","hazard_ar":"gfjhgkjhgjk","status":"2","created_on":"2018-07-20 17:06:56","updated_on":"2018-07-22 13:42:55","fk_insp_haz_id":null,"insp_date":null,"yrs":null,"hazid":null,"Jan":null,"Feb":null,"Mar":null,"Apr":null,"May":null,"Jun":null,"Jul":null,"Aug":null,"Sep":null,"Oct":null,"Nov":null,"Dece":null,"total":null},{"hazard_id":"6","id":"6","comp_id":"1","hazard_en":"ertdytri","hazard_ar":"fyhfgduyi","status":"1","created_on":"2018-07-22 13:42:18","updated_on":null,"fk_insp_haz_id":null,"insp_date":null,"yrs":null,"hazid":null,"Jan":null,"Feb":null,"Mar":null,"Apr":null,"May":null,"Jun":null,"Jul":null,"Aug":null,"Sep":null,"Oct":null,"Nov":null,"Dece":null,"total":null}],"yrs":null,"Searchstr":""}', 0, 0, '2018-07-22 16:42:56', '2018-07-22 16:42:59', '', 'assets/module/inspection/chart/google_report-2018-07-22-04-07-59.png'),
(4, '"year=&facility=&department=&location=&hazard=&risk_level=&inspector=&inspName=&inspCriteria=&inspProcess=&dates=06%2F23%2F2018+-+07%2F22%2F2018"', '{"hazardInfo":[{"id":"1","comp_id":null,"hazard_en":"PPE","hazard_ar":"\\u062e\\u0637\\u0631","status":"1","created_on":"2018-07-19 11:23:17","updated_on":"2018-07-19 12:13:31"},{"id":"2","comp_id":null,"hazard_en":"Hand & Power Tools Safety","hazard_ar":"\\u0627\\u0644\\u0633\\u0644\\u0627\\u0645\\u0629 \\u0645\\u0646 \\u0627\\u0644\\u062d\\u0631\\u0627\\u0626\\u0642\\u0623\\u062f\\u0648\\u0627\\u062a \\u0627\\u0644\\u0633\\u0644\\u0627\\u0645\\u0629 \\u0648\\u0627\\u0644\\u0623\\u062f\\u0648\\u0627\\u062a \\u0627\\u0644\\u064a\\u062f\\u0648\\u064a\\u0629","status":"1","created_on":"2018-07-19 11:23:51","updated_on":"2018-07-19 12:13:55"},{"id":"3","comp_id":null,"hazard_en":"Confined Space Safety","hazard_ar":"\\u0633\\u0644\\u0627\\u0645\\u0629 \\u0627\\u0644\\u0641\\u0636\\u0627\\u0621 \\u0627\\u0644\\u0645\\u062d\\u0635\\u0648\\u0631\\u0629","status":"1","created_on":"2018-07-19 11:24:17","updated_on":"2018-07-19 12:14:30"},{"id":"4","comp_id":null,"hazard_en":"House Keepingg","hazard_ar":"\\u0627\\u0644\\u062a\\u062f\\u0628\\u064a\\u0631 \\u0627\\u0644\\u0645\\u0646\\u0632\\u0644\\u064a","status":"1","created_on":"2018-07-19 11:24:35","updated_on":"2018-07-22 13:42:44"},{"id":"6","comp_id":"1","hazard_en":"ertdytri","hazard_ar":"fyhfgduyi","status":"1","created_on":"2018-07-22 13:42:18","updated_on":null}],"tabheader":["2018-06-23","2018-06-24","2018-06-25","2018-06-26","2018-06-27","2018-06-28","2018-06-29","2018-06-30","2018-07-01","2018-07-02","2018-07-03","2018-07-04","2018-07-05","2018-07-06","2018-07-07","2018-07-08","2018-07-09","2018-07-10","2018-07-11","2018-07-12","2018-07-13","2018-07-14","2018-07-15","2018-07-16","2018-07-17","2018-07-18","2018-07-19","2018-07-20","2018-07-21","2018-07-22"],"Searchstr":" Dates : 23\\/06\\/2018-22\\/07\\/2018","hazardReportInfo":{"1":{"name":"PPE","value":{"2018-07-08":"1","2018-07-09":"1","2018-07-21":"1"}},"2":{"name":"Hand & Power Tools Safety","value":{"2018-07-07":"1","2018-07-08":"1","2018-07-10":"2","2018-07-19":"1"}},"3":{"name":"Confined Space Safety","value":{"2018-07-07":"1","2018-07-09":"1"}},"4":{"name":"House Keepingg","value":[]},"6":{"name":"ertdytri","value":[]}}}', 1, 0, '2018-07-22 16:44:48', '2018-07-22 16:44:50', '', 'assets/module/inspection/chart/google_report-2018-07-22-04-07-50.png'),
(5, '""', '{"hazardReportInfo":[{"hazard_id":"1","id":"1","comp_id":null,"hazard_en":"PPE","hazard_ar":"\\u062e\\u0637\\u0631","status":"1","created_on":"2018-07-19 11:23:17","updated_on":"2018-07-19 12:13:31","fk_insp_haz_id":"1","insp_date":"2018-01-11","yrs":"2018","hazid":"1","Jan":"3","Feb":"1","Mar":"0","Apr":"0","May":"0","Jun":"0","Jul":"6","Aug":"1","Sep":"3","Oct":"0","Nov":"2","Dece":"9","total":"25"},{"hazard_id":"2","id":"2","comp_id":null,"hazard_en":"Hand & Power Tools Safety","hazard_ar":"\\u0627\\u0644\\u0633\\u0644\\u0627\\u0645\\u0629 \\u0645\\u0646 \\u0627\\u0644\\u062d\\u0631\\u0627\\u0626\\u0642\\u0623\\u062f\\u0648\\u0627\\u062a \\u0627\\u0644\\u0633\\u0644\\u0627\\u0645\\u0629 \\u0648\\u0627\\u0644\\u0623\\u062f\\u0648\\u0627\\u062a \\u0627\\u0644\\u064a\\u062f\\u0648\\u064a\\u0629","status":"1","created_on":"2018-07-19 11:23:51","updated_on":"2018-07-19 12:13:55","fk_insp_haz_id":"2","insp_date":"2018-01-11","yrs":"2018","hazid":"2","Jan":"1","Feb":"1","Mar":"1","Apr":"0","May":"1","Jun":"0","Jul":"5","Aug":"0","Sep":"1","Oct":"0","Nov":"1","Dece":"0","total":"11"},{"hazard_id":"3","id":"3","comp_id":null,"hazard_en":"Confined Space Safety","hazard_ar":"\\u0633\\u0644\\u0627\\u0645\\u0629 \\u0627\\u0644\\u0641\\u0636\\u0627\\u0621 \\u0627\\u0644\\u0645\\u062d\\u0635\\u0648\\u0631\\u0629","status":"1","created_on":"2018-07-19 11:24:17","updated_on":"2018-07-19 12:14:30","fk_insp_haz_id":"3","insp_date":"2018-01-11","yrs":"2018","hazid":"3","Jan":"1","Feb":"0","Mar":"1","Apr":"2","May":"0","Jun":"0","Jul":"2","Aug":"0","Sep":"0","Oct":"0","Nov":"0","Dece":"0","total":"6"},{"hazard_id":"4","id":"4","comp_id":null,"hazard_en":"House Keepingg","hazard_ar":"\\u0627\\u0644\\u062a\\u062f\\u0628\\u064a\\u0631 \\u0627\\u0644\\u0645\\u0646\\u0632\\u0644\\u064a","status":"1","created_on":"2018-07-19 11:24:35","updated_on":"2018-07-22 13:42:44","fk_insp_haz_id":"4","insp_date":"2018-02-14","yrs":"2018","hazid":"4","Jan":"0","Feb":"1","Mar":"2","Apr":"0","May":"0","Jun":"0","Jul":"0","Aug":"0","Sep":"0","Oct":"0","Nov":"0","Dece":"0","total":"3"},{"hazard_id":"5","id":"5","comp_id":"1","hazard_en":"sgdfgfdj","hazard_ar":"gfjhgkjhgjk","status":"2","created_on":"2018-07-20 17:06:56","updated_on":"2018-07-22 13:42:55","fk_insp_haz_id":null,"insp_date":null,"yrs":null,"hazid":null,"Jan":null,"Feb":null,"Mar":null,"Apr":null,"May":null,"Jun":null,"Jul":null,"Aug":null,"Sep":null,"Oct":null,"Nov":null,"Dece":null,"total":null},{"hazard_id":"6","id":"6","comp_id":"1","hazard_en":"ertdytri","hazard_ar":"fyhfgduyi","status":"1","created_on":"2018-07-22 13:42:18","updated_on":null,"fk_insp_haz_id":null,"insp_date":null,"yrs":null,"hazid":null,"Jan":null,"Feb":null,"Mar":null,"Apr":null,"May":null,"Jun":null,"Jul":null,"Aug":null,"Sep":null,"Oct":null,"Nov":null,"Dece":null,"total":null}],"yrs":null,"Searchstr":""}', 0, 0, '2018-07-30 10:48:59', '2018-07-30 10:48:59', '', ''),
(6, '""', '{"hazardReportInfo":[{"hazard_id":"1","id":"1","comp_id":null,"hazard_en":"PPE","hazard_ar":"\\u062e\\u0637\\u0631","status":"1","created_on":"2018-07-19 11:23:17","updated_on":"2018-07-19 12:13:31","fk_insp_haz_id":"1","insp_date":"2018-01-11","yrs":"2018","hazid":"1","Jan":"3","Feb":"1","Mar":"0","Apr":"0","May":"0","Jun":"0","Jul":"6","Aug":"1","Sep":"3","Oct":"0","Nov":"2","Dece":"9","total":"25"},{"hazard_id":"2","id":"2","comp_id":null,"hazard_en":"Hand & Power Tools Safety","hazard_ar":"\\u0627\\u0644\\u0633\\u0644\\u0627\\u0645\\u0629 \\u0645\\u0646 \\u0627\\u0644\\u062d\\u0631\\u0627\\u0626\\u0642\\u0623\\u062f\\u0648\\u0627\\u062a \\u0627\\u0644\\u0633\\u0644\\u0627\\u0645\\u0629 \\u0648\\u0627\\u0644\\u0623\\u062f\\u0648\\u0627\\u062a \\u0627\\u0644\\u064a\\u062f\\u0648\\u064a\\u0629","status":"1","created_on":"2018-07-19 11:23:51","updated_on":"2018-07-19 12:13:55","fk_insp_haz_id":"2","insp_date":"2018-01-11","yrs":"2018","hazid":"2","Jan":"1","Feb":"1","Mar":"1","Apr":"0","May":"1","Jun":"0","Jul":"5","Aug":"0","Sep":"1","Oct":"0","Nov":"1","Dece":"0","total":"11"},{"hazard_id":"3","id":"3","comp_id":null,"hazard_en":"Confined Space Safety","hazard_ar":"\\u0633\\u0644\\u0627\\u0645\\u0629 \\u0627\\u0644\\u0641\\u0636\\u0627\\u0621 \\u0627\\u0644\\u0645\\u062d\\u0635\\u0648\\u0631\\u0629","status":"1","created_on":"2018-07-19 11:24:17","updated_on":"2018-07-19 12:14:30","fk_insp_haz_id":"3","insp_date":"2018-01-11","yrs":"2018","hazid":"3","Jan":"1","Feb":"0","Mar":"1","Apr":"2","May":"0","Jun":"0","Jul":"2","Aug":"0","Sep":"0","Oct":"0","Nov":"0","Dece":"0","total":"6"},{"hazard_id":"4","id":"4","comp_id":null,"hazard_en":"House Keepingg","hazard_ar":"\\u0627\\u0644\\u062a\\u062f\\u0628\\u064a\\u0631 \\u0627\\u0644\\u0645\\u0646\\u0632\\u0644\\u064a","status":"1","created_on":"2018-07-19 11:24:35","updated_on":"2018-07-22 13:42:44","fk_insp_haz_id":"4","insp_date":"2018-02-14","yrs":"2018","hazid":"4","Jan":"0","Feb":"1","Mar":"2","Apr":"0","May":"0","Jun":"0","Jul":"0","Aug":"0","Sep":"0","Oct":"0","Nov":"0","Dece":"0","total":"3"},{"hazard_id":"5","id":"5","comp_id":"1","hazard_en":"sgdfgfdj","hazard_ar":"gfjhgkjhgjk","status":"2","created_on":"2018-07-20 17:06:56","updated_on":"2018-07-22 13:42:55","fk_insp_haz_id":null,"insp_date":null,"yrs":null,"hazid":null,"Jan":null,"Feb":null,"Mar":null,"Apr":null,"May":null,"Jun":null,"Jul":null,"Aug":null,"Sep":null,"Oct":null,"Nov":null,"Dece":null,"total":null},{"hazard_id":"6","id":"6","comp_id":"1","hazard_en":"ertdytri","hazard_ar":"fyhfgduyi","status":"1","created_on":"2018-07-22 13:42:18","updated_on":null,"fk_insp_haz_id":null,"insp_date":null,"yrs":null,"hazid":null,"Jan":null,"Feb":null,"Mar":null,"Apr":null,"May":null,"Jun":null,"Jul":null,"Aug":null,"Sep":null,"Oct":null,"Nov":null,"Dece":null,"total":null}],"yrs":null,"Searchstr":""}', 0, 0, '2018-07-30 10:48:59', '2018-07-30 10:49:00', '', 'assets/module/inspection/chart/google_report-2018-07-30-10-07-00.png');

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

--
-- Table structure for table `ard_insp_risk`
--

CREATE TABLE `ard_insp_risk` (
  `id` int(11) NOT NULL,
  `risk_key` varchar(255) CHARACTER SET utf8 NOT NULL,
  `risk_en` text,
  `risk_ar` text CHARACTER SET utf8,
  `risk_status` int(11) NOT NULL DEFAULT '0',
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_risk`
--

INSERT INTO `ard_insp_risk` (`id`, `risk_key`, `risk_en`, `risk_ar`, `risk_status`, `created_on`, `updated_on`) VALUES
(1, 'low', 'Low', 'منخفض', 1, '2018-07-02 12:18:18', '2018-07-11 18:46:45'),
(2, 'medium', 'Medium', 'متوسط', 1, '2018-07-02 12:19:09', '2018-07-11 18:46:50'),
(3, 'high', 'High', 'أعلى', 1, '2018-07-02 12:19:09', '2018-07-11 18:51:31');

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

--
-- Table structure for table `ard_insp_schedule_user`
--

CREATE TABLE `ard_insp_schedule_user` (
  `id` int(11) NOT NULL,
  `fk_insp_plan_id` int(11) DEFAULT NULL,
  `fk_insp_sch_id` int(11) DEFAULT NULL,
  `inspector_id` int(11) DEFAULT NULL,
  `inspector_position` int(11) NOT NULL DEFAULT '0' COMMENT '0->leader,1->member',
  `sch_user_status` int(11) DEFAULT NULL,
  `insp_plan_sch_complete_status` int(11) DEFAULT '0' COMMENT '-1->reject,0->not completed,1->completed,2->deleted,3->rescheduled,4->cancelled',
  `insp_plan_sch_resch_status` int(11) DEFAULT '0' COMMENT '1- Reschedule,2-Cancel',
  `insp_resch_reason` text CHARACTER SET utf8,
  `sch_user_created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `sch_user_updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_schedule_user`
--

INSERT INTO `ard_insp_schedule_user` (`id`, `fk_insp_plan_id`, `fk_insp_sch_id`, `inspector_id`, `inspector_position`, `sch_user_status`, `insp_plan_sch_complete_status`, `insp_plan_sch_resch_status`, `insp_resch_reason`, `sch_user_created_on`, `sch_user_updated_on`) VALUES
(1, 1, 1, 2, 0, 1, 1, 0, NULL, '2018-07-19 11:47:28', '2018-07-19 11:52:53'),
(2, 1, 1, 5, 1, 1, 1, 0, NULL, '2018-07-19 11:47:33', '2018-07-19 11:54:26'),
(3, 2, 2, 2, 0, 1, 1, 0, NULL, '2018-07-19 12:01:14', '2018-07-19 12:03:05'),
(4, 2, 2, 6, 1, 1, -1, 0, NULL, '2018-07-19 12:01:19', '2018-07-19 12:07:28'),
(5, 3, 3, 2, 0, 1, 1, 0, NULL, '2018-07-19 12:14:09', '2018-07-19 12:35:44'),
(6, 3, 3, 6, 1, 1, -1, 0, NULL, '2018-07-19 12:14:15', '2018-07-19 12:42:45'),
(7, 4, 4, 2, 0, 1, 1, 0, NULL, '2018-07-19 12:17:02', '2018-07-19 12:35:06'),
(8, 4, 4, 5, 1, 1, -1, 0, NULL, '2018-07-19 12:17:07', '2018-07-31 16:28:43'),
(9, 5, 5, 2, 0, 1, 1, 0, NULL, '2018-07-19 12:19:07', '2018-07-19 12:36:46'),
(10, 5, 5, 3, 1, 1, 0, 0, NULL, '2018-07-19 12:19:11', '2018-07-19 12:19:11'),
(11, 6, 6, 2, 0, 1, 0, 0, NULL, '2018-07-19 12:23:25', '2018-07-19 12:23:25'),
(12, 6, 6, 5, 1, 1, 0, 0, NULL, '2018-07-19 12:23:30', '2018-07-19 12:23:30'),
(13, 7, 7, 2, 0, 1, 0, 0, NULL, '2018-07-19 12:24:38', '2018-07-19 12:24:38'),
(14, 7, 7, 5, 1, 1, 0, 0, NULL, '2018-07-19 12:24:43', '2018-07-19 12:24:43'),
(15, 8, 8, 2, 0, 1, 0, 0, NULL, '2018-07-19 12:30:33', '2018-07-19 12:30:33'),
(16, 8, 8, 3, 1, 1, 0, 0, NULL, '2018-07-19 12:30:39', '2018-07-19 12:30:39'),
(17, 9, 9, 2, 0, 1, 1, 0, NULL, '2018-07-19 12:56:46', '2018-07-19 13:01:18'),
(18, 9, 9, 3, 1, 1, 0, 0, NULL, '2018-07-19 12:56:52', '2018-07-19 12:56:52'),
(19, 9, 10, 2, 0, 1, 1, 0, NULL, '2018-07-19 12:56:52', '2018-07-19 13:02:39'),
(20, 9, 10, 5, 1, 1, 0, 0, NULL, '2018-07-19 12:56:56', '2018-07-19 12:56:56'),
(21, 9, 10, 6, 1, 1, 3, 1, NULL, '2018-07-19 12:56:56', '2018-07-19 13:07:15'),
(22, 9, 11, 2, 0, 1, 1, 0, NULL, '2018-07-19 12:56:57', '2018-07-19 13:03:54'),
(23, 9, 11, 5, 1, 1, 0, 0, NULL, '2018-07-19 12:57:01', '2018-07-19 12:57:01'),
(24, 9, 12, 6, 1, 1, 1, 0, NULL, '2018-07-19 13:07:15', '2018-07-19 13:08:45'),
(25, 10, 13, 2, 0, 1, 3, 0, NULL, '2018-07-19 15:09:09', '2018-08-02 16:31:40'),
(26, 10, 13, 5, 1, 1, 1, 0, NULL, '2018-07-19 15:09:15', '2018-07-31 15:55:06'),
(27, 11, 14, 2, 0, 1, 0, 0, NULL, '2018-07-19 15:23:35', '2018-07-19 15:23:35'),
(28, 12, 15, 2, 0, 1, 0, 0, NULL, '2018-07-19 16:11:20', '2018-07-19 16:11:20'),
(29, 14, 16, 2, 0, 1, 0, 0, NULL, '2018-07-19 16:11:37', '2018-07-19 16:11:37'),
(30, 14, 17, 2, 0, 1, 0, 0, NULL, '2018-07-19 16:11:37', '2018-07-19 16:11:37'),
(31, 15, 18, 2, 0, 1, 0, 0, NULL, '2018-07-19 16:25:38', '2018-07-19 16:25:38'),
(32, 16, 19, 2, 0, 1, 0, 0, NULL, '2018-07-19 18:52:16', '2018-07-19 18:52:16'),
(33, 17, 20, 4, 0, 1, 0, 0, NULL, '2018-07-20 16:28:59', '2018-07-20 16:28:59'),
(34, 17, 20, 8, 1, 1, 0, 0, NULL, '2018-07-20 16:29:03', '2018-07-20 16:29:03'),
(35, 18, 21, 2, 0, 1, 0, 0, NULL, '2018-07-20 16:31:25', '2018-07-20 16:31:25'),
(36, 18, 21, 5, 1, 1, 0, 0, NULL, '2018-07-20 16:31:29', '2018-07-20 16:31:29'),
(37, 20, 22, 2, 0, 1, 1, 0, NULL, '2018-07-21 17:57:46', '2018-07-21 18:17:51'),
(38, 20, 22, 5, 1, 1, 0, 0, NULL, '2018-07-21 17:57:51', '2018-07-21 17:57:51'),
(39, 20, 23, 2, 0, 1, 3, 0, NULL, '2018-07-21 17:57:51', '2018-07-21 18:23:20'),
(40, 20, 23, 5, 1, 1, 0, 0, NULL, '2018-07-21 17:57:55', '2018-07-21 17:57:55'),
(41, 20, 24, 2, 0, 1, 0, 0, NULL, '2018-07-21 17:57:55', '2018-07-21 17:57:55'),
(42, 20, 24, 5, 1, 1, 0, 0, NULL, '2018-07-21 17:58:00', '2018-07-21 17:58:00'),
(43, 21, 25, 2, 0, 1, 0, 0, NULL, '2018-07-21 18:32:12', '2018-07-21 18:32:12'),
(44, 22, 26, 2, 0, 1, 0, 0, NULL, '2018-07-21 18:32:12', '2018-07-21 18:32:12'),
(45, 23, 27, 2, 0, 1, 0, 0, NULL, '2018-07-21 18:32:12', '2018-07-21 18:32:12'),
(46, 24, 28, 2, 0, 1, 0, 0, NULL, '2018-07-21 18:32:22', '2018-07-21 18:32:22'),
(47, 25, 29, 2, 0, 1, 0, 0, NULL, '2018-07-21 18:44:55', '2018-07-21 18:44:55'),
(48, 26, 30, 2, 0, 1, 0, 0, NULL, '2018-07-21 18:44:55', '2018-07-21 18:44:55'),
(49, 27, 31, 2, 0, 1, 0, 0, NULL, '2018-07-21 18:45:37', '2018-07-21 18:45:37'),
(50, 28, 32, 2, 0, 1, 0, 0, NULL, '2018-07-21 18:48:55', '2018-07-21 18:48:55'),
(51, 29, 33, 2, 0, 1, 1, 0, NULL, '2018-07-22 12:25:16', '2018-07-22 12:46:38'),
(52, 29, 33, 3, 1, 1, 1, 0, NULL, '2018-07-22 12:25:21', '2018-07-22 12:56:42'),
(53, 29, 34, 2, 0, 1, 3, 1, NULL, '2018-07-22 12:25:21', '2018-07-22 12:52:26'),
(54, 29, 34, 3, 1, 1, 1, 0, NULL, '2018-07-22 12:25:25', '2018-07-22 12:51:09'),
(55, 29, 35, 2, 0, 1, 1, 0, NULL, '2018-07-22 12:52:26', '2018-07-22 12:54:11'),
(56, 30, 36, 2, 0, 1, 3, 0, NULL, '2018-07-22 13:16:09', '2018-07-22 13:21:44'),
(57, 30, 36, 5, 1, 1, 0, 0, NULL, '2018-07-22 13:16:14', '2018-07-22 13:16:14'),
(58, 30, 37, 2, 0, 1, 0, 0, NULL, '2018-07-22 13:16:14', '2018-07-22 13:16:14'),
(59, 30, 37, 5, 1, 1, 0, 0, NULL, '2018-07-22 13:16:18', '2018-07-22 13:16:18'),
(60, 30, 38, 2, 0, 1, 0, 0, NULL, '2018-07-22 13:18:14', '2018-07-22 13:18:14'),
(61, 30, 38, 5, 1, 1, 0, 0, NULL, '2018-07-22 13:18:14', '2018-07-22 13:18:14'),
(62, 31, 39, 2, 0, 1, 1, 0, NULL, '2018-07-22 13:24:54', '2018-07-22 14:10:17'),
(63, 31, 39, 3, 1, 1, 1, 0, NULL, '2018-07-22 13:24:59', '2018-07-22 14:17:44'),
(64, 31, 40, 2, 0, 1, 3, 0, NULL, '2018-07-22 13:24:59', '2018-07-22 14:11:06'),
(65, 31, 40, 3, 1, 1, 1, 0, NULL, '2018-07-22 13:25:03', '2018-07-22 14:30:39'),
(66, 32, 41, 2, 0, 1, 1, 0, NULL, '2018-07-22 17:15:35', '2018-07-24 10:51:44'),
(67, 32, 41, 5, 1, 1, 0, 0, NULL, '2018-07-22 17:15:40', '2018-07-22 17:15:40'),
(68, 32, 42, 2, 0, 1, 0, 0, NULL, '2018-07-22 17:15:40', '2018-07-22 17:15:40'),
(69, 32, 42, 5, 1, 1, 0, 0, NULL, '2018-07-22 17:15:45', '2018-07-22 17:15:45'),
(70, 32, 43, 2, 0, 1, 0, 0, NULL, '2018-07-22 17:15:45', '2018-07-22 17:15:45'),
(71, 32, 43, 3, 1, 1, 0, 0, NULL, '2018-07-22 17:15:49', '2018-07-22 17:15:49'),
(72, 33, 44, 2, 0, 1, 0, 0, NULL, '2018-07-23 10:36:46', '2018-07-23 10:36:46'),
(73, 33, 44, 5, 1, 1, 0, 0, NULL, '2018-07-23 10:36:51', '2018-07-23 10:36:51'),
(74, 34, 45, 2, 0, 1, 0, 0, NULL, '2018-07-23 14:01:18', '2018-07-23 14:01:18'),
(75, 35, 46, 2, 0, 1, -1, 0, NULL, '2018-07-23 14:07:56', '2018-07-31 14:48:33'),
(76, 36, 47, 2, 0, 1, 1, 0, NULL, '2018-07-23 15:40:55', '2018-07-23 16:41:18'),
(77, 36, 47, 5, 1, 1, 1, 0, NULL, '2018-07-23 15:41:00', '2018-07-31 10:31:23'),
(78, 36, 48, 2, 0, 1, 1, 0, NULL, '2018-07-23 15:41:00', '2018-07-23 17:08:04'),
(79, 36, 48, 6, 1, 1, 0, 0, NULL, '2018-07-23 15:41:04', '2018-07-23 15:41:04'),
(80, 36, 49, 2, 0, 1, 1, 0, NULL, '2018-07-23 15:41:04', '2018-07-23 16:54:47'),
(81, 36, 49, 5, 1, 1, 0, 0, NULL, '2018-07-23 15:41:09', '2018-07-23 15:41:09'),
(82, 37, 50, 2, 0, 1, 0, 0, NULL, '2018-07-24 12:03:02', '2018-07-24 12:03:02'),
(83, 38, 51, 2, 0, 1, 0, 0, NULL, '2018-07-24 12:35:35', '2018-07-24 12:35:35'),
(84, 39, 52, 2, 0, 1, 0, 0, NULL, '2018-07-24 12:35:36', '2018-07-24 12:35:36'),
(85, 40, 53, 2, 0, 1, 0, 0, NULL, '2018-07-24 12:36:18', '2018-07-24 12:36:18'),
(86, 41, 54, 2, 0, 1, 0, 0, NULL, '2018-07-25 10:41:45', '2018-07-25 10:41:45'),
(87, 41, 54, 5, 1, 1, 0, 0, NULL, '2018-07-25 10:41:49', '2018-07-25 10:41:49'),
(88, 42, 55, 2, 0, 1, 0, 0, NULL, '2018-07-25 16:54:16', '2018-07-25 16:54:16'),
(89, 42, 55, 5, 1, 1, 0, 0, NULL, '2018-07-25 16:54:21', '2018-07-25 16:54:21'),
(90, 43, 56, 2, 0, 1, 3, 0, NULL, '2018-07-26 10:07:35', '2018-08-02 16:31:22'),
(91, 44, 57, 2, 0, 1, 0, 0, NULL, '2018-07-26 10:08:15', '2018-07-26 10:08:15'),
(92, 45, 58, 2, 0, 1, 0, 0, NULL, '2018-07-26 11:54:42', '2018-07-26 11:54:42'),
(93, 46, 59, 2, 0, 1, 0, 0, NULL, '2018-07-26 12:01:00', '2018-07-26 12:01:00'),
(94, 47, 60, 2, 0, 1, 0, 0, NULL, '2018-07-26 12:16:30', '2018-07-26 12:16:30'),
(95, 48, 61, 2, 0, 1, 0, 0, NULL, '2018-07-26 12:23:48', '2018-07-26 12:23:48'),
(96, 49, 62, 2, 0, 1, 1, 0, NULL, '2018-07-27 09:26:01', '2018-07-31 16:39:37'),
(97, 50, 63, 2, 0, 1, 1, 0, NULL, '2018-07-30 11:50:35', '2018-07-31 14:49:32'),
(98, 51, 64, 2, 0, 1, 1, 0, NULL, '2018-07-30 15:36:19', '2018-07-30 16:08:23'),
(99, 51, 64, 5, 1, 1, 1, 0, NULL, '2018-07-30 15:36:30', '2018-07-30 16:38:23'),
(100, 51, 65, 2, 0, 1, 1, 0, NULL, '2018-07-30 15:36:30', '2018-07-30 15:48:41'),
(101, 51, 65, 5, 1, 1, 1, 0, NULL, '2018-07-30 15:36:34', '2018-07-30 16:02:02'),
(102, 52, 66, 2, 0, 1, 0, 0, NULL, '2018-07-30 17:52:33', '2018-07-30 17:52:33'),
(103, 52, 66, 3, 1, 1, 0, 0, NULL, '2018-07-30 17:52:39', '2018-07-30 17:52:39'),
(104, 52, 66, 5, 1, 1, 0, 0, NULL, '2018-07-30 17:52:39', '2018-07-30 17:52:39'),
(105, 53, 67, 4, 0, 1, 0, 0, NULL, '2018-07-31 10:02:37', '2018-07-31 10:02:37'),
(106, 53, 67, 6, 1, 1, 0, 0, NULL, '2018-07-31 10:02:41', '2018-07-31 10:02:41'),
(107, 53, 68, 4, 0, 1, 0, 0, NULL, '2018-07-31 10:02:41', '2018-07-31 10:02:41'),
(108, 53, 68, 6, 1, 1, 0, 0, NULL, '2018-07-31 10:02:45', '2018-07-31 10:02:45'),
(109, 54, 69, 4, 0, 1, 0, 0, NULL, '2018-07-31 10:10:02', '2018-07-31 10:10:02'),
(110, 54, 69, 6, 1, 1, 0, 0, NULL, '2018-07-31 10:10:07', '2018-07-31 10:10:07'),
(111, 55, 70, 2, 0, 1, 1, 0, NULL, '2018-07-31 10:17:57', '2018-08-02 17:57:33'),
(112, 56, 71, 2, 0, 1, 0, 0, NULL, '2018-08-02 17:03:49', '2018-08-02 17:03:49'),
(113, 57, 72, 2, 0, 1, 1, 0, NULL, '2018-08-02 17:38:21', '2018-08-02 17:54:59'),
(114, 58, 73, 2, 0, 1, 0, 0, NULL, '2018-08-03 12:56:34', '2018-08-03 12:56:34'),
(115, 59, 74, 2, 0, 1, 0, 0, NULL, '2018-08-06 12:07:41', '2018-08-06 12:07:41'),
(116, 59, 74, 5, 1, 1, 0, 0, NULL, '2018-08-06 12:07:47', '2018-08-06 12:07:47'),
(117, 59, 74, 6, 1, 1, 0, 0, NULL, '2018-08-06 12:07:47', '2018-08-06 12:07:47'),
(118, 60, 75, 2, 0, 1, 0, 0, NULL, '2018-08-28 11:10:21', '2018-08-28 11:10:21'),
(119, 60, 75, 5, 1, 1, 0, 0, NULL, '2018-08-28 11:10:26', '2018-08-28 11:10:26');

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

--
-- Table structure for table `ard_insp_sch_notes`
--

CREATE TABLE `ard_insp_sch_notes` (
  `sch_notes_id` int(11) NOT NULL,
  `fk_insp_plan_id` int(11) NOT NULL,
  `fk_insp_sch_id` int(11) NOT NULL,
  `fk_sch_inspector_id` int(11) NOT NULL,
  `insp_notes` text CHARACTER SET utf8,
  `note_type` enum('changetime','reschedule','cancel','reject') CHARACTER SET utf8 DEFAULT NULL,
  `insp_notes_created_by` int(11) NOT NULL,
  `insp_notes_created_on` datetime NOT NULL,
  `insp_notes_status` int(11) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_sch_notes`
--

INSERT INTO `ard_insp_sch_notes` (`sch_notes_id`, `fk_insp_plan_id`, `fk_insp_sch_id`, `fk_sch_inspector_id`, `insp_notes`, `note_type`, `insp_notes_created_by`, `insp_notes_created_on`, `insp_notes_status`) VALUES
(1, 9, 11, 2, 'Change time - going to do another dept inspection', 'changetime', 2, '2018-07-19 13:02:08', 1),
(2, 9, 10, 6, 'Reschedule this inspection to another day', 'reschedule', 6, '2018-07-19 13:04:35', 1),
(3, 20, 23, 2, 'reschedule', 'reschedule', 2, '2018-07-21 18:19:50', 0),
(4, 20, 24, 2, 'change time', 'changetime', 2, '2018-07-21 18:20:14', 1),
(5, 20, 23, 2, 'test', 'reschedule', 2, '2018-07-21 18:23:20', 1),
(6, 20, 23, 2, 'cancel', 'changetime', 2, '2018-07-21 18:26:05', 1),
(7, 29, 34, 2, 'fdhfshfhddfhfdhfdhdfhfd', 'changetime', 2, '2018-07-22 12:46:59', 1),
(8, 29, 34, 2, 'fdhgfhjgfjfdfgdjf', 'reschedule', 2, '2018-07-22 12:47:33', 1),
(9, 30, 36, 2, 'reshedule', 'reschedule', 2, '2018-07-22 13:21:44', 1),
(10, 31, 40, 2, 'dsgdgszd', 'changetime', 2, '2018-07-22 14:10:52', 1),
(11, 31, 40, 2, 'sdgfdhdfshsd', 'reschedule', 2, '2018-07-22 14:11:06', 1),
(12, 36, 47, 2, 'change ', 'changetime', 2, '2018-07-23 15:59:42', 1),
(13, 32, 43, 2, 'dvdfdsg', 'changetime', 2, '2018-07-24 10:53:27', 1),
(14, 6, 6, 2, '', 'changetime', 2, '2018-08-02 16:29:33', 1),
(15, 43, 56, 2, 'gjcutcutc', 'reschedule', 2, '2018-08-02 16:31:22', 1),
(16, 10, 13, 2, 'gdhdhd', 'reschedule', 2, '2018-08-02 16:31:40', 1);

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

--
-- Table structure for table `ard_insp_sch_reject_notes`
--

CREATE TABLE `ard_insp_sch_reject_notes` (
  `id_sch_reject_notes` int(11) NOT NULL,
  `fk_insp_plan_id` int(11) NOT NULL,
  `fk_insp_sch_id` int(11) NOT NULL,
  `to_inspector_id` int(11) NOT NULL,
  `exec_rejected_notes` text CHARACTER SET utf8 NOT NULL,
  `fk_insp_exec_id` int(11) NOT NULL,
  `insp_sch_notes_created_by` int(11) DEFAULT '0',
  `insp_sch_notes_created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `insp_sch_notes_status` int(11) NOT NULL DEFAULT '0',
  `insp_sch_notes_readstatus` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_insp_sch_reject_notes`
--

INSERT INTO `ard_insp_sch_reject_notes` (`id_sch_reject_notes`, `fk_insp_plan_id`, `fk_insp_sch_id`, `to_inspector_id`, `exec_rejected_notes`, `fk_insp_exec_id`, `insp_sch_notes_created_by`, `insp_sch_notes_created_on`, `insp_sch_notes_status`, `insp_sch_notes_readstatus`) VALUES
(1, 2, 2, 6, 'للمصممين نص لوريم ايبسوم عربي - شركة ناب للدعاية والاعلانللمصممين نص لوريم ايبسوم عربي - شركة ناب للدعاية والاعلان', 6, 2, '2018-07-19 12:07:28', 1, 0),
(2, 3, 3, 6, 'Rejected  - please add some more image', 12, 2, '2018-07-19 12:42:45', 1, 0),
(3, 10, 13, 5, 'fdhzfdhdfhdfh', 21, 2, '2018-07-19 15:15:21', 1, 1),
(4, 29, 33, 3, 'gfdhdfhdffdhdfgd', 27, 2, '2018-07-22 12:55:26', 1, 1),
(5, 51, 64, 2, 'tututrutryuur', 58, 2, '2018-07-30 16:06:25', 1, 1),
(6, 51, 64, 5, 'dsgdfhdfhfgjg', 60, 2, '2018-07-30 16:09:24', 1, 1),
(7, 51, 64, 5, 'dfgdfgdfhfdhdff', 60, 7, '2018-07-30 16:33:12', 1, 1),
(8, 35, 46, 2, 'rejected - please add some image', 39, 2, '2018-07-31 14:48:33', 1, 0),
(9, 10, 13, 5, 'rejected - please add one more image', 21, 2, '2018-07-31 14:50:32', 1, 1),
(10, 10, 13, 2, 'test', 20, 2, '2018-07-31 14:50:32', 1, 0),
(11, 4, 4, 5, 'new viki rejected', 66, 2, '2018-07-31 16:28:43', 1, 0);

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

--
-- Table structure for table `ard_menu`
--

CREATE TABLE `ard_menu` (
  `id` int(11) NOT NULL,
  `menu_name_en` text CHARACTER SET utf8 NOT NULL,
  `menu_name_ar` text CHARACTER SET utf8,
  `namekey` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL,
  `link` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `icon` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `parent_id` int(11) NOT NULL DEFAULT '0',
  `is_parent` tinyint(1) NOT NULL DEFAULT '0',
  `is_module` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '0' COMMENT '0=>not module, 1=> module',
  `modkey` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `sort_order` int(11) DEFAULT NULL,
  `created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `upated_on` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `status` enum('0','1') COLLATE utf8_unicode_ci NOT NULL DEFAULT '1' COMMENT '0-DEACTIVE,1-ACTIVE'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `ard_menu`
--

INSERT INTO `ard_menu` (`id`, `menu_name_en`, `menu_name_ar`, `namekey`, `link`, `icon`, `parent_id`, `is_parent`, `is_module`, `modkey`, `sort_order`, `created_on`, `upated_on`, `status`) VALUES
(1, 'Master', 'رئيس', '', '#', 'icons-menu-9', 0, 1, '0', NULL, 1, '2018-03-28 12:50:04', '2018-07-16 12:47:08', '1'),
(2, 'Location', 'موقعك ', '', 'company/location', 'fa fa-list', 23, 0, '0', NULL, 3, '2018-03-29 10:41:52', '2018-05-21 06:52:52', '1'),
(3, 'Company', 'شركة', '', 'company/', 'fa', 23, 0, '0', NULL, 1, '2018-03-30 10:17:27', '2018-05-11 14:39:18', '0'),
(4, 'Facility', 'منشأة', '', 'company/facility', 'fa', 23, 0, '0', NULL, 1, '2018-03-30 11:32:30', '2018-05-21 06:52:25', '1'),
(5, 'Department', 'قسم، أقسام', '', 'company/department', 'fa', 23, 0, '0', NULL, 2, '2018-03-30 15:32:35', '2018-05-21 06:51:51', '1'),
(7, 'Hazard Type', 'نوع الخطر', '', 'company/hazardType', 'fa fa-circle', 23, 0, '0', NULL, 5, '2018-04-03 12:19:14', '2018-05-21 06:57:07', '1'),
(8, 'Process / Section', 'الجزء / اختيار', '', 'master/inspection/process_list', 'fa fa-circle', 23, 0, '0', NULL, 6, '2018-04-04 14:52:18', '2018-05-04 13:15:46', '1'),
(9, 'Audit Name', 'اسم التفتيش', '', 'master/inspection/ins_name_list', 'fa fa-circle', 23, 0, '0', NULL, 5, '2018-04-04 14:52:18', '2018-08-09 15:03:55', '1'),
(10, 'Audit Criteria', 'معايير التفتيش', '', 'master/inspection/criteria_list', 'fa fa-circle', 23, 0, '0', NULL, 6, '2018-04-06 14:29:49', '2018-08-09 15:13:18', '1'),
(13, 'Auditing', 'تفتيش', '', '#', 'icons-menu-3', 0, 1, '0', NULL, 2, '2018-04-10 10:48:27', '2018-08-07 09:36:26', '1'),
(14, 'Planning', 'تخطيط', '', '#', 'fa fa-list', 13, 1, '0', NULL, 1, '2018-04-10 10:49:00', '2018-07-05 15:02:07', '1'),
(15, 'Audit Execution', 'تنفيذ التفتيش', '', 'inspection/execution/listing', 'fa fa-list', 13, 1, '0', NULL, 2, '2018-04-10 10:49:50', '2018-08-09 15:13:34', '1'),
(16, 'Add User', 'المفتش /  المراجع', '', 'master/inspection/users', 'fa fa-circle', 1, 0, '0', NULL, 9, '2018-04-10 12:09:39', '2018-08-09 15:05:01', '1'),
(17, 'Auditing', 'التدقيق', '', '#', 'icons-menu-5', 0, 1, '0', NULL, 4, '2018-04-10 18:16:30', '2018-08-06 15:05:34', '0'),
(18, 'Audit Planning', 'تخطيط', '', '#', 'fa fa-list', 17, 0, '0', NULL, 1, '2018-04-10 18:16:57', '2018-04-10 18:18:13', '1'),
(19, 'Audit Execution', 'تدقيق الحسابات', '', '#', 'fa fa-list', 17, 0, '0', NULL, 2, '2018-04-10 18:18:35', NULL, '1'),
(20, 'Audit Finding Recording', 'التدقيق في العثور على التسجيل', '', '#', 'fa fa-list', 17, 0, '0', NULL, 3, '2018-04-10 18:19:28', NULL, '1'),
(21, 'Action Tracking Register', 'سجل تعقب العمل', '', '#', 'fa fa-list', 17, 0, '0', NULL, 4, '2018-04-10 18:20:20', NULL, '1'),
(22, 'Action Tracking Register', 'سجل تعقب العمل', '', 'inspection/actiontrack', 'fa fa-list', 13, 0, '0', NULL, 5, '2018-04-10 18:21:07', '2018-05-16 13:24:58', '1'),
(23, 'Audit', 'تفتيش', '', '#', 'fa fa-list', 1, 1, '0', NULL, 2, '2018-04-10 18:22:06', '2018-08-09 15:04:10', '1'),
(24, 'Company', 'شركة', '', '#', 'icons-menu-8', 0, 1, '0', NULL, 0, '2018-04-10 18:27:55', '2018-08-06 15:03:33', '0'),
(25, 'View Profile', 'الملف الشخصي', '', 'company/view', 'fa fa-list', 24, 0, '0', NULL, 1, '2018-04-10 18:28:41', '2018-05-16 10:02:55', '1'),
(26, 'Reporting', 'التقارير', '', '#', 'fa fa-list', 13, 1, '0', NULL, 4, '2018-04-11 15:47:03', '2018-04-24 18:34:44', '1'),
(27, 'Audit Approval', 'موافقة التفتيش', '', 'inspection/reporting/approval', 'fa fa-circle', 26, 0, '0', NULL, 1, '2018-04-24 18:34:44', '2018-08-09 15:05:24', '1'),
(28, 'Overall Report', 'التقرير الشامل', '', 'inspection/overallreport', 'fa fa-circle', 13, 0, '0', NULL, 6, '2018-04-30 18:23:44', NULL, '1'),
(29, 'Risk', 'خطر', '', 'master/inspection/risk', 'fa fa-circle', 23, 0, '0', NULL, 8, '2018-05-04 12:50:27', '2018-05-17 12:56:52', '0'),
(30, 'Inspection Language', 'لغة الفحص', '', 'inspection/execution/language', 'fa fa-circle', 15, 0, '0', NULL, 1, '2018-05-08 11:54:49', NULL, '1'),
(31, 'Execution List', 'قائمة التنفيذ', '', 'inspection/execution/listing', 'fa fa-circle', 15, 0, '0', NULL, 2, '2018-05-08 11:55:35', NULL, '1'),
(32, 'Designation', 'تعيين', '', 'master/inspection/desg_list', 'fa-circle-o', 23, 0, '0', NULL, 4, '2018-05-12 18:01:55', '2018-05-21 06:56:24', '1'),
(33, 'Edit Profile', 'تعديل الملف الشخصي', '', 'company/editprofile', 'fa fa-circle', 24, 0, '0', NULL, 2, '2018-05-16 10:02:33', '2018-07-10 09:54:14', '0'),
(34, 'List Plan', 'خطة القائمة', '', 'inspection/planning', 'fa fa-circle', 14, 0, '0', NULL, 1, '2018-07-05 14:55:06', '2018-07-05 15:16:39', '1'),
(35, 'Rescheduled Plan', 'إعادة جدولة الخطة', '', 'inspection/planning/reschedulePlan', 'fa fa-circle', 14, 0, '0', NULL, 2, '2018-07-05 14:55:06', '2018-07-05 15:00:30', '1'),
(36, 'Inspection Level 2', 'مستوى التفتيش 2', NULL, '#', 'icons-menu-4', 0, 1, '0', NULL, 3, '2018-07-16 12:46:15', '2018-08-06 15:16:09', '0'),
(37, 'Planning', 'تخطيط', NULL, '#', 'fa fa-list', 36, 1, '0', NULL, 1, '2018-07-16 12:48:05', NULL, '1'),
(38, 'List Plan', 'خطة القائمة', NULL, 'inspection_2/planning', '	\r\nfa fa-circle', 37, 0, '0', NULL, 1, '2018-07-16 13:07:25', '2018-07-16 18:12:38', '1'),
(39, 'Audit Score Value', 'اسم التفتيش', '', 'inspection/audit/auditscore', 'fa fa-circle', 23, 0, '0', NULL, 5, '2018-04-04 14:52:18', '2018-04-10 18:24:03', '1'),
(40, 'Audit Score Card', 'المفتش /  المراجع', '', 'inspection/audit/ViewAuditScore', 'fa fa-circle', 1, 0, '0', NULL, 9, '2018-04-10 12:09:39', '2018-08-06 16:13:18', '0'),
(41, 'Audit Score Card', 'سجل تعقب العمل', '', 'inspection/audit/ViewAuditScore', 'fa fa-list', 13, 0, '0', NULL, 5, '2018-04-10 18:21:07', '2018-05-16 13:24:58', '1');

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

--
-- Table structure for table `ard_modules`
--

CREATE TABLE `ard_modules` (
  `id` int(11) NOT NULL,
  `module_name_en` text CHARACTER SET utf8 NOT NULL,
  `module_name_ar` text CHARACTER SET utf8 NOT NULL,
  `module_key` varchar(20) NOT NULL,
  `module_status` int(11) NOT NULL,
  `module_created_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `module_updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_modules`
--

INSERT INTO `ard_modules` (`id`, `module_name_en`, `module_name_ar`, `module_key`, `module_status`, `module_created_on`, `module_updated_on`) VALUES
(1, 'Inspection', 'تفتيش', 'INS', 1, '2018-04-03 12:20:18', '2018-04-03 12:26:37'),
(2, 'Audit', 'تدقيق', 'AUD', 1, '2018-04-03 12:20:59', '2018-04-03 12:26:42');

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

--
-- Table structure for table `ard_notification`
--

CREATE TABLE `ard_notification` (
  `no_id` int(11) NOT NULL,
  `notification_en` text CHARACTER SET utf8,
  `notification_ar` text CHARACTER SET utf8 NOT NULL,
  `msg_type` enum('1','2') DEFAULT NULL COMMENT '1=>Notification, 2=>task',
  `group_cat_id` varchar(100) DEFAULT NULL,
  `employee` text CHARACTER SET utf8,
  `href` text,
  `mobilelink` varchar(200) DEFAULT NULL,
  `task_type` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
  `n_created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `n_updated` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `is_public` enum('1','0') NOT NULL DEFAULT '1',
  `trash` enum('1','0') NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_notification`
--

INSERT INTO `ard_notification` (`no_id`, `notification_en`, `notification_ar`, `msg_type`, `group_cat_id`, `employee`, `href`, `mobilelink`, `task_type`, `n_created`, `n_updated`, `is_public`, `trash`) VALUES
(1, 'New Inspection for ID TSQCTC/INS-00001 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00001', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00001', '1', 'INSL1NOTI', '2018-07-19 11:47:28', NULL, '1', '0'),
(2, 'New Inspection for ID TSQCTC/INS-00001 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00001 بواسطة john s', '1', NULL, '2,5', 'inspection/execution/add/?pid=TDRaTVBiV2hNcXFPYUIzOU9Fc3A4dz09', '', 'INSL1NOTI', '2018-07-19 11:48:22', NULL, '1', '0'),
(3, 'Inspection Execution is completed for TSQCTC/INS-00001 by john s at قسم on 19/07/2018 11:52 AM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00001 بحلول john s في dept11 في 19/07/2018 11:52 AM', '1', NULL, '2', 'inspection/execution/schview/TDRaTVBiV2hNcXFPYUIzOU9Fc3A4dz09', '3', 'INSL1NOTI', '2018-07-19 11:52:53', NULL, '1', '0'),
(4, 'Inspection Execution is completed for TSQCTC/INS-00001 by viki s at قسم on 19/07/2018 11:54 AM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00001 بحلول viki s في dept11 في 19/07/2018 11:54 AM', '1', NULL, '2,5', 'inspection/execution/schview/TDRaTVBiV2hNcXFPYUIzOU9Fc3A4dz09', '3', 'INSL1NOTI', '2018-07-19 11:54:26', NULL, '1', '0'),
(5, 'Inspection ID TSQCTC/INS-00001 has been approved  by john s on 19/07/2018 11:58 AM and waiting for your approval', 'تمت الموافقة على معرّف الفحص TSQCTC/INS-00001 بحلول john s في 19/07/2018 11:58 AM وفي انتظار موافقتك', '1', NULL, '7', 'inspection/reporting/inspectionApproval/TDRaTVBiV2hNcXFPYUIzOU9Fc3A4dz09', '6', 'INSL1NOTI', '2018-07-19 11:58:44', NULL, '1', '0'),
(6, 'New Inspection for ID TSQCTC/INS-00002 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00002', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00002', '1', 'INSL1NOTI', '2018-07-19 12:01:14', NULL, '1', '0'),
(7, 'New Inspection for ID TSQCTC/INS-00002 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00002 بواسطة john s', '1', NULL, '2,6', 'inspection/execution/add/?pid=dHJSbDRxY2N1QUNiRWhxYXcvNU5Fdz09', '', 'INSL1NOTI', '2018-07-19 12:01:32', NULL, '1', '0'),
(8, 'Inspection Execution is completed for TSQCTC/INS-00002 by john s at صباح on 19/07/2018 12:03 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00002 بحلول john s في dept21 في 19/07/2018 12:03 PM', '1', NULL, '2', 'inspection/execution/schview/dHJSbDRxY2N1QUNiRWhxYXcvNU5Fdz09', '3', 'INSL1NOTI', '2018-07-19 12:03:06', NULL, '1', '0'),
(9, 'Inspection Execution is completed for TSQCTC/INS-00002 by Mike M at صباح on 19/07/2018 12:05 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00002 بحلول Mike M في dept21 في 19/07/2018 12:05 PM', '1', NULL, '2,6', 'inspection/execution/schview/dHJSbDRxY2N1QUNiRWhxYXcvNU5Fdz09', '3', 'INSL1NOTI', '2018-07-19 12:05:49', NULL, '1', '0'),
(10, 'Inspection ID TSQCTC/INS-00002 has been approved  by john s on 19/07/2018 12:07 PM', 'تمت الموافقة على معرف الفحص TSQCTC/INS-00002 بواسطة john s في 19/07/2018 12:07 PM', '1', NULL, '2,6', 'inspection/reporting/inspectionApproval/dHJSbDRxY2N1QUNiRWhxYXcvNU5Fdz09', '7', 'INSL1NOTI', '2018-07-19 12:07:13', NULL, '1', '0'),
(11, 'Inspection Execution is rejected for TSQCTC/INS-00002 by john s on 19/07/2018 12:07 PM', 'رفض تنفيذ الفحص TSQCTC/INS-00002 بحلول john s في 19/07/2018 12:07 PM', '1', NULL, '6,2', 'inspection/execution/inspcedit/dHJSbDRxY2N1QUNiRWhxYXcvNU5Fdz09', '4', 'INSL1NOTI', '2018-07-19 12:07:28', NULL, '1', '0'),
(12, 'New Inspection for ID TSQCTC/INS-00003 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00003', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00003', '1', 'INSL1NOTI', '2018-07-19 12:14:09', NULL, '1', '0'),
(13, 'New Inspection for ID TSQCTC/INS-00003 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00003 بواسطة john s', '1', NULL, '2,6', 'inspection/execution/add/?pid=TDJWQlN2L29JWHhDS0tSdnI1LzFGUT09', '', 'INSL1NOTI', '2018-07-19 12:14:58', NULL, '1', '0'),
(14, 'New Inspection for ID TSQCTC/INS-00004 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00004', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00004', '1', 'INSL1NOTI', '2018-07-19 12:17:02', NULL, '1', '0'),
(15, 'New Inspection for ID TSQCTC/INS-00005 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00005', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00005', '1', 'INSL1NOTI', '2018-07-19 12:19:07', NULL, '1', '0'),
(16, 'New Inspection for ID TSQCTC/INS-00004 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00004 بواسطة john s', '1', NULL, '2,5', 'inspection/execution/add/?pid=Z2dSVWpqdUxjU0ZNU04yelhnb1Budz09', '', 'INSL1NOTI', '2018-07-19 12:19:08', NULL, '1', '0'),
(17, 'New Inspection for ID TSQCTC/INS-00006 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00006', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00006', '1', 'INSL1NOTI', '2018-07-19 12:23:25', NULL, '1', '0'),
(18, 'New Inspection for ID TSQCTC/INS-00005 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00005 بواسطة john s', '1', NULL, '2,3', 'inspection/execution/add/?pid=RWZPNGxTYXcybHRiME9QTmxHVGNBdz09', '', 'INSL1NOTI', '2018-07-19 12:24:24', NULL, '1', '0'),
(19, 'New Inspection for ID TSQCTC/INS-00007 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00007', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00007', '1', 'INSL1NOTI', '2018-07-19 12:24:38', NULL, '1', '0'),
(20, 'New Inspection for ID TSQCTC/INS-00006 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00006 بواسطة john s', '2', NULL, '2,5', 'inspection/execution/add/?pid=KzJ4RkEyeC9jd1orVHBxemF0NTJldz09', '', 'INSL1NOTI', '2018-07-19 12:28:27', NULL, '1', '0'),
(21, 'New Inspection for ID TSQCTC/INS-00007 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00007 بواسطة john s', '2', NULL, '2,5', 'inspection/execution/add/?pid=bklSK29sY0NEdjFQU0ZxS2xndmIyZz09', '', 'INSL1NOTI', '2018-07-19 12:29:35', NULL, '1', '0'),
(22, 'New Inspection for ID TSQCTC/INS-00008 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00008', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00008', '1', 'INSL1NOTI', '2018-07-19 12:30:33', NULL, '1', '0'),
(23, 'Inspection Execution is completed for TSQCTC/INS-00004 by john s at 41 قطن on 19/07/2018 12:35 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00004 بحلول john s في dept41 في 19/07/2018 12:35 PM', '1', NULL, '2', 'inspection/execution/schview/Z2dSVWpqdUxjU0ZNU04yelhnb1Budz09', '3', 'INSL1NOTI', '2018-07-19 12:35:06', NULL, '1', '0'),
(24, 'Inspection Execution is completed for TSQCTC/INS-00003 by john s at 31سم القسم on 19/07/2018 12:35 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00003 بحلول john s في dept31 في 19/07/2018 12:35 PM', '1', NULL, '2', 'inspection/execution/schview/TDJWQlN2L29JWHhDS0tSdnI1LzFGUT09', '3', 'INSL1NOTI', '2018-07-19 12:35:44', NULL, '1', '0'),
(25, 'Inspection Execution is completed for TSQCTC/INS-00005 by john s at 21صباح on 19/07/2018 12:36 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00005 بحلول john s في dept21 في 19/07/2018 12:36 PM', '1', NULL, '2', 'inspection/execution/schview/RWZPNGxTYXcybHRiME9QTmxHVGNBdz09', '3', 'INSL1NOTI', '2018-07-19 12:36:46', NULL, '1', '0'),
(26, 'Inspection Execution is completed for TSQCTC/INS-00003 by Mike M at 31سم القسم on 19/07/2018 12:40 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00003 بحلول Mike M في dept31 في 19/07/2018 12:40 PM', '1', NULL, '2,6', 'inspection/execution/schview/TDJWQlN2L29JWHhDS0tSdnI1LzFGUT09', '3', 'INSL1NOTI', '2018-07-19 12:40:46', NULL, '1', '0'),
(27, 'Inspection ID TSQCTC/INS-00003 has been approved  by john s on 19/07/2018 12:42 PM', 'تمت الموافقة على معرف الفحص TSQCTC/INS-00003 بواسطة john s في 19/07/2018 12:42 PM', '1', NULL, '2,6', 'inspection/reporting/inspectionApproval/TDJWQlN2L29JWHhDS0tSdnI1LzFGUT09', '7', 'INSL1NOTI', '2018-07-19 12:42:33', NULL, '1', '0'),
(28, 'Inspection Execution is rejected for TSQCTC/INS-00003 by john s on 19/07/2018 12:42 PM', 'رفض تنفيذ الفحص TSQCTC/INS-00003 بحلول john s في 19/07/2018 12:42 PM', '2', NULL, '6,2', 'inspection/execution/inspcedit/TDJWQlN2L29JWHhDS0tSdnI1LzFGUT09', '4', 'INSL1NOTI', '2018-07-19 12:42:46', NULL, '1', '0'),
(29, 'New Inspection for ID TSQCTC/INS-00009 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00009', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00009', '1', 'INSL1NOTI', '2018-07-19 12:56:46', NULL, '1', '0'),
(30, 'New Inspection for ID TSQCTC/INS-00009 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00009', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00009', '1', 'INSL1NOTI', '2018-07-19 12:56:52', NULL, '1', '0'),
(31, 'New Inspection for ID TSQCTC/INS-00009 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00009', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00009', '1', 'INSL1NOTI', '2018-07-19 12:56:57', NULL, '1', '0'),
(32, 'New Inspection for ID TSQCTC/INS-00009 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00009 بواسطة john s', '2', NULL, '2,3,5,6', 'inspection/execution/add/?pid=YUVmVVRWcEkwVUFxWWZJWVk4SWcxUT09', '', 'INSL1NOTI', '2018-07-19 12:59:29', NULL, '1', '0'),
(33, 'Inspection Execution is completed for TSQCTC/INS-00009 by john s at 11قسم on 19/07/2018 01:01 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00009 بحلول john s في dept11 في 19/07/2018 01:01 PM', '1', NULL, '2', 'inspection/execution/schview/YUVmVVRWcEkwVUFxWWZJWVk4SWcxUT09', '3', 'INSL1NOTI', '2018-07-19 13:01:18', NULL, '1', '0'),
(34, 'Inspection Execution is completed for TSQCTC/INS-00009 by john s at 12قسم on 19/07/2018 01:02 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00009 بحلول john s في dept12 في 19/07/2018 01:02 PM', '1', NULL, '2', 'inspection/execution/schview/YUVmVVRWcEkwVUFxWWZJWVk4SWcxUT09', '3', 'INSL1NOTI', '2018-07-19 13:02:39', NULL, '1', '0'),
(35, 'Inspection Execution is completed for TSQCTC/INS-00009 by john s at 11قسم on 19/07/2018 01:03 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00009 بحلول john s في dept11 في 19/07/2018 01:03 PM', '1', NULL, '2', 'inspection/execution/schview/YUVmVVRWcEkwVUFxWWZJWVk4SWcxUT09', '3', 'INSL1NOTI', '2018-07-19 13:03:54', NULL, '1', '0'),
(36, 'TSQCTC/INS-00009 has been Rescheduled by kesavan m to 10/07/2018  from 11:54 AM to 23:55 PM for Mike M', 'تمت إعادة جدولة TSQCTC/INS-00009 بواسطة kesavan m إلى 10/07/2018 من 11:54 AM إلى 23:55 PM لـ Mike M', '2', NULL, '2,6', 'inspection/execution/listing/?search=1&inspectionNum=TSQCTC/INS-00009', '5', 'INSL1NOTI', '2018-07-19 13:07:15', NULL, '1', '0'),
(37, 'Inspection Execution is completed for TSQCTC/INS-00009 by Mike M at 12قسم on 19/07/2018 01:08 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00009 بحلول Mike M في dept12 في 19/07/2018 01:08 PM', '1', NULL, ',6', 'inspection/execution/schview/YUVmVVRWcEkwVUFxWWZJWVk4SWcxUT09', '3', 'INSL1NOTI', '2018-07-19 13:08:45', NULL, '1', '0'),
(38, 'New Inspection for ID TSQCTC/INS-00010 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00010', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00010', '1', 'INSL1NOTI', '2018-07-19 15:09:09', NULL, '1', '0'),
(39, 'New Inspection for ID TSQCTC/INS-00010 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00010 بواسطة john s', '2', NULL, '2,5', 'inspection/execution/add/?pid=QVdMbGNjbU1qYU50T2MzQUlIOFQxdz09', '', 'INSL1NOTI', '2018-07-19 15:10:13', NULL, '1', '0'),
(40, 'Inspection Execution is completed for TSQCTC/INS-00010 by john s at 11قسم on 19/07/2018 03:13 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00010 بحلول john s في dept11 في 19/07/2018 03:13 PM', '1', NULL, '2', 'inspection/execution/schview/QVdMbGNjbU1qYU50T2MzQUlIOFQxdz09', '3', 'INSL1NOTI', '2018-07-19 15:13:22', NULL, '1', '0'),
(41, 'Inspection ID TSQCTC/INS-00010 has been approved  by john s on 19/07/2018 03:15 PM', 'تمت الموافقة على معرف الفحص TSQCTC/INS-00010 بواسطة john s في 19/07/2018 03:15 PM', '1', NULL, '2,5', 'inspection/reporting/inspectionApproval/QVdMbGNjbU1qYU50T2MzQUlIOFQxdz09', '7', 'INSL1NOTI', '2018-07-19 15:15:06', NULL, '1', '0'),
(42, 'Inspection Execution is rejected for TSQCTC/INS-00010 by john s on 19/07/2018 03:15 PM', 'رفض تنفيذ الفحص TSQCTC/INS-00010 بحلول john s في 19/07/2018 03:15 PM', '2', NULL, '5,2', 'inspection/execution/inspcedit/QVdMbGNjbU1qYU50T2MzQUlIOFQxdz09', '4', 'INSL1NOTI', '2018-07-19 15:15:22', NULL, '1', '0'),
(43, 'Rejected Inspection Execution is completed for TSQCTC/INS-00010 by john s on 19/07/2018 03:17 PM and waiting for inspector approval', 'اكتمل تنفيذ الفحص المرفوض في اكتمل تنفيذ الفحص المرفوض في TSQCTC/INS-00010 بحلول john s في 19/07/2018 03:17 PM وفي انتظار موافقة المفتش', '2', NULL, '5,2', 'inspection/reporting/inspectionApproval/QVdMbGNjbU1qYU50T2MzQUlIOFQxdz09', '0', 'INSL1NOTI', '2018-07-19 15:17:29', NULL, '1', '0'),
(44, 'New Inspection for ID TSQCTC/INS-00017 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00017', '1', NULL, '4', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00017', '1', 'INSL1NOTI', '2018-07-20 16:28:59', NULL, '1', '0'),
(45, 'New Inspection for ID TSQCTC/INS-00018 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00018', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00018', '1', 'INSL1NOTI', '2018-07-20 16:31:25', NULL, '1', '0'),
(46, 'New Inspection for ID TSQCTC/INS-00020 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00020', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00020', '1', 'INSL1NOTI', '2018-07-21 17:57:46', NULL, '1', '0'),
(47, 'New Inspection for ID TSQCTC/INS-00020 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00020', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00020', '1', 'INSL1NOTI', '2018-07-21 17:57:51', NULL, '1', '0'),
(48, 'New Inspection for ID TSQCTC/INS-00020 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00020', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00020', '1', 'INSL1NOTI', '2018-07-21 17:57:55', NULL, '1', '0'),
(49, 'New Inspection for ID TSQCTC/INS-00029 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00029', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00029', '1', 'INSL1NOTI', '2018-07-22 12:25:16', NULL, '1', '0'),
(50, 'New Inspection for ID TSQCTC/INS-00029 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00029', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00029', '1', 'INSL1NOTI', '2018-07-22 12:25:21', NULL, '1', '0'),
(51, 'New Inspection for ID TSQCTC/INS-00029 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00029 بواسطة john s', '2', NULL, '2,3', 'inspection/execution/add/?pid=UzdDelNqZHFjWnVZemY1cGFIZ256Zz09', '', 'INSL1NOTI', '2018-07-22 12:41:46', NULL, '1', '0'),
(52, 'Inspection Execution is completed for TSQCTC/INS-00029 by john s at 11قسم on 22/07/2018 12:46 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00029 بحلول john s في dept11 في 22/07/2018 12:46 PM', '1', NULL, '2', 'inspection/execution/schview/UzdDelNqZHFjWnVZemY1cGFIZ256Zz09', '3', 'INSL1NOTI', '2018-07-22 12:46:38', NULL, '1', '0'),
(53, 'Inspection Execution is completed for TSQCTC/INS-00029 by martin k at 11قسم on 22/07/2018 12:49 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00029 بحلول martin k في dept11 في 22/07/2018 12:49 PM', '1', NULL, '2,3', 'inspection/execution/schview/UzdDelNqZHFjWnVZemY1cGFIZ256Zz09', '3', 'INSL1NOTI', '2018-07-22 12:49:52', NULL, '1', '0'),
(54, 'Inspection Execution is completed for TSQCTC/INS-00029 by martin k at 12قسم on 22/07/2018 12:51 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00029 بحلول martin k في dept12 في 22/07/2018 12:51 PM', '1', NULL, '2,3', 'inspection/execution/schview/UzdDelNqZHFjWnVZemY1cGFIZ256Zz09', '3', 'INSL1NOTI', '2018-07-22 12:51:09', NULL, '1', '0'),
(55, 'TSQCTC/INS-00029 has been Rescheduled by kesavan m to 04/12/2018  from 10:50 AM to 11:55 AM for john s', 'تمت إعادة جدولة TSQCTC/INS-00029 بواسطة kesavan m إلى 04/12/2018 من 10:50 AM إلى 11:55 AM لـ john s', '2', NULL, '2,2', 'inspection/execution/listing/?search=1&inspectionNum=TSQCTC/INS-00029', '5', 'INSL1NOTI', '2018-07-22 12:52:26', NULL, '1', '0'),
(56, 'Inspection Execution is completed for TSQCTC/INS-00029 by john s at 12قسم on 22/07/2018 12:54 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00029 بحلول john s في dept12 في 22/07/2018 12:54 PM', '1', NULL, '2', 'inspection/execution/schview/UzdDelNqZHFjWnVZemY1cGFIZ256Zz09', '3', 'INSL1NOTI', '2018-07-22 12:54:11', NULL, '1', '0'),
(57, 'Inspection ID TSQCTC/INS-00029 has been approved  by john s on 22/07/2018 12:55 PM', 'تمت الموافقة على معرف الفحص TSQCTC/INS-00029 بواسطة john s في 22/07/2018 12:55 PM', '1', NULL, '2,3', 'inspection/reporting/inspectionApproval/UzdDelNqZHFjWnVZemY1cGFIZ256Zz09', '7', 'INSL1NOTI', '2018-07-22 12:55:14', NULL, '1', '0'),
(58, 'Inspection Execution is rejected for TSQCTC/INS-00029 by john s on 22/07/2018 12:55 PM', 'رفض تنفيذ الفحص TSQCTC/INS-00029 بحلول john s في 22/07/2018 12:55 PM', '2', NULL, '3,2', 'inspection/execution/inspcedit/UzdDelNqZHFjWnVZemY1cGFIZ256Zz09', '4', 'INSL1NOTI', '2018-07-22 12:55:26', NULL, '1', '0'),
(59, 'Rejected Inspection Execution is completed for TSQCTC/INS-00029 by john s on 22/07/2018 12:56 PM and waiting for inspector approval', 'اكتمل تنفيذ الفحص المرفوض في اكتمل تنفيذ الفحص المرفوض في TSQCTC/INS-00029 بحلول john s في 22/07/2018 12:56 PM وفي انتظار موافقة المفتش', '2', NULL, '3,2', 'inspection/reporting/inspectionApproval/UzdDelNqZHFjWnVZemY1cGFIZ256Zz09', '0', 'INSL1NOTI', '2018-07-22 12:56:43', NULL, '1', '0'),
(60, 'Inspection ID TSQCTC/INS-00029 has been approved  by john s on 22/07/2018 12:57 PM and waiting for your approval', 'تمت الموافقة على معرّف الفحص TSQCTC/INS-00029 بحلول john s في 22/07/2018 12:57 PM وفي انتظار موافقتك', '1', NULL, '2', 'inspection/reporting/inspectionApproval/UzdDelNqZHFjWnVZemY1cGFIZ256Zz09', '6', 'INSL1NOTI', '2018-07-22 12:57:43', NULL, '1', '0'),
(61, 'New Inspection for ID TSQCTC/INS-00030 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00030', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00030', '1', 'INSL1NOTI', '2018-07-22 13:16:09', NULL, '1', '0'),
(62, 'New Inspection for ID TSQCTC/INS-00030 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00030', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00030', '1', 'INSL1NOTI', '2018-07-22 13:16:14', NULL, '1', '0'),
(63, 'New Inspection for ID TSQCTC/INS-00030 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00030 بواسطة john s', '2', NULL, '2,5', 'inspection/execution/add/?pid=cGRjMlNGemlDV0FRVS9VSzNxWi9Ndz09', '', 'INSL1NOTI', '2018-07-22 13:20:33', NULL, '1', '0'),
(64, 'New Inspection for ID TSQCTC/INS-00031 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00031', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00031', '1', 'INSL1NOTI', '2018-07-22 13:24:54', NULL, '1', '0'),
(65, 'New Inspection for ID TSQCTC/INS-00031 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00031', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00031', '1', 'INSL1NOTI', '2018-07-22 13:24:59', NULL, '1', '0'),
(66, 'New Inspection for ID TSQCTC/INS-00008 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00008 بواسطة john s', '2', NULL, '2,3', 'inspection/execution/add/?pid=QUEwWmVNZzJFaHl1cmczUnFweWJvZz09', '', 'INSL1NOTI', '2018-07-22 13:53:05', NULL, '1', '0'),
(67, 'New Inspection for ID TSQCTC/INS-00018 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00018 بواسطة john s', '2', NULL, '2,5', 'inspection/execution/add/?pid=RHphWE94Z0ZueS9ZVm9MVEJnb3JBUT09', '', 'INSL1NOTI', '2018-07-22 13:55:37', NULL, '1', '0'),
(68, 'New Inspection for ID TSQCTC/INS-00031 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00031 بواسطة john s', '2', NULL, '2,3', 'inspection/execution/add/?pid=Rk1oTFRyWDAzendPVXBXMmlBSnkzdz09', '', 'INSL1NOTI', '2018-07-22 14:08:56', NULL, '1', '0'),
(69, 'Inspection Execution is completed for TSQCTC/INS-00031 by john s at 11قسم on 22/07/2018 02:10 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00031 بحلول john s في dept11 في 22/07/2018 02:10 PM', '1', NULL, '2', 'inspection/execution/schview/Rk1oTFRyWDAzendPVXBXMmlBSnkzdz09', '3', 'INSL1NOTI', '2018-07-22 14:10:17', NULL, '1', '0'),
(70, 'Inspection Execution is completed for TSQCTC/INS-00031 by martin k at 11قسم on 22/07/2018 02:17 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00031 بحلول martin k في dept11 في 22/07/2018 02:17 PM', '1', NULL, '2,3', 'inspection/execution/schview/Rk1oTFRyWDAzendPVXBXMmlBSnkzdz09', '3', 'INSL1NOTI', '2018-07-22 14:17:44', NULL, '1', '0'),
(71, 'New Inspection for ID TSQCTC/INS-00020 has been created by Ram kumar', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00020 بواسطة Ram kumar', '2', NULL, '2,5', 'inspection/execution/add/?pid=TW1qNTFIb1RRQU5ONzlnMzAwbkloQT09', '', 'INSL1NOTI', '2018-07-22 14:29:39', NULL, '1', '0'),
(72, 'Inspection Execution is completed for TSQCTC/INS-00031 by martin k at 11قسم on 22/07/2018 02:30 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00031 بحلول martin k في dept11 في 22/07/2018 02:30 PM', '1', NULL, '2,3', 'inspection/execution/schview/Rk1oTFRyWDAzendPVXBXMmlBSnkzdz09', '3', 'INSL1NOTI', '2018-07-22 14:30:39', NULL, '1', '0'),
(73, 'Inspection ID TSQCTC/INS-00031 has been approved  by john s on 22/07/2018 02:31 PM and waiting for your approval', 'تمت الموافقة على معرّف الفحص TSQCTC/INS-00031 بحلول john s في 22/07/2018 02:31 PM وفي انتظار موافقتك', '1', NULL, '7', 'inspection/reporting/inspectionApproval/Rk1oTFRyWDAzendPVXBXMmlBSnkzdz09', '6', 'INSL1NOTI', '2018-07-22 14:31:32', NULL, '1', '0'),
(74, 'New Inspection for ID TSQCTC/INS-00032 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00032', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00032', '1', 'INSL1NOTI', '2018-07-22 17:15:35', NULL, '1', '0'),
(75, 'New Inspection for ID TSQCTC/INS-00032 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00032', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00032', '1', 'INSL1NOTI', '2018-07-22 17:15:40', NULL, '1', '0'),
(76, 'New Inspection for ID TSQCTC/INS-00032 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00032', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00032', '1', 'INSL1NOTI', '2018-07-22 17:15:45', NULL, '1', '0'),
(77, 'New Inspection for ID TSQCTC/INS-00032 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00032 بواسطة john s', '2', NULL, '2,5,3', 'inspection/execution/add/?pid=SzlaK3d1QjJmdis1WVhsckJ4bWg5QT09', '', 'INSL1NOTI', '2018-07-23 10:29:46', NULL, '1', '0'),
(78, 'New Inspection for ID TSQCTC/INS-00033 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00033', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00033', '1', 'INSL1NOTI', '2018-07-23 10:36:46', NULL, '1', '0'),
(79, 'New Inspection for ID TSQCTC/INS-00033 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00033 بواسطة john s', '2', NULL, '2,5', 'inspection/execution/add/?pid=aXdOU2cwV3A3TllHVjk1WnR1cnQ4QT09', '', 'INSL1NOTI', '2018-07-23 10:37:05', NULL, '1', '0'),
(80, 'New Inspection for ID TSQCTC/INS-00036 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00036', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00036', '1', 'INSL1NOTI', '2018-07-23 15:40:55', NULL, '1', '0'),
(81, 'New Inspection for ID TSQCTC/INS-00036 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00036', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00036', '1', 'INSL1NOTI', '2018-07-23 15:41:00', NULL, '1', '0'),
(82, 'New Inspection for ID TSQCTC/INS-00036 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00036', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00036', '1', 'INSL1NOTI', '2018-07-23 15:41:04', NULL, '1', '0'),
(83, 'New Inspection for ID TSQCTC/INS-00036 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00036 بواسطة john s', '2', NULL, '2,5,6', 'inspection/execution/add/?pid=cXRuOGxaWTFKSHFxZmJQMEkxdjJ4Zz09', '', 'INSL1NOTI', '2018-07-23 15:51:39', NULL, '1', '0'),
(84, 'Inspection Execution is completed for TSQCTC/INS-00036 by john s at 11قسم on 23/07/2018 04:41 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00036 بحلول john s في dept11 في 23/07/2018 04:41 PM', '1', NULL, '2', 'inspection/execution/schview/cXRuOGxaWTFKSHFxZmJQMEkxdjJ4Zz09', '3', 'INSL1NOTI', '2018-07-23 16:41:18', NULL, '1', '0'),
(85, 'Inspection Execution is completed for TSQCTC/INS-00035 by john s at 11قسم on 23/07/2018 04:53 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00035 بحلول john s في dept11 في 23/07/2018 04:53 PM', '1', NULL, '2', 'inspection/execution/schview/ZXZGcVVkZFhUMWl3ajNuSHkyUHAwUT09', '3', 'INSL1NOTI', '2018-07-23 16:53:19', NULL, '1', '0'),
(86, 'Inspection Execution is completed for TSQCTC/INS-00036 by john s at 11قسم on 23/07/2018 04:54 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00036 بحلول john s في dept11 في 23/07/2018 04:54 PM', '1', NULL, '2', 'inspection/execution/schview/cXRuOGxaWTFKSHFxZmJQMEkxdjJ4Zz09', '3', 'INSL1NOTI', '2018-07-23 16:54:47', NULL, '1', '0'),
(87, 'Inspection Execution is completed for TSQCTC/INS-00032 by john s at 11قسم on 24/07/2018 10:51 AM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00032 بحلول john s في dept11 في 24/07/2018 10:51 AM', '1', NULL, '2', 'inspection/execution/schview/SzlaK3d1QjJmdis1WVhsckJ4bWg5QT09', '3', 'INSL1NOTI', '2018-07-24 10:51:45', NULL, '1', '0'),
(88, 'New Inspection for ID TSQCTC/INS-00041 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00041', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00041', '1', 'INSL1NOTI', '2018-07-25 10:41:45', NULL, '1', '0'),
(89, 'New Inspection for ID TSQCTC/INS-00042 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00042', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00042', '1', 'INSL1NOTI', '2018-07-25 16:54:16', NULL, '1', '0'),
(90, 'New Inspection for ID TSQCTC/INS-00051 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00051', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00051', '1', 'INSL1NOTI', '2018-07-30 15:36:19', NULL, '1', '0'),
(91, 'New Inspection for ID TSQCTC/INS-00051 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00051', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00051', '1', 'INSL1NOTI', '2018-07-30 15:36:30', NULL, '1', '0'),
(92, 'New Inspection for ID TSQCTC/INS-00051 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00051 بواسطة john s', '2', NULL, '2,5', 'inspection/execution/add/?pid=bE5Od1ZMTEo2RDVBR0phS3NqK1dtdz09', '', 'INSL1NOTI', '2018-07-30 15:44:48', NULL, '1', '0'),
(93, 'Inspection Execution is completed for TSQCTC/INS-00051 by viki s at 11قسم on 30/07/2018 04:01 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00051 بحلول viki s في dept11 في 30/07/2018 04:01 PM', '1', NULL, '2,5', 'inspection/execution/schview/bE5Od1ZMTEo2RDVBR0phS3NqK1dtdz09', '3', 'INSL1NOTI', '2018-07-30 16:01:17', NULL, '1', '0'),
(94, 'Inspection Execution is completed for TSQCTC/INS-00051 by viki s at 12قسم on 30/07/2018 04:02 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00051 بحلول viki s في dept12 في 30/07/2018 04:02 PM', '1', NULL, '2,5', 'inspection/execution/schview/bE5Od1ZMTEo2RDVBR0phS3NqK1dtdz09', '3', 'INSL1NOTI', '2018-07-30 16:02:02', NULL, '1', '0'),
(95, 'Inspection ID TSQCTC/INS-00051 has been approved  by john s on 30/07/2018 04:06 PM', 'تمت الموافقة على معرف الفحص TSQCTC/INS-00051 بواسطة john s في 30/07/2018 04:06 PM', '1', NULL, '2,5', 'inspection/reporting/inspectionApproval/bE5Od1ZMTEo2RDVBR0phS3NqK1dtdz09', '7', 'INSL1NOTI', '2018-07-30 16:06:12', NULL, '1', '0'),
(96, 'Inspection Execution is rejected for TSQCTC/INS-00051 by john s on 30/07/2018 04:06 PM', 'رفض تنفيذ الفحص TSQCTC/INS-00051 بحلول john s في 30/07/2018 04:06 PM', '2', NULL, '2,7', 'inspection/execution/inspcedit/bE5Od1ZMTEo2RDVBR0phS3NqK1dtdz09', '4', 'INSL1NOTI', '2018-07-30 16:06:25', NULL, '1', '0'),
(97, 'Rejected Inspection Execution is completed for TSQCTC/INS-00051 by john s on 30/07/2018 04:08 PM and waiting for inspector approval', 'اكتمل تنفيذ الفحص المرفوض في اكتمل تنفيذ الفحص المرفوض في TSQCTC/INS-00051 بحلول john s في 30/07/2018 04:08 PM وفي انتظار موافقة المفتش', '2', NULL, '2,7', 'inspection/reporting/inspectionApproval/bE5Od1ZMTEo2RDVBR0phS3NqK1dtdz09', '0', 'INSL1NOTI', '2018-07-30 16:08:25', NULL, '1', '0'),
(98, 'Inspection ID TSQCTC/INS-00051 has been approved  by john s on 30/07/2018 04:09 PM', 'تمت الموافقة على معرف الفحص TSQCTC/INS-00051 بواسطة john s في 30/07/2018 04:09 PM', '1', NULL, '2,5', 'inspection/reporting/inspectionApproval/bE5Od1ZMTEo2RDVBR0phS3NqK1dtdz09', '7', 'INSL1NOTI', '2018-07-30 16:09:12', NULL, '1', '0'),
(99, 'Inspection Execution is rejected for TSQCTC/INS-00051 by john s on 30/07/2018 04:09 PM', 'رفض تنفيذ الفحص TSQCTC/INS-00051 بحلول john s في 30/07/2018 04:09 PM', '2', NULL, '5,7', 'inspection/execution/inspcedit/bE5Od1ZMTEo2RDVBR0phS3NqK1dtdz09', '4', 'INSL1NOTI', '2018-07-30 16:09:24', NULL, '1', '0'),
(100, 'Rejected Inspection Execution is completed for TSQCTC/INS-00051 by john s on 30/07/2018 04:12 PM and waiting for inspector approval', 'اكتمل تنفيذ الفحص المرفوض في اكتمل تنفيذ الفحص المرفوض في TSQCTC/INS-00051 بحلول john s في 30/07/2018 04:12 PM وفي انتظار موافقة المفتش', '2', NULL, '5,7', 'inspection/reporting/inspectionApproval/bE5Od1ZMTEo2RDVBR0phS3NqK1dtdz09', '0', 'INSL1NOTI', '2018-07-30 16:12:19', NULL, '1', '0'),
(101, 'Inspection ID TSQCTC/INS-00051 has been approved  by john s on 30/07/2018 04:30 PM and waiting for your approval', 'تمت الموافقة على معرّف الفحص TSQCTC/INS-00051 بحلول john s في 30/07/2018 04:30 PM وفي انتظار موافقتك', '1', NULL, '7', 'inspection/reporting/inspectionApproval/bE5Od1ZMTEo2RDVBR0phS3NqK1dtdz09', '6', 'INSL1NOTI', '2018-07-30 16:30:02', NULL, '1', '0'),
(102, 'Inspection ID TSQCTC/INS-00051 has been approved  by john s on 30/07/2018 04:32 PM', 'تمت الموافقة على معرف الفحص TSQCTC/INS-00051 بواسطة john s في 30/07/2018 04:32 PM', '1', NULL, '2,5', 'inspection/reporting/inspectionApproval/bE5Od1ZMTEo2RDVBR0phS3NqK1dtdz09', '7', 'INSL1NOTI', '2018-07-30 16:32:59', NULL, '1', '0'),
(103, 'Inspection Execution is rejected for TSQCTC/INS-00051 by john s on 30/07/2018 04:33 PM', 'رفض تنفيذ الفحص TSQCTC/INS-00051 بحلول john s في 30/07/2018 04:33 PM', '2', NULL, '5,7', 'inspection/execution/inspcedit/bE5Od1ZMTEo2RDVBR0phS3NqK1dtdz09', '4', 'INSL1NOTI', '2018-07-30 16:33:12', NULL, '1', '0'),
(104, 'Rejected Inspection Execution is completed for TSQCTC/INS-00051 by john s on 30/07/2018 04:38 PM and waiting for inspector approval', 'اكتمل تنفيذ الفحص المرفوض في اكتمل تنفيذ الفحص المرفوض في TSQCTC/INS-00051 بحلول john s في 30/07/2018 04:38 PM وفي انتظار موافقة المفتش', '2', NULL, '5,7', 'inspection/reporting/inspectionApproval/bE5Od1ZMTEo2RDVBR0phS3NqK1dtdz09', '0', 'INSL1NOTI', '2018-07-30 16:38:24', NULL, '1', '0'),
(105, 'Inspection ID TSQCTC/INS-00051 has been approved  by john s on 30/07/2018 04:45 PM and waiting for your approval', 'تمت الموافقة على معرّف الفحص TSQCTC/INS-00051 بحلول john s في 30/07/2018 04:45 PM وفي انتظار موافقتك', '1', NULL, '7', 'inspection/reporting/inspectionApproval/bE5Od1ZMTEo2RDVBR0phS3NqK1dtdz09', '6', 'INSL1NOTI', '2018-07-30 16:45:07', NULL, '1', '0'),
(106, 'New Inspection for ID TSQCTC/INS-00052 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00052', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00052', '1', 'INSL1NOTI', '2018-07-30 17:52:33', NULL, '1', '0'),
(107, 'New Inspection for ID TSQCTC/INS-00053 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00053', '1', NULL, '4', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00053', '1', 'INSL1NOTI', '2018-07-31 10:02:37', NULL, '1', '0'),
(108, 'New Inspection for ID TSQCTC/INS-00053 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00053', '1', NULL, '4', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00053', '1', 'INSL1NOTI', '2018-07-31 10:02:41', NULL, '1', '0'),
(109, 'New Inspection for ID TSQCTC/INS-00054 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00054', '1', NULL, '4', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00054', '1', 'INSL1NOTI', '2018-07-31 10:10:02', NULL, '1', '0'),
(110, 'New Inspection for ID TSQCTC/INS-00055 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00055', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00055', '1', 'INSL1NOTI', '2018-07-31 10:17:57', NULL, '1', '0'),
(111, 'Inspection Execution of john s is rejected for TSQCTC/INS-00035 by john s on 31/07/2018 02:48 PM', 'تم رفض تنفيذ التفتيش {reject_person} بتاريخ TSQCTC/INS-00035 بحلول john s في 31/07/2018 02:48 PM', '2', NULL, '2', 'inspection/execution/inspcedit/ZXZGcVVkZFhUMWl3ajNuSHkyUHAwUT09', '4', 'INSL1NOTI', '2018-07-31 14:48:33', NULL, '1', '0'),
(112, 'Inspection Execution of john s is rejected for TSQCTC/INS-00035 by john s on 31/07/2018 02:48 PM', 'تم رفض تنفيذ التفتيش {reject_person} بتاريخ TSQCTC/INS-00035 بحلول john s في 31/07/2018 02:48 PM', '1', NULL, '2', 'inspection/execution/inspcedit/ZXZGcVVkZFhUMWl3ajNuSHkyUHAwUT09', '4', 'INSL1NOTI', '2018-07-31 14:48:38', NULL, '1', '0'),
(113, 'Inspection Execution is completed for TSQCTC/INS-00050 by john s at 11قسم on 31/07/2018 02:49 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00050 بحلول john s في dept11 في 31/07/2018 02:49 PM', '1', NULL, '2', 'inspection/execution/schview/anVndTJDRWM5aXcvR2JHcjlWdCtPZz09', '3', 'INSL1NOTI', '2018-07-31 14:49:32', NULL, '1', '0'),
(114, 'Inspection Execution of viki s is rejected for TSQCTC/INS-00010 by john s on 31/07/2018 02:50 PM', 'تم رفض تنفيذ التفتيش {reject_person} بتاريخ TSQCTC/INS-00010 بحلول john s في 31/07/2018 02:50 PM', '2', NULL, '5,2', 'inspection/execution/inspcedit/QVdMbGNjbU1qYU50T2MzQUlIOFQxdz09', '4', 'INSL1NOTI', '2018-07-31 14:50:33', NULL, '1', '0'),
(115, 'Inspection Execution of john s is rejected for TSQCTC/INS-00010 by john s on 31/07/2018 02:50 PM', 'تم رفض تنفيذ التفتيش {reject_person} بتاريخ TSQCTC/INS-00010 بحلول john s في 31/07/2018 02:50 PM', '2', NULL, '5,2', 'inspection/execution/inspcedit/QVdMbGNjbU1qYU50T2MzQUlIOFQxdz09', '4', 'INSL1NOTI', '2018-07-31 14:50:37', NULL, '1', '0'),
(116, 'Inspection Execution of john s,viki s is rejected for TSQCTC/INS-00010 by john s on 31/07/2018 02:50 PM', 'تم رفض تنفيذ التفتيش {reject_person} بتاريخ TSQCTC/INS-00010 بحلول john s في 31/07/2018 02:50 PM', '1', NULL, '2', 'inspection/execution/inspcedit/QVdMbGNjbU1qYU50T2MzQUlIOFQxdz09', '4', 'INSL1NOTI', '2018-07-31 14:50:42', NULL, '1', '0'),
(117, 'Inspection Execution of viki s is rejected for TSQCTC/INS-00004 by john s on 31/07/2018 04:28 PM', 'تم رفض تنفيذ التفتيش {reject_person} بتاريخ TSQCTC/INS-00004 بحلول john s في 31/07/2018 04:28 PM', '2', NULL, '5', 'inspection/execution/inspcedit/Z2dSVWpqdUxjU0ZNU04yelhnb1Budz09', '4', 'INSL1NOTI', '2018-07-31 16:28:44', NULL, '1', '0'),
(118, 'Inspection Execution of viki s is rejected for TSQCTC/INS-00004 by john s on 31/07/2018 04:28 PM', 'تم رفض تنفيذ التفتيش {reject_person} بتاريخ TSQCTC/INS-00004 بحلول john s في 31/07/2018 04:28 PM', '1', NULL, '2', 'inspection/execution/inspcedit/Z2dSVWpqdUxjU0ZNU04yelhnb1Budz09', '4', 'INSL1NOTI', '2018-07-31 16:28:49', NULL, '1', '0'),
(119, 'Inspection Execution is completed for TSQCTC/INS-00049 by john s at 31سم القسم on 31/07/2018 04:39 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00049 بحلول john s في dept31 في 31/07/2018 04:39 PM', '1', NULL, '2', 'inspection/execution/schview/UEVvNEFTb1UwS2hVL3BpaE5SUmJMQT09', '3', 'INSL1NOTI', '2018-07-31 16:39:37', NULL, '1', '0'),
(120, 'New Inspection for ID TSQCTC/INS-00055 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00055 بواسطة john s', '2', NULL, '2', 'inspection/execution/add/?pid=ejJTTVJWeTBEYU1mTENteE45aDFQUT09', '', 'INSL1NOTI', '2018-08-02 16:11:43', NULL, '1', '0'),
(121, 'New Inspection for ID TSQCTC/INS-00052 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00052 بواسطة john s', '2', NULL, '2,3,5', 'inspection/execution/add/?pid=ejB6cjNDdUNOSDg1VGgrRVFTMlZ3dz09', '', 'INSL1NOTI', '2018-08-02 16:12:42', NULL, '1', '0'),
(122, 'New Inspection for ID TSQCTC/INS-00042 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00042 بواسطة john s', '2', NULL, '2,5', 'inspection/execution/add/?pid=Y2dxb3ZjQ1B3dmtmUW00SXpyV2owUT09', '', 'INSL1NOTI', '2018-08-02 16:13:22', NULL, '1', '0'),
(123, 'Inspection Execution is completed for TSQCTC/INS-00057 by  at 11قسم on 02/08/2018 05:54 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00057 بحلول  في dept11 في 02/08/2018 05:54 PM', '1', NULL, '2', 'inspection/execution/schview/bjFTVUVGc2h6ZGttZWpnMEpOVlpLUT09', '3', 'INSL1NOTI', '2018-08-02 17:54:59', NULL, '1', '0'),
(124, 'Inspection Execution is completed for TSQCTC/INS-00055 by john s at 21صباح on 02/08/2018 05:57 PM', 'اكتمل تنفيذ الفحص TSQCTC/INS-00055 بحلول john s في dept21 في 02/08/2018 05:57 PM', '1', NULL, '2', 'inspection/execution/schview/ejJTTVJWeTBEYU1mTENteE45aDFQUT09', '3', 'INSL1NOTI', '2018-08-02 17:57:33', NULL, '1', '0'),
(125, 'New Inspection for ID TSQCTC/INS-00041 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00041 بواسطة john s', '2', NULL, '2,5', 'inspection/execution/add/?pid=b1FnMS8vTmhrWXNrNmd1VW41SVZaUT09', '', 'INSL1NOTI', '2018-08-03 12:11:43', NULL, '1', '0'),
(126, 'New Inspection for ID TSQCTC/INS-00041 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00041 بواسطة john s', '2', NULL, '2,5', 'inspection/execution/add/?pid=b1FnMS8vTmhrWXNrNmd1VW41SVZaUT09', '', 'INSL1NOTI', '2018-08-03 12:12:08', NULL, '1', '0'),
(127, 'New Inspection for ID TSQCTC/INS-00059 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00059', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00059', '1', 'INSL1NOTI', '2018-08-06 12:07:41', NULL, '1', '0'),
(128, 'New Inspection for ID TSQCTC/INS-00059 has been created by john s', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00059 بواسطة john s', '2', NULL, '2,5,6', 'inspection/execution/add/?pid=TmZ3ZTJ6VUtmNW9TbmJOOW9MN0FMZz09', '', 'INSL1NOTI', '2018-08-06 12:12:28', NULL, '1', '0'),
(129, 'New Inspection for ID TSQCTC/INS-00060 has been created', 'تم إنشاء معاينة جديدة للمعرف TSQCTC/INS-00060', '1', NULL, '2', 'inspection/execution/language/?search=1&inspectionNum=TSQCTC/INS-00060', '1', 'INSL1NOTI', '2018-08-28 11:10:21', NULL, '1', '0');

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

--
-- Table structure for table `ard_notification_log`
--

CREATE TABLE `ard_notification_log` (
  `notification_log_id` int(11) NOT NULL,
  `user_master_id` int(11) NOT NULL,
  `notification_id` int(11) NOT NULL,
  `created_on` datetime DEFAULT NULL,
  `updated_on` datetime DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_notification_log`
--

INSERT INTO `ard_notification_log` (`notification_log_id`, `user_master_id`, `notification_id`, `created_on`, `updated_on`) VALUES
(1, 2, 44, NULL, '2018-07-19 11:31:43'),
(2, 2, 1, '2018-07-19 11:48:16', '2018-07-19 11:48:16'),
(3, 5, 2, '2018-07-19 11:53:42', '2018-07-19 11:53:42'),
(4, 7, 5, '2018-07-19 11:59:59', '2018-07-19 11:59:59'),
(5, 6, 7, '2018-07-19 12:04:57', '2018-07-19 12:04:57'),
(6, 2, 9, '2018-07-19 12:06:11', '2018-07-19 12:06:11'),
(7, 5, 42, NULL, '2018-07-19 20:05:16'),
(8, 5, 42, NULL, '2018-07-19 20:05:23'),
(9, 2, 1, NULL, '2018-07-20 09:45:21'),
(10, 2, 15, NULL, '2018-07-20 09:51:38'),
(11, 5, 4, NULL, '2018-07-20 16:36:30'),
(12, 2, 3, NULL, '2018-07-20 18:13:17'),
(13, 2, 3, NULL, '2018-07-20 18:13:18'),
(14, 2, 3, NULL, '2018-07-20 18:13:18'),
(15, 2, 3, NULL, '2018-07-20 18:13:19'),
(16, 2, 4, NULL, '2018-07-20 18:14:48'),
(17, 5, 41, NULL, '2018-07-21 12:42:27'),
(18, 1, 48, '2018-07-21 19:16:34', '2018-07-21 19:16:34'),
(19, 2, 6, NULL, '2018-07-24 10:20:15'),
(20, 2, 11, NULL, '2018-07-24 10:20:29'),
(21, 2, 12, NULL, '2018-07-24 10:20:59'),
(22, 1, 88, '2018-07-25 17:14:47', '2018-07-25 16:11:28'),
(23, 1, 83, '2018-07-25 17:14:13', '2018-07-25 16:13:09'),
(24, 2, 88, NULL, '2018-07-25 16:55:31'),
(25, 2, 88, NULL, '2018-07-25 16:55:49'),
(26, 2, 88, NULL, '2018-07-25 16:59:53'),
(27, 1, 89, '2018-07-25 17:07:26', '2018-07-25 17:07:26'),
(28, 1, 84, '2018-07-25 17:07:50', '2018-07-25 17:07:50'),
(29, 1, 57, '2018-07-25 17:10:53', '2018-07-25 17:10:53'),
(30, 1, 79, '2018-07-25 17:13:34', '2018-07-25 17:13:34'),
(31, 2, 1, NULL, '2018-07-26 16:20:53'),
(32, 2, 80, NULL, '2018-07-27 10:59:26'),
(33, 2, 89, NULL, '2018-07-30 15:44:15'),
(34, 2, 110, NULL, '2018-07-31 10:54:42'),
(35, 5, 103, NULL, '2018-07-31 16:07:40'),
(36, 2, 95, NULL, '2018-08-02 17:05:39'),
(37, 2, 112, NULL, '2018-08-02 17:05:41'),
(38, 2, 127, '2018-08-06 12:10:59', '2018-08-06 12:10:28'),
(39, 1, 127, '2018-08-21 13:00:06', '2018-08-21 13:00:06'),
(40, 1, 128, '2018-08-24 09:58:44', '2018-08-24 09:58:44'),
(41, 1, 123, '2018-08-24 10:06:20', '2018-08-24 10:06:20'),
(42, 1, 124, '2018-08-24 11:54:10', '2018-08-24 11:54:10'),
(43, 1, 103, '2018-08-24 11:54:21', '2018-08-24 11:54:21');

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

--
-- Table structure for table `ard_sessions`
--

CREATE TABLE `ard_sessions` (
  `id` varchar(40) NOT NULL,
  `ip_address` varchar(45) NOT NULL,
  `timestamp` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `data` blob NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_sessions`
--

INSERT INTO `ard_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES
('0v7n3k9lbkuet25aljkcaj4dkusfcelj', '192.168.0.129', 1533549774, 0x[BLOB]),
('12u2bi71pofe0fsbarnl6f9krgqa0fpm', '192.168.0.63', 1535435000, 0x[BLOB]),
('1bdkr1d8vnr2sv635p8d6iscgpn55p3q', '59.90.30.206', 1533553631, 0x[BLOB]),
('1m90nchoretrlg2iis1njkr4f0vd23bk', '192.168.0.78', 1533548094, 0x[BLOB]),
('2h4mivtsr3jd8kj2gft47ltm10v62oms', '192.168.0.63', 1533807350, 0x[BLOB]),
('2o38f04g2mte5rvarvl7voegvgn8pg7b', '52.114.6.38', 1534991606, 0x5f5f63695f6c6173745f726567656e65726174657c693a313533343939313630363b706167655f6c616e677c733a303a22223b73657373696f6e5f6c616e677c733a303a22223b),
('2t20hgp7dgl855fagoajrb4fblph3feo', '192.168.0.63', 1534921721, 0x[BLOB]),
('39bkgnq0dh8ldtd1e6un4n96f5lp2g8v', '210.187.148.246', 1535085677, 0x[BLOB]),
('56jjstk2ae9tkbev7rik27iedtpkbhlm', '192.168.0.129', 1533558989, 0x[BLOB]),
('58pc3sg4luc16sf2blnhtuhnqlcoojib', '192.168.0.78', 1533549592, 0x[BLOB]),
('61gus911cgci86frkptq8sf6sdidpbkm', '192.168.0.65', 1535434975, 0x[BLOB]),
('6380pi9bliovprhru781t6phl7kus28t', '192.168.0.78', 1533791588, 0x[BLOB]),
('677ul4imj80r5c8nh3020r3q8h7d0noc', '192.168.0.78', 1533550577, 0x[BLOB]),
('6di8ituntc07lgk8qdfhlg22hfrao30i', '192.168.0.78', 1533555393, 0x[BLOB]),
('6e2afbf6fft6c26g0326aumv66omjmmj', '113.210.48.98', 1534836336, 0x[BLOB]),
('6jhl86af2f3anssv5b17bi7vbqts2tro', '192.168.0.65', 1535433975, 0x[BLOB]),
('6nod3esunc5f57op6bje0qvnteoje5t3', '210.187.148.246', 1535084974, 0x[BLOB]),
('6rto3v6p31cccteqek4bkp0l65e5jo18', '103.194.242.62', 1534836294, 0x[BLOB]),
('7i2ta8djh5g04krvojab1lpakvr12o72', '192.168.0.63', 1533804354, 0x[BLOB]),
('8k2ljjp1he4qt44u6ibtdl580cn4d76i', '192.168.0.63', 1534415480, 0x[BLOB]),
('8li8btl6i7a5dib87r7cja5uupgls0vg', '52.114.6.38', 1534835700, 0x5f5f63695f6c6173745f726567656e65726174657c693a313533343833353730303b706167655f6c616e677c733a303a22223b73657373696f6e5f6c616e677c733a303a22223b),
('8q576dgopr611pnu2k82slq42id78vfv', '192.168.0.65', 1535434818, 0x[BLOB]);
INSERT INTO `ard_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES
('9cdp49p28mgnpru5gfjfj7ljjosndvni', '192.168.0.78', 1533548821, 0x[BLOB]),
('acqd7t2d87b2mh3bje998sisqgj7tfk4', '192.168.0.65', 1535432348, 0x[BLOB]),
('ag28411m3icoacc898rc1hrvl1jadrqf', '103.88.128.10', 1534835735, 0x5f5f63695f6c6173745f726567656e65726174657c693a313533343833353733353b706167655f6c616e677c733a303a22223b73657373696f6e5f6c616e677c733a303a22223b),
('ahip1blpnuih7mdfkbu7v6f35e6qm2t6', '192.168.0.78', 1533552469, 0x[BLOB]),
('brq441s7q5clsdahvkmusqfuij1vcuuu', '192.168.0.63', 1533806436, 0x[BLOB]),
('c81lvm900qvaiik9lraj1ajnn34nsd84', '192.168.0.63', 1534415541, 0x[BLOB]),
('c8nnc39gdisv098ef58aep4qdqpk37k0', '192.168.0.63', 1533798554, 0x[BLOB]),
('cbq19ebebsdjrom8ql2v6rsrag550fsp', '192.168.0.78', 1533617187, 0x[BLOB]),
('ckajadu9g259i7ov1j3ejamhmfelsqj2', '192.168.0.78', 1533554784, 0x[BLOB]),
('ckh96000oad8b7t525tqnop2js3d76nb', '192.168.0.78', 1533791896, 0x[BLOB]),
('cs7sqphpihrvadj3a2o3noremmtpr21c', '59.90.30.206', 1535375915, 0x[BLOB]),
('d9n457u0lha4hldoo0omjj7dn0pqq4gq', '192.168.0.65', 1533807971, 0x[BLOB]),
('dcv11uai5orupol5li7jmepqub5n2hoe', '103.194.242.62', 1534835630, 0x[BLOB]),
('dea8ghll48jcp0scc5uq6irb2mvnccns', '192.168.0.63', 1533798768, 0x[BLOB]),
('e5l474iqlk7cpf1rgimj3dl8ed6kvomg', '103.194.242.62', 1534836621, 0x[BLOB]),
('e8966iur7ekiqp76k5h9l2hff5iscec7', '103.194.242.62', 1534838636, 0x[BLOB]),
('eq0ttbfiu0b4q9vr0r86646h3dmngapd', '192.168.0.78', 1533548274, 0x[BLOB]),
('esg85u7c3m5ot7p8had50njecdsee9ui', '113.210.48.98', 1534836390, 0x[BLOB]),
('f5vt4dbia0g3tg65vmnkv882ssookl56', '192.168.0.78', 1533614793, 0x[BLOB]),
('g68b8u179old6k5700tiln41e7bpdkc1', '192.168.0.63', 1533807010, 0x[BLOB]),
('hcst6n26djpjanmdrde3a3r6aaptdj0d', '192.168.0.63', 1533808926, 0x[BLOB]),
('i5u1thnvgf13eob6mbbi8uiar0pgjlrq', '192.168.0.63', 1533798162, 0x[BLOB]),
('ifclpo10rhl2k4i18iegrp4gjdqnavmq', '103.88.128.10', 1534836188, 0x5f5f63695f6c6173745f726567656e65726174657c693a313533343833363138383b706167655f6c616e677c733a303a22223b73657373696f6e5f6c616e677c733a303a22223b);
INSERT INTO `ard_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES
('im0450nhrutpderl0vudm6lu3683o7tg', '192.168.0.78', 1533552116, 0x[BLOB]),
('ind8h14rim6vn8dddn8fmmerj4fh544q', '192.168.0.63', 1533805363, 0x[BLOB]),
('j6sfta77gqhgsqpb8fldre4c1djirpgh', '192.168.0.63', 1534836904, 0x[BLOB]),
('jfga244c0q5h5cj8n7v0dbet6cikq0jb', '210.187.148.246', 1535084994, 0x[BLOB]),
('jn6a5bp7evquol3rls7ufo1ap779iv49', '192.168.0.129', 1533558338, 0x[BLOB]),
('km4tj6oqlchl8lel80u4d6preatc5084', '192.168.0.78', 1533615789, 0x[BLOB]),
('kqr8e5egea3qvh8fvvtktfiv5g7glvk0', '103.194.242.62', 1534416086, 0x5f5f63695f6c6173745f726567656e65726174657c693a313533343431363036313b706167655f6c616e677c733a303a22223b73657373696f6e5f6c616e677c733a303a22223b),
('krm3d6b5mrceff7dpr4rpemivlul14m8', '103.194.242.62', 1534850614, 0x[BLOB]),
('l10lmaa7hq6eq9ovllsgrmr91g2fp098', '192.168.0.63', 1534414555, 0x[BLOB]),
('l55214vcm18tugka3aag16p7p0tgpg53', '192.168.0.63', 1533802849, 0x[BLOB]),
('l8r034h4qlvfer7maqth1ugltsanfqjs', '192.168.0.78', 1533817305, 0x[BLOB]),
('l8rtu1v06o9hgau368fpn4dib3an32il', '192.168.0.65', 1534836689, 0x[BLOB]),
('m1s3l5g68eunmoaqe1sfim22k7ggq02t', '59.90.30.206', 1535378358, 0x[BLOB]),
('nbqtidkb925cbm8gcbbj53ecmo5qmhkr', '192.168.0.78', 1533797614, 0x[BLOB]),
('nmfqnogac2fi1c1aalbpirr39aqq5qds', '192.168.0.78', 1533549201, 0x[BLOB]),
('nq5a8tvbr6ac6o2nlspcgo3kvkum2qim', '192.168.0.78', 1533551069, 0x[BLOB]),
('o8higijahu10o9i2ff6of2lkkjv5k0qd', '103.88.128.10', 1533623737, 0x[BLOB]),
('o9d7hsbcl7p6thggie6q7iipfqpetk5b', '192.168.0.78', 1533549794, 0x[BLOB]),
('onbhfugioavcromlqkvufgpp8belvuap', '192.168.0.63', 1534414487, 0x[BLOB]),
('or81br0iea0s9m75rrkppc19759k6hqt', '210.187.148.246', 1535092223, 0x[BLOB]),
('p2qrihf1r0lpq5sajng989j71nt8r075', '103.88.128.10', 1534836200, 0x[BLOB]),
('p6e5rlcoutdgvgpbgl4pvgda3k3ckkbu', '192.168.0.78', 1533550182, 0x[BLOB]),
('pcls1uvihgp6skhpq82gsrpmrqub0ph5', '210.187.148.246', 1535091923, 0x[BLOB]);
INSERT INTO `ard_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES
('ppm47de0ofisi5ut54m9g64jppskk3fr', '192.168.0.65', 1535433894, 0x[BLOB]),
('ppv048bvstbcl41a5om062gjjle8qcv8', '59.92.88.199', 1533730184, 0x[BLOB]),
('prds5i3b3t9jlt0n77qc8cmrp0vesjjj', '192.168.0.129', 1533549864, 0x[BLOB]),
('q355ehtvkbalokng5mp6fofhk9agtsur', '103.88.128.10', 1534836135, 0x5f5f63695f6c6173745f726567656e65726174657c693a313533343833363133353b706167655f6c616e677c733a303a22223b73657373696f6e5f6c616e677c733a303a22223b),
('qa09oqunq8d2telovprl0mis38qlh77t', '192.168.0.78', 1533617774, 0x[BLOB]),
('qffkg4klcnf78p86an45h1otvd13qskv', '192.168.0.78', 1533552745, 0x[BLOB]),
('r4sijon0clqs9hkv7jtr00qactohha17', '192.168.0.78', 1533553614, 0x[BLOB]),
('rh7i7fluoaljst1ehjmr1r1g86s6i5ah', '192.168.0.65', 1535434885, 0x[BLOB]),
('rhtu2s8b1a3pq5vl5b9qf4bu6nbo0o93', '192.168.0.65', 1533807360, 0x[BLOB]),
('rqd42n033jsgcth2n7s2j5kba4g9t34h', '192.168.0.78', 1533553081, 0x[BLOB]),
('rv4vrftai4h2d348bmo5fa6903jp5nur', '192.168.0.63', 1534416314, 0x[BLOB]),
('sahoncc5oqlaj7f5ersiv0k386sn3qcu', '192.168.0.78', 1533551181, 0x[BLOB]),
('t25nftgj1v54bd88q9jlpkhq2g3n7mhv', '192.168.0.78', 1533551877, 0x[BLOB]),
('tjr68injagpeg2mmj5cudgjlqd0c0540', '103.194.242.62', 1534837014, 0x[BLOB]),
('u5khnb09q0dp9rcc4bc5eqrj84o3s52r', '59.90.30.206', 1535378195, 0x[BLOB]),
('v5qc86cm5566g7bke0tfr1ah1dm1ml2v', '192.168.0.63', 1534836872, 0x[BLOB]);

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

--
-- Table structure for table `ard_slider`
--

CREATE TABLE `ard_slider` (
  `sl_id` int(11) NOT NULL,
  `slidername` varchar(200) DEFAULT NULL,
  `sliderurl` text,
  `sliderimg` text,
  `sliderdesc` text,
  `direction` text,
  `filetype` varchar(200) DEFAULT NULL,
  `extension` varchar(200) DEFAULT NULL,
  `size` varchar(200) DEFAULT NULL,
  `created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `status` int(11) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_slider`
--

INSERT INTO `ard_slider` (`sl_id`, `slidername`, `sliderurl`, `sliderimg`, `sliderdesc`, `direction`, `filetype`, `extension`, `size`, `created`, `updated`, `status`) VALUES
(1, 'ELEMENTS OF  TSQCTC', NULL, 'assets/images/slider/x1.png', '<ul>\r\n<li> <i class="fa fa-check"></i> Leadership and Administration</li>\r\n<li><i class="fa fa-check"></i> Occupational Health and safety committees</li>\r\n<li><i class="fa fa-check"></i> Education and training </li>\r\n<li><i class="fa fa-check"></i> Communication </li>\r\n<li><i class="fa fa-check"></i> Safe work practices and procedures </li>\r\n<li><i class="fa fa-check"></i> Hazard recognition, evaluation and control </li>\r\n<li><i class="fa fa-check"></i> Workspace inspections </li>\r\n<li><i class="fa fa-check"></i> Accident/Incident investigations </li><li><i class="fa fa-check"></i> Emergency preparedness </li><li><i class="fa fa-check"></i> Disability management </li><li><i class="fa fa-check"></i> Ergonomics should be incorporated into each\r\nelement of the program</li></ul>', 'right', NULL, NULL, NULL, '2017-12-20 19:07:20', '2018-05-07 12:48:33', 1),
(2, 'TSQCTC Features', NULL, 'assets/images/slider/x6.png', 'TSQCTC  offers complete and personalized  occupational, health, risk and safety management  solutions in a single cloud based software.<p> </p>\r\n<ul>\r\n      <li><i class="fa fa-check"></i> A well-managed health and safety programme </li>  \r\n       <li><i class="fa fa-check"></i> Reduces accidents/injuries  reduced absenteeism </li>  \r\n       <li><i class="fa fa-check"></i> Increased productivity </li>  \r\n      <li><i class="fa fa-check"></i> Reduced health care/insurance costs</li>   \r\n       <li><i class="fa fa-check"></i> Reduced risk of fines and litigation</li> \r\n</ul>                                    ', 'right', NULL, NULL, NULL, '2017-12-20 20:04:42', '2018-05-07 12:49:43', 1),
(3, 'Benefits to Organization', NULL, 'assets/images/slider/x2.png', '<ul>\r\n<li><i class="fa fa-check"></i> A well-managed health and safety programme</li>\r\n<li><i class="fa fa-check"></i> Reduces accidents/injuries  reduced absenteeism</li>\r\n<li><i class="fa fa-check"></i> Increased productivity </li>\r\n<li><i class="fa fa-check"></i> Reduced health care/insurance costs</li>\r\n<li><i class="fa fa-check"></i> Reduced risk of fines and litigation</li>\r\n</ul>', 'right', NULL, NULL, NULL, '2017-12-20 20:05:17', '2018-05-07 12:48:50', 1),
(4, 'Benefits To employee', NULL, 'assets/images/slider/x3.png', '<ul>\r\n<li><i class="fa fa-check"></i> A safe and healthy work environment</li>\r\n<li><i class="fa fa-check"></i> Reduced stress</li>\r\n<li><i class="fa fa-check"></i> Increased job satisfaction</li>\r\n<li><i class="fa fa-check"></i> Increased skills for health protection</li>\r\n<li><i class="fa fa-check"></i> Improved health</li>\r\n<li><i class="fa fa-check"></i> Improved sense of well-being</li>\r\n</ul>', 'right', NULL, NULL, NULL, '2017-12-20 20:05:49', '2018-05-07 12:49:00', 1);

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

--
-- Table structure for table `ard_user_position`
--

CREATE TABLE `ard_user_position` (
  `id` int(11) NOT NULL,
  `position_name_en` text CHARACTER SET utf8,
  `position_name_ar` text CHARACTER SET utf8,
  `role_id` int(11) DEFAULT NULL,
  `position_key` text,
  `position_created_on` datetime DEFAULT NULL,
  `position_updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `position_status` int(11) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_user_position`
--

INSERT INTO `ard_user_position` (`id`, `position_name_en`, `position_name_ar`, `role_id`, `position_key`, `position_created_on`, `position_updated_on`, `position_status`) VALUES
(1, 'Inspection Approver', 'الموافق', 5, NULL, '2018-03-27 03:00:00', '2018-04-19 10:14:08', 1),
(2, 'Leader', 'زعيم', 3, NULL, '2018-03-27 03:00:00', '2018-04-04 14:55:42', 1),
(3, 'Member', 'عضو', 3, NULL, '2018-03-27 03:00:00', '2018-04-04 14:55:45', 1),
(4, 'Audit Approver', 'الموافق', 5, NULL, '2018-03-27 03:00:00', '2018-04-19 10:14:01', 1),
(5, 'Leader', 'زعيم', 4, NULL, '2018-03-27 03:00:00', '2018-04-04 14:55:42', 1),
(6, 'Member', 'عضو', 4, NULL, '2018-03-27 03:00:00', '2018-04-04 14:55:45', 1);

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

--
-- Table structure for table `ard_user_role`
--

CREATE TABLE `ard_user_role` (
  `id` int(11) NOT NULL,
  `role_name_en` text CHARACTER SET utf8 NOT NULL,
  `role_key` varchar(512) CHARACTER SET utf8 DEFAULT NULL,
  `permission` text CHARACTER SET utf8,
  `role_name_ar` text CHARACTER SET utf8 NOT NULL,
  `role_created_on` datetime DEFAULT NULL,
  `role_updated_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `role_status` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ard_user_role`
--

INSERT INTO `ard_user_role` (`id`, `role_name_en`, `role_key`, `permission`, `role_name_ar`, `role_created_on`, `role_updated_on`, `role_status`) VALUES
(1, 'Super Admin', 'super_admin', NULL, 'مشرف متميز', '2018-03-27 00:00:00', '2018-03-28 18:33:43', 1),
(2, 'Admin', 'admin', '1,3,4,5,2,7', 'مشرف', '2018-03-27 00:00:00', '2018-04-04 09:53:25', 1),
(3, 'Inspector', 'inspector', '13,15,30,31,26,27', 'مفتش', '2018-03-27 00:00:00', '2018-05-08 12:48:39', 1),
(4, 'Auditor', 'auditor', NULL, 'مدقق حسابات', '2018-03-27 00:00:00', '2018-03-28 18:33:58', 1),
(5, 'Approver', 'approver', '13,26,27,22', 'الموافق', '2018-03-27 00:00:00', '2018-04-24 18:37:04', 1);

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `ard_inspection_report`
--
ALTER TABLE `ard_inspection_report`
  ADD PRIMARY KEY (`id_report`);

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `ard_insp_planning_chart`
--
ALTER TABLE `ard_insp_planning_chart`
  ADD PRIMARY KEY (`id_chart`);

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

--
-- Indexes for table `ard_insp_plan_execution_image`
--
ALTER TABLE `ard_insp_plan_execution_image`
  ADD PRIMARY KEY (`img_id`);

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

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

--
-- Indexes for table `ard_insp_remarks_history`
--
ALTER TABLE `ard_insp_remarks_history`
  ADD PRIMARY KEY (`id_remark`);

--
-- Indexes for table `ard_insp_report_log`
--
ALTER TABLE `ard_insp_report_log`
  ADD PRIMARY KEY (`report_id`);

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

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

--
-- Indexes for table `ard_insp_sch_notes`
--
ALTER TABLE `ard_insp_sch_notes`
  ADD PRIMARY KEY (`sch_notes_id`);

--
-- Indexes for table `ard_insp_sch_reject_notes`
--
ALTER TABLE `ard_insp_sch_reject_notes`
  ADD PRIMARY KEY (`id_sch_reject_notes`);

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

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

--
-- Indexes for table `ard_notification`
--
ALTER TABLE `ard_notification`
  ADD PRIMARY KEY (`no_id`);

--
-- Indexes for table `ard_notification_log`
--
ALTER TABLE `ard_notification_log`
  ADD PRIMARY KEY (`notification_log_id`);

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

--
-- Indexes for table `ard_slider`
--
ALTER TABLE `ard_slider`
  ADD PRIMARY KEY (`sl_id`);

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

--
-- Indexes for table `ard_user_role`
--
ALTER TABLE `ard_user_role`
  ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for table `ard_audit_score`
--
ALTER TABLE `ard_audit_score`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `ard_aud_subchap_req_name`
--
ALTER TABLE `ard_aud_subchap_req_name`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `ard_company`
--
ALTER TABLE `ard_company`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `ard_company_device_map`
--
ALTER TABLE `ard_company_device_map`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
--
-- AUTO_INCREMENT for table `ard_comp_profile`
--
ALTER TABLE `ard_comp_profile`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `ard_country`
--
ALTER TABLE `ard_country`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=254;
--
-- AUTO_INCREMENT for table `ard_hazard`
--
ALTER TABLE `ard_hazard`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `ard_insaud_chap_name`
--
ALTER TABLE `ard_insaud_chap_name`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `ard_insaud_subchap_name`
--
ALTER TABLE `ard_insaud_subchap_name`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `ard_inspection_report`
--
ALTER TABLE `ard_inspection_report`
  MODIFY `id_report` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `ard_insp_action_track`
--
ALTER TABLE `ard_insp_action_track`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
--
-- AUTO_INCREMENT for table `ard_insp_cause_category`
--
ALTER TABLE `ard_insp_cause_category`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `ard_insp_department`
--
ALTER TABLE `ard_insp_department`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;
--
-- AUTO_INCREMENT for table `ard_insp_designation`
--
ALTER TABLE `ard_insp_designation`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `ard_insp_facility`
--
ALTER TABLE `ard_insp_facility`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
--
-- AUTO_INCREMENT for table `ard_insp_inspection_criteria`
--
ALTER TABLE `ard_insp_inspection_criteria`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `ard_insp_inspection_name`
--
ALTER TABLE `ard_insp_inspection_name`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `ard_insp_location`
--
ALTER TABLE `ard_insp_location`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
--
-- AUTO_INCREMENT for table `ard_insp_planning`
--
ALTER TABLE `ard_insp_planning`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=61;
--
-- AUTO_INCREMENT for table `ard_insp_planning_chart`
--
ALTER TABLE `ard_insp_planning_chart`
  MODIFY `id_chart` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `ard_insp_plan_execution`
--
ALTER TABLE `ard_insp_plan_execution`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=75;
--
-- AUTO_INCREMENT for table `ard_insp_plan_execution_image`
--
ALTER TABLE `ard_insp_plan_execution_image`
  MODIFY `img_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=117;
--
-- AUTO_INCREMENT for table `ard_insp_plan_schedule`
--
ALTER TABLE `ard_insp_plan_schedule`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=76;
--
-- AUTO_INCREMENT for table `ard_insp_process`
--
ALTER TABLE `ard_insp_process`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `ard_insp_remarks_history`
--
ALTER TABLE `ard_insp_remarks_history`
  MODIFY `id_remark` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `ard_insp_report_log`
--
ALTER TABLE `ard_insp_report_log`
  MODIFY `report_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `ard_insp_risk`
--
ALTER TABLE `ard_insp_risk`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `ard_insp_schedule_user`
--
ALTER TABLE `ard_insp_schedule_user`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=120;
--
-- AUTO_INCREMENT for table `ard_insp_sch_notes`
--
ALTER TABLE `ard_insp_sch_notes`
  MODIFY `sch_notes_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
--
-- AUTO_INCREMENT for table `ard_insp_sch_reject_notes`
--
ALTER TABLE `ard_insp_sch_reject_notes`
  MODIFY `id_sch_reject_notes` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT for table `ard_menu`
--
ALTER TABLE `ard_menu`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=42;
--
-- AUTO_INCREMENT for table `ard_modules`
--
ALTER TABLE `ard_modules`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `ard_notification`
--
ALTER TABLE `ard_notification`
  MODIFY `no_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=130;
--
-- AUTO_INCREMENT for table `ard_notification_log`
--
ALTER TABLE `ard_notification_log`
  MODIFY `notification_log_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=44;
--
-- AUTO_INCREMENT for table `ard_slider`
--
ALTER TABLE `ard_slider`
  MODIFY `sl_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `ard_user_position`
--
ALTER TABLE `ard_user_position`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `ard_user_role`
--
ALTER TABLE `ard_user_role`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
DELIMITER $$
--
-- Events
--
CREATE DEFINER=`root`@`localhost` EVENT `lic_expiry_event` ON SCHEDULE AT '2018-07-31 18:02:21' ON COMPLETION PRESERVE DISABLE DO UPDATE ard_company_device_map SET device_status = '-1' WHERE device_status !=2 and lic_expiry_date <= DATE(now())$$

DELIMITER ;

