-- Table structure for table `indicator`
--

CREATE TABLE `indicator` (
  `id` int(11) NOT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `indicator_no` text DEFAULT NULL,
  `indicator` text DEFAULT NULL,
  `acid_color` text DEFAULT NULL,
  `base_color` text DEFAULT NULL,
  `ph_range` text DEFAULT NULL,
  `pka` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `approve_by` text DEFAULT NULL,
  `approve_date` text DEFAULT NULL,
  `plant_id` text DEFAULT NULL,
  `coa` text DEFAULT '0',
  `start_date` text DEFAULT '0',
  `valid_up_to` text DEFAULT '0',
  `open_date` text DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Triggers `indicator`
--
DELIMITER $$
CREATE TRIGGER `indicator_no_insert` BEFORE INSERT ON `indicator` FOR EACH ROW BEGIN

SET @lastID = (SELECT id FROM indicator ORDER BY id DESC LIMIT 1);
IF @lastID IS NULL OR @lastID = '' THEN
    SET @lastID = 0;
END IF;
SET @lastID = @lastID +1;
SET NEW.indicator_no = concat('IN', LPAD(CONVERT(@lastID, CHAR), 4, '0'));
END
$$
DELIMITER ;

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

--
-- Table structure for table `induction`
--

CREATE TABLE `induction` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `activities` text DEFAULT NULL,
  `department` text DEFAULT NULL,
  `start_time` text DEFAULT NULL,
  `end_time` text DEFAULT NULL,
  `learning` text DEFAULT NULL,
  `equipments` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `approve_by` text DEFAULT NULL,
  `approve_date` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `induction_checklist`
--

CREATE TABLE `induction_checklist` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `department_name` text DEFAULT NULL,
  `subject_covered` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `induction_checklist`
--

INSERT INTO `induction_checklist` (`id`, `plant_id`, `department_name`, `subject_covered`, `entry_by`, `entry_date`) VALUES
(2, '142', 'Human Resource', 'Brief about Olive Healthcare ,Unit II,Daman', 'master', '2024-07-11 03:09:39'),
(3, '142', 'Human Resource', 'Brief about Organization Structure', 'master', '2024-07-11 03:09:39'),
(4, '142', 'Human Resource', 'Product Range', 'master', '2024-07-11 03:09:39'),
(5, '142', 'Human Resource', 'Basic HR Policies', 'master', '2024-07-11 03:09:39'),
(6, '142', 'Human Resource', 'Joining formalities', 'master', '2024-07-11 03:09:39'),
(7, '142', 'Human Resource', 'Welcome & Introduction by respective HODs', 'master', '2024-07-11 03:09:39'),
(8, '142', 'Human Resource', 'May I help you?( Phone Connection & Bank A/C opening)', 'master', '2024-07-11 03:09:39'),
(9, '142', 'Human Resource', 'Security', 'master', '2024-07-11 03:09:39'),
(10, '142', 'Human Resource', 'House Keeping', 'master', '2024-07-11 03:09:39'),
(11, '142', 'Human Resource', 'Shift Schedule, timing for Tea,Lunch,Vehicle etc.', 'master', '2024-07-11 03:09:39'),
(12, '142', 'Human Resource', 'All Policies of OHC Unit II', 'master', '2024-07-11 03:09:39'),
(13, '142', 'Human Resource', 'Code of Conduct', 'master', '2024-07-11 03:09:39'),
(14, '142', 'Human Resource', 'Quality,Environment,Occupational Health & Safety (QEOHS) Policy', 'master', '2024-07-11 03:09:39'),
(15, '142', 'Quality Assurance', 'Introduction to all staffs', 'master', '2024-07-11 03:12:36'),
(16, '142', 'Quality Assurance', 'Role & Responsibility of QA Dept', 'master', '2024-07-11 03:12:36'),
(17, '142', 'Quality Assurance', 'Concept of GMP', 'master', '2024-07-11 03:12:36'),
(18, '142', 'Quality Assurance', 'SOP & Other Documentation & Validation Processes', 'master', '2024-07-11 03:12:36'),
(19, '142', 'Quality Control', 'Introduction to all staff ', 'master', '2024-07-11 03:14:14'),
(20, '142', 'Quality Control', 'Role & Responsibility of QC Dept', 'master', '2024-07-11 03:14:14'),
(21, '142', 'Quality Control', 'Concept & Significance of GLP', 'master', '2024-07-11 03:14:14'),
(22, '142', 'Production', 'Role & Responsibility of Production Dept', 'master', '2024-07-11 03:17:09'),
(23, '142', 'Production', 'Brief about the Site Plan', 'master', '2024-07-11 03:17:09'),
(24, '142', 'Production', 'Documentation in Production Dept', 'master', '2024-07-11 03:17:09'),
(25, '142', 'Production', 'Process flow of Dosage forms', 'master', '2024-07-11 03:17:09'),
(26, '142', 'Production', 'Brief about Mfg of various dosage forms', 'master', '2024-07-11 03:17:09'),
(27, '142', 'Store', 'Role & Responsibility Of Store Dept', 'master', '2024-07-11 03:21:13'),
(28, '142', 'Store', 'Concept of Engineering Stores,RM Stores,PM Stores', 'master', '2024-07-11 03:21:13'),
(29, '142', 'Store', 'Finished Goods Dispatch', 'master', '2024-07-11 03:21:13'),
(30, '142', 'Store', 'Material Handling', 'master', '2024-07-11 03:21:13'),
(31, '142', 'Engineering', 'Introduction to staffs', 'master', '2024-07-11 03:24:15'),
(32, '142', 'Engineering', 'Role & Responsibility of Engineering Dept', 'master', '2024-07-11 03:24:15'),
(33, '142', 'Engineering', 'Concept Of GEP ', 'master', '2024-07-11 03:24:15'),
(34, '142', 'Engineering', 'General Safety', 'master', '2024-07-11 03:24:15'),
(35, '142', 'Engineering', 'Type of utilities', 'master', '2024-07-11 03:24:15'),
(36, '142', 'IT', 'Role & Responsibility of IT', 'master', '2024-07-11 03:25:44'),
(37, '142', 'IT', 'Computer Management', 'master', '2024-07-11 03:25:44'),
(38, '142', 'IT', 'Mail ID', 'master', '2024-07-11 03:25:44'),
(39, '142', 'Quality Head', 'Discussion & Feedback', 'master', '2024-07-11 03:26:44'),
(40, '142', 'Quality Head', 'Summing up', 'master', '2024-07-11 03:26:44'),
(41, '142', 'Quality Assurance', 'Standard Operating Procedure', 'master', '2025-08-26 02:25:11'),
(42, '142', 'Quality Assurance', 'sop', 'master', '2025-08-26 02:38:41'),
(43, '142', 'Quality Assurance', 'sop', 'master', '2025-08-26 02:41:36'),
(44, '142', 'Quality Assurance', 'sop', 'master', '2025-08-26 02:45:20'),
(45, '142', 'Quality Assurance', 'sop', 'master', '2025-08-26 03:08:42');

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

--
-- Table structure for table `inhailer_delivery`
--

CREATE TABLE `inhailer_delivery` (
  `id` int(11) NOT NULL,
  `ign_no` text DEFAULT NULL,
  `inhailer_id` text DEFAULT NULL,
  `engraved_by` text DEFAULT NULL,
  `engraved_date` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `ini_mfr`
--

CREATE TABLE `ini_mfr` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `mfr_no` text DEFAULT NULL,
  `dosage_form` text DEFAULT NULL,
  `process_type` text DEFAULT NULL,
  `product_code` text DEFAULT NULL,
  `average_wt` text DEFAULT NULL,
  `unit` text DEFAULT NULL,
  `color` text DEFAULT NULL,
  `description` text DEFAULT NULL,
  `packing_type` text DEFAULT NULL,
  `packing_style` text DEFAULT NULL,
  `primary_subtype` text DEFAULT '',
  `unit_wt` text DEFAULT NULL,
  `shipper_qty` text DEFAULT NULL,
  `shipper_unit` text DEFAULT NULL,
  `primary_qty` text DEFAULT NULL,
  `primary_unit` text DEFAULT NULL,
  `mono_qty` text DEFAULT NULL,
  `mono_unit` text DEFAULT NULL,
  `outer_qty` text DEFAULT NULL,
  `outer_unit` text DEFAULT NULL,
  `ismono` text DEFAULT NULL,
  `isouter` text DEFAULT NULL,
  `israw` text DEFAULT 'pending',
  `raw_materials` text DEFAULT NULL,
  `additional_materials` text DEFAULT NULL,
  `ispacking` text DEFAULT 'pending',
  `packing_materials` text DEFAULT NULL,
  `isequipment` text DEFAULT 'pending',
  `equipments` text DEFAULT NULL,
  `isstages` text DEFAULT 'pending',
  `stages` text DEFAULT NULL,
  `isstep` text DEFAULT 'pending',
  `steps` text DEFAULT NULL,
  `isbatch` text DEFAULT 'pending',
  `batch_size` text DEFAULT NULL,
  `lots` text DEFAULT NULL,
  `batch_materials` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `mfr` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `inprocess_check`
--

CREATE TABLE `inprocess_check` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `department` text DEFAULT NULL,
  `activity` text DEFAULT NULL,
  `bmr_no` text DEFAULT NULL,
  `batch_no` text DEFAULT NULL,
  `stage` text DEFAULT NULL,
  `checkpoints` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `entry_time` text DEFAULT NULL,
  `check_by` text DEFAULT NULL,
  `check_date` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `inprocess_checks`
--

CREATE TABLE `inprocess_checks` (
  `id` int(11) NOT NULL,
  `stages` text DEFAULT '0',
  `steps` text DEFAULT '0',
  `check_point` text DEFAULT '0',
  `Department` text DEFAULT '0',
  `parameter` text DEFAULT '0',
  `frequency` text DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `inprocess_sampling`
--

CREATE TABLE `inprocess_sampling` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `product_code` text DEFAULT NULL,
  `batch_no` text DEFAULT NULL,
  `batch_size` text DEFAULT NULL,
  `lot_no` text DEFAULT NULL,
  `stage` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `request_by` text DEFAULT NULL,
  `request_date` text DEFAULT NULL,
  `sampled_by` text DEFAULT NULL,
  `sampled_date` text DEFAULT NULL,
  `check_by` text DEFAULT NULL,
  `check_date` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `inspection_announcement`
--

CREATE TABLE `inspection_announcement` (
  `id` int(11) NOT NULL,
  `a_id` text DEFAULT NULL,
  `p_id` text DEFAULT NULL,
  `auditors_name` text DEFAULT NULL,
  `planned_date` text DEFAULT NULL,
  `qc` text DEFAULT NULL,
  `qa` text DEFAULT NULL,
  `production` text DEFAULT NULL,
  `store` text DEFAULT NULL,
  `rnd` text DEFAULT NULL,
  `ipqa` text DEFAULT NULL,
  `a_id1` text DEFAULT NULL,
  `ischecker` text DEFAULT '0',
  `isapprover` text DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `inspection_announcement`
--

INSERT INTO `inspection_announcement` (`id`, `a_id`, `p_id`, `auditors_name`, `planned_date`, `qc`, `qa`, `production`, `store`, `rnd`, `ipqa`, `a_id1`, `ischecker`, `isapprover`) VALUES
(1, 'AID001', 'PID002', 'DGMP-3847', '2025-07-01', 'yes', 'no', 'no', 'no', 'no', 'no', '1', '0', '0');

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

--
-- Table structure for table `inspection_plan`
--

CREATE TABLE `inspection_plan` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `p_id` text DEFAULT NULL,
  `from_date` text DEFAULT NULL,
  `to_date` text DEFAULT NULL,
  `inspection_requirement` text DEFAULT NULL,
  `qc` text DEFAULT 'no',
  `qa` text DEFAULT 'no',
  `production` text DEFAULT 'no',
  `store` text DEFAULT 'no',
  `rnd` text DEFAULT 'no',
  `ipqa` text DEFAULT 'no',
  `proposal_outcome` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `accept_remark` text DEFAULT NULL,
  `p_id1` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `inspection_plan`
--

INSERT INTO `inspection_plan` (`id`, `plant_id`, `user_no`, `p_id`, `from_date`, `to_date`, `inspection_requirement`, `qc`, `qa`, `production`, `store`, `rnd`, `ipqa`, `proposal_outcome`, `status`, `accept_remark`, `p_id1`) VALUES
(1, ' ', 'gmpdemo1', 'PID001', '2025-04-21', '2025-04-23', 'NA', 'no', 'yes', 'no', 'no', 'no', 'no', 'NA', 'pending', ' ', '1'),
(2, ' ', 'gmpdemo1', 'PID002', '2025-07-15', '2025-07-02', 'NA', 'yes', 'no', 'no', 'no', 'no', 'no', 'ok', 'pending', ' ', '2');

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

--
-- Table structure for table `inspection_team`
--

CREATE TABLE `inspection_team` (
  `id` int(11) NOT NULL,
  `t_id` text DEFAULT NULL,
  `p_id` text DEFAULT NULL,
  `from_date` text DEFAULT NULL,
  `to_date` text DEFAULT NULL,
  `department` text DEFAULT NULL,
  `auditors_name` text DEFAULT NULL,
  `audit_role` text DEFAULT NULL,
  `key_expert` text DEFAULT NULL,
  `assigned_department` text DEFAULT NULL,
  `t_id1` text DEFAULT NULL,
  `trainer` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `inspection_team`
--

INSERT INTO `inspection_team` (`id`, `t_id`, `p_id`, `from_date`, `to_date`, `department`, `auditors_name`, `audit_role`, `key_expert`, `assigned_department`, `t_id1`, `trainer`) VALUES
(1, 'TID001', 'PID002', '2025-07-08', '2025-07-25', 'Quality Control', 'DGMP-3847', 'Lead', 'Quality Control', 'Quality Control', '1', '');

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

--
-- Table structure for table `instructions`
--

CREATE TABLE `instructions` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `dosage_form` text DEFAULT NULL,
  `product_code` text DEFAULT NULL,
  `instructions` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `approve_by` text DEFAULT NULL,
  `approve_date` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `instruments`
--

CREATE TABLE `instruments` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `department` text DEFAULT NULL,
  `instrument_name` text DEFAULT NULL,
  `location` text DEFAULT NULL,
  `tag_no` text DEFAULT NULL,
  `instrument_from` text DEFAULT NULL,
  `instrument_to` text DEFAULT NULL,
  `operating_from` text DEFAULT NULL,
  `operating_to` text DEFAULT NULL,
  `tolerance_from` text DEFAULT NULL,
  `tolerance_to` text DEFAULT NULL,
  `frequency` text DEFAULT NULL,
  `calibration_mode` text DEFAULT NULL,
  `status` text DEFAULT 'approve',
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `interviewers`
--

CREATE TABLE `interviewers` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `candidate_id` text DEFAULT NULL,
  `department` text DEFAULT NULL,
  `designation` text DEFAULT NULL,
  `employee` text DEFAULT NULL,
  `emp_status` text DEFAULT 'pending',
  `college_name` text DEFAULT NULL,
  `passing_year` text DEFAULT NULL,
  `experience_year` text DEFAULT NULL,
  `experience_month` text DEFAULT NULL,
  `key_role` text DEFAULT NULL,
  `no_of_members` text DEFAULT NULL,
  `family_occupation` text DEFAULT NULL,
  `financial_background` text DEFAULT NULL,
  `attitude` text DEFAULT NULL,
  `confidence` text DEFAULT NULL,
  `willingness` text DEFAULT NULL,
  `remark` text DEFAULT NULL,
  `data` text DEFAULT NULL,
  `rating` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `interviewers`
--

INSERT INTO `interviewers` (`id`, `plant_id`, `user_no`, `candidate_id`, `department`, `designation`, `employee`, `emp_status`, `college_name`, `passing_year`, `experience_year`, `experience_month`, `key_role`, `no_of_members`, `family_occupation`, `financial_background`, `attitude`, `confidence`, `willingness`, `remark`, `data`, `rating`) VALUES
(1, ' ', 'gmpdemo1', '19', 'Production', 'Manager', 'DGMP-114', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '),
(2, ' ', 'gmpdemo1', '19', 'Production', 'Production Manager', 'DGMP-105', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '),
(3, ' ', 'gmpdemo1', '25', 'Quality Control', 'Manager', 'DGMP-103', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '),
(4, ' ', 'gmpdemo1', '25', 'Quality Assurance', 'Manager', 'DGMP- 246', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '),
(5, ' ', 'gmpdemo1', '23', 'Quality Assurance', 'Manager', 'DGMP- 246', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '),
(6, ' ', 'gmpdemo1', '23', 'Quality Assurance', 'Manager', 'DGMP- 246', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '),
(7, ' ', 'gmpdemo1', '27', 'Quality Assurance', 'QA Assistant', 'GMP229', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '),
(8, ' ', 'gmpdemo1', '32', 'Human Resource', 'HR Manager', 'undefined', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '),
(9, ' ', 'gmpdemo1', '31', 'Quality Assurance', 'Junior Operator', 'gmp333', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '),
(10, ' ', 'gmpdemo1', '30', 'Quality Assurance', 'QA Assistant', 'GMP229', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '),
(11, ' ', 'gmpdemo1', '33', 'Quality Assurance', 'QA Assistant', 'DGMP442', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '),
(12, ' ', 'gmpdemo1', '28', 'Quality Control', 'QC Manager', 'app', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '),
(13, ' ', 'gmpdemo1', '29', 'Admin', 'Admin Manager', 'GMP230', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '),
(14, ' ', 'gmpdemo1', '26', 'Account', 'Sr. Account Manager', 'DGMP-109', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '),
(15, ' ', 'gmpdemo1', '24', 'IT', 'Software Tester', '', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '),
(16, ' ', 'gmpdemo1', '34', 'Business Development', 'Business Development Manager', 'CPPL102', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '),
(17, NULL, 'gmpdemo1', '35', 'Quality Assurance', 'Officer QA & GMP Software Trainee', 'APPL897', 'pending', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(18, NULL, 'gmpdemo1', '37', 'Account', 'Sr. Account Manager', 'DGMP-109', 'pending', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `investigation_report`
--

CREATE TABLE `investigation_report` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `material_code` text DEFAULT NULL,
  `initiation_date` text DEFAULT NULL,
  `investigation_type` text DEFAULT NULL,
  `investigation_reportno` text DEFAULT NULL,
  `sample_type` text DEFAULT NULL,
  `sample_date` text DEFAULT NULL,
  `sampling_point` text DEFAULT NULL,
  `area` text DEFAULT NULL,
  `grade` text DEFAULT NULL,
  `water_type` text DEFAULT NULL,
  `ar_no` text DEFAULT NULL,
  `standard_limit` text DEFAULT NULL,
  `alter_limit` text DEFAULT NULL,
  `action_limit` text DEFAULT NULL,
  `result` text DEFAULT NULL,
  `product_details` text DEFAULT NULL,
  `product_code` text DEFAULT NULL,
  `product_type` text DEFAULT NULL,
  `batch_no` text DEFAULT NULL,
  `investigaton_date` text DEFAULT NULL,
  `mfg_date` text DEFAULT NULL,
  `in_startdate` text DEFAULT NULL,
  `description` text DEFAULT NULL,
  `ass_batch_no` text DEFAULT NULL,
  `ass_item_code` text DEFAULT NULL,
  `ass_material` text DEFAULT NULL,
  `ass_event` text DEFAULT NULL,
  `ass_product` text DEFAULT NULL,
  `classification` text DEFAULT NULL,
  `regular_impact` text DEFAULT NULL,
  `ext_impact` text DEFAULT NULL,
  `impact_ass` text DEFAULT NULL,
  `entry_on` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `invoice_entry`
--

CREATE TABLE `invoice_entry` (
  `id` int(11) NOT NULL,
  `invoice_no` text DEFAULT '0',
  `po_no` text DEFAULT '0',
  `invoice_date` text DEFAULT '0',
  `invoice_amt` text DEFAULT '0',
  `tax_amt` text DEFAULT '0',
  `net_amt` text DEFAULT '0',
  `plant_id` text DEFAULT '0',
  `payment_recieved` text DEFAULT '0',
  `payment_recived_dt` text DEFAULT '0',
  `invoice_balance` text DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `invoice_entry`
--

INSERT INTO `invoice_entry` (`id`, `invoice_no`, `po_no`, `invoice_date`, `invoice_amt`, `tax_amt`, `net_amt`, `plant_id`, `payment_recieved`, `payment_recived_dt`, `invoice_balance`) VALUES
(1, 'TIN102', 'PO/0051/25-26', '2025-04-04', '225000', '11025', '236025.00', '142', '0', '0', '0'),
(2, 'TIN212', 'PO/0059/25-26', '2025-04-05', '210000', '10000', '220000.00', '142', '0', '0', '0'),
(3, 'NT74571', 'PO/00510/25-26', '2025-04-08', '212800', '22800', '235600.00', '142', '0', '0', '0'),
(4, 'TN835435', 'PO/00511/25-26', '2025-04-08', '219520', '23520', '243040.00', '142', '0', '0', '0'),
(5, 'TN53523', 'PO/00512/25-26', '2025-04-08', '274400', '29400', '303800.00', '142', '0', '0', '0'),
(6, 'TN97344', 'PO/00513/25-26', '2025-04-08', '199500', '9500', '209000.00', '142', '0', '0', '0'),
(7, 'TN72532', 'PO/00514/25-26', '2025-04-08', '168000', '18000', '186000.00', '142', '0', '0', '0'),
(8, 'TIN215', 'PO/0058/25-26', '2025-04-07', '280000', '30000', '310000.00', '142', '0', '0', '0'),
(9, 'TN3643', 'PO/00515/25-26', '2025-04-08', '168000', '18000', '186000.00', '142', '0', '0', '0'),
(10, 'TN63123', 'PO/00516/25-26', '2025-04-08', '154350', '7350', '161700.00', '142', '0', '0', '0'),
(11, 'TN0863', 'PO/00517/25-26', '2025-04-08', '157500', '7500', '165000.00', '142', '0', '0', '0'),
(12, 'TN97543', 'PO/00518/25-26', '2025-04-08', '157500', '7500', '165000.00', '142', '0', '0', '0'),
(13, 'TN3652', 'PO/00519/25-26', '2025-04-08', '157500', '7500', '165000.00', '142', '0', '0', '0'),
(14, 'TN2362', 'PO/00520/25-26', '2025-04-08', '157500', '7500', '165000.00', '142', '0', '0', '0'),
(15, 'TN0364t5', 'PO/00521/25-26', '2025-04-08', '157500', '7500', '165000.00', '142', '0', '0', '0'),
(16, 'TN09864', 'PO/0052/25-26', '2025-04-08', '246960', '26460', '273420.00', '142', '0', '0', '0'),
(17, 'TIN802', 'PO/0054/25-26', '2025-04-05', '280000', '30000', '310000.00', '142', '0', '0', '0'),
(18, 'TIN4402', 'PO/0055/25-26', '2025-04-03', '280000', '30000', '310000.00', '142', '0', '0', '0'),
(19, 'TIN702', 'PO/0056/25-26', '2025-04-07', '262500', '12500', '275000.00', '142', '0', '0', '0'),
(20, 'TIN343', 'PO/00523/25-26', '2025-04-08', '250000', '30000', '280000.00', '142', '0', '0', '0'),
(21, 'TIN565', 'PO/00524/25-26', '2025-04-08', '250000', '30000', '280000.00', '142', '0', '0', '0'),
(22, 'TIN586', 'PO/00525/25-26', '2025-04-05', '280000', '30000', '310000.00', '142', '0', '0', '0'),
(23, 'TIN432', 'PO/00535/25-26', '2025-04-03', '200000', '24000', '224000.00', '142', '0', '0', '0'),
(24, 'TIN702', 'PO/00536/25-26', '2025-04-03', '200000', '10000', '210000.00', '142', '0', '0', '0'),
(25, 'TN2476423', 'PO/00522/25-26', '2025-04-09', '280000', '30000', '310000.00', '142', '0', '0', '0'),
(26, 'TN2Y85632', 'PO/00526/25-26', '2025-04-09', '280000', '30000', '310000.00', '142', '0', '0', '0'),
(27, 'TN2232', 'PO/00529/25-26', '2025-04-09', '210000', '10000', '220000.00', '142', '0', '0', '0'),
(28, 'TN2642', 'PO/00530/25-26', '2025-04-09', '205800', '9800', '215600.00', '142', '0', '0', '0'),
(29, 'TN8632', 'PO/00531/25-26', '2025-04-09', '210000', '10000	', '220000.00', '142', '0', '0', '0'),
(30, 'TN2364', 'PO/00532/25-26', '2025-04-09', '210000', '10000', '220000.00', '142', '0', '0', '0'),
(31, 'TN237', 'PO/00533/25-26', '2025-04-09', '210000', '10000', '220000.00', '142', '0', '0', '0'),
(32, 'TN233', 'PO/00534/25-26', '2025-04-09', '210000', '10000', '220000.00', '142', '0', '0', '0'),
(33, 'TIN802', 'PO/00537/25-26', '2025-04-05', '210000', '10000', '220000.00', '142', '0', '0', '0'),
(34, 'TIN442', 'PO/00538/25-26', '2025-04-04', '210000', '10000', '220000.00', '142', '0', '0', '0'),
(35, 'TIN821', 'PO/00540/25-26', '2025-04-05', '250000', '29400', '279400.00', '142', '0', '0', '0'),
(36, 'TIN562', 'PO/00541/25-26', '2025-06-25', '250000', '29400	', '279400.00', '142', '0', '0', '0'),
(37, 'TIN0013', 'PO/00542/25-26', '2025-04-05', '250000', '29400', '279400.00', '142', '0', '0', '0'),
(38, 'TIN902', 'PO/00543/25-26', '2025-04-05', '225000', '26460', '251460.00', '142', '0', '0', '0'),
(39, 'TIN662', 'PO/00544/25-26', '2025-04-04', '225000', '26460', '251460.00', '142', '0', '0', '0'),
(40, 'TIN552', 'PO/00545/25-26', '2025-04-03', '225000', '26460', '251460.00', '142', '0', '0', '0'),
(41, 'TIN662', 'PO/00547/25-26', '2025-04-10', '250000', '29400', '279400.00', '142', '0', '0', '0'),
(42, 'TIN663', 'PO/00547/25-26', '2025-04-17', '250000', '29400', '279400.00', '142', '0', '0', '0'),
(43, 'TIN402', 'PO/00548/25-26', '2025-04-05', '250000', '29400', '279400.00', '142', '0', '0', '0'),
(44, 'TIN672', 'PO/00551/25-26', '2025-04-03', '250000', '29400', '279400.00', '142', '0', '0', '0'),
(45, 'TIN513', 'PO/00552/25-26', '2025-04-04', '250000', '29400', '279400.00', '142', '0', '0', '0'),
(46, 'TIN891', 'PO/00553/25-26', '2025-04-08', '250000', '29400', '279400.00', '142', '0', '0', '0'),
(47, 'TIN892', 'PO/00554/25-26', '2025-04-04', '200000', '23520', '223520.00', '142', '0', '0', '0'),
(48, 'TIN602', 'PO/00555/25-26', '2025-04-05', '250000', '29400', '279400.00', '142', '0', '0', '0'),
(49, 'TIN702', 'PO/00559/25-26', '2025-04-05', '250000', '29400', '279400.00', '142', '0', '0', '0'),
(50, 'TIN602', 'PO/00560/25-26', '2025-04-04', '250000', '12250', '262250.00', '142', '0', '0', '0'),
(51, 'TIN772', 'PO/00556/25-26', '2025-04-03', '200000', '23520', '223520.00', '142', '0', '0', '0'),
(52, 'TIN562', 'PO/00561/25-26', '2025-04-04', '110000', '12936', '122936.00', '142', '0', '0', '0'),
(53, 't9876', 'PO/00569/25-26', '2025-04-17', '250000', '90', '250090.00', '142', '0', '0', '0'),
(54, 'T7895', 'PO/00568/25-26', '2025-04-17', '2000', '200', '2200.00', '142', '0', '0', '0'),
(55, 'TIN668', 'PO/00562/25-26', '2025-04-05', '125000', '14700', '139700.00', '142', '0', '0', '0'),
(56, 'TIN668', 'PO/00562/25-26', '2025-04-05', '125000', '14700', '139700.00', '142', '0', '0', '0'),
(57, 'TIN668', 'PO/00562/25-26', '2025-04-05', '125000', '14700', '139700.00', '142', '0', '0', '0'),
(58, 'TIN668', 'PO/00562/25-26', '2025-04-05', '125000', '14700', '139700.00', '142', '0', '0', '0'),
(59, 'TIN8809', 'PO/00563/25-26', '2025-04-07', '125000', '14700', '139700.00', '142', '0', '0', '0'),
(60, 'TIN94734', 'PO/00558/25-26', '2025-05-03', '456', '56456', '56912.00', '142', '0', '0', '0'),
(61, 'TIN902', 'PO/00564/25-26', '2025-04-05', '137200', '14700', '151900.00', '142', '0', '0', '0'),
(62, 'TN0843', 'PO/00571/25-26', '2025-05-12', '102900', '4900', '107800.00', '142', '0', '0', '0'),
(63, 'TIN47643', 'PO/00568/25-26', '2025-05-03', '', '', '', '142', '0', '0', '0'),
(64, '56754', 'POG25/001', '2025-05-21', '1000', '200', '1200.00', '142', '0', '0', '0'),
(65, '56754', 'POG25/001', '2025-05-21', '1000', '200', '1200.00', '142', '0', '0', '0'),
(66, 'TIN3302', 'PO/00565/25-26', '2025-04-05', '', '', '', '142', '0', '0', '0'),
(67, 'TN374', 'PO/00576/25-26', '2025-05-21', '54523823', '42500', '54566323.00', '142', '0', '0', '0'),
(68, 'TN232', 'PO/00578/25-26', '2025-05-26', '400000', '43000', '443000.00', '142', '0', '0', '0'),
(69, 'TIN991', 'PO/0053/25-26', '2025-04-03', '', '', '', '142', '0', '0', '0'),
(70, 'TIN533', 'PO/00549/25-26', '2025-04-04', '', '', '', '142', '0', '0', '0'),
(71, 'CHAN01qq', 'PO/00576/25-26', '2025-06-03', '', '', '', '142', '0', '0', '0'),
(72, 'Nt', 'PO/00582/25-26', '2025-06-06', '200', '40', '240.00', '142', '0', '0', '0'),
(73, 'TIN-0001', 'PO/00583/25-26', '2025-06-06', '100', '10', '110.00', '142', '0', '0', '0'),
(74, 'TN4857', 'PO/00578/25-26', '2025-06-24', '', '', '', '142', '0', '0', '0'),
(75, '1267', 'PO/00590/25-26', '2025-06-28', '262500', '12500', '275000.00', '142', '0', '0', '0'),
(76, 'TIN217', 'PO/0057/25-26', '2025-04-04', '280000', '30000', '310000.00', '142', '0', '0', '0'),
(77, 'TN263423', 'PO/00588/25-26', '2025-06-20', '499800', '9800', '509600.00', '142', '0', '0', '0'),
(78, 'TN232', 'PO/00587/25-26', '2025-06-20', '94500', '4500', '99000.00', '142', '0', '0', '0'),
(79, 'TN234', 'PO/00591/25-26', '2025-06-20', '28000', '3000	', '31000.00', '142', '0', '0', '0'),
(80, 'TN2434', 'PO/00592/25-26', '2025-06-20', '52500', '2500', '55000.00', '142', '0', '0', '0'),
(81, 'CN0001', 'PO/0051/25-26', '2025-06-28', '44800', '4800	', '49600.00', '142', '0', '0', '0'),
(82, 'CN0002', 'PO/0052/25-26', '2025-06-28', '112000', '12000', '124000.00', '142', '0', '0', '0'),
(83, 'CN0003', 'PO/0053/25-26', '2025-06-28', '126000', '6000', '132000.00', '142', '0', '0', '0'),
(84, 'CN0004', 'PO/0054/25-26', '2025-06-28', '224000	', '24000', '248000.00', '142', '0', '0', '0'),
(85, 'CN0005', 'PO/0055/25-26', '2025-06-28', '61600', '6600', '68200.00', '142', '0', '0', '0'),
(86, 'CN0006', 'PO/0056/25-26', '2025-06-28', '2950000', '450000', '3400000.00', '142', '0', '0', '0'),
(87, 'CN0007', 'PO/0057/25-26', '2025-06-28', '30800', '3300', '34100.00', '142', '0', '0', '0'),
(88, 'CN0008', 'PO/0058/25-26', '2025-06-28', '510000', '10000', '520000.00', '142', '0', '0', '0'),
(89, '123', 'PO/00520/25-26', '2025-06-30', '', '', '', '142', '0', '0', '0'),
(90, 'TN232', 'PO/00521/25-26', '2025-07-04', '10290', '490', '10780.00', '142', '0', '0', '0'),
(91, 'CHL11133511', 'PO/00527/25-26', '2025-07-04', '207680', '31680', '239360.00', '142', '0', '0', '0'),
(92, 'CHL11133511', 'PO/00527/25-26', '2025-07-04', '207680', '31680', '239360.00', '142', '0', '0', '0'),
(93, 'CHL1113352255', 'PO/00528/25-26', '2025-07-04', '20768', '3168', '23936.00', '142', '0', '0', '0'),
(94, 'CN00011231', 'PO/00519/25-26', '2025-07-04', '', '', '', '142', '0', '0', '0'),
(95, 'CHL11133500', 'PO/00531/25-26', '2025-07-07', '	35885', '	3845', '39730.00', '142', '0', '0', '0'),
(96, 'CHL11133500', 'PO/00531/25-26', '2025-07-07', '	35885', '	3845', '39730.00', '142', '0', '0', '0'),
(97, 'CHL111335AA22', 'PO/00535/25-26', '2025-07-05', '', '', '', '142', '0', '0', '0'),
(98, 'CHL11133588', 'PO/00540/25-26', '2025-07-05', '', '', '', '142', '0', '0', '0'),
(99, 'CHL111335AA22', 'PO/00543/25-26', '2025-07-05', '2006000', '306000', '2312000.00', '142', '0', '0', '0'),
(100, 'CHL1113357777', 'PO/00544/25-26', '2025-07-05', '2270843', '346400', '2617243.00', '142', '0', '0', '0'),
(101, 'CHL111335AA889', 'PO/00545/25-26', '2025-07-07', '', '', '', '142', '0', '0', '0'),
(102, 'CHL111335AA889', 'PO/00545/25-26', '2025-07-07', '', '', '', '142', '0', '0', '0'),
(103, '12345', 'PO/00547/25-26', '2025-07-25', '', '', '0.00', '142', '0', '0', '0'),
(104, 'CHL111335AAAA', 'PO/00546/25-26', '2025-07-07', '202960', '30960', '233920.00', '142', '0', '0', '0'),
(105, 'CHL111335AA.33', 'PO/00549/25-26', '2025-07-07', '2168', '43', '2211.00', '142', '0', '0', '0'),
(106, 'CHL111335AAQZA', 'PO/00551/25-26', '2025-07-07', '1557600', '237600', '1795200.00', '142', '0', '0', '0'),
(107, 'CHLN0001', 'PO/00552/25-26', '2025-07-07', '100000', '16560', '116560.00', '142', '0', '0', '0'),
(108, 'CHLN002', 'PO/00553/25-26', '2025-07-07', '1933000', '302708', '2235708.00', '142', '0', '0', '0'),
(109, 'CHLN003', 'PO/00554/25-26', '2025-07-07', '200600', '30600', '231200.00', '142', '0', '0', '0'),
(110, 'CHLN004', 'PO/00555/25-26', '2025-07-07', '250750', '38250', '289000.00', '142', '0', '0', '0'),
(111, 'CHL1113351188', 'PO/00557/25-26', '2025-07-07', '	23895', '3645', '27540.00', '142', '0', '0', '0'),
(112, 'CHL111335AAZAX', 'PO/00559/25-26', '2025-07-09', '109760', '	11760', '121520.00', '142', '0', '0', '0'),
(113, 'CH0254', 'PO/00560/25-26', '2025-07-10', '14012500', '2137500', '16150000.00', '142', '0', '0', '0'),
(114, 'CHL111335AAJHKJ', 'PO/00561/25-26', '2025-07-10', '100000', '13500', '113500.00', '142', '0', '0', '0'),
(115, 'CHL111335AASSAA', 'PO/00562/25-26', '2025-07-10', '483800', '73800', '557600.00', '142', '0', '0', '0'),
(116, 'CHL111335AASSAA', 'PO/00562/25-26', '2025-07-10', '483800', '73800', '557600.00', '142', '0', '0', '0'),
(117, 'CHL111335AA MM', 'PO/00563/25-26', '2025-07-10', '16116', '316', '16432.00', '142', '0', '0', '0'),
(118, 'CH2145', 'PO/00570/25-26', '2025-07-19', '345168	', '6768', '351936.00', '142', '0', '0', '0'),
(119, '12345', 'PO/00581/25-26', '2025-07-15', '200', '4', '204.00', '142', '0', '0', '0'),
(120, '12345', 'PO/00590/25-26', '2025-07-15', '4998', '98', '5096.00', '142', '0', '0', '0'),
(121, 'CN551', 'PO/00592/25-26', '2025-07-15', '242250', '4750', '247000.00', '142', '0', '0', '0'),
(122, 'CH455', 'PO/00593/25-26', '2025-07-21', '236000', '36000', '272000.00', '142', '0', '0', '0'),
(123, 'CH-0359', 'PO/00594/25-26', '2025-07-15', '155040', '3040', '158080.00', '142', '0', '0', '0'),
(124, 'CH-0358', 'PO/00595/25-26', '2025-07-15', '155040', '3040', '158080.00', '142', '0', '0', '0'),
(125, 'CN551', 'PO/00596/25-26', '2025-07-22', '9690', '190', '9880.00', '142', '0', '0', '0'),
(126, 'CH-035', 'PO/00597/25-26', '2025-07-21', '109760', '11760', '121520.00', '142', '0', '0', '0'),
(127, 'CHL111335AA85', 'PO/00550/25-26', '2025-07-07', '542', '11', '553.00', '142', '0', '0', '0'),
(128, 'TN232', 'PO/00521/25-26', '2025-07-04', '49000', '0', '49000.00', '142', '0', '0', '0'),
(129, 'CHL111335AA00000', 'PO/00558/25-26', '2025-07-09', '', '', '', '142', '0', '0', '0'),
(130, 'CHL111335AA00000', 'PO/00558/25-26', '2025-07-09', '', '', '', '142', '0', '0', '0'),
(131, '12345', 'PO/00530/25-26', '2025-07-15', '', '', '', '142', '0', '0', '0'),
(132, 'CH457', 'PO/00590/25-26', '2025-07-23', '', '', '', '142', '0', '0', '0'),
(133, 'CH45826', 'PO/005102/25-26', '2025-08-16', '9180', '180', '9360.00', '142', '0', '0', '0'),
(134, 'CH45698', 'PO/005104/25-26', '2025-08-16', '', '', '', '142', '0', '0', '0'),
(135, 'CH45698', 'PO/005104/25-26', '2025-08-16', '50400', '5400', '55800.00', '142', '0', '0', '0'),
(136, '456', 'PO/005106/25-26', '2025-08-16', '39900', '1900', '41800.00', '142', '0', '0', '0'),
(137, '456', 'PO/005106/25-26', '2025-08-16', '39900', '1900', '41800.00', '142', '0', '0', '0'),
(138, '12345', 'PO/005107/25-26', '2025-08-16', '2', '2', '4.00', '142', '0', '0', '0'),
(139, 'TN7855', 'PO/005108/25-26', '2025-08-16', '178500', '3500', '182000.00', '142', '0', '0', '0'),
(140, '679', 'PO/005109/25-26', '2025-08-16', '500', '500', '1000.00', '142', '0', '0', '0'),
(141, '9325', 'PO/005110/25-26', '2025-08-17', '165375', '7875', '173250.00', '142', '0', '0', '0'),
(142, '1234', 'PO/005113/25-26', '2025-08-17', '10000', '0', '10000.00', '142', '0', '0', '0'),
(143, '0053', 'PO/005114/25-26', '2025-08-17', '3675', '175', '3850.00', '142', '0', '0', '0'),
(144, '2003', 'PO/005121/25-26', '2025-08-25', '', '', '', '142', '0', '0', '0'),
(145, 'TX477', 'PO/005122/25-26', '2025-08-26', '1000', '10', '1010.00', '142', '0', '0', '0'),
(146, '123', 'PO/005125/25-26', '2025-08-20', '2', '2', '4.00', '142', '0', '0', '0'),
(147, 'TX789', 'PO/005127/25-26', '2025-08-20', '500', '250', '750.00', '142', '0', '0', '0'),
(148, '2154', 'PO/005130/25-26', '2025-08-29', '1000', '300', '1300.00', '142', '0', '0', '0'),
(149, '0055', 'PO/005131/25-26', '2025-08-24', '77000	', '0', '77000.00', '142', '0', '0', '0'),
(150, '0055', 'PO/005133/25-26', '2025-08-31', '4590', '90', '4680.00', '142', '0', '0', '0'),
(151, '0055', 'PO/005133/25-26', '2025-08-31', '4590', '90', '4680.00', '142', '0', '0', '0'),
(152, 'kl41', 'PO/005134/25-26', '2025-08-21', '265500', '40500', '306000.00', '142', '0', '0', '0'),
(153, 'CH890', 'PO/005100/25-26', '2025-08-01', '640000	', '620160	', '1260160.00', '142', '0', '0', '0'),
(154, 'TIN-09', 'PO/005139/25-26', '2025-08-26', '2295000', '45000', '2340000.00', '142', '0', '0', '0'),
(155, 'TIN-09', 'PO/005141/25-26', '2025-08-29', '1000', '25', '1025.00', '142', '0', '0', '0'),
(156, '1234567', 'PO/005144/25-26', '2025-08-18', '', '', '', '142', '0', '0', '0'),
(157, '12345', 'PO/005146/25-26', '2025-08-20', '', '', '', '142', '0', '0', '0'),
(158, '0055', 'PO/005147/25-26', '2025-08-30', '38350', '5850', '44200.00', '142', '0', '0', '0'),
(159, 'TX1452', 'PO/005148/25-26', '2025-08-29', '265500	', '40500', '306000.00', '142', '0', '0', '0'),
(160, '0055', 'PO/005155/25-26', '2025-08-24', '314160', '6160', '320320.00', '142', '0', '0', '0'),
(161, 'CH45886', 'PO/005158/25-26', '2025-08-19', '50400', '5400', '55800.00', '142', '0', '0', '0'),
(162, 'CH-03547', 'PO/005159/25-26', '2025-08-19', '2494', '119', '2613.00', '142', '0', '0', '0'),
(163, 'CH1425', 'PO/005160/25-26', '2025-08-07', '50400', '5400', '55800.00', '142', '0', '0', '0'),
(164, 'CH1425', 'PO/005160/25-26', '2025-08-07', '50400', '5400', '55800.00', '142', '0', '0', '0'),
(165, 'QN00001', 'PO/005162/25-26', '2025-08-19', '99450', '1950', '101400.00', '142', '0', '0', '0'),
(166, 'CN0001', 'PO/005163/25-26', '2025-08-19', '44800', '4800	', '49600.00', '142', '0', '0', '0'),
(167, '12345', 'PO/005164/25-26', '2025-08-18', '', '', '', '142', '0', '0', '0'),
(168, '678', 'PO/005165/25-26', '2025-08-27', '39900', '1900', '41800.00', '142', '0', '0', '0'),
(169, 'CN00021', 'PO/005167/25-26', '2025-08-19', '2626', '	401', '3027.00', '142', '0', '0', '0'),
(170, '12345', 'PO/005169/25-26', '2025-08-19', '', '', '', '142', '0', '0', '0'),
(171, 'CN00021', 'PO/005171/25-26', '2025-08-19', '50000', '0', '50000.00', '142', '0', '0', '0'),
(172, '678', 'POG25/001', '2025-08-20', '280000', '30000', '310000.00', '142', '0', '0', '0'),
(173, 'Ch41542', 'NPB/PO/25-26/0002', '2025-08-22', '1008000	', '108000', '1116000.00', '142', '0', '0', '0'),
(174, 'CN010101', 'NPB/PO/25-26/0001', '2025-08-19', '2783200', '298200', '3081400.00', '142', '0', '0', '0'),
(175, '678', 'NPB/PO/25-26/0004', '2025-08-19', '39900', '1900', '41800.00', '142', '0', '0', '0'),
(176, 'CH123', 'NPB/PO/25-26/0007', '2025-08-29', '50400', '5400', '55800.00', '142', '0', '0', '0'),
(177, 'CH1452', 'NPB/PO/25-26/0003', '2025-08-08', '224000	', '24000', '248000.00', '142', '0', '0', '0'),
(178, '12345', 'NPB/PO/25-26/0004', '2025-08-18', '', '', '', '142', '0', '0', '0'),
(179, 'CNO2O2O2', 'NPB/PO/25-26/0001', '2025-08-20', '44880', '	880', '45760.00', '142', '0', '0', '0'),
(180, '678', 'POG25/001', '2025-08-20', '39900', '1900', '41800.00', '142', '0', '0', '0'),
(181, 'CN00026', 'NPB/PO/25-26/0003', '2025-08-20', '54880', '5880', '60760.00', '142', '0', '0', '0'),
(182, 'CH1452', 'NPB/PO/25-26/0002', '2025-08-19', '252000', '27000', '279000.00', '142', '0', '0', '0'),
(183, 'CN0053', 'NPB/PO/25-26/0001', '2025-08-20', '	157080', '	3080', '160160.00', '142', '0', '0', '0'),
(184, 'CH201', 'NPB/PO/25-26/0002', '2025-08-19', '45900', '900', '46800.00', '142', '0', '0', '0'),
(185, 'CH201', 'NPB/PO/25-26/0002', '2025-08-19', '45900', '900', '46800.00', '142', '0', '0', '0'),
(186, 'CN432003', 'NPB/PO/25-26/0001', '2025-08-20', '	790600', '120600	', '911200.00', '142', '0', '0', '0'),
(187, 'CH890', 'POG25/001', '2025-08-19', '1053', '21	', '1074.00', '142', '0', '0', '0'),
(188, 'CH789', 'PO/005166/25-26', '2025-08-15', '19457', '2085	', '21542.00', '142', '0', '0', '0'),
(189, 'CH3454', 'NPB/PO/25-26/0006', '2025-08-15', '10488', '1124', '11612.00', '142', '0', '0', '0'),
(190, 'CN00004', 'NPB/PO/25-26/0001', '2025-08-20', '	40000', '0', '40000.00', '142', '0', '0', '0'),
(191, 'CH45', 'PO/005157/25-26', '2025-08-19', '4500', '0', '4500.00', '142', '0', '0', '0'),
(192, 'CH45', 'PO/005157/25-26', '2025-08-19', '4500', '0', '4500.00', '142', '0', '0', '0'),
(193, 'CH45', 'PO/005157/25-26', '2025-08-19', '4500', '0', '4500.00', '142', '0', '0', '0'),
(194, 'CH45', 'PO/005157/25-26', '2025-08-19', '4500', '0', '4500.00', '142', '0', '0', '0'),
(195, 'CH45', 'PO/005157/25-26', '2025-08-19', '4500', '0', '4500.00', '142', '0', '0', '0'),
(196, 'CH456', 'PO/005161/25-26', '2025-08-16', '10148', '1548', '11696.00', '142', '0', '0', '0'),
(197, 'CH456', 'PO/005161/25-26', '2025-08-16', '10148', '1548', '11696.00', '142', '0', '0', '0'),
(198, 'CH5463', 'PO/005156/25-26', '2025-08-08', '4355', '467', '4822.00', '142', '0', '0', '0'),
(199, 'CH4352', 'PO/005154/25-26', '2025-08-17', '9180', '180', '9360.00', '142', '0', '0', '0'),
(200, 'CH6547', 'PO/005142/25-26', '2025-08-08', '11291', '221', '11512.00', '142', '0', '0', '0'),
(201, 'CH6547', 'PO/005142/25-26', '2025-08-08', '11291', '221', '11512.00', '142', '0', '0', '0'),
(202, 'CH7654', 'PO/005126/25-26', '2025-08-06', '20400', '400', '20800.00', '142', '0', '0', '0'),
(203, 'CH258', 'NPB/PO/25-26/0002', '2025-08-14', '1020000	', '20000', '1040000.00', '142', '0', '0', '0'),
(204, 'CH4357', 'PO/005101/25-26', '2025-08-16', '510000', '10000', '520000.00', '142', '0', '0', '0'),
(205, 'CN00004', 'NPB/PO/25-26/0003', '2025-08-20', '165375', '	7875', '173250.00', '142', '0', '0', '0'),
(206, 'CH4532', 'PO/005126/25-26', '2025-08-07', '', '', '', '142', '0', '0', '0'),
(207, 'cn020202', 'NPB/PO/25-26/0004', '2025-08-20', '', '', '', '142', '0', '0', '0'),
(208, 'CH4532', 'PO/005120/25-26', '2025-08-06', '20400', '400	', '20800.00', '142', '0', '0', '0'),
(209, 'CH3452', 'PO/005156/25-26', '2025-08-16', '', '', '', '142', '0', '0', '0'),
(210, 'CH342', 'PO/005154/25-26', '2025-08-08', '', '', '', '142', '0', '0', '0'),
(211, 'CH-03557', 'NPB/PO/25-26/0005', '2025-08-20', '53200', '5700', '58900.00', '142', '0', '0', '0'),
(212, 'CN0053', 'NPB/PO/25-26/0007', '2025-08-21', '94350', '1850', '96200.00', '142', '0', '0', '0'),
(213, 'CH1452', 'NPB/PO/25-26/0008', '2025-08-09', '45900', '900', '46800.00', '142', '0', '0', '0'),
(214, 'CH5463', 'POG25/001', '2025-08-15', '1040	', '20', '1060.00', '142', '0', '0', '0'),
(215, 'CH3426', 'NPB/PO/25-26/0006', '2025-08-13', '35840', '3840	', '39680.00', '142', '0', '0', '0'),
(216, 'CH3245', 'PO/005142/25-26', '2025-08-14', '', '', '', '142', '0', '0', '0'),
(217, 'CN00004', 'NPB/PO/25-26/0003', '2025-08-21', '	157080', '	3080', '160160.00', '142', '0', '0', '0'),
(218, '678', 'POG25/001', '2025-08-21', '39900', '1900', '41800.00', '142', '0', '0', '0'),
(219, '678', 'NPB/PO/25-26/0001', '2025-08-21', '39900', '1900', '41800.00', '142', '0', '0', '0'),
(220, 'CH236', 'NPB/PO/25-26/0002', '2025-08-20', '525000	', '25000	', '550000.00', '142', '0', '0', '0'),
(221, 'CN00006', 'NPB/PO/25-26/0003', '2025-08-31', '	3540000', '540000', '4080000.00', '142', '0', '0', '0'),
(222, 'CH246', 'NPB/PO/25-26/0005', '2025-08-20', '40800', '800', '41600.00', '142', '0', '0', '0'),
(223, 'CH246', 'NPB/PO/25-26/0005', '2025-08-20', '40800', '800', '41600.00', '142', '0', '0', '0'),
(224, 'CN00009', 'NPB/PO/25-26/0006', '2025-08-21', '265500', '40500', '306000.00', '142', '0', '0', '0'),
(225, '678', 'NPB/PO/25-26/0007', '2025-08-21', '', '', '', '142', '0', '0', '0'),
(226, 'CN2903', 'NPB/PO/25-26/0008', '2025-08-21', '', '', '', '142', '0', '0', '0'),
(227, 'CN09091', 'NPB/PO/25-26/0009', '2025-08-21', '', '', '', '142', '0', '0', '0'),
(228, 'CN9325560053', 'NPB/PO/25-26/0010', '2025-08-21', '459000', '9000', '468000.00', '142', '0', '0', '0'),
(229, '678', 'NPB/PO/25-26/0011', '2025-08-21', '39900', '1900', '41800.00', '142', '0', '0', '0'),
(230, 'CH3421', 'NPB/PO/25-26/0012', '2025-08-07', '3121', '61', '3182.00', '142', '0', '0', '0'),
(231, 'TN754', 'PO/005151/25-26', '2025-08-22', '531000', '81000', '612000.00', '142', '0', '0', '0'),
(232, 'CH53426', 'NPB/PO/25-26/0013', '2025-08-15', '66150', '3150	', '69300.00', '142', '0', '0', '0'),
(233, 'CH2345', 'NPB/PO/25-26/0014', '2025-08-15', '2111', '41', '2152.00', '142', '0', '0', '0'),
(234, 'CH5463', 'NPB/PO/25-26/0015', '2025-08-20', '3611', '551', '4162.00', '142', '0', '0', '0'),
(235, 'CH 53647', 'PO/005168/25-26', '2025-08-15', '225000	', '0	', '225000.00', '142', '0', '0', '0'),
(236, 'CH3452', 'NPB/PO/25-26/0016', '2025-08-16', '3370', '514	', '3884.00', '142', '0', '0', '0'),
(237, 'CH5463', 'NPB/PO/25-26/0017', '2025-08-13', '21240', '3240', '24480.00', '142', '0', '0', '0'),
(238, 'CH6453', 'POG25/001', '2025-08-22', '18360', '360', '18720.00', '142', '0', '0', '0'),
(239, 'CH2341', 'POG25/001', '2025-08-15', '5040', '540', '5580.00', '142', '0', '0', '0'),
(240, 'CH5342', 'NPB/PO/25-26/0001', '2025-08-23', '72216', '11016', '83232.00', '142', '0', '0', '0'),
(241, 'CH4326', 'NPB/PO/25-26/0002', '2025-08-23', '4779', '729	', '5508.00', '142', '0', '0', '0'),
(242, 'CH3543', 'NPB/PO/25-26/0003', '2025-08-23', '6188', '663	', '6851.00', '142', '0', '0', '0'),
(243, 'CH5342', 'NPB/PO/25-26/0004', '2025-08-23', '16065	', '765', '16830.00', '142', '0', '0', '0'),
(244, 'CH5342', 'NPB/PO/25-26/0004', '2025-08-23', '16065	', '765', '16830.00', '142', '0', '0', '0'),
(245, 'CH13245', 'NPB/PO/25-26/0005', '2025-08-13', '9180', '180', '9360.00', '142', '0', '0', '0'),
(246, '12345', 'NPB/PO/25-26/0006', '2025-08-26', '', '', '', '142', '0', '0', '0'),
(247, '12345', 'NPB/PO/25-26/0007', '2025-08-26', '', '', '', '142', '0', '0', '0'),
(248, 'CH2345', 'NPB/PO/25-26/0008', '2025-08-25', '10080', '1080', '11160.00', '142', '0', '0', '0'),
(249, '12345', 'NPB/PO/25-26/0010', '2025-08-27', '', '', '', '142', '0', '0', '0'),
(250, '678', 'NPB/PO/25-26/0011', '2025-08-25', '', '', '', '142', '0', '0', '0'),
(251, 'CH2345', 'NPB/PO/25-26/0013', '2025-08-21', '45900	', '900', '46800.00', '142', '0', '0', '0'),
(252, '678', 'NPB/PO/25-26/0014', '2025-08-26', '39900', '1900', '41800.00', '142', '0', '0', '0'),
(253, '678', 'NPB/PO/25-26/0015', '2025-08-26', '39900', '1900', '41800.00', '142', '0', '0', '0'),
(254, 'CH451', 'NPB/PO/25-26/0016', '2025-08-26', '367200', '7200', '374400.00', '142', '0', '0', '0'),
(255, '678', 'NPB/PO/25-26/0017', '2025-08-26', '39900', '', '0.00', '142', '0', '0', '0'),
(256, 'CN00003', 'NPB/PO/25-26/0018', '2025-08-26', '165375', '7875', '173250.00', '142', '0', '0', '0'),
(257, '12345', 'NPB/PO/25-26/0019', '2025-08-28', '', '', '', '142', '0', '0', '0'),
(258, '678', 'NPB/PO/25-26/0020', '2025-08-26', '39900', '1900', '41800.00', '142', '0', '0', '0'),
(259, '12345', 'NPB/PO/25-26/0021', '2025-08-27', '', '', '', '142', '0', '0', '0'),
(260, '12345', 'NPB/PO/25-26/0022', '2025-08-27', '', '', '', '142', '0', '0', '0'),
(261, 'CN8237150053', 'NPB/PO/25-26/0023', '2025-08-26', '5900000', '900000	', '6800000.00', '142', '0', '0', '0'),
(262, '678', 'NPB/PO/25-26/0024', '2025-08-28', '39900', '1900', '41800.00', '142', '0', '0', '0'),
(263, '678', 'NPB/PO/25-26/0025', '2025-09-02', '', '', '', '142', '0', '0', '0'),
(264, '678', 'NPB/PO/25-26/0026', '2025-09-02', '39900', '1900', '41800.00', '142', '0', '0', '0'),
(265, 'tx24367', 'NPB/PO/25-26/0001', '2025-09-28', '900', '900', '1800.00', '142', '0', '0', '0'),
(266, 'tx33476', 'NPB/PO/25-26/0002', '2025-09-24', '2295', '45', '2340.00', '142', '0', '0', '0'),
(267, 'CN53647', 'POG25/001', '2025-09-23', '2295', '45', '2340.00', '142', '0', '0', '0'),
(268, 'CH-150', 'NPB/PO/25-26/0001', '2025-09-15', '2000', '36', '2036.00', '142', '0', '0', '0'),
(269, '678', 'NPB/PO/25-26/0026', '2025-09-02', '', '', '', '142', '0', '0', '0'),
(270, '12345', 'NPB/PO/25-26/0002', '2025-09-18', '31500', '1500', '33000.00', '142', '0', '0', '0'),
(271, 'CH3245', 'POG25/001', '2025-08-08', '2040', '40', '2080.00', '142', '0', '0', '0'),
(272, 'tn765', 'NPB/PO/25-26/0005', '2025-10-01', '250000', '30000', '280000.00', '143', '0', '0', '0'),
(273, 'CN3454', 'NPB/PO/25-26/0004', '2025-10-01', '1238', '113', '1351.00', '143', '0', '0', '0');

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

--
-- Table structure for table `invoice_entry_history`
--

CREATE TABLE `invoice_entry_history` (
  `tid` int(11) NOT NULL,
  `pay_mode` text DEFAULT NULL,
  `invoice_no` text DEFAULT NULL,
  `po_no` text DEFAULT NULL,
  `received_amt` text DEFAULT NULL,
  `transaction_no` text DEFAULT NULL,
  `entry_date` timestamp NULL DEFAULT current_timestamp(),
  `vendor_no` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `ipqc_spec`
--

CREATE TABLE `ipqc_spec` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `specification` text DEFAULT NULL,
  `limit_type` text DEFAULT NULL,
  `lower_limit` text DEFAULT NULL,
  `upper_limit` text DEFAULT NULL,
  `limit_unit` text DEFAULT '',
  `frequency` text DEFAULT '',
  `freq_unit` text DEFAULT NULL,
  `status` text DEFAULT 'APPROVED'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `issuance`
--

CREATE TABLE `issuance` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `category` text DEFAULT NULL,
  `standard_name` text DEFAULT NULL,
  `req_qty` text DEFAULT NULL,
  `req_unit` text DEFAULT NULL,
  `qty_issued` text DEFAULT NULL,
  `issued_unit` text DEFAULT NULL,
  `issued_by` text DEFAULT NULL,
  `issued_to` text DEFAULT NULL,
  `issued_for` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `status` text DEFAULT 'pending'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `issuance_material`
--

CREATE TABLE `issuance_material` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `material_type` text DEFAULT NULL,
  `material_name` text DEFAULT NULL,
  `material_code` text DEFAULT NULL,
  `qty` text DEFAULT NULL,
  `product` text DEFAULT '',
  `product_name` text DEFAULT NULL,
  `purpose` text DEFAULT NULL,
  `justification` text DEFAULT NULL,
  `dispensed_qty` text DEFAULT '',
  `unit` text DEFAULT NULL,
  `dispend_by` text DEFAULT NULL,
  `ar_no` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `itConsumableLog`
--

CREATE TABLE `itConsumableLog` (
  `id` int(11) NOT NULL,
  `u_type` text DEFAULT NULL,
  `user_loc` text DEFAULT NULL,
  `department` text DEFAULT NULL,
  `types` text DEFAULT NULL,
  `make` text DEFAULT NULL,
  `ip_series` text DEFAULT NULL,
  `plant_id` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `itConsumableLog`
--

INSERT INTO `itConsumableLog` (`id`, `u_type`, `user_loc`, `department`, `types`, `make`, `ip_series`, `plant_id`, `entry_by`, `entry_date`) VALUES
(1, 'User', 'Vivek Patil', 'Quality Control', 'Autoclave', '2025', 'gfrsfgrfgyvgdbv', '142', 'master', '2025-09-20 06:09:27');

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

--
-- Table structure for table `itConsumableLog1`
--

CREATE TABLE `itConsumableLog1` (
  `user_loc` text DEFAULT NULL,
  `department` text DEFAULT NULL,
  `types` text DEFAULT NULL,
  `make` text DEFAULT NULL,
  `ip_series` text DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `jobwork`
--

CREATE TABLE `jobwork` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `jobwork_no` text DEFAULT '',
  `partyName` text DEFAULT NULL,
  `address` text DEFAULT NULL,
  `purpose` text DEFAULT NULL,
  `return_date` text DEFAULT NULL,
  `material_type` text DEFAULT NULL,
  `material_code` text DEFAULT NULL,
  `batch_no` text DEFAULT NULL,
  `ar_no` text DEFAULT NULL,
  `issued_qty` text DEFAULT NULL,
  `qty_unit` text DEFAULT NULL,
  `pack_size` text DEFAULT NULL,
  `pack_size_unit` text DEFAULT NULL,
  `mfg_date` text DEFAULT NULL,
  `exp_date` text DEFAULT NULL,
  `rel_date` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `status` text DEFAULT NULL,
  `checkBy` text DEFAULT NULL,
  `checkOn` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `job_responsibilities`
--

CREATE TABLE `job_responsibilities` (
  `id` int(11) NOT NULL,
  `emp_id` text DEFAULT NULL,
  `emp_name` text DEFAULT NULL,
  `department` text DEFAULT NULL,
  `designation` text DEFAULT NULL,
  `Primary_responsibilities` longtext DEFAULT NULL,
  `Secondary_responsibilities` longtext DEFAULT NULL,
  `QMS_responsibilities` longtext DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `joiningreport`
--

CREATE TABLE `joiningreport` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT '',
  `candidate` text DEFAULT NULL,
  `letter_date` text DEFAULT NULL,
  `department` text DEFAULT NULL,
  `designation` text DEFAULT NULL,
  `join_date` text DEFAULT NULL,
  `emp_no` text DEFAULT NULL,
  `location` text DEFAULT NULL,
  `reporting` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `journal_vouch`
--

CREATE TABLE `journal_vouch` (
  `id` int(11) NOT NULL,
  `jv_no` text DEFAULT NULL,
  `jv_date` text DEFAULT NULL,
  `dr_total` text DEFAULT NULL,
  `cr_total` text DEFAULT NULL,
  `created_on` text DEFAULT NULL,
  `created_by` text DEFAULT NULL,
  `narration` text DEFAULT NULL,
  `status` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `ju_drk`
--

CREATE TABLE `ju_drk` (
  `id` int(11) NOT NULL,
  `jv_id` text DEFAULT NULL,
  `s/no` text DEFAULT '',
  `narration` text DEFAULT NULL,
  `debit` text DEFAULT NULL,
  `credit` text DEFAULT NULL,
  `status` text DEFAULT NULL,
  `account_code` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `key_master`
--

CREATE TABLE `key_master` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT '',
  `department` text DEFAULT NULL,
  `key_no` text DEFAULT NULL,
  `section` text DEFAULT NULL,
  `date` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `key_master`
--

INSERT INTO `key_master` (`id`, `plant_id`, `department`, `key_no`, `section`, `date`) VALUES
(1, '142', 'IT', 'KN201', '', '2025-04-02 03:17:37'),
(2, '142', 'Quality Control', '65', '', '2025-08-19 05:51:41'),
(3, '142', 'Engineering', '2345', '', '2025-08-19 05:59:37');

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

--
-- Table structure for table `key_register`
--

CREATE TABLE `key_register` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `key_no` text DEFAULT NULL,
  `activity` text DEFAULT NULL,
  `department` text DEFAULT NULL,
  `emp_name` text DEFAULT NULL,
  `date` text DEFAULT NULL,
  `time` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `kilosker_chilling`
--

CREATE TABLE `kilosker_chilling` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `run_hr` text DEFAULT NULL,
  `comp_amp` text DEFAULT NULL,
  `gas_pr_lp` text DEFAULT NULL,
  `gas_pr_hp` text DEFAULT NULL,
  `comp_oil` text DEFAULT NULL,
  `cooling_in` text DEFAULT NULL,
  `cooling_out` text DEFAULT NULL,
  `chilled_in` text DEFAULT NULL,
  `chilled_out` text DEFAULT NULL,
  `oil_level` text DEFAULT NULL,
  `plant_supply` text DEFAULT NULL,
  `tank_level_hot` text DEFAULT NULL,
  `tank_level_cold` text DEFAULT NULL,
  `kwh` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `entry_time` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `label`
--

CREATE TABLE `label` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `label_no` text DEFAULT NULL,
  `label_for` text DEFAULT NULL,
  `document_no` text DEFAULT NULL,
  `label_type` text DEFAULT NULL,
  `inward_no` text DEFAULT NULL,
  `material_code` text DEFAULT NULL,
  `batch_no` text DEFAULT NULL,
  `label_count` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `reason` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `challan_no` text DEFAULT NULL,
  `mfg_date` text DEFAULT NULL,
  `exp_date` text DEFAULT NULL,
  `recv_qty` text DEFAULT NULL,
  `date_type` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `label`
--

INSERT INTO `label` (`id`, `plant_id`, `label_no`, `label_for`, `document_no`, `label_type`, `inward_no`, `material_code`, `batch_no`, `label_count`, `entry_by`, `entry_date`, `reason`, `status`, `challan_no`, `mfg_date`, `exp_date`, `recv_qty`, `date_type`) VALUES
(1, ' ', 'L10001', 'Receving', '', 'Receving Label', ' ', 'RM00001', 'BN001', '2', 'master', '2025-06-28 11:14:18', ' ', 'pending', 'CH-001', '2025-01-08', '2025-12-19', '100', NULL),
(2, ' ', 'L10002', 'Receving', '', 'Receving Label', ' ', 'RM00002', 'BN002', '4', 'master', '2025-06-28 11:15:06', ' ', 'pending', 'CH-002', '2024-09-11', '2026-05-05', '200', NULL),
(3, ' ', 'L10003', 'Receving', '', 'Receving Label', ' ', 'RM00003', 'BN003', '3', 'master', '2025-06-28 11:15:35', ' ', 'pending', 'CH-003', '2024-12-11', '2026-01-15', '300', NULL),
(4, ' ', 'L10004', 'Receving', '', 'Receving Label', ' ', 'RM00004', 'BN004', '2', 'master', '2025-06-28 11:16:13', ' ', 'pending', 'CH-004', '2024-10-14', '2026-04-23', '400', NULL),
(5, ' ', 'L10005', 'Receving', '', 'Receving Label', ' ', 'RM00015', 'BN005', '11', 'master', '2025-06-28 12:34:50', ' ', 'pending', 'CH-005', '2025-01-22', '2025-12-30', '55', NULL),
(6, ' ', 'L10006', 'Receving', '', 'Receving Label', ' ', 'RM00014', 'BN006', '5', 'master', '2025-06-28 02:07:50', ' ', 'pending', 'CH-006', '2025-02-11', '2025-11-20', '50', NULL),
(7, ' ', 'L10007', 'Receving', '', 'Receving Label', ' ', 'RM00004', 'BN007', '11', 'master', '2025-06-28 02:12:13', ' ', 'pending', 'CH-007', '2025-01-01', '2025-10-28', '55', NULL),
(8, ' ', 'L10008', 'Receving', '', 'Receving Label', ' ', 'RM00034', '123', '1', 'master', '2025-06-30 03:40:19', ' ', 'pending', 'CH-009', '2025-06-24', '2025-07-12', '1', NULL),
(9, ' ', 'L10009', 'Receving', '', 'Receving Label', ' ', 'RM00034', '123', '1', 'master', '2025-06-30 03:40:48', ' ', 'pending', 'CH-009', '2025-06-04', '2025-07-12', '1', NULL),
(10, ' ', 'L10010', 'Receving', '', 'Receving Label', ' ', 'RM00003', 'bn7354', '2', 'master', '2025-07-04 12:20:51', ' ', 'pending', 'CH-008', '2025-07-01', '2025-07-18', '50', NULL),
(11, ' ', 'L10011', 'Receving', '', 'Receving Label', ' ', 'RM00001', 'BN3540', '5', 'master', '2025-07-04 03:19:15', ' ', 'pending', 'CH-011', '2025-02-25', '2025-11-21', '50', NULL),
(12, ' ', 'L10012', 'Receving', '', 'Receving Label', ' ', 'RM00041', 'CM001', '2', 'master', '2025-07-04 05:12:45', ' ', 'pending', 'CH-012', '2025-07-04', '2028-10-25', '200', NULL),
(13, ' ', 'L10013', 'Receving', '', 'Receving Label', ' ', 'RM00041', 'CM0011', '2', 'master', '2025-07-04 06:12:33', ' ', 'pending', 'CH-016', '2025-07-04', '2028-10-19', '20', NULL),
(14, ' ', 'L10014', 'Receving', '', 'Receving Label', ' ', 'RM00041', 'CM00122', '2', 'master', '2025-07-04 06:14:02', ' ', 'pending', 'CH-016', '2025-07-04', '2028-05-16', '20', NULL),
(15, ' ', 'L10015', 'Receving', '', 'Receving Label', ' ', 'RM00042', 'CM001144', '2', 'master', '2025-07-04 06:15:46', ' ', 'pending', 'CH-015', '2025-07-04', '2038-02-09', '20', NULL),
(16, ' ', 'L10016', 'Receving', '', 'Receving Label', ' ', 'RM00032', 'BN1201', '3', 'master', '2025-07-04 06:24:58', ' ', 'pending', 'CH-019', '2025-07-03', '2025-09-24', '150', NULL),
(17, ' ', 'L10017', 'Receving', '', 'Receving Label', ' ', 'RM00032', 'BN221', '3', 'master', '2025-07-04 06:25:50', ' ', 'pending', 'CH-018', '2025-07-01', '2025-11-12', '150', NULL),
(18, ' ', 'L10018', 'Receving', '', 'Receving Label', ' ', 'RM00001', 'BN221', '10', 'master', '2025-07-04 06:26:44', ' ', 'pending', 'CH-017', '2025-07-01', '2025-07-17', '100   ', NULL),
(19, ' ', 'L10019', 'Receving', '', 'Receving Label', ' ', 'RM00001', 'BN1201', '10', 'master', '2025-07-04 06:27:28', ' ', 'pending', 'CH-014', '2025-07-02', '2025-08-06', '100', NULL),
(20, ' ', 'L10020', 'Receving', '', 'Receving Label', ' ', 'RM00004', 'BN221', '2', 'master', '2025-07-05 11:04:34', ' ', 'pending', 'CH-024', '2025-07-05', '2025-07-24', '50', NULL),
(21, ' ', 'L10021', 'Receving', '', 'Receving Label', ' ', 'RM00005', 'CM001', '2', 'master', '2025-07-05 11:42:16', ' ', 'pending', 'CH-025', '2025-07-05', '2025-07-05', '200', NULL),
(22, ' ', 'L10022', 'Receving', '', 'Receving Label', ' ', 'RM00005', 'CM001', '2', 'master', '2025-07-05 11:42:37', ' ', 'pending', 'CH-025', '2025-07-05', '2025-08-05', '200', NULL),
(23, ' ', 'L10023', 'Receving', '', 'Receving Label', ' ', 'RM00005', 'CM001OO', '1', 'master', '2025-07-05 11:43:13', ' ', 'pending', 'CH-025', '2025-07-05', '2025-08-23', '200', NULL),
(24, ' ', 'L10024', 'Receving', '', 'Receving Label', ' ', 'RM00046', 'BN221', '50', 'master', '2025-07-05 12:23:04', ' ', 'pending', 'CH-027', '2025-07-05', '2025-07-24', '500', NULL),
(25, ' ', 'L10025', 'Receving', '', 'Receving Label', ' ', 'RM00042', 'CM001', '1', 'master', '2025-07-05 12:25:36', ' ', 'pending', 'CH-026', '2025-07-05', '2029-10-05', '20', NULL),
(26, ' ', 'L10026', 'Receving', '', 'Receving Label', ' ', 'RM00042', 'CM001', '1', 'master', '2025-07-05 12:26:08', ' ', 'pending', 'CH-026', '2025-07-05', '2025-08-06', '200', NULL),
(27, ' ', 'L10027', 'Receving', '', 'Receving Label', ' ', 'RM00002', 'BN221', '30', 'master', '2025-07-05 02:19:43', ' ', 'pending', 'CH-030', '2025-07-02', '2025-07-29', '1500', NULL),
(28, ' ', 'L10028', 'Receving', '', 'Receving Label', ' ', 'RM00047', 'CM0011FDS', '2', 'master', '2025-07-05 02:23:31', ' ', 'pending', 'CH-031', '2025-07-05', '2033-06-07', '200', NULL),
(29, ' ', 'L10029', 'Receving', '', 'Receving Label', ' ', 'RM00049', 'BN221', '20', 'master', '2025-07-05 02:57:37', ' ', 'pending', 'CH-033', '2025-07-05', '2025-07-31', '200', NULL),
(30, ' ', 'L10030', 'Receving', '', 'Receving Label', ' ', 'RM00049', 'BN221', '20', 'master', '2025-07-05 02:58:33', ' ', 'pending', 'CH-032', '2025-07-05', '2025-07-30', '200   ', NULL),
(31, ' ', 'L10031', 'Receving', '', 'Receving Label', ' ', 'RM00046', 'BN221', '10', 'master', '2025-07-05 03:07:13', ' ', 'pending', 'CH-027', '2025-07-05', '2025-08-06', '500', NULL),
(32, ' ', 'L10032', 'Receving', '', 'Receving Label', ' ', 'RM00050', 'CM001', '1', 'master', '2025-07-05 03:21:25', ' ', 'pending', 'CH-034', '2025-07-05', '2025-07-12', '200', NULL),
(33, ' ', 'L10033', 'Receving', '', 'Receving Label', ' ', 'RM00047', 'CM0019', '1', 'master', '2025-07-07 10:00:05', ' ', 'pending', 'CH-036', '2025-07-07', '2030-06-07', '200', NULL),
(34, ' ', 'L10034', 'Receving', '', 'Receving Label', ' ', 'RM00047', 'CM00199', '1', 'master', '2025-07-07 10:01:20', ' ', 'pending', 'CH-036', '2025-07-07', '2029-07-07', '200', NULL),
(35, ' ', 'L10035', 'Receving', '', 'Receving Label', ' ', 'RM00047', 'CM00166', '1', 'master', '2025-07-07 10:01:43', ' ', 'pending', 'CH-036', '2025-07-07', '2025-07-31', '100', NULL),
(36, ' ', 'L10036', 'Receving', '', 'Receving Label', ' ', 'RM00056', 'CM00156', '1', 'master', '2025-07-07 11:42:16', ' ', 'pending', 'CH-042', '2025-07-07', '2025-07-07', '200', NULL),
(37, ' ', 'L10037', 'Receving', '', 'Receving Label', ' ', 'RM00057', 'CM0017712', '2', 'master', '2025-07-07 02:02:26', ' ', 'pending', 'CH-047', '2025-07-07', '2035-10-30', '500', NULL),
(38, ' ', 'L10038', 'Receving', '', 'Receving Label', ' ', 'RM00057', 'CM001QAZZ', '1', 'master', '2025-07-07 02:04:32', ' ', 'pending', 'CH-047', '2025-07-07', '2025-07-07', '100', NULL),
(39, ' ', 'L10039', 'Receving', '', 'Receving Label', ' ', 'RM00042', 'CM001AC', '2', 'master', '2025-07-07 02:05:29', ' ', 'pending', 'CH-047', '2025-07-07', '2035-10-07', '100', NULL),
(40, ' ', 'L10040', 'Receving', '', 'Receving Label', ' ', 'RM00059', 'BTCH001', '1', 'master', '2025-07-07 02:35:24', ' ', 'pending', 'CH-048', '2025-07-07', '2030-10-15', '200', NULL),
(41, ' ', 'L10041', 'Receving', '', 'Receving Label', ' ', 'RM00060', 'CM00125', '2', 'master', '2025-07-07 03:09:59', ' ', 'pending', 'CH-049', '2025-07-07', '2035-06-07', '100', NULL),
(42, ' ', 'L10042', 'Receving', '', 'Receving Label', ' ', 'RM00060', 'CM001188', '2', 'master', '2025-07-07 03:13:04', ' ', 'pending', 'CH-049', '2025-07-07', '2030-07-11', '1000', NULL),
(43, ' ', 'L10043', 'Receving', '', 'Receving Label', ' ', 'RM00061', 'BTCH003', '1', 'master', '2025-07-07 03:46:11', ' ', 'pending', 'CH-050', '2025-07-07', '2033-06-07', '200', NULL),
(44, ' ', 'L10044', 'Receving', '', 'Receving Label', ' ', 'RM00042', 'BTCH004', '2', 'master', '2025-07-07 04:41:54', ' ', 'pending', 'CH-051', '2025-07-07', '2030-06-07', '500', NULL),
(45, ' ', 'L10045', 'Receving', '', 'Receving Label', ' ', 'RM00041', 'CM001', '1', 'master', '2025-07-07 05:31:00', ' ', 'pending', 'CH-052', '2025-07-07', '2025-07-07', '100', NULL),
(46, ' ', 'L10046', 'Receving', '', 'Receving Label', ' ', 'RM00042', 'PS0125', '1', 'master', '2025-07-10 09:54:58', ' ', 'pending', 'CH-056', '2025-07-10', '2028-06-09', '25000', NULL),
(47, ' ', 'L10047', 'Receving', '', 'Receving Label', ' ', 'RM00054', 'PS0125', '2', 'master', '2025-07-10 10:06:19', ' ', 'pending', 'CH-043', '2025-07-10', '2028-06-09', '200', NULL),
(48, ' ', 'L10048', 'Receving', '', 'Receving Label', ' ', 'RM00071', '1234', '1', 'master', '2025-07-11 04:54:23', ' ', 'pending', 'CH-060', '2025-07-11', '2025-07-25', '2', NULL),
(49, ' ', 'L10049', 'Receving', '', 'Receving Label', ' ', 'RM00080', 'BN1201', '2', 'master', '2025-07-19 02:28:06', ' ', 'pending', 'CH-066', '2025-07-01', '2026-02-04', '500', NULL),
(50, ' ', 'L10050', 'Receving', '', 'Receving Label', ' ', 'RM00032', 'BN221', '2', 'master', '2025-07-19 02:36:29', ' ', 'pending', 'CH-065', '2025-07-09', '2025-08-14', '500', NULL),
(51, ' ', 'L10051', 'Receving', '', 'Receving Label', ' ', 'RM00014', 'BN221', '2', 'master', '2025-07-19 02:37:42', ' ', 'pending', 'CH-061', '2025-07-01', '2025-07-29', '600', NULL),
(52, ' ', 'L10052', 'Receving', '', 'Receving Label', ' ', 'RM00051', 'BN901', '1', 'master', '2025-07-19 02:51:49', ' ', 'pending', 'CH-035', '2025-07-02', '2025-08-06', '200', NULL),
(53, ' ', 'L10053', 'Receving', '', 'Receving Label', ' ', 'RM00083', 'BN2215', '2', 'master', '2025-07-22 02:07:53', ' ', 'pending', 'CH-069', '2025-07-21', '2026-04-01', '400', NULL),
(54, ' ', 'L10054', 'Receving', '', 'Receving Label', ' ', 'RM00084', 'BN12015', '2', 'master', '2025-07-22 02:09:12', ' ', 'pending', 'CH-068', '2025-07-21', '2026-07-29', '400', NULL),
(55, ' ', 'L10055', 'Receving', '', 'Receving Label', ' ', 'RM00001', 'BN221', '50', 'master', '2025-07-22 05:56:50', ' ', 'pending', 'CH-010', '2025-07-07', '2025-10-15', '50', NULL),
(56, ' ', 'L10056', 'Receving', '', 'Receving Label', ' ', 'RM00047', 'BN221', '2', 'master', '2025-07-22 05:58:53', ' ', 'pending', 'CH-036', '2025-07-01', '2025-09-11', '500', NULL),
(57, ' ', 'L10057', 'Receving', '', 'Receving Label', ' ', 'RM00042', 'BN003', '2', 'master', '2025-07-23 10:10:35', ' ', 'pending', 'CH-073', '2025-07-23', '2028-06-22', '200', NULL),
(58, ' ', 'L10058', 'Receving', '', 'Receving Label', ' ', 'RM00046', 'BN0052', '2', 'master', '2025-07-23 10:16:15', ' ', 'pending', 'CH-027', '2025-07-23', '2028-06-22', '500', NULL),
(59, ' ', 'L10059', 'Receving', '', 'Receving Label', ' ', 'RM00074', 'BN001', '2', 'master', '2025-07-23 10:19:45', ' ', 'pending', 'CH-074', '2025-07-23', '2028-06-22', '5', NULL),
(60, ' ', 'L10060', 'Receving', '', 'Receving Label', ' ', 'RM00001', 'BN00102', '2', 'master', '2025-08-16 10:16:49', ' ', 'pending', 'CH-077', '2025-08-16', '2028-07-15', '100', NULL),
(61, ' ', 'L10061', 'Receving', '', 'Receving Label', ' ', 'RM00001', 'BN00102', '2', 'master', '2025-08-16 10:16:52', ' ', 'pending', 'CH-077', '2025-08-16', '2028-07-15', '100', NULL),
(62, ' ', 'L10062', 'Receving', '', 'Receving Label', ' ', 'RM00001', 'BN001023', '50', 'master', '2025-08-16 10:17:26', ' ', 'pending', 'CH-077', '2025-08-16', '2028-07-15', '100', NULL),
(63, ' ', 'L10063', 'Receving', '', 'Receving Label', ' ', 'RM00001', 'BN00123', '2', 'master', '2025-08-16 10:18:47', ' ', 'pending', 'CH-077', '2025-08-16', '2028-07-15', '100', NULL),
(64, ' ', 'L10064', 'Receving', '', 'Receving Label', ' ', 'RM00001', '12', '1', 'master', '2025-08-16 12:15:13', ' ', 'pending', 'CH-078', '2025-08-05', '2025-08-18', '50', NULL),
(65, ' ', 'L10065', 'Receving', '', 'Receving Label', ' ', 'RM00045', '1234', '1', 'master', '2025-08-16 12:17:52', ' ', 'pending', 'CH-044', '2025-08-10', '2025-08-27', '50', NULL),
(66, ' ', 'L10066', 'Receving', '', 'Receving Label', ' ', 'RM00002', 'BN4587', '2', 'master', '2025-08-16 01:17:26', ' ', 'pending', 'CH-080', '2025-08-16', '2028-07-15', '100', NULL),
(67, ' ', 'L10067', 'Receving', '', 'Receving Label', ' ', 'RM00004', 'AM0459', '2', 'master', '2025-08-16 02:51:09', ' ', 'pending', 'CH-081', '2025-07-10', '2025-10-25', '200', NULL),
(68, ' ', 'L10068', 'Receving', '', 'Receving Label', ' ', 'RM00045', 'CA564', '2', 'master', '2025-08-16 03:30:31', ' ', 'pending', 'CH-084', '2025-08-16', '2025-08-30', '500', NULL),
(69, ' ', 'L10069', 'Receving', '', 'Receving Label', ' ', 'RM00039', 'bn0053', '2', 'master', '2025-08-16 04:05:52', ' ', 'pending', 'CH-085', '2025-03-04', '2027-01-13', '500', NULL),
(70, ' ', 'L10070', 'Receving', '', 'Receving Label', ' ', 'RM00002', 'BH12345', '1', 'master', '2025-08-16 04:13:53', ' ', 'pending', 'CH-087', '2025-08-16', '2025-08-30', '100', NULL),
(71, ' ', 'L10071', 'Receving', '', 'Receving Label', ' ', 'RM00015', 'DC8976', '2', 'master', '2025-08-16 04:19:40', ' ', 'pending', 'CH-089', '2025-08-16', '2025-08-27', '500', NULL),
(72, ' ', 'L10072', 'Receving', '', 'Receving Label', ' ', 'RM00039', 'bn2003', '2', 'master', '2025-08-16 05:53:59', ' ', 'pending', 'CH-094', '2025-08-15', '2028-01-20', '500', NULL),
(73, ' ', 'L10073', 'Receving', '', 'Receving Label', ' ', 'RM00041', 'TRN001', '2', 'master', '2025-08-18 11:25:59', ' ', 'pending', 'CH-098', '2025-08-17', '2025-08-31', '1000', NULL),
(74, ' ', 'L10074', 'Receving', '', 'Receving Label', ' ', 'RM00014', 'DC8976', '2', 'master', '2025-08-18 12:28:28', ' ', 'pending', 'CH-101', '2025-08-17', '2025-08-30', '500', NULL),
(75, ' ', 'L10075', 'Receving', '', 'Receving Label', ' ', 'RM00003', 'BH1234', '1', 'master', '2025-08-18 02:42:51', ' ', 'pending', 'CH-107', '2025-07-29', '2025-08-22', '100', NULL),
(76, ' ', 'L10076', 'Receving', '', 'Receving Label', ' ', 'RM00039', 'B087', '2', 'master', '2025-08-18 02:44:00', ' ', 'pending', 'CH-104', '2025-08-13', '2030-01-06', '500', NULL),
(77, ' ', 'L10077', 'Receving', '', 'Receving Label', ' ', 'RM00039', 'TRN001', '4', 'master', '2025-08-18 02:45:21', ' ', 'pending', 'CH-104', '2025-08-17', '2025-08-26', '2000', NULL),
(78, ' ', 'L10078', 'Receving', '', 'Receving Label', ' ', 'RM00040', 'DC8976', '2', 'master', '2025-08-18 03:16:36', ' ', 'pending', 'CH-109', '2025-08-12', '2025-08-29', '500', NULL),
(79, ' ', 'L10079', 'Receving', '', 'Receving Label', ' ', 'RM00041', '1234', '1', 'master', '2025-08-18 05:33:16', ' ', 'pending', 'CH-114', '2025-08-01', '2025-08-30', '50', NULL),
(80, ' ', 'L10080', 'Receving', '', 'Receving Label', ' ', 'RM00041', 'BH123', '1', 'master', '2025-08-18 05:34:08', ' ', 'pending', 'CH-114', '2025-08-05', '2025-08-30', '50', NULL),
(81, ' ', 'L10081', 'Receving', '', 'Receving Label', ' ', 'RM00052', '4154', '2', 'master', '2025-08-18 05:53:32', ' ', 'pending', 'CH-116', '2025-08-13', '2025-08-30', '1254', NULL),
(82, ' ', 'L10082', 'Receving', '', 'Receving Label', ' ', 'RM00052', '1452', '2', 'master', '2025-08-18 05:53:58', ' ', 'pending', 'CH-116', '2025-08-13', '2025-08-30', '500', NULL),
(83, ' ', 'L10083', 'Receving', '', 'Receving Label', ' ', 'RM00012', 'bn0053', '2', 'master', '2025-08-19 10:36:18', ' ', 'pending', 'CH-117', '2025-08-01', '2028-03-04', '1000', NULL),
(84, ' ', 'L10084', 'Receving', '', 'Receving Label', ' ', 'RM00047', 'TRN001', '2', 'master', '2025-08-19 11:54:49', ' ', 'pending', 'CH-121', '2025-08-18', '2028-05-09', '500', NULL),
(85, ' ', 'L10085', 'Receving', '', 'Receving Label', ' ', 'RM00039', 'bn7354', '2', 'master', '2025-08-19 12:43:12', ' ', 'pending', 'CH-128', '2025-08-19', '2025-08-31', '500', NULL),
(86, ' ', 'L10086', 'Receving', '', 'Receving Label', ' ', 'RM00039', 'bn7354', '2', 'master', '2025-08-19 12:44:03', ' ', 'pending', 'CH-128', '2025-08-19', '2025-08-31', '500', NULL),
(87, ' ', 'L10087', 'Receving', '', 'Receving Label', ' ', 'RM00039', 'bn7354', '2', 'master', '2025-08-19 12:45:00', ' ', 'pending', 'CH-128', '2025-08-19', '2025-08-31', '500', NULL),
(88, ' ', 'L10088', 'Receving', '', 'Receving Label', ' ', 'RM00094', 'B011', '2', 'master', '2025-08-19 03:08:59', ' ', 'pending', 'CH-130', '2025-08-14', '2028-06-06', '1000', NULL),
(89, ' ', 'L10089', 'Receving', '', 'Receving Label', ' ', 'RM00120', 'BH12345', '1', 'master', '2025-08-19 03:19:16', ' ', 'pending', 'CH-134', '2025-08-04', '2025-08-31', '50', NULL),
(90, ' ', 'L10090', 'Receving', '', 'Receving Label', ' ', 'RM00012', 'BH12345', '1', 'master', '2025-08-19 04:06:01', ' ', 'pending', 'CH-139', '2025-08-18', '2025-08-30', '50', NULL),
(91, ' ', 'L10091', 'Receving', '', 'Receving Label', ' ', 'RM00045', 'bn7354', '2', 'master', '2025-08-20 10:29:17', ' ', 'pending', 'CH-145', '2025-08-20', '2025-08-31', '100', NULL),
(92, ' ', 'L10092', 'Receving', '', 'Receving Label', ' ', 'RM00062', 'B011', '2', 'master', '2025-08-20 12:14:15', ' ', 'pending', 'CH-150', '2025-08-19', '2026-10-13', '500', NULL),
(93, ' ', 'L10093', 'Receving', '', 'Receving Label', ' ', 'RM00012', 'bn2003', '2', 'master', '2025-08-20 12:41:40', ' ', 'pending', 'CH-152', '2025-08-20', '2025-08-31', '500', NULL),
(94, ' ', 'L10094', 'Receving', '', 'Receving Label', ' ', 'RM00082', 'B011', '2', 'master', '2025-08-20 02:02:54', ' ', 'pending', 'CH-153', '2025-08-19', '2027-06-28', '500', NULL),
(95, ' ', 'L10095', 'Receving', '', 'Receving Label', ' ', 'RM00082', 'DC8976', '2', 'master', '2025-08-20 02:03:58', ' ', 'pending', 'CH-153', '2025-08-19', '2028-07-22', '500', NULL),
(96, ' ', 'L10096', 'Receving', '', 'Receving Label', ' ', 'RM00002', 'hj908', '2', 'master', '2025-08-20 02:39:31', ' ', 'pending', 'CH-156', '2025-08-14', '2025-09-26', '500', NULL),
(97, ' ', 'L10097', 'Receving', '', 'Receving Label', ' ', 'RM00039', 'bn2003', '2', 'master', '2025-08-20 03:05:19', ' ', 'pending', 'CH-158', '2025-08-20', '2025-08-31', '500', NULL),
(98, ' ', 'L10098', 'Receving', '', 'Receving Label', ' ', 'RM00005', 'bn7354', '1', 'master', '2025-08-20 03:12:05', ' ', 'pending', 'CH-159', '2025-07-29', '2028-11-20', '100', NULL),
(99, ' ', 'L10099', 'Receving', '', 'Receving Label', ' ', 'RM00103', 'DC8976', '2', 'master', '2025-08-20 04:33:26', ' ', 'pending', 'CH-165', '2025-08-14', '2027-11-17', '1000', NULL),
(100, ' ', 'L10100', 'Receving', '', 'Receving Label', ' ', 'RM00039', 'bn0053', '500', 'master', '2025-08-20 04:45:27', ' ', 'pending', 'CH-167', '2025-08-20', '2025-08-31', '500', NULL),
(101, ' ', 'L10101', 'Receving', '', 'Receving Label', ' ', 'RM00034', 'BN2121', '2', 'master', '2025-08-20 04:56:03', ' ', 'pending', 'CH-169', '2025-08-20', '2025-08-31', '500', NULL),
(102, ' ', 'L10102', 'Receving', '', 'Receving Label', ' ', 'RM00003', 'FG543', '2', 'master', '2025-08-20 05:26:17', ' ', 'pending', 'CH-171', '2025-08-07', '2025-08-30', '200', NULL),
(103, ' ', 'L10103', 'Receving', '', 'Receving Label', ' ', 'RM00004', 'df342', '2', 'master', '2025-08-20 05:33:00', ' ', 'pending', 'CH-172', '2025-08-07', '2025-08-29', '400', NULL),
(104, ' ', 'L10104', 'Receving', '', 'Receving Label', ' ', 'RM00004', 'hj908', '2', 'master', '2025-08-20 05:34:04', ' ', 'pending', 'CH-172', '2025-08-07', '2025-08-29', '500', NULL),
(105, ' ', 'L10105', 'Receving', '', 'Receving Label', ' ', 'RM00002', 'hj908', '2', 'master', '2025-08-20 05:35:34', ' ', 'pending', 'CH-170', '2025-08-06', '2025-08-22', '500', NULL),
(106, ' ', 'L10106', 'Receving', '', 'Receving Label', ' ', 'RM00004', 'BN2215', '1', 'master', '2025-08-20 05:44:27', ' ', 'pending', 'CH-173', '2023-07-20', '2028-10-20', '100', NULL),
(107, ' ', 'L10107', 'Receving', '', 'Receving Label', ' ', 'RM00032', 'BN0053', '1', 'master', '2025-08-21 09:53:29', ' ', 'pending', 'CH-174', '2025-08-21', '2025-08-31', '500', NULL),
(108, ' ', 'L10108', 'Receving', '', 'Receving Label', ' ', 'RM00052', 'bh145', '2', 'master', '2025-08-21 09:55:03', ' ', 'pending', 'CH-175', '2025-08-19', '2025-09-24', '500', NULL),
(109, ' ', 'L10109', 'Receving', '', 'Receving Label', ' ', 'RM00001', 'hj908', '2', 'master', '2025-08-21 10:06:39', ' ', 'pending', 'CH-168', '2025-07-29', '2025-08-22', '500', NULL),
(110, ' ', 'L10110', 'Receving', '', 'Receving Label', ' ', 'RM00003', 'hj908', '2', 'master', '2025-08-21 10:17:04', ' ', 'pending', 'CH-163', '2025-08-15', '2025-08-23', '500', NULL),
(111, ' ', 'L10111', 'Receving', '', 'Receving Label', ' ', 'RM00002', 'hg4534', '2', 'master', '2025-08-21 10:24:18', ' ', 'pending', 'CH-178', '2025-08-07', '2025-08-23', '500', NULL),
(112, ' ', 'L10112', 'Receving', '', 'Receving Label', ' ', 'RM00003', 'hg424', '2', 'master', '2025-08-21 10:46:33', ' ', 'pending', 'CH-180', '2025-08-06', '2025-08-28', '500', NULL),
(113, ' ', 'L10113', 'Receving', '', 'Receving Label', ' ', 'RM00052', 'hj4533', '2', 'master', '2025-08-21 10:59:56', ' ', 'pending', 'CH-160', '2025-08-09', '2025-08-27', '500', NULL),
(114, ' ', 'L10114', 'Receving', '', 'Receving Label', ' ', 'RM00012', 'BN002', '1', 'master', '2025-08-21 11:15:43', ' ', 'pending', 'CH-181', '2025-08-21', '2028-11-24', '500', NULL),
(115, ' ', 'L10115', 'Receving', '', 'Receving Label', ' ', 'RM00130', 'BH12345', '1', 'master', '2025-08-21 12:38:55', ' ', 'pending', 'CH-189', '2025-08-21', '2025-08-22', '100', NULL),
(116, ' ', 'L10116', 'Receving', '', 'Receving Label', ' ', 'RM00179', 'BN00129021', '4', 'master', '2025-08-21 04:29:09', ' ', 'pending', 'CH-195', '2025-04-14', '2026-03-25', '100', NULL),
(117, ' ', 'L10117', 'Receving', '', 'Receving Label', ' ', 'RM00179', 'BN00129022', '4', 'master', '2025-08-21 04:29:41', ' ', 'pending', 'CH-196', '2025-03-13', '2026-02-26', '100', NULL),
(118, ' ', 'L10118', 'Receving', '', 'Receving Label', ' ', 'RM00067', 'BN9325', '1', 'master', '2025-08-21 05:00:24', ' ', 'pending', 'CH-197', '2025-08-21', '2025-08-31', '500', NULL),
(119, ' ', 'L10119', 'Receving', '', 'Receving Label', ' ', 'RM00001', 'hj943', '2', 'master', '2025-08-22 11:31:29', ' ', 'pending', 'CH-200', '2025-08-06', '2025-08-24', '500', NULL),
(120, ' ', 'L10120', 'Receving', '', 'Receving Label', ' ', 'RM00098', 'BN732323', '2', 'master', '2025-08-22 11:49:37', ' ', 'pending', 'CH-201', '2025-01-10', '2026-01-29', '100', NULL),
(121, ' ', 'L10121', 'Receving', '', 'Receving Label', ' ', 'RM00039', 'hj3245', '2', 'master', '2025-08-22 02:06:53', ' ', 'pending', 'CH-202', '2025-08-07', '2025-08-31', '500', NULL),
(122, ' ', 'L10122', 'Receving', '', 'Receving Label', ' ', 'RM00001', 'hj9456', '2', 'master', '2025-08-22 03:37:28', ' ', 'pending', 'CH-203', '2025-08-07', '2025-09-08', '500', NULL),
(123, ' ', 'L10123', 'Receving', '', 'Receving Label', ' ', 'RM00003', 'hj3457', '2', 'master', '2025-08-22 04:13:00', ' ', 'pending', 'CH-204', '2025-08-07', '2025-09-22', '500', NULL),
(124, ' ', 'L10124', 'Receving', '', 'Receving Label', ' ', 'RM00052', 'hj123', '2', 'master', '2025-08-22 06:09:41', ' ', 'pending', 'CH-160', '2025-07-30', '2025-08-27', '500', NULL),
(125, ' ', 'L10125', 'Receving', '', 'Receving Label', ' ', 'RM00221', 'GH345', '2', 'master', '2025-08-23 09:58:02', ' ', 'pending', 'CH-206', '2025-08-08', '2025-08-31', '500', NULL),
(126, ' ', 'L10126', 'Receving', '', 'Receving Label', ' ', 'RM00223', 'GH564', '2', 'master', '2025-08-23 10:59:10', ' ', 'pending', 'CH-207', '2025-08-15', '2025-08-27', '400', NULL),
(127, ' ', 'L10127', 'Receving', '', 'Receving Label', ' ', 'RM00003', 'hj9087', '2', 'master', '2025-08-23 05:47:30', ' ', 'pending', 'CH-215', '2025-07-31', '2025-08-26', '500', NULL),
(128, ' ', 'L10128', 'Receving', '', 'Receving Label', ' ', 'RM00001', 'hj965', '2', 'master', '2025-08-24 10:28:56', ' ', 'pending', 'CH-216', '2025-07-08', '2025-09-04', '500', NULL),
(129, ' ', 'L10129', 'Receving', '', 'Receving Label', ' ', 'RM00040', 'BH12345', '1', 'master', '2025-08-25 10:31:35', ' ', 'pending', 'CH-217', '2025-08-12', '2025-08-29', '50', NULL),
(130, ' ', 'L10130', 'Receving', '', 'Receving Label', ' ', 'RM00040', 'BH12345', '1', 'master', '2025-08-25 10:32:06', ' ', 'pending', 'CH-217', '2025-08-07', '2025-08-30', '50', NULL),
(131, ' ', 'L10131', 'Receving', '', 'Receving Label', ' ', 'RM00040', 'BH12345', '1', 'master', '2025-08-25 10:33:02', ' ', 'pending', 'CH-217', '2025-08-19', '2025-08-29', '200 ', NULL),
(132, ' ', 'L10132', 'Receving', '', 'Receving Label', ' ', 'RM00040', 'BH12345', '1', 'master', '2025-08-25 10:33:03', ' ', 'pending', 'CH-217', '2025-08-19', '2025-08-29', '200 ', NULL),
(133, ' ', 'L10133', 'Receving', '', 'Receving Label', ' ', 'RM00047', 'hj967', '2', 'master', '2025-08-25 12:21:09', ' ', 'pending', 'CH-121', '2025-07-24', '2025-10-21', '500', NULL),
(134, ' ', 'L10134', 'Receving', '', 'Receving Label', ' ', 'RM00048', 'BH12345', '1', 'master', '2025-08-25 12:58:09', ' ', 'pending', 'CH-220', '2025-08-20', '2025-08-30', '50', NULL),
(135, ' ', 'L10135', 'Receving', '', 'Receving Label', ' ', 'RM00067', 'FG543', '2', 'master', '2025-08-25 06:18:00', ' ', 'pending', 'CH-223', '2025-06-25', '2025-10-12', '500', NULL),
(136, ' ', 'L10136', 'Receving', '', 'Receving Label', ' ', 'RM00012', '12454', '2', 'master', '2025-08-26 10:08:58', ' ', 'pending', 'CH-226', '2025-08-25', '2027-06-07', '500', NULL),
(137, ' ', 'L10137', 'Receving', '', 'Receving Label', ' ', 'RM00039', 'BN000053', '1', 'master', '2025-08-26 10:37:02', ' ', 'pending', 'CH-228', '2025-08-01', '2027-02-26', '500', NULL),
(138, ' ', 'L10138', 'Receving', '', 'Receving Label', ' ', 'RM00067', 'BH12345', '1', 'master', '2025-08-26 10:41:03', ' ', 'pending', 'CH-229', '2025-08-25', '2025-08-30', '25', NULL),
(139, ' ', 'L10139', 'Receving', '', 'Receving Label', ' ', 'RM00067', 'BH12345', '1', 'master', '2025-08-26 10:42:00', ' ', 'pending', 'CH-229', '2025-08-15', '2025-08-30', '25', NULL),
(140, ' ', 'L10140', 'Receving', '', 'Receving Label', ' ', 'RM00067', 'BH12345', '1', 'master', '2025-08-26 10:42:01', ' ', 'pending', 'CH-229', '2025-08-15', '2025-08-30', '25', NULL),
(141, ' ', 'L10141', 'Receving', '', 'Receving Label', ' ', 'RM00242', 'bn432', '25', 'master', '2025-09-10 12:00:27', ' ', 'pending', 'CH-239', '2025-07-02', '2025-11-26', '50', NULL),
(142, ' ', 'L10142', 'Receving', '', 'Receving Label', ' ', 'RM00242', 'bn432', '25', 'master', '2025-09-10 12:01:34', ' ', 'pending', 'CH-239', '2025-08-05', '2025-11-04', '50', NULL),
(143, NULL, 'L10143', 'Receving', '', 'Receving Label', NULL, 'RM00001', 'BTH-152', '1', 'master', '2025-09-15 06:08:10', NULL, 'pending', 'CH-242', '2025-08-01', '2026-06-01', '20', NULL),
(144, NULL, 'L10144', 'Receving', '', 'Receving Label', NULL, 'RM00047', 'B01125', '1', 'master', '2025-09-16 09:57:36', NULL, 'pending', 'CH-219', '2025-08-13', '2026-07-07', '50', NULL),
(145, NULL, 'L10145', 'Receving', '', 'Receving Label', NULL, 'RM00003', 'hj9087', '34', 'master', '2025-09-16 10:00:18', NULL, 'pending', 'CH-215', '2025-02-04', '2025-11-30', '34', NULL),
(146, NULL, 'L10146', 'Receving', '', 'Receving Label', NULL, 'RM00012', '100', '1', 'master', '2025-09-26 11:52:33', NULL, 'pending', 'CH-243', '2025-09-26', '2025-09-26', '100', NULL),
(147, NULL, 'L10147', 'Receving', '', 'Receving Label', NULL, 'RM00110', 'BN432', '20', 'master', '2025-09-30 03:03:29', NULL, 'pending', 'CH-244', '2025-09-22', '2025-10-31', '20', NULL),
(148, NULL, 'L10148', 'Receving', '', 'Receving Label', NULL, 'RM00016', 'BN554', '2', 'master', '2025-10-01 03:18:49', NULL, 'pending', 'CH-246', '2024-12-04', '2025-10-30', '500', NULL),
(149, NULL, 'L10149', 'Receving', '', 'Receving Label', NULL, 'RM00052', 'BN4567', '500', 'master', '2025-10-01 03:30:03', NULL, 'pending', 'CH-160', '2025-10-01', '2025-11-07', '500', NULL),
(150, NULL, 'L10150', 'Receving', '', 'Receving Label', NULL, 'RM00248', 'bn432', '2', 'master', '2025-10-01 03:35:49', NULL, 'pending', 'CH-245', '2025-08-27', '2025-11-12', '50', NULL);

--
-- Triggers `label`
--
DELIMITER $$
CREATE TRIGGER `label_no_insert` BEFORE INSERT ON `label` FOR EACH ROW BEGIN

SET @lastID = (SELECT id FROM label ORDER BY id DESC LIMIT 1);
IF @lastID IS NULL OR @lastID = '' THEN
    SET @lastID = 0;
END IF;
SET @lastID = @lastID +1;
SET NEW.label_no = concat('L1', LPAD(CONVERT(@lastID, CHAR), 4, '0'));
END
$$
DELIMITER ;

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

--
-- Table structure for table `labels`
--

CREATE TABLE `labels` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `label_for` text DEFAULT NULL,
  `document_no` text DEFAULT NULL,
  `category` text DEFAULT NULL,
  `label_type` text DEFAULT NULL,
  `no` text DEFAULT NULL,
  `reason` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `status` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `labour`
--

CREATE TABLE `labour` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `labour_no` text DEFAULT '',
  `labour_id` text DEFAULT NULL,
  `labour_name` text DEFAULT NULL,
  `dob` text DEFAULT NULL,
  `address` text DEFAULT NULL,
  `contractor_name` text DEFAULT NULL,
  `daily_wages` text DEFAULT NULL,
  `gender` text DEFAULT NULL,
  `scan_upload` text DEFAULT NULL,
  `category` text DEFAULT NULL,
  `front_side` text DEFAULT NULL,
  `back_side` text DEFAULT NULL,
  `photo` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT '  ',
  `approve_by` text DEFAULT '  ',
  `approve_date` text DEFAULT '  ',
  `out_time` text DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `labour`
--

INSERT INTO `labour` (`id`, `plant_id`, `user_no`, `labour_no`, `labour_id`, `labour_name`, `dob`, `address`, `contractor_name`, `daily_wages`, `gender`, `scan_upload`, `category`, `front_side`, `back_side`, `photo`, `status`, `entry_by`, `entry_date`, `approve_by`, `approve_date`, `out_time`) VALUES
(1, ' ', 'gmpdemo1', 'LB0001', ' ', 'Ahira Sheikh', '2006-08-04', 'Sunita Nagar Pune', 'Sagar Sakhare', '250', 'Male', ' ', 'Labour', 'Ahira Sheikhfront_side.jpg', ' ', 'Ahira Sheikhphoto.jpg', 'pending', 'master', '2024-08-05 12:24:56', '  ', '  ', '0'),
(2, ' ', 'gmpdemo1', 'LB0002', ' ', 'Akash Tole', '2002-06-11', 'Kame Nagar Mumbai', 'Gitu Pawar', '250', 'Male', ' ', 'Labour', 'Akash Tolefront_side.png', ' ', 'Akash Tolephoto.jpg', 'pending', 'master', '2024-08-05 12:25:52', '  ', '  ', '0'),
(3, ' ', 'gmpdemo1', 'LB0003', ' ', 'Rohit Gore', '2006-08-04', 'Police Colony Nashik', 'Akash Gupta', '250', 'Male', ' ', 'Labour', 'Rohit Gorefront_side.png', ' ', 'Rohit Gorephoto.png', 'pending', 'master', '2024-08-05 12:27:13', '  ', '  ', '0'),
(4, ' ', 'gmpdemo1', 'LB0004', ' ', 'Ram Gupta', '1990-12-31', 'S. T Colony Baddi', 'Akash Gupta', '200', 'Male', ' ', 'Labour', 'Ram Guptafront_side.png', ' ', 'Ram Guptaphoto.png', 'pending', 'master', '2024-09-23 10:41:52', '  ', '  ', '0'),
(5, ' ', 'gmpdemo1', 'LB0005', ' ', 'test', '1998-07-08', 'dgf', 'Gitu Pawar', '100', 'Male', ' ', 'Labour', 'testfront_side.png', ' ', 'testphoto.png', 'pending', 'master', '2024-10-02 12:54:08', '  ', '  ', '0'),
(6, ' ', 'gmpdemo1', 'LB0006', ' ', 'anjali', '2001-06-04', 'Sadashiv Peth Pune', 'Gitu Pawar', '6', 'Female', ' ', 'Supervisor', 'anjalifront_side.jpg', ' ', 'anjaliphoto.jpg', 'pending', 'master', '2024-10-18 10:58:26', '  ', '  ', '0'),
(7, ' ', 'gmpdemo1', 'LB0007', ' ', 'Vasudev Radake ', '1989-03-08', 'Swargate Pune', 'Sagar Sakhare', '200', 'Male', ' ', 'Labour', 'Vasudev Radake front_side.jpg', ' ', 'Vasudev Radake photo.jpg', 'pending', 'master', '2024-11-09 02:17:13', '  ', '  ', '0'),
(8, '143', 'gmpdemo1', 'LB0008', ' ', 'Sushmita Bisen', '1999-03-06', 'Pune', 'Gitu Pawar', '200', 'Female', ' ', 'Operator', 'Sushmita Bisenfront_side.png', ' ', 'Sushmita Bisenphoto.png', 'pending', 'master', '2025-05-06 12:12:22', '  ', '  ', '0'),
(9, '142', 'gmpdemo1', 'LB0009', NULL, 'goutami', '2002-10-05', 'viman nagar pune', 'AKANKSHA', '200', 'Female', NULL, 'Operator', 'goutamifront_side.jpg', NULL, 'goutamiphoto.png', 'pending', 'master', '2025-09-23 11:56:35', '  ', '  ', '0'),
(10, '142', 'gmpdemo1', 'LB0010', NULL, 'goutami', '2002-10-05', 'viman nagar pune', 'AKANKSHA', '200', 'Female', NULL, 'Labour', 'goutamifront_side.jpg', NULL, 'goutamiphoto.jpg', 'pending', 'master', '2025-09-23 12:00:25', '  ', '  ', '0');

--
-- Triggers `labour`
--
DELIMITER $$
CREATE TRIGGER `labour_no_insert` BEFORE INSERT ON `labour` FOR EACH ROW BEGIN

SET @lastID = (SELECT id FROM labour ORDER BY id DESC LIMIT 1);
IF @lastID IS NULL OR @lastID = '' THEN
    SET @lastID = 0;
END IF;
SET @lastID = @lastID +1;
SET NEW.labour_no = concat('LB', LPAD(CONVERT(@lastID, CHAR), 4, '0'));
END
$$
DELIMITER ;

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

--
-- Table structure for table `labour_attendance`
--

CREATE TABLE `labour_attendance` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `labour_id` text DEFAULT NULL,
  `in_time` text DEFAULT NULL,
  `out_time` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `out_by` text DEFAULT NULL,
  `out_date` text DEFAULT NULL,
  `correction_reason` text DEFAULT NULL,
  `labour_no` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `labour_attendance`
--

INSERT INTO `labour_attendance` (`id`, `plant_id`, `user_no`, `labour_id`, `in_time`, `out_time`, `status`, `entry_by`, `entry_date`, `out_by`, `out_date`, `correction_reason`, `labour_no`) VALUES
(1, '142', 'gmpdemo1', NULL, '2024-08-05 20:14:05', NULL, 'pending', 'master', '2024-08-05 20:14:05', NULL, NULL, NULL, 'LB0003'),
(2, '142', 'gmpdemo1', NULL, '2024-08-07 16:16:31', NULL, 'pending', 'master', '2024-08-07 16:16:31', NULL, NULL, NULL, 'LB0003'),
(3, '142', 'gmpdemo1', NULL, '2024-08-12 09:52:09', NULL, 'pending', 'master', '2024-08-12 09:52:09', NULL, NULL, NULL, 'LB0003'),
(4, '142', 'gmpdemo1', NULL, '2024-08-23 12:38:36', NULL, 'pending', 'master', '2024-08-23 12:38:36', NULL, NULL, NULL, 'LB0003'),
(5, '142', 'gmpdemo1', NULL, '2024-09-23 16:42:10', NULL, 'pending', 'master', '2024-09-23 16:42:10', NULL, NULL, NULL, 'LB0003'),
(6, '142', 'gmpdemo1', NULL, '2024-10-11 09:13:26', NULL, 'pending', 'master', '2024-10-11 09:13:26', NULL, NULL, NULL, 'LB0003'),
(7, '142', 'gmpdemo1', NULL, '2024-10-11 09:13:28', NULL, 'pending', 'master', '2024-10-11 09:13:28', NULL, NULL, NULL, 'LB0004'),
(8, '142', 'gmpdemo1', NULL, '2024-10-11 09:13:30', NULL, 'pending', 'master', '2024-10-11 09:13:30', NULL, NULL, NULL, 'LB0002'),
(9, '142', 'gmpdemo1', NULL, '2024-10-11 09:13:31', NULL, 'pending', 'master', '2024-10-11 09:13:31', NULL, NULL, NULL, 'LB0001'),
(10, '143', 'gmpdemo1', NULL, '2024-10-21 16:57:20', NULL, 'pending', 'master', '2024-10-21 16:57:20', NULL, NULL, NULL, 'LB0005'),
(11, '143', 'gmpdemo1', NULL, '2024-10-21 17:57', NULL, 'pending', 'master', '2024-10-21 16:57:26', NULL, NULL, NULL, 'LB0003'),
(12, '143', 'gmpdemo1', NULL, '2024-10-21 16:57:28', NULL, 'pending', 'master', '2024-10-21 16:57:28', NULL, NULL, NULL, 'LB0004'),
(13, '143', 'gmpdemo1', NULL, '2024-11-13 10:46:20', NULL, 'pending', 'master', '2024-11-13 10:46:20', NULL, NULL, NULL, 'LB0006'),
(14, '143', 'gmpdemo1', NULL, '2024-11-14 10:05:29', NULL, 'pending', 'master', '2024-11-14 10:05:29', NULL, NULL, NULL, 'LB0001'),
(15, '142', 'gmpdemo1', NULL, '2024-11-19 12:52:32', NULL, 'pending', 'master', '2024-11-19 12:52:32', NULL, NULL, NULL, 'LB0007'),
(16, '142', 'gmpdemo1', NULL, '2024-12-02 11:33:16', NULL, 'pending', 'master', '2024-12-02 11:33:16', NULL, NULL, NULL, 'LB0003'),
(17, '142', 'gmpdemo1', NULL, '2024-12-03 10:56:41', NULL, 'pending', 'master', '2024-12-03 10:56:41', NULL, NULL, NULL, 'LB0007'),
(18, '142', 'gmpdemo1', NULL, '2024-12-10 11:58:45', NULL, 'pending', 'master', '2024-12-10 11:58:45', NULL, NULL, NULL, 'LB0007'),
(19, '142', 'gmpdemo1', NULL, '2025-01-11 11:09:27', NULL, 'pending', 'master', '2025-01-11 11:09:27', NULL, NULL, NULL, 'LB0007'),
(20, '142', 'gmpdemo1', NULL, '2025-01-13 16:18:19', '2025-01-13 16:18:34', 'pending', 'master', '2025-01-13 16:18:19', 'master', '2025-01-13 16:18:34', NULL, 'LB0007'),
(21, '142', 'gmpdemo1', NULL, '2025-01-13 16:18', NULL, 'pending', 'master', '2025-01-13 16:18:27', NULL, NULL, NULL, 'LB0005'),
(22, '142', 'gmpdemo1', NULL, '2025-01-25 12:38:15', NULL, 'pending', 'master', '2025-01-25 12:38:15', NULL, NULL, NULL, 'LB0007'),
(23, '142', 'gmpdemo1', NULL, '2025-01-25 12:38:16', NULL, 'pending', 'master', '2025-01-25 12:38:16', NULL, NULL, NULL, 'LB0005'),
(24, '142', 'gmpdemo1', NULL, '2025-01-25 16:14:15', NULL, 'pending', 'master', '2025-01-25 16:14:15', NULL, NULL, NULL, 'LB0003'),
(25, '142', 'gmpdemo1', NULL, '2025-03-27 14:34:10', NULL, 'pending', 'master', '2025-03-27 14:34:10', NULL, NULL, NULL, 'LB0007'),
(26, '142', 'gmpdemo1', NULL, '2025-03-27 14:34:11', NULL, 'pending', 'master', '2025-03-27 14:34:11', NULL, NULL, NULL, 'LB0005'),
(27, '142', 'gmpdemo1', NULL, '2025-03-27 14:35:30', NULL, 'pending', 'master', '2025-03-27 14:35:30', NULL, NULL, NULL, 'LB0003'),
(28, '142', 'gmpdemo1', NULL, '2025-03-27 14:35:41', NULL, 'pending', 'master', '2025-03-27 14:35:41', NULL, NULL, NULL, 'LB0004'),
(29, '142', 'gmpdemo1', NULL, '2025-04-02 14:58:52', '2025-04-02 14:59:02', 'pending', 'master', '2025-04-02 14:58:52', 'master', '2025-04-02 14:59:02', NULL, 'LB0007'),
(30, '142', 'gmpdemo1', NULL, '2025-04-08 17:18:59', NULL, 'pending', 'master', '2025-04-08 17:18:59', NULL, NULL, NULL, 'LB0007'),
(31, '142', 'gmpdemo1', NULL, '2025-05-03 11:16:51', '2025-05-03 11:16:56', 'exit', 'master', '2025-05-03 11:16:51', 'master', '2025-05-03 11:16:56', NULL, 'LB0007'),
(32, '142', 'gmpdemo1', NULL, '2025-05-03 11:17:00', NULL, 'pending', 'master', '2025-05-03 11:17:00', NULL, NULL, NULL, 'LB0003'),
(33, '142', 'gmpdemo1', NULL, '2025-05-03 11:17:02', NULL, 'pending', 'master', '2025-05-03 11:17:02', NULL, NULL, NULL, 'LB0005'),
(34, '142', 'gmpdemo1', NULL, '2025-05-03 11:17:04', NULL, 'pending', 'master', '2025-05-03 11:17:04', NULL, NULL, NULL, 'LB0002'),
(35, '142', 'gmpdemo1', NULL, '2025-05-03 11:17:05', NULL, 'pending', 'master', '2025-05-03 11:17:05', NULL, NULL, NULL, 'LB0001'),
(36, '142', 'gmpdemo1', NULL, '2025-05-03 11:17:07', NULL, 'pending', 'master', '2025-05-03 11:17:07', NULL, NULL, NULL, 'LB0004'),
(37, '142', 'gmpdemo1', NULL, '2025-05-03 11:17:08', NULL, 'pending', 'master', '2025-05-03 11:17:08', NULL, NULL, NULL, 'LB0006'),
(38, '142', 'gmpdemo1', NULL, '2025-05-05 11:04:44', NULL, 'pending', 'master', '2025-05-05 11:04:44', NULL, NULL, NULL, 'LB0007'),
(39, '142', 'gmpdemo1', NULL, '2025-05-09 16:17:42', NULL, 'pending', 'master', '2025-05-09 16:17:42', NULL, NULL, NULL, 'LB0007'),
(40, '142', 'gmpdemo1', NULL, '2025-05-12 12:05:59', NULL, 'pending', 'master', '2025-05-12 12:05:59', NULL, NULL, NULL, 'LB0007'),
(41, '142', 'gmpdemo1', NULL, '2025-05-22 11:08:37', NULL, 'pending', 'master', '2025-05-22 11:08:37', NULL, NULL, NULL, 'LB0007'),
(42, '142', 'gmpdemo1', NULL, '2025-06-20 10:15:26', NULL, 'pending', 'master', '2025-06-20 10:15:26', NULL, NULL, NULL, 'LB0007'),
(43, '142', 'gmpdemo1', NULL, '2025-08-19 17:49:18', '2025-08-19 17:49:26', 'exit', 'master', '2025-08-19 17:49:18', 'master', '2025-08-19 17:49:26', NULL, 'LB0007'),
(44, '142', 'gmpdemo1', NULL, '2025-08-19 17:57:39', NULL, 'pending', 'master', '2025-08-19 17:57:39', NULL, NULL, NULL, 'LB0005');

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

--
-- Table structure for table `labour_contractor`
--

CREATE TABLE `labour_contractor` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `entry_date` text DEFAULT NULL,
  `contractor_id` text DEFAULT NULL,
  `contract_firm` text DEFAULT NULL,
  `person` text DEFAULT NULL,
  `address` text DEFAULT NULL,
  `place` text DEFAULT NULL,
  `landmark` text DEFAULT NULL,
  `pincode` text DEFAULT NULL,
  `phone_no` text DEFAULT NULL,
  `email` text DEFAULT NULL,
  `file_pf` text DEFAULT NULL,
  `file_esic_no` text DEFAULT NULL,
  `file_gst_no` text DEFAULT NULL,
  `file_labour_lic` text DEFAULT NULL,
  `capacity` text DEFAULT NULL,
  `bank` text DEFAULT NULL,
  `branch` text DEFAULT NULL,
  `ac_no` text DEFAULT NULL,
  `ifsc` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `i_no1` text DEFAULT NULL,
  `agreement_status` text DEFAULT '0',
  `bond` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `labour_contractor`
--

INSERT INTO `labour_contractor` (`id`, `plant_id`, `user_no`, `entry_date`, `contractor_id`, `contract_firm`, `person`, `address`, `place`, `landmark`, `pincode`, `phone_no`, `email`, `file_pf`, `file_esic_no`, `file_gst_no`, `file_labour_lic`, `capacity`, `bank`, `branch`, `ac_no`, `ifsc`, `status`, `i_no1`, `agreement_status`, `bond`) VALUES
(1, ' ', 'gmpdemo1', '2024-08-05 11:47:25', ' ', 'RGD People', 'Akash Gupta', 'Chadan nagar', 'Pune', 'Phoenix mall', '411017', '08971723178', 'rir@gmail.com', '', '', '', '', '1- 100', 'Uco', 'Sirapur', '0931167547676', 'IPSC789768', 'pending', '1', '1', ''),
(2, ' ', 'gmpdemo1', '2024-08-05 11:48:33', ' ', 'Lagos Association', 'Sagar Sakhare', 'PR Colony, Pune', 'Pune', 'Sunita Nagar', '411014', '09876564738', 'sagarsakhare@gmail.com', '', '', '', '', '1 - 1000', 'SBI', 'Kasturba ', '0931167547689', 'UPSC5676', 'pending', '2', '1', '2bond.docx'),
(3, ' ', 'gmpdemo1', '2024-08-05 11:49:28', ' ', 'Gayatri Society', 'Gitu Pawar', 'Viman Nagar', 'Pune', 'K Tower', '411014', '09098123098', 'cdffh@gmail.com', '', '', '', '', '1 - 2000', 'ICICI Bank', 'Mahakali', '09311675476543', 'IPSC789768', 'pending', '3', '1', ''),
(4, ' ', 'gmpdemo1', '2024-10-05 10:44:42', ' ', 'surbhi', 'surbhi ', 'Katraj Pune ', 'Shiv mandir', 'shop ', '444148 ', '09988776655 ', 'suruabc@gmail.com', '4file_pf.xlsx', '4file_esic_no.xlsx', '4file_gst_no.xlsx', '4file_labour_lic.xlsx', '1- 100', 'sbi', 'Chandan Nagr , Pune ', '541526589548 ', 'sbi654 ', 'pending', '4', '1', ''),
(5, ' ', 'gmpdemo1', '2025-03-29 12:17:44', ' ', 'Saipro Company', 'Nitin Avhad', 'Gangadham Square Pune ', 'Shivaji Nagar Pune ', 'Balaji Shop ', '444120 ', '07987988971', 'nitin1@gmail.com', '5file_pf.docx', '5file_esic_no.docx', '5file_gst_no.docx', '5file_labour_lic.docx', '1 - 1000', 'HDFC', 'Chandan Nagr , Pune ', '5677577876 ', 'HDFC551 ', 'pending', '5', '1', ''),
(6, ' ', 'gmpdemo1', '2025-08-19 05:58:37', ' ', 'RM', 'RM', 'Viman nagar Pune', 'pune', '33556', '411030', '09890999789', 'rmenterprises@gmail.com', '', '', '', '', '1- 100', 'ICICI', 'NILKANT', '37739839928393', '12233456787', 'pending', '6', '0', ' '),
(7, ' ', 'gmpdemo1', '2025-08-20 09:50:29', ' ', 'sunpharma', 'ankita', 'vimannagar, pune', 'pune', 'no', '414503', '7767578900', 'pratik123@gmail.com', '7file_pf.pdf', '7file_esic_no.pdf', '7file_gst_no.pdf', '7file_labour_lic.pdf', '1- 100', 'state bank', 'pune', '1243455689', '12345678', 'pending', '7', '1', ''),
(8, ' ', 'gmpdemo1', '2025-08-20 09:50:32', ' ', 'sunpharma', 'ankita', 'vimannagar, pune', 'pune', 'no', '414503', '7767578900', 'pratik123@gmail.com', '8file_pf.pdf', '8file_esic_no.pdf', '8file_gst_no.pdf', '8file_labour_lic.pdf', '1- 100', 'state bank', 'pune', '1243455689', '12345678', 'pending', '8', '1', ''),
(9, ' ', 'gmpdemo1', '2025-08-20 12:07:01', ' ', 'Akanksha', 'AKANKSHA', 'Viman nagar Pune', 'pune', '33556', '411030', '09890999789', 'rmenterprises@gmail.com', '', '', '', '', '1- 100', 'ICICI', 'NILKANT', '37739839928393', '12233456787', 'pending', '9', '1', ''),
(10, ' ', 'gmpdemo1', '2025-08-20 01:59:35', ' ', 'Akanksha', 'ABC                             ', 'Viman nagar Pune', 'pune', '33556', '411030', '09890999789', 'rmenterprises@gmail.com', '', '', '', '', '1 - 1000', 'ICICI', 'NILKANT', '37739839928393', '12233456787', 'pending', '10', '0', ' '),
(11, ' ', 'gmpdemo1', '2025-08-21 11:47:59', ' ', 'RM', 'RM', 'Viman nagar Pune', 'pune', '33556', '411030', '09890999789', 'rmenterprises@gmail.com', '', '', '', '', '1- 100', 'ICICI', 'NILKANT', '37739839928393', '12233456787', 'pending', '10', '0', ' '),
(12, ' ', 'gmpdemo1', '2025-08-21 05:26:43', ' ', 'RM', 'RM', 'Viman nagar Pune', 'pune', '33556', '411030', '09890999789', 'rmenterprises@gmail.com', '', '', '', '', '1- 100', 'ICICI', 'NILKANT', '377398399', '12233456787', 'pending', '10', '0', ' '),
(13, ' ', 'gmpdemo1', '2025-08-22 11:15:14', ' ', 'sunpharma', 'ankita', 'vimannagar, pune', 'pune', 'no', '1234', '7767578900', 'pratik123@gmail.com', '', '', '', '', '1 - 1000', 'state bank', 'pune', '1243455689', '12345678', 'pending', '10', '0', ' ');

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

--
-- Table structure for table `labour_daily_work`
--

CREATE TABLE `labour_daily_work` (
  `id` int(11) NOT NULL,
  `work_id` text DEFAULT '49',
  `entry_date` text DEFAULT NULL,
  `activity` text DEFAULT NULL,
  `approx_time` text DEFAULT NULL,
  `checked_by` text DEFAULT NULL,
  `i_no1` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `labour_daily_work`
--

INSERT INTO `labour_daily_work` (`id`, `work_id`, `entry_date`, `activity`, `approx_time`, `checked_by`, `i_no1`) VALUES
(1, '', '2024-08-05 12:29:42', 'Waste Management', '9 Hrs', 'master', '1'),
(2, '', '2024-08-05 12:30:19', 'Plant Watering', '9 Hrs', 'master', '2'),
(3, '', '2024-08-05 12:30:47', 'Garden Cleaning ', '9 Hrs', 'master', '3'),
(4, '', '2024-10-05 11:09:07', 'cleaning walls', 'na', 'master', '4'),
(5, '', '2024-10-23 03:21:53', 'test ', 'ok', 'master', '5'),
(6, '', '2025-03-29 02:11:19', 'Cleaning Floor', '9am to 6pm', 'master', '6'),
(7, '', '2025-08-20 10:22:20', 'cleaning', '1.00', 'master', '7'),
(8, '', '2025-08-20 12:14:54', 'na', 'xxyz', 'master', '8'),
(9, '', '2025-08-21 11:55:18', 'na', 'xxyz', 'master', '9'),
(10, '', '2025-08-22 11:22:55', 'security round', '5 hours', 'master', '10');

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

--
-- Table structure for table `labour_data`
--

CREATE TABLE `labour_data` (
  `id` int(11) NOT NULL,
  `work_id` text DEFAULT NULL,
  `labour_name` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `labour_data`
--

INSERT INTO `labour_data` (`id`, `work_id`, `labour_name`) VALUES
(1, '', ''),
(2, '', ''),
(3, '', ''),
(4, '', '');

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

--
-- Table structure for table `labour_management`
--

CREATE TABLE `labour_management` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `labour_id` text DEFAULT NULL,
  `labour_name` text DEFAULT NULL,
  `dob` text DEFAULT NULL,
  `address` text DEFAULT NULL,
  `contractor_name` text DEFAULT NULL,
  `daily_wages` text DEFAULT NULL,
  `gender` text DEFAULT NULL,
  `scan_upload` text DEFAULT NULL,
  `photo` text DEFAULT NULL,
  `category` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `approve_by` text DEFAULT NULL,
  `approve_date` text DEFAULT NULL,
  `isapprove` text DEFAULT 'pending'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `labs`
--

CREATE TABLE `labs` (
  `id` int(11) NOT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `lab_no` text DEFAULT NULL,
  `lab_name` text DEFAULT NULL,
  `contact_no` text DEFAULT NULL,
  `email` text DEFAULT NULL,
  `address` text DEFAULT NULL,
  `contact_person` text DEFAULT NULL,
  `fda_approved` text DEFAULT 'No',
  `certificate` text DEFAULT NULL,
  `fda_lic_no` text DEFAULT NULL,
  `fda_lic_file` text DEFAULT NULL,
  `branches` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `approve_by` text DEFAULT NULL,
  `approve_date` text DEFAULT NULL,
  `acreditation` text DEFAULT NULL,
  `lice_no` text DEFAULT NULL,
  `lic_validity` text DEFAULT NULL,
  `international_acreditation` text DEFAULT NULL,
  `branch` text DEFAULT NULL,
  `plant_id` text DEFAULT NULL,
  `country` text DEFAULT NULL,
  `permanent_state` text DEFAULT NULL,
  `city` text DEFAULT NULL,
  `pincode` text DEFAULT NULL,
  `tax` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `labs`
--

INSERT INTO `labs` (`id`, `user_no`, `lab_no`, `lab_name`, `contact_no`, `email`, `address`, `contact_person`, `fda_approved`, `certificate`, `fda_lic_no`, `fda_lic_file`, `branches`, `status`, `entry_by`, `entry_date`, `approve_by`, `approve_date`, `acreditation`, `lice_no`, `lic_validity`, `international_acreditation`, `branch`, `plant_id`, `country`, `permanent_state`, `city`, `pincode`, `tax`) VALUES
(1, 'gmpdemo1', 'L10001', 'khradi', '485796321', 'ray75688@gmail.com', 'khradi,pune ', 'ray', 'No', '', '', '', ' ', 'pending', 'master', '2025-04-14 04:07:00', ' ', ' ', '', ' ', '', '', '[]', '142', 'INDIA', 'Nagaland', 'pune', '411250', ''),
(2, 'gmpdemo1', 'L10002', 'Cyclone Laboratories PVT Ltd', '9410094100', 'cppl02@gmail.com', 'Near Sheraton Hotel, Viman Nagar, Pune', 'TEST', 'Yes', '', '', '', ' ', 'pending', 'master', '2025-06-10 03:55:51', ' ', ' ', '', ' ', '', '', '[]', '142', 'INDIA', 'Uttar Pradesh', 'Pune', '411014', '5'),
(3, 'gmpdemo1', 'L10003', 'Cyclone Laboratories PVT Ltd', '9410094100', 'cppl02@gmail.com', 'Near Sheraton Hotel, Viman Nagar, Pune', 'TEST', 'Yes', '', '', '', ' ', 'pending', 'master', '2025-06-10 03:55:52', ' ', ' ', '', ' ', '', '', '[]', '142', 'INDIA', 'Uttar Pradesh', 'Pune', '411014', '5'),
(4, 'gmpdemo1', 'L10004', 'Cyclone Laboratories PVT Ltd', '9410094100', 'cppl02@gmail.com', 'Near Sheraton Hotel, Viman Nagar, Pune', 'TEST', 'Yes', '', '', '', ' ', 'pending', 'master', '2025-06-10 03:55:52', ' ', ' ', '', ' ', '', '', '[]', '142', 'INDIA', 'Uttar Pradesh', 'Pune', '411014', '5'),
(5, 'gmpdemo1', 'L10005', 'GMP Lab', '5263414512', 'Northern@gmail.com', 'Northern Beaches,NSW', 'Pooja', 'Yes', '', '', '', ' ', 'pending', 'master', '2025-07-11 11:18:57', ' ', ' ', '', ' ', '', '', '[{\"branch_name\":\"Sai Pharma unit -II\",\"contact_no\":\"3498787858\",\"email\":\"Northern@gmail.com\",\"address\":\"Viman Nagar,Pune\"}]', '142', 'INDIA', 'Maharashtra', 'pune', '96354', '2'),
(6, 'gmpdemo1', 'L10006', 'Videsha lab ', '9878965677', 'gaurav123@gmail.com', '', 'gaurav gaikwad', 'No', '', '', '', ' ', 'pending', 'master', '2025-07-11 02:08:07', ' ', ' ', '', ' ', '', '', '[]', '142', 'INDIA', 'Maharashtra', 'Pune', '441101', ''),
(7, 'gmpdemo1', 'L10007', 'cyclone lab', '8080104793', 'vaishnavibankar3307@gmail.com', 'vimanangar', 'vaishnavi', 'No', '', '', '', ' ', 'pending', 'master', '2025-07-11 02:38:25', ' ', ' ', '', ' ', '', '', '[]', '142', 'INDIA', 'Maharashtra', 'pune', '411028', ''),
(8, 'gmpdemo1', 'L10008', 'Cyclone lab', '9890999456', 'pb23@gmail.com', 'viman nagar pune', 'Adarsh', 'Yes', '', '', '', ' ', 'pending', 'master', '2025-07-11 02:57:18', ' ', ' ', '', ' ', '', '', '[{\"branch_name\":\"viman nagar\",\"contact_no\":\"9890897689\",\"email\":\"pb23@gmail.com\",\"address\":\"Viman Nagar\"}]', '142', 'INDIA', 'Maharashtra', 'pune', '411057', '2'),
(9, 'gmpdemo1', 'L10009', 'Cyclone lab', '9890999456', 'pb23@gmail.com', 'viman nagar pune', 'Adarsh', 'Yes', '', '', '', ' ', 'pending', 'master', '2025-07-11 02:57:25', ' ', ' ', '', ' ', '', '', '[{\"branch_name\":\"viman nagar\",\"contact_no\":\"9890897689\",\"email\":\"pb23@gmail.com\",\"address\":\"Viman Nagar\"}]', '142', 'INDIA', 'Maharashtra', 'pune', '411057', '2'),
(10, 'gmpdemo1', 'L10010', 'Shreya', '8788665308', 'kolishreya2004@gmail.com', 'sakharwadi   Phaltan', 'kolishreeya@gmail.com', 'Yes', '', '', '', ' ', 'pending', 'master', '2025-07-29 03:27:20', ' ', ' ', '', ' ', '', '', '[{\"branch_name\":\"viman nagar\",\"contact_no\":\"8788665308\",\"email\":\"kolishreya2004@gmail.com\",\"address\":\"pune\"}]', '142', 'INDIA', 'Maharashtra', 'Satara', '415522', '18'),
(11, 'gmpdemo1', 'L10011', 'Shreya', '8788665308', 'kolishreya2004@gmail.com', 'sakharwadi   Phaltan', 'kolishreeya@gmail.com', 'Yes', '', '', '', ' ', 'pending', 'master', '2025-07-29 03:27:31', ' ', ' ', '', ' ', '', '', '[{\"branch_name\":\"viman nagar\",\"contact_no\":\"8788665308\",\"email\":\"kolishreya2004@gmail.com\",\"address\":\"pune\"}]', '142', 'INDIA', 'Maharashtra', 'Satara', '415522', '18'),
(12, 'gmpdemo1', 'L10012', 'CYCLONE LABORATORIES', '9325560053', 'SANKETLAMKAN57@GMAIL.COM', 'CLOVER PARK VIMAN NAGAR PUNE', 'SANKET', 'Yes', '', '', '', ' ', 'pending', 'master', '2025-08-14 12:45:08', ' ', ' ', '', ' ', '', '', '[{\"branch_name\":\"PUNE CYCLONE\",\"contact_no\":\"9325560053\",\"email\":\"SANKETLAMKAN57@GMAIL.COM\",\"address\":\"CLOVER PARK VIMAN NAGAR PUNE\"}]', '142', 'INDIA', 'Maharashtra', 'PUNE', '630053', ''),
(13, 'gmpdemo1', 'L10013', 'CYCLONE', '0975790908', 'rmenterprises@gmail.com', 'Viman nagar Pune', 'RM', 'Yes', '', '', '', ' ', 'pending', 'master', '2025-08-14 05:26:45', ' ', ' ', '', ' ', '', '', '[]', '142', 'INDIA', 'Maharashtra', 'pune', '411030', ''),
(14, 'gmpdemo1', 'L10014', 'cyclone', '1234567890', 'bdgmp01@gmail.com', 'pune', 'akshay', 'Yes', 'cyclonecertificate.pdf', '', '', ' ', 'pending', 'master', '2025-09-02 03:30:49', ' ', ' ', '', ' ', '', '', '[{\"branch_name\":\"pune\",\"contact_no\":\"1234567890\",\"email\":\"bdgmp01@gmail.com\",\"address\":\"at post gtfgr\"}]', '142', 'INDIA', 'Maharashtra', 'pune', '41101', ''),
(15, 'gmpdemo1', 'L10015', 'aurenyx', '1234567890', 'bdgmp01@gmail.com', 'pune', 'akshay', 'Yes', 'aurenyxcertificate.pdf', '', '', ' ', 'pending', 'master', '2025-09-02 03:31:47', ' ', ' ', '', ' ', '', '', '[]', '142', 'INDIA', 'Maharashtra', 'pune', '41101', ''),
(16, 'gmpdemo1', 'L10016', 'pharma', '1234567890', 'bdgmp01@gmail.com', 'pune', 'akshay', 'Yes', 'pharmacertificate.pdf', '', '', ' ', 'pending', 'master', '2025-09-02 04:34:10', ' ', ' ', '', ' ', '', '', '[{\"branch_name\":\"pune\",\"contact_no\":\"1234567890\",\"email\":\"bdgmp01@gmail.com\",\"address\":\"at post gtfgr\"}]', '142', 'INDIA', 'Maharashtra', 'pune', '41101', ''),
(17, 'gmpdemo1', 'L10017', 'pharma', '1234567890', 'akshay@gmail.com', 'pune', 'akshay', 'Yes', 'pharmacertificate.pdf', '', '', ' ', 'pending', 'master', '2025-09-03 11:46:01', ' ', ' ', '', ' ', '', '', '[]', '142', 'INDIA', 'Maharashtra', 'pune', '41101', '10'),
(18, 'gmpdemo1', 'L10018', 'aurenyx', '1234567890', 'akshay@gmail.com', 'pune', 'akshay', 'Yes', 'aurenyxcertificate.pdf', '', '', ' ', 'pending', 'master', '2025-09-03 11:47:00', ' ', ' ', '', ' ', '', '', '[]', '142', 'INDIA', 'Maharashtra', 'pune', '41101', ''),
(19, 'gmpdemo1', 'L10019', 'OneLab ', '6865974562', 'admin@onelab.com', 'bajiprabhu nagar, pune ', 'Sambhaji', 'Yes', '', '', '', ' ', 'pending', 'master', '2025-09-08 02:59:50', ' ', ' ', '', ' ', '', '', '[]', '142', 'INDIA', 'Maharashtra', 'Pune', '410014', '18'),
(20, 'gmpdemo1', 'L10020', 'OneLab ', '6865974562', 'admin@onelab.com', 'bajiprabhu nagar, pune ', 'Sambhaji', 'Yes', '', '', '', ' ', 'pending', 'master', '2025-09-08 03:00:08', ' ', ' ', '', ' ', '', '', '[]', '142', 'INDIA', 'Maharashtra', 'Pune', '410014', '18'),
(21, 'gmpdemo1', 'L10021', 'OneLab ', '6865974562', 'admin@onelab.com', 'bajiprabhu nagar, pune ', 'Sambhaji', 'Yes', '', '', '', ' ', 'pending', 'master', '2025-09-08 03:00:11', ' ', ' ', '', ' ', '', '', '[]', '142', 'INDIA', 'Maharashtra', 'Pune', '410014', '18'),
(22, 'gmpdemo1', 'L10022', 'Pure Health Lab ', '8989787852', 'ajit@purehealthlab.com', 'Shiv Shankar Nagar, Pune - 411028', 'Ajit', 'Yes', '', '', '', NULL, 'pending', 'master', '2025-09-15 12:56:30', NULL, NULL, '', NULL, '', '', '[{\"branch_name\":\"Pune Main \",\"contact_no\":\"8012564521\",\"email\":\"ajit@purehealthlab.com\",\"address\":\"Pune\"}]', '142', 'INDIA', 'Maharashtra', 'Pune', '411028', '18');

--
-- Triggers `labs`
--
DELIMITER $$
CREATE TRIGGER `labs_no_insert` BEFORE INSERT ON `labs` FOR EACH ROW BEGIN

SET @lastID = (SELECT id FROM labs ORDER BY id DESC LIMIT 1);
IF @lastID IS NULL OR @lastID = '' THEN
    SET @lastID = 0;
END IF;
SET @lastID = @lastID +1;
SET NEW.lab_no = concat('L1', LPAD(CONVERT(@lastID, CHAR), 4, '0'));
END
$$
DELIMITER ;

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

--
-- Table structure for table `lab_cleaning`
--

CREATE TABLE `lab_cleaning` (
  `id` int(11) NOT NULL,
  `laf_id` text DEFAULT NULL,
  `pass_box1` text DEFAULT NULL,
  `pass_box2` text DEFAULT NULL,
  `ph_meter` text DEFAULT NULL,
  `balance_id` text DEFAULT NULL,
  `colony_counter` text DEFAULT NULL,
  `autoclave` text DEFAULT NULL,
  `microscope` text DEFAULT NULL,
  `floor` text DEFAULT NULL,
  `work_benches` text DEFAULT NULL,
  `door_window` text DEFAULT NULL,
  `light` text DEFAULT NULL,
  `clean_by` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `status` text DEFAULT 'pending'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `laf`
--

CREATE TABLE `laf` (
  `id` int(11) NOT NULL,
  `equipment_code` text DEFAULT NULL,
  `before_uv_on` text DEFAULT NULL,
  `beforeUVstart_by` text DEFAULT NULL,
  `status` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `language`
--

CREATE TABLE `language` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `language` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `laundry`
--

CREATE TABLE `laundry` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `date` text DEFAULT NULL,
  `laundry_id` text DEFAULT NULL,
  `department_name` text DEFAULT NULL,
  `uniform_type` text DEFAULT NULL,
  `no_units` text DEFAULT NULL,
  `size` text DEFAULT NULL,
  `i_no1` text DEFAULT NULL,
  `LglNm` text DEFAULT NULL,
  `person` text DEFAULT NULL,
  `Trdnm` text DEFAULT NULL,
  `state_code` text DEFAULT NULL,
  `gst_type` text DEFAULT NULL,
  `gst_no` text DEFAULT NULL,
  `country` text DEFAULT NULL,
  `address` text DEFAULT NULL,
  `pincode` text DEFAULT NULL,
  `contact_no` text DEFAULT NULL,
  `email` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `laundry_reg`
--

CREATE TABLE `laundry_reg` (
  `id` int(11) NOT NULL,
  `plant_id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `leadunit`
--

CREATE TABLE `leadunit` (
  `uid` int(11) NOT NULL,
  `unit` text DEFAULT NULL,
  `plant_id` text DEFAULT '  '
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `leaveform`
--

CREATE TABLE `leaveform` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `department_name` text DEFAULT NULL,
  `emp_id` text DEFAULT NULL,
  `leave_from` text DEFAULT NULL,
  `leave_to` text DEFAULT NULL,
  `no_day` text DEFAULT NULL,
  `leave_type` text DEFAULT NULL,
  `leave_available` text DEFAULT NULL,
  `reason_leave` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT '',
  `status` text DEFAULT 'pending',
  `balance_leave` text DEFAULT NULL,
  `approver` text DEFAULT NULL,
  `charge_handover` text DEFAULT NULL,
  `alternate_person` text DEFAULT NULL,
  `contact_no` text DEFAULT NULL,
  `pendingList` text DEFAULT NULL,
  `remark` text DEFAULT NULL,
  `modi_no_day` text DEFAULT '0',
  `modi_leave_from` text DEFAULT NULL,
  `modi_leave_to` text DEFAULT NULL,
  `charge_status` text DEFAULT 'pending',
  `charge_accepted_by` text DEFAULT NULL,
  `hod_status` text DEFAULT 'pending',
  `hod_approvar` text DEFAULT NULL,
  `hod_approve_date` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `leaveform`
--

INSERT INTO `leaveform` (`id`, `plant_id`, `department_name`, `emp_id`, `leave_from`, `leave_to`, `no_day`, `leave_type`, `leave_available`, `reason_leave`, `entry_by`, `entry_date`, `status`, `balance_leave`, `approver`, `charge_handover`, `alternate_person`, `contact_no`, `pendingList`, `remark`, `modi_no_day`, `modi_leave_from`, `modi_leave_to`, `charge_status`, `charge_accepted_by`, `hod_status`, `hod_approvar`, `hod_approve_date`) VALUES
(1, '142', 'Admin', 'DGMP-110', '2024-10-15', '2024-10-16', '2', 'C OFF', ' ', 'sick', 'master', '2024-10-05 14:14:28', 'Pending_Dept_Head_Approval', ' ', '', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(2, '142', 'Account', 'DGMP-109', '2024-10-07', '2024-10-10', '4', 'C OFF', ' ', 'sick ', 'master', '2024-10-05 15:27:49', 'Pending_Dept_Head_Approval', ' ', '', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(3, '142', 'Engineering', '2093', '2024-10-17', '2024-10-21', '4', 'C OFF', ' ', 'sick  ', 'master', '2024-10-16 18:07:50', 'Pending_Dept_Head_Approval', ' ', '2093', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(4, '143', 'Purchase', 'DGMP-112', '2024-10-18', '2024-10-18', '1', 'C OFF', ' ', 'sick', 'master', '2024-10-21 11:58:44', 'Pending_Dept_Head_Approval', ' ', '', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(5, '142', 'Quality Assurance', 'GMP236', '2024-12-25', '2024-12-26', '', 'Sick Leave', ' ', 'Sick', 'master', '2024-12-24 17:46:02', 'Pending_Dept_Head_Approval', ' ', 'GMP229', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(6, '142', 'Quality Assurance', 'GMP236', '2024-12-25', '2024-12-26', '', 'Sick Leave', ' ', 'Sick', 'master', '2024-12-24 17:46:02', 'Pending_Dept_Head_Approval', ' ', 'GMP229', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(7, '142', 'Quality Assurance', 'GMP237', '2024-12-24', '2024-12-27', '4', 'Sick Leave', ' ', 'Sick', 'master', '2024-12-24 17:47:57', 'Pending_Dept_Head_Approval', ' ', 'GMP229', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(8, '142', 'IT', 'GMP239', '2024-12-13', '2024-12-15', '', 'Short Leave', ' ', 'Sick  ', 'master', '2024-12-28 09:52:16', 'Pending_Dept_Head_Approval', ' ', 'GMP185', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(9, '142', 'Quality Control', 'DGMP-103', '2025-01-02', '2025-01-02', '', 'Short Leave', ' ', 'Emergency', 'master', '2025-01-03 09:44:31', 'Pending_Dept_Head_Approval', ' ', '', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(10, '142', 'IT', 'DND 245', '2025-01-01', '2025-01-02', '', 'Casual Leave', ' ', 'Casual Leave', 'master', '2025-01-03 09:57:17', 'Pending_Dept_Head_Approval', ' ', 'GMP185', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(11, '142', 'Quality Assurance', 'GMP229', '2025-01-01', '2025-01-01', '', 'Short Leave', ' ', 'Casual Leave ', 'master', '2025-01-03 09:58:20', 'Pending_Dept_Head_Approval', ' ', 'GMP232', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(12, '142', 'IT', 'GMP 195', '2024-11-11', '2024-11-13', '', 'Casual Leave', ' ', 'Casual Leave ', 'master', '2025-01-03 10:49:50', 'Pending_Dept_Head_Approval', ' ', 'GMP238', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(13, '142', 'Account', 'DGMP-109', '2025-01-10', '2025-01-11', '', 'Sick Leave', ' ', 'NA', 'master', '2025-01-10 17:27:01', 'Pending_Dept_Head_Approval', ' ', '', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(14, '142', 'Business Development', 'GMP225', '2025-01-11', '2025-01-11', '', 'C OFF', ' ', 'ok', 'master', '2025-01-11 11:40:29', 'Pending_Dept_Head_Approval', ' ', '', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(15, '142', 'Human Resource', 'undefined', '2025-01-10', '2025-01-11', '2', 'C OFF', ' ', '2', 'master', '2025-01-11 11:44:45', 'Pending_Dept_Head_Approval', ' ', 'DGMP-113', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(16, '142', 'IT', 'DGMP239', '2025-04-11', '2025-04-14', '4', 'Sick Leave', ' ', 'Casual Leave', 'master', '2025-04-01 18:44:04', 'Pending_Dept_Head_Approval', ' ', 'GMP185', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(17, '143', 'Human Resource', 'master', '2025-05-06', '2025-05-07', '2', 'C OFF', ' ', 'NA', 'master', '2025-05-06 12:04:33', 'approve', ' ', 'master', '', '', '', '[]', 'OK', '0', ' ', ' ', 'Pending', ' ', 'Pending', 'master', '2025-05-06 12:05:05'),
(18, '143', 'Business Development', 'GMP225', '2025-05-06', '2025-05-07', '2', 'C OFF', ' ', 'NA', 'master', '2025-05-06 12:08:12', 'Pending_Dept_Head_Approval', ' ', 'master', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(19, '142', 'Business Development', 'GMP225', '2025-05-06', '2025-05-07', '2', 'C OFF', ' ', 'Not Feeling Well', 'master', '2025-05-06 12:16:27', 'Pending_Dept_Head_Approval', ' ', 'master', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(20, '142', 'Account', 'DGMP-109', '2025-05-06', '2025-05-07', '2', 'C OFF', ' ', 'Sick', 'master', '2025-05-06 12:50:14', 'approve', ' ', 'master', '', '', '', '[]', 'Approved', '0', ' ', ' ', 'Pending', ' ', 'Pending', 'master', '2025-05-06 12:52:21'),
(21, '142', 'Microbiology', 'DGMP-110', '2025-08-19', '2025-08-21', '3', 'Sick Leave', ' ', 'sick', 'master', '2025-08-20 15:22:41', 'Pending_Dept_Head_Approval', ' ', '', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(22, '142', 'Production', 'master', '2025-09-01', '2025-09-02', '2', 'Sick Leave', ' ', 'due to illness ', 'master', '2025-09-01 12:08:11', 'Pending_Dept_Head_Approval', ' ', 'master', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(23, '142', 'R AND D', 'master', '2025-09-02', '2025-09-05', '4', 'Casual Leave', ' ', 'due to some family issue', 'master', '2025-09-01 12:43:04', 'Pending_Dept_Head_Approval', ' ', 'master', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(24, '142', 'IT', 'DGMP1234', '2025-09-02', '2025-09-03', '2', 'Sick Leave', ' ', 'due to illness ', 'master', '2025-09-01 12:45:31', 'Pending_Dept_Head_Approval', ' ', 'master', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(25, '142', 'Human Resource', 'undefined', '2025-09-06', '2025-09-07', '1', 'C OFF', ' ', ' na', 'master', '2025-09-06 17:00:36', 'Pending_Dept_Head_Approval', ' ', 'master', '', '', '', '[]', ' ', '0', ' ', ' ', 'Pending', ' ', 'Pending', NULL, NULL),
(26, '142', 'Quality Assurance', 'applo28', '2025-09-23', '2025-09-30', '8', 'Sick Leave', NULL, 'due to illness ', 'master', '2025-09-23 11:28:50', 'Pending_Dept_Head_Approval', NULL, 'GMP233', '', '', '', '[]', NULL, '0', NULL, NULL, 'pending', NULL, 'pending', NULL, NULL),
(27, '142', 'Quality Assurance', 'Appl01', '2025-09-27', '2025-10-01', '5', 'C OFF', NULL, 'due to illness ', 'master', '2025-09-26 16:04:00', 'Pending_Dept_Head_Approval', NULL, 'applo28', '', '', '', '[]', NULL, '0', NULL, NULL, 'pending', NULL, 'pending', NULL, NULL),
(28, '142', 'Account', 'Appl040', '2025-09-27', '2025-09-29', '', 'Sick Leave', NULL, 'i have a fever so i need to leave for 2 days ', 'master', '2025-09-27 12:24:59', 'approve', NULL, 'master', '', '', '', '[]', 'ok', '0', NULL, NULL, 'pending', NULL, 'pending', 'master', '2025-09-27 12:43:14'),
(29, '142', 'Store', 'master', '2025-09-27', '2025-09-23', '5', 'Sick Leave', NULL, 'i have a fever so i need to leave for 2 days ', 'master', '2025-09-27 12:41:51', 'Pending_Dept_Head_Approval', NULL, 'master', '', '', '', '[]', NULL, '0', NULL, NULL, 'pending', NULL, 'pending', NULL, NULL);

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

--
-- Table structure for table `leaveform_coff`
--

CREATE TABLE `leaveform_coff` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `department_name` text DEFAULT NULL,
  `emp_id` text DEFAULT NULL,
  `leave_from` text DEFAULT NULL,
  `leave_to` text DEFAULT NULL,
  `no_day` text DEFAULT NULL,
  `leave_type` text DEFAULT NULL,
  `leave_available` text DEFAULT NULL,
  `reason_leave` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT '',
  `status` text DEFAULT 'pending',
  `balance_leave` text DEFAULT NULL,
  `approver` text DEFAULT NULL,
  `charge_handover` text DEFAULT NULL,
  `alternate_person` text DEFAULT NULL,
  `contact_no` text DEFAULT NULL,
  `pendingList` text DEFAULT NULL,
  `remark` text DEFAULT NULL,
  `modi_no_day` text DEFAULT '0',
  `modi_leave_from` text DEFAULT NULL,
  `modi_leave_to` text DEFAULT NULL,
  `charge_status` text DEFAULT 'pending',
  `charge_accepted_by` text DEFAULT NULL,
  `hod_status` text DEFAULT 'pending',
  `hod_approvar` text DEFAULT NULL,
  `hod_approve_date` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `leavepolicy`
--

CREATE TABLE `leavepolicy` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `leave_title` text DEFAULT NULL,
  `designation_heading` text DEFAULT NULL,
  `designation` text DEFAULT NULL,
  `Eefective_from` text DEFAULT NULL,
  `Eefective_to` text DEFAULT NULL,
  `cf_days` text DEFAULT NULL,
  `cf_mintime` text DEFAULT NULL,
  `cf_maxtime` text DEFAULT NULL,
  `cf_crforward` text DEFAULT NULL,
  `cf_accumulation` text DEFAULT NULL,
  `cf_encashment` text DEFAULT NULL,
  `pl_days` text DEFAULT NULL,
  `pl_mintime` text DEFAULT NULL,
  `pl_maxtime` text DEFAULT NULL,
  `pl_crforward` text DEFAULT NULL,
  `pl_accumulation` text DEFAULT NULL,
  `pl_encashment` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `emp_type` text DEFAULT NULL,
  `total_leave` text DEFAULT NULL,
  `allow_leave` text DEFAULT NULL,
  `leave_deduct` text DEFAULT NULL,
  `salary_day` text DEFAULT NULL,
  `over_time` text DEFAULT NULL,
  `leaveList` text DEFAULT NULL,
  `leave_taken` text DEFAULT NULL,
  `leave_balance` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `leavepolicy`
--

INSERT INTO `leavepolicy` (`id`, `plant_id`, `leave_title`, `designation_heading`, `designation`, `Eefective_from`, `Eefective_to`, `cf_days`, `cf_mintime`, `cf_maxtime`, `cf_crforward`, `cf_accumulation`, `cf_encashment`, `pl_days`, `pl_mintime`, `pl_maxtime`, `pl_crforward`, `pl_accumulation`, `pl_encashment`, `status`, `entry_by`, `entry_date`, `emp_type`, `total_leave`, `allow_leave`, `leave_deduct`, `salary_day`, `over_time`, `leaveList`, `leave_taken`, `leave_balance`) VALUES
(1, '142', ' ', 'Purchase Head', ' ', '2025-05-06', '2025-05-11', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'master', '2025-05-06 09:53:44', '', '2', '6', 'No', '', '', '[{\"leave_type\":\"C OFF\",\"days\":6,\"mintime\":2,\"maxtime\":3,\"forward\":\"Yes\",\"accumulation\":6,\"encashment\":\"Yes\"},{\"leave_type\":\"Sick Leave\",\"days\":10,\"mintime\":4,\"maxtime\":5,\"forward\":\"Yes\",\"accumulation\":10,\"encashment\":\"Yes\"}]', ' ', ' '),
(2, '143', ' ', 'Business Development Manager', ' ', '2025-05-06', '2025-05-07', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'master', '2025-05-06 11:26:59', '', '12', '6', 'No', '', '', '[{\"leave_type\":\"C OFF\",\"days\":6,\"mintime\":3,\"maxtime\":5,\"forward\":\"Yes\",\"accumulation\":6,\"encashment\":\"Yes\"},{\"leave_type\":\"Sick Leave\",\"days\":5,\"mintime\":2,\"maxtime\":3,\"forward\":\"Yes\",\"accumulation\":5,\"encashment\":\"Yes\"}]', ' ', ' '),
(3, '142', ' ', 'Software Devloper', ' ', '2025-04-01', '2026-01-29', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'master', '2025-08-20 14:47:27', '', '32', '4', 'No', '', '', '[{\"leave_type\":\"Sick Leave\",\"days\":10,\"mintime\":4,\"maxtime\":6,\"forward\":\"Yes\",\"accumulation\":2,\"encashment\":\"No\"}]', ' ', ' '),
(4, '142', ' ', 'Junior Operator', ' ', '2025-08-20', '2025-08-23', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'master', '2025-08-20 15:30:57', '', '32', '4', 'No', '', '', '[]', ' ', ' '),
(5, '142', ' ', 'QA Assistant', ' ', '2025-08-20', '2025-08-20', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'master', '2025-08-20 15:45:18', '', '8', '1', 'No', '', '', '[]', ' ', ' '),
(6, '142', ' ', 'QA', ' ', '2025-08-21', '2025-08-23', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'master', '2025-08-21 12:19:12', '', '8', '1', 'No', '', '', '[]', ' ', ' ');

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

--
-- Table structure for table `leave_application`
--

CREATE TABLE `leave_application` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `emp_id` text DEFAULT NULL,
  `emp_dept` text DEFAULT NULL,
  `leave_type` text DEFAULT NULL,
  `leavefrom` text DEFAULT NULL,
  `leaveto` text DEFAULT NULL,
  `emergency_contact` text DEFAULT NULL,
  `reason` text DEFAULT NULL,
  `document` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `chargeto` text DEFAULT NULL,
  `chargedesc` text DEFAULT NULL,
  `chargestatus` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `approve_by` text DEFAULT NULL,
  `approve_date` text DEFAULT NULL,
  `remark` text DEFAULT NULL,
  `approve_from` text DEFAULT NULL,
  `approve_to` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `leave_card`
--

CREATE TABLE `leave_card` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `firstname` text DEFAULT NULL,
  `emp_id` text DEFAULT NULL,
  `leave_title` text DEFAULT NULL,
  `designation_heading` text DEFAULT NULL,
  `Eefective_from` text DEFAULT NULL,
  `Eefective_to` text DEFAULT NULL,
  `total_leave` text DEFAULT NULL,
  `allow_leave` text DEFAULT NULL,
  `leave_deduct` text DEFAULT NULL,
  `salary_day` text DEFAULT NULL,
  `over_time` text DEFAULT NULL,
  `leave_taken` text DEFAULT NULL,
  `leave_balance` text DEFAULT NULL,
  `leaveList` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `leave_card`
--

INSERT INTO `leave_card` (`id`, `plant_id`, `firstname`, `emp_id`, `leave_title`, `designation_heading`, `Eefective_from`, `Eefective_to`, `total_leave`, `allow_leave`, `leave_deduct`, `salary_day`, `over_time`, `leave_taken`, `leave_balance`, `leaveList`) VALUES
(1, '143', 'master', 'master', ' ', ' ', ' ', ' ', '', ' ', ' ', ' ', ' ', '2', '-2', ' '),
(2, '142', 'Samiksha', 'DGMP-109', ' ', ' ', ' ', ' ', '', ' ', ' ', ' ', ' ', '2', '-2', ' ');

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

--
-- Table structure for table `leave_types`
--

CREATE TABLE `leave_types` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `leave_type` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `leave_types`
--

INSERT INTO `leave_types` (`id`, `plant_id`, `leave_type`, `entry_by`, `entry_date`) VALUES
(1, '142', 'C OFF', 'master', '2024-10-02 12:41:50'),
(2, '142', 'Sick Leave', 'master', '2024-12-24 17:34:39'),
(3, '142', 'Short Leave', 'master', '2024-12-24 17:35:12'),
(4, '142', 'Casual Leave', 'master', '2024-12-24 17:35:30');

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

--
-- Table structure for table `leave_type_details`
--

CREATE TABLE `leave_type_details` (
  `id` int(11) NOT NULL,
  `leave_policy_id` text DEFAULT NULL,
  `leave_type` text DEFAULT NULL,
  `days` text DEFAULT NULL,
  `min_days` text DEFAULT NULL,
  `max_days` text DEFAULT NULL,
  `forward` text DEFAULT NULL,
  `accumulation` text DEFAULT NULL,
  `encashment` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `ledger`
--

CREATE TABLE `ledger` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT '64',
  `user_no` text DEFAULT 'gmpdemo1',
  `client_code` text DEFAULT NULL,
  `particular` text DEFAULT NULL,
  `entry_for` text DEFAULT NULL,
  `amount` text DEFAULT NULL,
  `pay_mode` text DEFAULT NULL,
  `entry_by` text DEFAULT 'master',
  `entry_date` text DEFAULT NULL,
  `accHead` text DEFAULT NULL,
  `narrator` text DEFAULT NULL,
  `credit_type` text DEFAULT NULL,
  `credit` text DEFAULT NULL,
  `debit` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `letter`
--

CREATE TABLE `letter` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `letter_type` text DEFAULT NULL,
  `department` text DEFAULT NULL,
  `designation` text DEFAULT NULL,
  `emp_name` text DEFAULT NULL,
  `emp_id` text DEFAULT NULL,
  `subject` text DEFAULT NULL,
  `body` text DEFAULT NULL,
  `goverment` text DEFAULT NULL,
  `letter_to` text DEFAULT NULL,
  `address` text DEFAULT NULL,
  `letter_date` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `letter`
--

INSERT INTO `letter` (`id`, `plant_id`, `letter_type`, `department`, `designation`, `emp_name`, `emp_id`, `subject`, `body`, `goverment`, `letter_to`, `address`, `letter_date`, `entry_by`) VALUES
(1, '143', 'Employee', 'Quality Assurance', 'GMP training and implementation coordinator', 'GMP236', '111', 'NA', 'Test ', '', '', '', '2024-10-18 11:14:09', ''),
(2, '143', 'Other', '', '', '', '', ' math ', 'test ', '', 'gmp', 'Yerawada pune', '2024-10-18 11:14:46', ''),
(3, '143', 'Goverment Office', '', '', '', '', 'pharma ', 'test ', 'National Pharmaceutical Pricing Authority', '', '', '2024-10-18 11:15:14', ''),
(4, '143', 'Employee', 'Quality Assurance', 'QA Assistant', 'GMP233', '112', 'na ', 'test ', '', '', '', '2024-10-18 11:16:02', ''),
(5, '143', 'Employee', 'Quality Assurance', 'QA Assistant', 'GMP231', '123', 'Test ', 'NA', '', '', '', '2024-10-18 11:17:20', ''),
(6, '146', 'Goverment Office', '', '', '', '', ' math ', 'to test', 'the shereton', '', '', '2024-11-09 02:41:59', ''),
(7, '146', 'Employee', 'IT', 'Senior Software Devloper', 'GMP 174', 'gmp114', 'English', 'To Test', '', '', '', '2024-11-09 02:43:04', ''),
(8, '146', 'Other', '', '', '', '', 'English', 'demo', '', 'gmp', 'Katraj Pune', '2024-11-09 02:44:01', ''),
(9, '142', 'Other', '', '', '', '', 'English  ', 'test', '', 'Pune', 'Gangadham Square Pune  ', '2024-12-24 11:44:32', ''),
(10, '142', 'Goverment Office', '', '', '', '', 'English  ', 'National Pharmaceutical Pricing Authority', 'National Pharmaceutical Pricing Authority', '', '', '2024-12-24 11:45:45', ''),
(11, '142', 'Employee', 'Account', 'Sr. Account Manager', 'DGMP-109', 'EMP123', 'Appreciation for Outstanding Performance', 'Dear Samiksha,\n\nWe are pleased to acknowledge and appreciate your exceptional performance as a Senior Account Manager in the Accounts Department. Your dedication, attention to detail, and proactive approach have significantly contributed to the team’s success and efficiency.\n\nYour recent efforts in finalizing the year-end financial reconciliation ahead of schedule and ensuring accuracy in all reporting have not gone unnoticed. We commend your professionalism and commitment.\n\nKeep up the excellent work, and we look forward to your continued contributions.', '', '', '', '2025-05-06 12:43:56', ''),
(12, '142', 'Employee', 'Engineering', 'Sr. Software Developer', '2093', '000', 'leave ', 'NA', '', '', '', '2025-08-20 03:26:31', ''),
(13, '142', 'Employee', 'Quality Assurance', 'Junior Operator', 'gmp333', 'AKANKSHA05', 'NA', 'NA', '', '', '', '2025-08-20 03:42:00', ''),
(14, '142', 'Employee', 'Quality Assurance', 'QA Assistant', 'GMP229', 'AKANKSHA05', 'NA', 'NA', '', '', '', '2025-08-20 04:04:49', ''),
(15, '142', 'Other', '', '', '', '', 'NA', 'NA', '', ' NA', 'Viman nagar Pune', '2025-08-21 12:09:48', ''),
(16, '142', 'Employee', 'Quality Assurance', 'QA Assistant', 'GMP233', 'SHREYA', 'NA', 'NA', '', '', '', '2025-08-21 12:16:04', ''),
(17, '142', 'Employee', 'Quality Assurance', 'Manager', 'DGMP- 246', 'SHREYA', 'NA', ' na', '', '', '', '2025-08-25 11:19:12', ''),
(18, '142', 'Employee', 'Quality Assurance', 'QA Assistant', 'Appl01', '000', 'ok', 'ok', '', '', '', '2025-09-26 04:06:06', '');

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

--
-- Table structure for table `levelFrequency`
--

CREATE TABLE `levelFrequency` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `emp_level` text DEFAULT NULL,
  `frequency` text DEFAULT NULL,
  `entryBy` text DEFAULT NULL,
  `entryOn` text DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `levelFrequency`
--

INSERT INTO `levelFrequency` (`id`, `plant_id`, `emp_level`, `frequency`, `entryBy`, `entryOn`) VALUES
(2, '142', 'Level 1', '9', 'master', '2024-07-29 05:44:57'),
(3, '142', 'Level 2', '5', 'master', '2024-11-19 11:29:05'),
(4, '142', 'Level 3', '10', 'master', '2024-11-19 11:29:10'),
(5, '142', 'Level 2', '6', 'master', '2025-02-26 02:23:21'),
(6, '142', 'Level 1', '1', 'master', '2025-03-28 01:19:30'),
(7, '142', 'Level 1', '6', 'master', '2025-09-22 06:21:47');

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

--
-- Table structure for table `lineclearance`
--

CREATE TABLE `lineclearance` (
  `id` int(11) NOT NULL,
  `prev_product` longtext DEFAULT NULL,
  `plant_id` text DEFAULT NULL,
  `work_order_id` text DEFAULT NULL,
  `bfr_no` text DEFAULT NULL,
  `mfr_no` text DEFAULT NULL,
  `pleasure_diff_reading` text DEFAULT NULL,
  `laf_eqip_code` text DEFAULT NULL,
  `balance_eqip_code` text DEFAULT NULL,
  `line_clearance_type` text DEFAULT NULL,
  `qc_checkpoints` text DEFAULT '0',
  `line_clearance_remarks` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `clearance_no` text DEFAULT NULL,
  `department` text DEFAULT NULL,
  `section` text DEFAULT NULL,
  `activity` text DEFAULT NULL,
  `bmr_no` text DEFAULT NULL,
  `stage` text DEFAULT NULL,
  `material_no` text DEFAULT NULL,
  `grn_no` text DEFAULT NULL,
  `batch_no` text DEFAULT NULL,
  `lot_no` text DEFAULT NULL,
  `request_by` text DEFAULT NULL,
  `request_date` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `accept_remark` text DEFAULT NULL,
  `equipment_id` text DEFAULT NULL,
  `area_cleaned` text DEFAULT NULL,
  `product_traces` text DEFAULT NULL,
  `sanitization_done` text DEFAULT NULL,
  `sanitization_time` text DEFAULT NULL,
  `temperature` text DEFAULT NULL,
  `humidity` text DEFAULT NULL,
  `status_label` text DEFAULT NULL,
  `balance_cleaned` text DEFAULT NULL,
  `checkpoints` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `remark` text DEFAULT NULL,
  `cid` text DEFAULT NULL,
  `lc_accept_date` text DEFAULT NULL,
  `lc_accept_by` text DEFAULT NULL,
  `product_code` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `lineclearance`
--

INSERT INTO `lineclearance` (`id`, `prev_product`, `plant_id`, `work_order_id`, `bfr_no`, `mfr_no`, `pleasure_diff_reading`, `laf_eqip_code`, `balance_eqip_code`, `line_clearance_type`, `qc_checkpoints`, `line_clearance_remarks`, `user_no`, `clearance_no`, `department`, `section`, `activity`, `bmr_no`, `stage`, `material_no`, `grn_no`, `batch_no`, `lot_no`, `request_by`, `request_date`, `status`, `accept_remark`, `equipment_id`, `area_cleaned`, `product_traces`, `sanitization_done`, `sanitization_time`, `temperature`, `humidity`, `status_label`, `balance_cleaned`, `checkpoints`, `entry_by`, `entry_date`, `remark`, `cid`, `lc_accept_date`, `lc_accept_by`, `product_code`) VALUES
(1, '[]', '142', '6', 'BFR0003', 'MFR005', '10', 'AEQP-002', 'AEQP-003', 'Batch to Batch', '0', 'OK', 'gmpdemo1', 'LC-001', ' ', ' ', 'Dispense Request', ' ', ' ', 'P4', ' ', ' ', ' ', ' ', '2025-04-09 02:26:43', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P4'),
(2, '{\"product_code\":\"P4\",\"pleasure_diff_reading\":\"10\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-003\",\"request_date\":\"2025-04-09 02:26:43\",\"batch_number\":\"B2611\"}', '142', '3', 'BFR0003', 'MFR005', '10', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '[]', 'OK', 'gmpdemo1', 'LC-002', ' ', ' ', 'Dispense Request', ' ', ' ', 'P4', ' ', ' ', ' ', ' ', '2025-04-11 10:48:44', 'Approved', 'ok', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P4'),
(3, '{\"product_code\":\"P4\",\"pleasure_diff_reading\":\"10\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-003\",\"request_date\":\"2025-04-09 02:26:43\",\"batch_number\":\"B2611\"}', '142', '5', 'BFR0003', 'MFR005', '10', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '0', 'OK', 'gmpdemo1', 'LC-003', ' ', ' ', 'Dispense Request', ' ', ' ', 'P4', ' ', 'BN86532', ' ', ' ', '2025-04-11 10:48:48', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P4'),
(4, '{\"product_code\":\"P4\",\"pleasure_diff_reading\":\"10\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-003\",\"request_date\":\"2025-04-09 02:26:43\",\"batch_number\":\"B2611\"}', '142', '8', 'BFR0003', 'MFR005', '10', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '[]', 'OK', 'gmpdemo1', 'LC-004', ' ', ' ', 'Dispense Request', ' ', ' ', 'P4', ' ', 'BN7652', ' ', ' ', '2025-04-11 10:48:54', 'Approved', 'ok', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P4'),
(5, '{\"product_code\":\"P4\",\"pleasure_diff_reading\":\"10\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-04-11 10:48:44\",\"batch_number\":\" \"}', '142', '12', 'BFR0004', 'MFR006', '10', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '[]', 'ok', 'gmpdemo1', 'LC-005', ' ', ' ', 'Dispense Request', ' ', ' ', 'P7', ' ', 'BN2901', ' ', ' ', '2025-04-14 02:50:09', 'Approved', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P7'),
(6, '{\"product_code\":\"P4\",\"pleasure_diff_reading\":\"10\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-04-11 10:48:54\",\"batch_number\":\"BN7652\"}', '142', '13', 'BFR0005', 'MFR008', '1', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '[]', 'ok', 'gmpdemo1', 'LC-006', ' ', ' ', 'Dispense Request', ' ', ' ', 'P13', ' ', '123', ' ', ' ', '2025-07-02 04:10:40', 'Approved', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P13'),
(7, '{\"product_code\":\"P13\",\"pleasure_diff_reading\":\"1\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-07-02 04:10:40\",\"batch_number\":\"123\"}', '142', '14', 'BFR0005', 'MFR008', '20', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '[]', 'ok', 'gmpdemo1', 'LC-007', ' ', ' ', 'Dispense Request', ' ', ' ', 'P13', ' ', 'BN299191', ' ', ' ', '2025-07-04 12:42:12', 'Approved', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P13'),
(8, '{\"product_code\":\"P13\",\"pleasure_diff_reading\":\"20\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-07-04 12:42:12\",\"batch_number\":\"BN299191\"}', '142', '15', 'BFR0005', 'MFR008', '10', 'AEQP-038', 'AEQP-010', 'Batch to Batch', '[]', 'ok', 'gmpdemo1', 'LC-008', ' ', ' ', 'Dispense Request', ' ', ' ', 'P13', ' ', 'BN41233', ' ', ' ', '2025-07-07 11:11:51', 'Approved', 'ok', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P13'),
(9, '{\"product_code\":\"P13\",\"pleasure_diff_reading\":\"10\",\"laf_eqip_code\":\"AEQP-038\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-07-07 11:11:51\",\"batch_number\":\"BN41233\"}', '142', '16', 'BFR0008', 'MFR010', '25', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '[]', 'OK', 'gmpdemo1', 'LC-009', ' ', ' ', 'Dispense Request', ' ', ' ', 'P5', ' ', 'BN76463', ' ', ' ', '2025-07-19 05:26:34', 'Approved', 'OK', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P5'),
(10, '{\"product_code\":\"P5\",\"pleasure_diff_reading\":\"25\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-07-19 05:26:34\",\"batch_number\":\"BN76463\"}', '142', '26', 'BFR0009', 'MFR011', '15.36', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '[]', 'OKAY', 'gmpdemo1', 'LC-010', ' ', ' ', 'Dispense Request', ' ', ' ', 'P19', ' ', ' ', ' ', ' ', '2025-07-21 02:45:20', 'Approved', 'OKAY', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P19'),
(11, '{\"product_code\":\"P5\",\"pleasure_diff_reading\":\"25\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-07-19 05:26:34\",\"batch_number\":\"BN76463\"}', '142', '25', 'BFR0009', 'MFR011', '15.37', 'AEQP-012', 'AEQP-010', 'Batch to Batch', '[]', 'OKAY', 'gmpdemo1', 'LC-011', ' ', ' ', 'Dispense Request', ' ', ' ', 'P19', ' ', ' ', ' ', ' ', '2025-07-21 02:45:40', 'Approved', 'OKAY', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P19'),
(12, '{\"product_code\":\"P5\",\"pleasure_diff_reading\":\"25\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-07-19 05:26:34\",\"batch_number\":\"BN76463\"}', '142', '24', 'BFR0009', 'MFR011', '15.38', 'AEQP-012', 'AEQP-010', 'Batch to Batch', '[]', 'OKAY', 'gmpdemo1', 'LC-012', ' ', ' ', 'Dispense Request', ' ', ' ', 'P19', ' ', ' ', ' ', ' ', '2025-07-21 02:46:07', 'Approved', 'OKAY', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P19'),
(13, '{\"product_code\":\"P5\",\"pleasure_diff_reading\":\"25\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-07-19 05:26:34\",\"batch_number\":\"BN76463\"}', '142', '23', 'BFR0009', 'MFR011', '15.39', 'AEQP-012', 'AEQP-010', 'Batch to Batch', '[]', 'OKAY', 'gmpdemo1', 'LC-013', ' ', ' ', 'Dispense Request', ' ', ' ', 'P19', ' ', ' ', ' ', ' ', '2025-07-21 02:46:17', 'Approved', 'OKAY', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P19'),
(14, '{\"product_code\":\"P5\",\"pleasure_diff_reading\":\"25\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-07-19 05:26:34\",\"batch_number\":\"BN76463\"}', '142', '22', 'BFR0009', 'MFR011', '15.4', 'AEQP-031', 'AEQP-010', 'Batch to Batch', '[]', 'OKAY', 'gmpdemo1', 'LC-014', ' ', ' ', 'Dispense Request', ' ', ' ', 'P19', ' ', ' ', ' ', ' ', '2025-07-21 02:46:29', 'Approved', 'OKAY', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P19'),
(15, '{\"product_code\":\"P5\",\"pleasure_diff_reading\":\"25\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-07-19 05:26:34\",\"batch_number\":\"BN76463\"}', '142', '21', 'BFR0009', 'MFR011', '15.41', 'AEQP-035', 'AEQP-010', 'Batch to Batch', '[]', 'OKAY', 'gmpdemo1', 'LC-015', ' ', ' ', 'Dispense Request', ' ', ' ', 'P19', ' ', ' ', ' ', ' ', '2025-07-21 02:46:39', 'Approved', 'OKAY', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P19'),
(16, '{\"product_code\":\"P19\",\"pleasure_diff_reading\":\"15.41\",\"laf_eqip_code\":\"AEQP-035\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-07-21 02:46:39\",\"batch_number\":\" \"}', '142', '27', 'BFR0011', 'MFR012', '1', 'AEQP-037', 'AEQP-010', 'Batch to Batch', '[]', 'OKAY', 'gmpdemo1', 'LC-016', ' ', ' ', 'Dispense Request', ' ', ' ', 'P20', ' ', ' ', ' ', ' ', '2025-07-21 03:22:12', 'Approved', 'OKAY', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P20'),
(17, '{\"product_code\":\"P20\",\"pleasure_diff_reading\":\"1\",\"laf_eqip_code\":\"AEQP-037\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-07-21 03:22:12\",\"batch_number\":\" \"}', '142', '28', 'BFR0012', 'MFR014', '1', 'AEQP-038', 'AEQP-010', 'Batch to Batch', '[]', 'OKAY', 'gmpdemo1', 'LC-017', ' ', ' ', 'Dispense Request', ' ', ' ', 'P21', ' ', ' ', ' ', ' ', '2025-07-21 04:05:03', 'Approved', 'okay', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P21'),
(18, '{\"product_code\":\"P21\",\"pleasure_diff_reading\":\"1\",\"laf_eqip_code\":\"AEQP-038\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-07-21 04:05:03\",\"batch_number\":\" \"}', '142', '29', 'BFR0013', 'MFR016', '15', 'AEQP-031', 'AEQP-010', 'Batch to Batch', '[]', 'OK', 'gmpdemo1', 'LC-018', ' ', ' ', 'Dispense Request', ' ', ' ', 'P4', ' ', 'BN3746364344', ' ', ' ', '2025-07-23 12:59:50', 'Approved', 'OK', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P4'),
(19, '{\"product_code\":\"P4\",\"pleasure_diff_reading\":\"15\",\"laf_eqip_code\":\"AEQP-031\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-07-23 12:59:50\",\"batch_number\":\"BN3746364344\"}', '142', '30', 'BFR0014', 'MFR017', '56', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '[]', 'OKAY', 'gmpdemo1', 'LC-019', ' ', ' ', 'Dispense Request', ' ', ' ', 'P8', ' ', 'BFR0004', ' ', ' ', '2025-08-21 02:27:28', 'Approved', 'ok', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P8'),
(20, '{\"product_code\":\"P8\",\"pleasure_diff_reading\":\"56\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-21 02:27:28\",\"batch_number\":\"BFR0004\"}', '142', '32', 'BFR0015', 'MFR014', '25', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '[]', 'ok', 'gmpdemo1', 'LC-020', ' ', ' ', 'Dispense Request', ' ', ' ', 'P21', ' ', 'BFR0015', ' ', ' ', '2025-08-21 03:03:54', 'Approved', 'OK', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P21'),
(21, '{\"product_code\":\"P21\",\"pleasure_diff_reading\":\"25\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-21 03:03:54\",\"batch_number\":\"BFR0015\"}', '142', '20', 'BFR0009', 'MFR011', '20', 'AEQP-012', 'AEQP-010', 'Batch to Batch', '[]', 'ok', 'gmpdemo1', 'LC-021', ' ', ' ', 'Dispense Request', ' ', ' ', 'P19', ' ', ' ', ' ', ' ', '2025-08-21 04:56:08', 'Approved', 'ok', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P19'),
(22, '{\"product_code\":\"P19\",\"pleasure_diff_reading\":\"20\",\"laf_eqip_code\":\"AEQP-012\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-21 04:56:08\",\"batch_number\":\" \"}', '142', '34', 'BFR0019', 'MFR036', '25', 'AEQP-037', 'AEQP-010', 'Batch to Batch', '[]', 'OK', 'gmpdemo1', 'LC-022', ' ', ' ', 'Dispense Request', ' ', ' ', 'P25', ' ', 'BN7646354545', ' ', ' ', '2025-08-21 05:36:46', 'Approved', 'ok', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P25'),
(23, '{\"product_code\":\"P21\",\"pleasure_diff_reading\":\"25\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-21 03:03:54\",\"batch_number\":\"BFR0015\"}', '142', '11', 'BFR0003', 'MFR005', '21', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '0', 'ok', 'gmpdemo1', 'LC-023', ' ', ' ', 'Dispense Request', ' ', ' ', 'P4', ' ', 'BN416313', ' ', ' ', '2025-08-21 06:26:44', 'pending', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P4'),
(24, '{\"product_code\":\"P21\",\"pleasure_diff_reading\":\"25\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-21 03:03:54\",\"batch_number\":\"BFR0015\"}', '142', '36', 'BFR0025', 'MFR011', '10', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '[]', 'ok', 'gmpdemo1', 'LC-024', ' ', ' ', 'Dispense Request', ' ', ' ', 'P19', ' ', 'BN59485332', ' ', ' ', '2025-08-22 12:10:03', 'Approved', 'ok', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P19'),
(25, '{\"product_code\":\"P19\",\"pleasure_diff_reading\":\"10\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-22 12:10:03\",\"batch_number\":\"BN59485332\"}', '142', '37', 'BFR0027', 'MFR040', '15', 'AEQP-012', 'AEQP-018', 'Batch to Batch', '[]', 'OK', 'gmpdemo1', 'LC-025', ' ', ' ', 'Dispense Request', ' ', ' ', 'P24', ' ', 'BNT643', ' ', ' ', '2025-08-23 11:34:50', 'Approved', 'OK', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P24'),
(26, '{\"product_code\":\"P24\",\"pleasure_diff_reading\":\"15\",\"laf_eqip_code\":\"AEQP-012\",\"balance_eqip_code\":\"AEQP-018\",\"request_date\":\"2025-08-23 11:34:50\",\"batch_number\":\"BNT643\"}', '142', '38', 'BFR0028', 'MFR041', '1', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '[]', 'CHECKED AND APPROVED', 'gmpdemo1', 'LC-026', ' ', ' ', 'Dispense Request', ' ', ' ', 'P32', ' ', 'BFR0028', ' ', ' ', '2025-08-23 12:33:20', 'Approved', 'CHECKED AND APPROVED', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P32'),
(27, '{\"product_code\":\"P32\",\"pleasure_diff_reading\":\"1\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-23 12:33:20\",\"batch_number\":\"BFR0028\"}', '142', '39', 'BFR0029', 'MFR042', '20', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '[]', 'ok', 'gmpdemo1', 'LC-027', ' ', ' ', 'Dispense Request', ' ', ' ', 'P17', ' ', 'BFR0029', ' ', ' ', '2025-08-23 12:40:04', 'Approved', 'OK', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P17'),
(28, '{\"product_code\":\"P19\",\"pleasure_diff_reading\":\"10\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-22 12:10:03\",\"batch_number\":\"BN59485332\"}', '142', '40', 'BFR0030', 'MFR043', '20', 'AEQP-012', 'AEQP-010', 'Batch to Batch', '[]', 'ok', 'gmpdemo1', 'LC-028', ' ', ' ', 'Dispense Request', ' ', ' ', 'P26', ' ', 'BFR0030', ' ', ' ', '2025-08-23 02:04:47', 'Approved', 'OK', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P26'),
(29, '{\"product_code\":\"P26\",\"pleasure_diff_reading\":\"20\",\"laf_eqip_code\":\"AEQP-012\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-23 02:04:47\",\"batch_number\":\"BFR0030\"}', '142', '41', 'BFR0032', 'MFR044', '12', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '[]', 'CHECKED AND APPROVED', 'gmpdemo1', 'LC-029', ' ', ' ', 'Dispense Request', ' ', ' ', 'P16', ' ', 'BFR0032', ' ', ' ', '2025-08-23 02:08:46', 'Approved', 'ACCEPTED AND APPROVED', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P16'),
(30, '{\"product_code\":\"P16\",\"pleasure_diff_reading\":\"12\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-23 02:08:46\",\"batch_number\":\"BFR0032\"}', '142', '42', 'BFR0033', 'MFR045', '20', 'AEQP-012', 'AEQP-010', 'Batch to Batch', '[]', 'ok', 'gmpdemo1', 'LC-030', ' ', ' ', 'Dispense Request', ' ', ' ', 'P5', ' ', 'BFR0033', ' ', ' ', '2025-08-23 02:55:36', 'Approved', 'OK', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P5'),
(31, '{\"product_code\":\"P17\",\"pleasure_diff_reading\":\"20\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-23 12:40:04\",\"batch_number\":\"BFR0029\"}', '142', '43', 'BFR0035', 'MFR047', '20', 'AEQP-012', 'AEQP-010', 'Batch to Batch', '[]', 'OK', 'gmpdemo1', 'LC-031', ' ', ' ', 'Dispense Request', ' ', ' ', 'P15', ' ', 'BFR0035', ' ', ' ', '2025-08-25 10:31:50', 'Approved', 'OK', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P15'),
(32, '{\"product_code\":\"P15\",\"pleasure_diff_reading\":\"20\",\"laf_eqip_code\":\"AEQP-012\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-25 10:31:50\",\"batch_number\":\"BFR0035\"}', '142', '44', 'BFR0037', 'MFR048', '10', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '[]', 'CHECKED AND APPROVED', 'gmpdemo1', 'LC-032', ' ', ' ', 'Dispense Request', ' ', ' ', 'P5', ' ', 'BFR0037', ' ', ' ', '2025-08-25 11:17:58', 'Approved', 'Checked and approved', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P5'),
(33, '{\"product_code\":\"P17\",\"pleasure_diff_reading\":\"20\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-23 12:40:04\",\"batch_number\":\"BFR0029\"}', '142', '45', 'BFR0038', 'MFR049', '2', 'AEQP-012', 'AEQP-010', 'Batch to Batch', '[]', 'ok', 'gmpdemo1', 'LC-033', ' ', ' ', 'Dispense Request', ' ', ' ', 'P13', ' ', 'BFR0038', ' ', ' ', '2025-08-25 02:50:31', 'Approved', 'ok', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P13'),
(34, '{\"product_code\":\"P13\",\"pleasure_diff_reading\":\"2\",\"laf_eqip_code\":\"AEQP-012\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-25 02:50:31\",\"batch_number\":\"BFR0038\"}', '142', '47', 'BFR0040', 'MFR051', '15', 'AEQP-039', 'AEQP-010', 'Batch to Batch', '[]', 'OK', 'gmpdemo1', 'LC-034', ' ', ' ', 'Dispense Request', ' ', ' ', 'P16', ' ', 'BN565656', ' ', ' ', '2025-08-25 03:38:35', 'Approved', 'ok', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P16'),
(35, '{\"product_code\":\"P16\",\"pleasure_diff_reading\":\"15\",\"laf_eqip_code\":\"AEQP-039\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-25 03:38:35\",\"batch_number\":\"BN565656\"}', '142', '48', 'BFR0041', 'MFR052', '20', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '[]', 'ok', 'gmpdemo1', 'LC-035', ' ', ' ', 'Dispense Request', ' ', ' ', 'P7', ' ', 'BFR0435', ' ', ' ', '2025-08-25 04:04:08', 'Approved', 'ok', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P7'),
(36, '{\"product_code\":\"P7\",\"pleasure_diff_reading\":\"20\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-25 04:04:08\",\"batch_number\":\"BFR0435\"}', '142', '50', 'BFR0042', 'MFR053', '15', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '[]', 'ok', 'gmpdemo1', 'LC-036', ' ', ' ', 'Dispense Request', ' ', ' ', 'P16', ' ', 'BFR9876', ' ', ' ', '2025-08-25 05:20:43', 'Approved', 'ok', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P16'),
(37, '{\"product_code\":\"P5\",\"pleasure_diff_reading\":\"10\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-25 11:17:58\",\"batch_number\":\"BFR0037\"}', '142', '51', 'BFR0043', 'MFR039', '13', 'AEQP-002', 'AEQP-010', 'Product To Product', '[]', 'CHECKED AND APPROVED', 'gmpdemo1', 'LC-037', ' ', ' ', 'Dispense Request', ' ', ' ', 'P8', ' ', 'BFR0043', ' ', ' ', '2025-08-26 10:22:58', 'Approved', 'CHECKED AND APPROVED', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P8'),
(38, '{\"product_code\":\"P8\",\"pleasure_diff_reading\":\"13\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-26 10:22:58\",\"batch_number\":\"BFR0043\"}', '142', '52', 'BFR0044', 'MFR055', '20', 'AEQP-012', 'AEQP-010', 'Batch to Batch', '[]', 'ok', 'gmpdemo1', 'LC-038', ' ', ' ', 'Dispense Request', ' ', ' ', 'P22', ' ', 'BFR0044', ' ', ' ', '2025-08-26 10:37:18', 'Approved', 'ok', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P22'),
(39, '{\"product_code\":\"P22\",\"pleasure_diff_reading\":\"20\",\"laf_eqip_code\":\"AEQP-012\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-26 10:37:18\",\"batch_number\":\"BFR0044\"}', '142', '54', 'BFR0047', 'MFR057', '20', 'AEQP-002', 'AEQP-010', 'Batch to Batch', '[]', 'ok', 'gmpdemo1', 'LC-039', ' ', ' ', 'Dispense Request', ' ', ' ', 'P16', ' ', 'BFR0047', ' ', ' ', '2025-08-26 11:43:35', 'Approved', 'Approved', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '[]', 'master', ' ', ' ', ' ', ' ', ' ', 'P16'),
(40, '{\"product_code\":\"P16\",\"pleasure_diff_reading\":\"20\",\"laf_eqip_code\":\"AEQP-002\",\"balance_eqip_code\":\"AEQP-010\",\"request_date\":\"2025-08-26 11:43:35\",\"batch_number\":\"BFR0047\"}', '142', '55', 'BFR0046', 'MFR057', '54', 'AEQP-012', 'AEQP-010', 'Batch to Batch', '[]', 'OK', 'gmpdemo1', 'LC-040', NULL, NULL, 'Dispense Request', NULL, NULL, 'P16', NULL, 'BN321', NULL, NULL, '2025-10-07 06:41:35', 'Approved', 'OK', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '[]', 'master', NULL, NULL, NULL, NULL, NULL, 'P16');

--
-- Triggers `lineclearance`
--
DELIMITER $$
CREATE TRIGGER `clearance_no_insert` BEFORE INSERT ON `lineclearance` FOR EACH ROW BEGIN

SET @lastID = (SELECT id FROM lineclearance ORDER BY id DESC LIMIT 1);
IF @lastID IS NULL OR @lastID = '' THEN
    SET @lastID = 0;
END IF;
SET @lastID = @lastID +1;
SET NEW.clearance_no = concat('LC-', LPAD(CONVERT(@lastID, CHAR), 3, '0'));
END
$$
DELIMITER ;

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

--
-- Table structure for table `line_clearance_checklist`
--

CREATE TABLE `line_clearance_checklist` (
  `id` int(11) NOT NULL,
  `checkpoint` text DEFAULT NULL,
  `parameter` text DEFAULT NULL,
  `form_no` text DEFAULT NULL,
  `version_no` text DEFAULT NULL,
  `specification_no` text DEFAULT NULL,
  `effective_date` text DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `liquid_media`
--

CREATE TABLE `liquid_media` (
  `id` int(11) NOT NULL,
  `batch_no` text DEFAULT NULL,
  `inc_date` text DEFAULT NULL,
  `inc_id` text DEFAULT NULL,
  `inc_temp` text DEFAULT '',
  `incubation_complete` text DEFAULT '',
  `lot_no` text DEFAULT NULL,
  `media_code` text DEFAULT NULL,
  `observations` text DEFAULT NULL,
  `prepared_date` text DEFAULT NULL,
  `suspension_no` text DEFAULT NULL,
  `satisfactory` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `list_customer`
--

CREATE TABLE `list_customer` (
  `id` int(11) NOT NULL,
  `plant_id` int(11) NOT NULL,
  `list_customer` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `status` text DEFAULT NULL,
  `entry_date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `location`
--

CREATE TABLE `location` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `location` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `location`
--

INSERT INTO `location` (`id`, `plant_id`, `location`) VALUES
(1, '142', 'gate no 3 floor no 7');

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

--
-- Table structure for table `lot_parameter`
--

CREATE TABLE `lot_parameter` (
  `id` int(11) NOT NULL,
  `parameter` text DEFAULT NULL,
  `plant_id` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `luxmeter_monitoring`
--

CREATE TABLE `luxmeter_monitoring` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `plant_name` text DEFAULT NULL,
  `luxmeter_id` text DEFAULT NULL,
  `location` text DEFAULT NULL,
  `l1` text DEFAULT NULL,
  `l2` text DEFAULT NULL,
  `l3` text DEFAULT NULL,
  `l4` text DEFAULT NULL,
  `l5` text DEFAULT NULL,
  `average` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `check_by` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `maintenance`
--

CREATE TABLE `maintenance` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `department_name` text DEFAULT NULL,
  `equipment_id` text DEFAULT NULL,
  `equipment_code` text DEFAULT NULL,
  `date_of_incident` text DEFAULT NULL,
  `raised_by` text DEFAULT NULL,
  `Raised_on` text DEFAULT NULL,
  `status` text DEFAULT NULL,
  `descrip_breakd` text DEFAULT NULL,
  `removal_from_service` text DEFAULT NULL,
  `preApproval` text DEFAULT NULL,
  `steps_data` text DEFAULT NULL,
  `prili_req` text DEFAULT NULL,
  `ebm_no` text DEFAULT NULL,
  `preApprove_by` text DEFAULT NULL,
  `preApprove_on` text DEFAULT NULL,
  `performed` text DEFAULT NULL,
  `potential_impact` text DEFAULT NULL,
  `prelim_comment` text DEFAULT NULL,
  `prelimApproved_by` text DEFAULT NULL,
  `prelim_Approved_on` text DEFAULT NULL,
  `description_repair` text DEFAULT NULL,
  `repairAdded_by` text DEFAULT NULL,
  `repairDesc_on` text DEFAULT NULL,
  `repair_desc_status` text DEFAULT NULL,
  `replacement_req` text DEFAULT NULL,
  `replacement_status` text DEFAULT 'pending',
  `replacementlikerequired` text DEFAULT NULL,
  `replacement_equipment` text DEFAULT NULL,
  `replacement_comments` text DEFAULT NULL,
  `assessed_by` text DEFAULT NULL,
  `repl_approved_by` text DEFAULT NULL,
  `update_details_elb` text DEFAULT NULL,
  `update_details_calibration` text DEFAULT NULL,
  `implemented_by` text DEFAULT NULL,
  `replacement_report` text DEFAULT NULL,
  `fit_for_use` text DEFAULT NULL,
  `if_no_cali_main` text DEFAULT NULL,
  `return_to_service` text DEFAULT NULL,
  `date_return` text DEFAULT NULL,
  `relsed_for_use` text DEFAULT NULL,
  `elb_update_eq_details` text DEFAULT NULL,
  `equp_disposed` text DEFAULT NULL,
  `finance_notified` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `approve_by` text DEFAULT NULL,
  `approve_on` text DEFAULT NULL,
  `qa_approve_by` text DEFAULT NULL,
  `qa_approve_on` text DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `maintenance`
--

INSERT INTO `maintenance` (`id`, `plant_id`, `department_name`, `equipment_id`, `equipment_code`, `date_of_incident`, `raised_by`, `Raised_on`, `status`, `descrip_breakd`, `removal_from_service`, `preApproval`, `steps_data`, `prili_req`, `ebm_no`, `preApprove_by`, `preApprove_on`, `performed`, `potential_impact`, `prelim_comment`, `prelimApproved_by`, `prelim_Approved_on`, `description_repair`, `repairAdded_by`, `repairDesc_on`, `repair_desc_status`, `replacement_req`, `replacement_status`, `replacementlikerequired`, `replacement_equipment`, `replacement_comments`, `assessed_by`, `repl_approved_by`, `update_details_elb`, `update_details_calibration`, `implemented_by`, `replacement_report`, `fit_for_use`, `if_no_cali_main`, `return_to_service`, `date_return`, `relsed_for_use`, `elb_update_eq_details`, `equp_disposed`, `finance_notified`, `entry_by`, `entry_date`, `approve_by`, `approve_on`, `qa_approve_by`, `qa_approve_on`) VALUES
(1, '142', 'Quality Control', '3', 'AEQP-003', '2025-06-17', 'master', '2025-06-18 03:57:17', 'Approved', 'fgfghfghfgh', 'YES', 'Done', '[{\"step\":\"fhfghfghfgh\"},{\"step\":\"fghfghfgh\"}]', 'Done', '001', 'master', '2025-06-18 03:58:58', 'Performed', 'YES', 'setseerte', 'master', '2025-06-18 03:59:15', 'fnfgb dfb f dfb dfg dfg dfg dfg df', 'master', '2025-06-18 03:59:40', 'Done', 'Required', 'Done', 'Required', '19', 'cvxcvxc', 'GMP238', 'GMP230', 'YES', 'YES', 'GMP229', 'xcv xcvxc vxcv xcv xcv xcv xcv xcv', 'YES', 'YES', 'YES', '2025-06-18', 'YES', 'YES', 'YES', 'YES', 'master', '2025-06-18 03:57:17', 'master', '2025-06-18 04:00:27', 'master', '2025-06-18 04:00:45'),
(2, '142', 'Quality Control', '4', 'AEQP-004', '2025-07-02', 'master', '2025-07-07 03:27:08', 'Pending', 'yt', 'YES', NULL, NULL, NULL, '002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Pending', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'master', '2025-07-07 03:27:08', NULL, NULL, NULL, NULL),
(3, '142', 'Quality Control', '33', 'AEQP-033', '2025-07-07', 'master', '2025-07-07 03:27:10', 'Pending', 'Incubator constantly alarming. Unable to maintain set temperature', 'N/A', NULL, NULL, NULL, '003', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Pending', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'master', '2025-07-07 03:27:10', NULL, NULL, NULL, NULL),
(4, '142', 'Quality Control', '4', 'AEQP-004', '2025-07-29', 'master', '2025-07-29 12:06:30', 'Pending', 'NA', 'YES', NULL, NULL, NULL, '004', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Pending', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'master', '2025-07-29 12:06:30', NULL, NULL, NULL, NULL);

--
-- Triggers `maintenance`
--
DELIMITER $$
CREATE TRIGGER `ebm_no` BEFORE INSERT ON `maintenance` FOR EACH ROW BEGIN

SET @lastID = (SELECT id FROM maintenance ORDER BY id DESC LIMIT 1);
IF @lastID IS NULL OR @lastID = '' THEN
    SET @lastID = 0;
END IF;
SET @lastID = @lastID +1;
SET NEW.ebm_no = concat(LPAD(CONVERT(@lastID, CHAR), 3, '0'));
END
$$
DELIMITER ;

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

--
-- Table structure for table `major_maintainance`
--

CREATE TABLE `major_maintainance` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `maint_id` text DEFAULT NULL,
  `maint_date` text DEFAULT NULL,
  `facility_name` text DEFAULT NULL,
  `area` text DEFAULT NULL,
  `maint_cat` text DEFAULT NULL,
  `main_desc` text DEFAULT NULL,
  `maint_team` text DEFAULT NULL,
  `team_leader` text DEFAULT NULL,
  `regular_schedule` text DEFAULT NULL,
  `replace_air` text DEFAULT NULL,
  `unsual_check` text DEFAULT NULL,
  `regulatory_inspect` text DEFAULT NULL,
  `lubricate` text DEFAULT NULL,
  `prev_schedule` text DEFAULT NULL,
  `parts_used` text DEFAULT NULL,
  `equp_use` text DEFAULT NULL,
  `total_cost` text DEFAULT NULL,
  `budget` text DEFAULT NULL,
  `attachment` text DEFAULT NULL,
  `maint_status` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `manpower`
--

CREATE TABLE `manpower` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `department` text DEFAULT NULL,
  `type` text DEFAULT NULL,
  `designation` text DEFAULT NULL,
  `description` text DEFAULT NULL,
  `candidates` text DEFAULT NULL,
  `qualification` text DEFAULT NULL,
  `experience_from` text DEFAULT '0',
  `experience` text DEFAULT NULL,
  `Replacement` text DEFAULT NULL,
  `justification` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `accept_reject_by` text DEFAULT NULL,
  `accept_reject_on` text DEFAULT NULL,
  `rep_total_ctc` text DEFAULT '00.00',
  `rep_ctc_annual` text DEFAULT '00.00',
  `jd` text DEFAULT NULL,
  `manpower` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `manpower`
--

INSERT INTO `manpower` (`id`, `plant_id`, `user_no`, `department`, `type`, `designation`, `description`, `candidates`, `qualification`, `experience_from`, `experience`, `Replacement`, `justification`, `status`, `entry_by`, `entry_date`, `accept_reject_by`, `accept_reject_on`, `rep_total_ctc`, `rep_ctc_annual`, `jd`, `manpower`) VALUES
(3, '142', 'gmpdemo1', 'Quality Control', 'Grade II (50000-75000)', 'QC Associate', 'ok', '200', 'BE', '1', '2', 'DGMP-103', 'Replacement', 'approve', 'master', '2024-09-21 01:20:28', 'master', '2025-05-09 01:25:06', '', '', NULL, NULL),
(4, '142', 'gmpdemo1', 'Account', 'Grade I (30000-50000)', 'Sr. Account Manager', 'hiring for account', '', 'BCA', '2', '4', 'DGMP-109', 'NA', 'approve', 'master', '2024-10-05 04:32:39', 'master', '2025-05-09 01:27:05', '', '', NULL, NULL),
(5, '142', 'gmpdemo1', 'Quality Control', 'Grade I (30000-50000)', 'Manager', 'To control QC Activities', '', 'B.Pharm', '2', '4', 'DGMP-103', 'Replacement', 'approve', 'master', '2024-10-11 11:07:41', 'master', '2025-05-15 10:20:45', '', '', NULL, NULL),
(6, '143', 'gmpdemo1', 'Quality Assurance', 'Trainee', 'QA Assistant', 'TEST', '', 'BE', '3', '1', 'GMP236', 'NA ', 'approve', 'master', '2024-10-21 12:02:36', 'master', '2024-10-22 02:54:27', '', '', NULL, NULL),
(7, '143', 'gmpdemo1', 'Quality Assurance', 'Confirm', 'QA Assistant', 'to test', '2', 'BCS', '3', '1', 'GMP235', 'NA ', 'pending', 'master', '2024-10-21 12:03:55', 'master', '2024-10-22 02:54:56', '', '', NULL, NULL),
(8, '143', 'gmpdemo1', 'Quality Assurance', 'Monthly', 'Junior Operator', 'QA', '', 'BCS', '2', '4', 'GMP236', 'NA', 'revision', 'master', '2024-11-19 02:36:57', 'master', '2025-02-20 05:37:34', '', '', NULL, NULL),
(9, '142', 'gmpdemo1', 'Quality Assurance', 'Grade I (30000-50000)', 'Officer QA & GMP Software Trainee', 'na', '20', 'B.Pharm', '', '', '', '', 'approve', 'master', '2024-12-28 10:03:34', 'master', '2025-09-27 11:42:57', '', '', '', ''),
(10, '142', 'gmpdemo1', '', '', '', '', '', '', '', '', '', '', 'reject', 'master', '2024-12-28 10:04:33', 'master', '2025-08-22 11:19:10', '', '', '', ''),
(11, '142', 'gmpdemo1', '', '', '', '', '', '', '', '', '', '', 'approve', 'master', '2024-12-28 10:09:09', 'master', '2025-09-27 11:45:20', '', '', '', ''),
(12, '142', 'gmpdemo1', 'Account', 'Grade I (30000-50000)', 'Sr. Account Manager', 'NA', '2', 'BCS', '', '', '', '', 'pending', 'master', '2025-01-02 11:45:51', 'master', '2025-01-10 05:09:50', '', '', '', ''),
(13, '142', 'gmpdemo1', 'IT', 'Grade I (30000-50000)', 'Business Analyst', 'ok', '2', 'BCA', '', '', '', '', 'pending', 'master', '2025-01-10 05:08:38', 'master', '2025-01-10 05:09:44', '', '', '', ''),
(14, '146', 'gmpdemo1', '', '', '', '', '', '', '', '', '', '', 'pending', 'master', '2025-01-27 02:29:03', ' ', ' ', '', '', '', ''),
(15, '142', 'gmpdemo1', '', '', '', '', '', '', '', '', '', '', 'pending', 'master', '2025-01-30 11:09:23', ' ', ' ', '', '', '', ''),
(16, '143', 'gmpdemo1', 'IT', 'Trainee', 'developer', 'NA', '', 'BE', '1', '1.5', 'GMP 174', 'Immediate joining', 'approve', 'master', '2025-02-20 05:36:42', 'master', '2025-02-20 05:37:24', '16666.6667', '200000', NULL, NULL),
(17, '142', 'gmpdemo1', '', '', '', '', '', '', '', '', '', '', 'pending', 'master', '2025-04-01 12:01:38', ' ', ' ', '', '', '', ''),
(18, '142', 'gmpdemo1', '', '', '', '', '', '', '', '', '', '', 'pending', 'master', '2025-04-01 12:03:15', ' ', ' ', '', '', '', ''),
(19, '142', 'gmpdemo1', 'Production', 'Grade II (50000-75000)', 'Manager', 'NA', '', 'B.Pharm', '3', '4', '', 'NA', 'approve', 'master', '2025-05-09 01:23:12', 'master', '2025-05-09 01:27:24', '0', '0', NULL, NULL),
(20, '142', 'gmpdemo1', 'Business Development', 'Grade I (30000-50000)', 'BD Executive', 'NA', '', 'B.Pharm', '2', '4', '', 'NA', 'approve', 'master', '2025-05-15 10:06:34', 'master', '2025-05-15 10:09:19', '0', '0', NULL, NULL),
(21, '142', 'gmpdemo1', 'Quality Control', 'Grade II (50000-75000)', 'QC Associate', 'NA', '', 'B.Pharm', '2', '4', '', 'NA', 'approve', 'master', '2025-05-15 10:20:22', 'master', '2025-05-15 10:23:31', '0', '0', NULL, NULL),
(22, '142', 'gmpdemo1', 'Production', 'Grade II (50000-75000)', 'Manager', 'NA', '', 'B.Pharm', '2', '4', '', 'NA', 'approve', 'master', '2025-05-15 11:05:44', 'master', '2025-05-15 11:06:08', '0', '0', NULL, NULL),
(23, '142', 'gmpdemo1', 'IPQA', 'Grade I (30000-50000)', 'IPQA Associate', 'NA', '', 'BE', '2', '4', '', 'NA', 'approve', 'master', '2025-05-15 06:31:50', 'master', '2025-05-15 06:32:16', '0', '0', NULL, NULL),
(24, '142', 'gmpdemo1', 'IPQA', 'Grade I (30000-50000)', 'IPQA Associate', 'NA', '', 'BE', '2', '4', '', 'NA', 'pending', 'master', '2025-05-15 06:32:16', ' ', ' ', '0', '0', NULL, NULL),
(25, '142', 'gmpdemo1', 'Admin', 'Grade I (30000-50000)', 'Admin Manager', 'NA', '', 'B.Pharm', '6', '2', 'GMP230', 'NA', 'pending', 'master', '2025-08-20 03:05:52', ' ', ' ', '', '', NULL, NULL),
(26, '142', 'gmpdemo1', 'Quality Assurance', 'Grade III (10000 - 30000)', 'QA Assistant', 'NA', '', 'B.Pharm', '2', '3', 'DGMP302', 'NA', 'pending', 'master', '2025-08-20 03:08:29', ' ', ' ', '', '', NULL, NULL),
(27, '142', 'gmpdemo1', 'Quality Assurance', 'Grade III (10000 - 30000)', 'QA Assistant', 'NA', '', 'B.Pharm', '2', '3', 'GMP233', 'NA', 'pending', 'master', '2025-08-20 04:45:21', ' ', ' ', '0.5833', '7', NULL, NULL),
(28, '142', 'gmpdemo1', 'Quality Control', 'Grade I (30000-50000)', 'Manager', 'Java', '', 'BCA, BCS, B.Pharm, BE', '2', '5', 'DGMP-3847', 'Resign', 'pending', 'master', '2025-08-21 10:19:29', ' ', ' ', '75000', '900000', NULL, NULL),
(29, '142', 'gmpdemo1', 'Quality Assurance', 'Grade IV (10000 - 20000)', 'QA Assistant', 'NA', '', 'B.Pharm', '3', '0', 'GMP233', 'NA', 'pending', 'master', '2025-08-21 12:07:43', ' ', ' ', '0.5833', '7', NULL, NULL),
(30, '142', 'gmpdemo1', 'IT', 'Grade I (30000-50000)', 'Automation Testing', 'java', '', 'BCA, BE', '1', '2', 'GMP238', 'Resign', 'pending', 'master', '2025-08-21 03:02:21', ' ', ' ', '', '', NULL, NULL),
(31, '142', 'gmpdemo1', 'Store', 'Grade I (30000-50000)', 'Manager', 'NA', '', 'BCA', '2', '3', 'DGMP-104', 'Resign', 'pending', 'master', '2025-08-21 03:18:09', ' ', ' ', '', '', NULL, NULL),
(32, '142', 'gmpdemo1', 'Microbiology', 'Grade III (10000 - 30000)', 'Microbiogist', 'coding', '', 'B.Pharm', '1', '3', 'DGMP-110', 'Resign', 'pending', 'master', '2025-08-21 03:57:22', ' ', ' ', '', '', NULL, NULL),
(33, '142', 'gmpdemo1', 'Quality Assurance', 'Grade I (30000-50000)', 'Manager', 'na', '', 'B.Pharm', '1', '2', 'DGMP- 246', 'Resign', 'pending', 'master', '2025-08-21 03:57:36', ' ', ' ', '', '', NULL, NULL),
(34, '142', 'gmpdemo1', 'Enginering Store', 'Grade II (50000-75000)', 'Engineering Store Head', 'coding', '', 'BE', '1', '2', '', 'Resign', 'pending', 'master', '2025-08-21 03:59:22', ' ', ' ', '0', '0', NULL, NULL),
(35, '142', 'gmpdemo1', 'Production', 'Grade II (50000-75000)', 'Manager', 'NA', '', 'B.Pharm', '1', '2', 'DGMP-107', 'Resign', 'pending', 'master', '2025-08-21 04:03:11', ' ', ' ', '', '', NULL, NULL),
(36, '142', 'gmpdemo1', 'Quality Control', 'Grade I (30000-50000)', 'QC Associate', 'na', '', 'B.Pharm', '2', '4', 'DGMP-103', 'Resign', 'pending', 'master', '2025-08-21 04:50:29', ' ', ' ', '', '', NULL, NULL),
(37, '142', 'gmpdemo1', 'Quality Control', 'Grade I (30000-50000)', 'QC Manager', 'NA', '', 'B.Pharm', '1', '2', 'GMP 1743', 'Resign', 'pending', 'master', '2025-08-21 04:55:23', ' ', ' ', '', '', NULL, NULL),
(38, '142', 'gmpdemo1', 'Store', 'Grade I (30000-50000)', 'Manager', 'NA', '', 'B.Pharm', '1', '2', 'DGMP-104', 'Resign', 'pending', 'master', '2025-08-21 05:55:46', ' ', ' ', '', '', NULL, NULL),
(39, '142', 'gmpdemo1', 'Admin', 'Grade I (30000-50000)', 'Admin Manager', 'NA', '', 'B.Pharm', '1', '2', 'GMP230', 'Resign', 'pending', 'master', '2025-08-21 06:00:14', ' ', ' ', '', '', NULL, NULL),
(40, '142', 'gmpdemo1', 'Engineering', 'Grade I (30000-50000)', 'Sr. Software Developer', 'NA', '', 'B.Pharm', '1', '1', '2093', 'Resign', 'pending', 'master', '2025-08-21 06:08:53', ' ', ' ', '', '', NULL, NULL),
(41, '142', 'gmpdemo1', 'Quality Assurance', 'Grade I (30000-50000)', 'Manager', 'na', '', 'B.Pharm', '2', '3', 'GMP237', 'NA', 'pending', 'master', '2025-08-22 11:06:56', ' ', ' ', '', '', NULL, NULL),
(42, '142', 'gmpdemo1', 'Engineering', 'Grade I (30000-50000)', 'Sr. Software Developer', 'na', '', 'B.Pharm', '1', '2', '2093', 'Resign', 'pending', 'master', '2025-08-22 11:16:55', ' ', ' ', '', '', NULL, NULL),
(43, '142', 'gmpdemo1', 'Quality Assurance', 'Grade I (30000-50000)', 'Officer QA & GMP Software Trainee', 'NA', '', 'B.Pharm', '1', '3', 'GMP229', 'Resign', 'pending', 'master', '2025-08-23 11:38:56', ' ', ' ', '', '', NULL, NULL),
(44, '142', 'gmpdemo1', 'Quality Assurance', 'Grade I (30000-50000)', 'Officer QA & GMP Software Trainee', 'NA', '', 'B.Pharm', '1', '2', 'GMP237', 'Resign', 'pending', 'master', '2025-08-23 12:04:37', ' ', ' ', '', '', NULL, NULL),
(45, '142', 'gmpdemo1', 'IPQA', 'Grade I (30000-50000)', 'IPQA Associate', 'sop prepararion\n', '', 'B.Pharm', '2', '5', '', 'Replacement', 'pending', 'master', '2025-08-29 03:57:36', ' ', ' ', '0', '0', NULL, NULL),
(46, '142', 'gmpdemo1', 'Quality Assurance', 'Grade I (30000-50000)', 'QA Assistant', 'na', '', 'B.Pharm', '1', '2', 'DGMP331', 'Resign', 'pending', 'master', '2025-09-02 12:14:58', ' ', ' ', '', '', NULL, NULL),
(47, '142', 'gmpdemo1', 'Quality Assurance', 'Grade I (30000-50000)', 'QA Assistant', 'na', '', 'B.Pharm', '1', '2', 'DGMP331', 'NA', 'pending', 'master', '2025-09-02 03:07:26', ' ', ' ', '', '', NULL, NULL),
(48, '142', 'gmpdemo1', 'Quality Assurance', 'Grade I (30000-50000)', 'Junior Operator', 'na', '', 'B.Pharm', '1', '2', 'APPL018', 'NA', 'pending', 'master', '2025-09-06 04:57:08', ' ', ' ', '', '', NULL, NULL),
(49, '142', 'gmpdemo1', 'Business Development', 'Grade I (30000-50000)', 'Business Development Manager', 'DYNAMIC PERSONALITY WITH DEEP KNOWLADEGE OF SALES AND MARKETING AND GOOD COMMUNICATION SKILLS', '', 'MBA(BUSINESS ANALYTICS)', '2', '3', '', 'SHORTAGE OF BD TEAM', 'pending', 'master', '2025-09-06 05:02:34', ' ', ' ', '0', '0', NULL, NULL),
(50, '142', 'gmpdemo1', 'Quality Assurance', 'Grade I (30000-50000)', 'Officer QA & GMP Software Trainee', 'ok', '', 'B.Pharm', '1', '2', 'APPL018', 'na', 'pending', 'master', '2025-09-22 02:34:41', NULL, NULL, '', '', NULL, NULL),
(51, '142', 'gmpdemo1', 'Quality Assurance', 'Grade I (30000-50000)', 'Officer QA & GMP Software Trainee', 'ok', '', 'B.Pharm', '1', '2', 'APPL897', 'na', 'pending', 'master', '2025-09-26 11:31:46', NULL, NULL, '', '', NULL, NULL),
(52, '142', 'gmpdemo1', 'Account', 'Grade I (30000-50000)', 'Sr. Account Manager', 'na', '', 'B.Pharm', '2', '1', 'DGMP-109', 'NA', 'approve', 'master', '2025-09-27 11:42:21', 'master', '2025-09-27 11:47:57', '', '', NULL, NULL),
(53, '142', 'gmpdemo1', 'Admin', 'Grade II (50000-75000)', 'Admin Manager', 'na', '', 'B.Pharm', '1', '2', 'GMP230', 'NA', 'approve', 'master', '2025-09-27 01:33:13', 'master', '2025-09-27 01:33:52', '', '', NULL, NULL);

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

--
-- Table structure for table `manual_fg_entry`
--

CREATE TABLE `manual_fg_entry` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `stock_type` text DEFAULT NULL,
  `market_type` text DEFAULT NULL,
  `dosage_form` text DEFAULT NULL,
  `product_name` text DEFAULT NULL,
  `product_code` text DEFAULT NULL,
  `ar_no` text DEFAULT NULL,
  `rel_date` text DEFAULT NULL,
  `batch_no` text DEFAULT NULL,
  `batch_size` text DEFAULT NULL,
  `yield` text DEFAULT NULL,
  `pack_size` text DEFAULT NULL,
  `total_containers` text DEFAULT NULL,
  `mfg_date` text DEFAULT NULL,
  `exp_date` text DEFAULT NULL,
  `entry_for` text DEFAULT NULL,
  `client_name` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `manufacturing_process`
--

CREATE TABLE `manufacturing_process` (
  `id` int(11) NOT NULL,
  `product_code` text DEFAULT NULL,
  `plant_id` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `dosage_form` text DEFAULT NULL,
  `process_type` text DEFAULT NULL,
  `stage` text DEFAULT NULL,
  `step` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `ipqc_test` text DEFAULT NULL,
  `inprocess_checks` text DEFAULT NULL,
  `line_clearance` text DEFAULT NULL,
  `ProcessTitle` text DEFAULT NULL,
  `DocumentTitle` text DEFAULT '0',
  `DocumentNo` text DEFAULT NULL,
  `Forms` longtext DEFAULT NULL,
  `SubTitle` text DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `for_department` text DEFAULT NULL,
  `batch_lot` text DEFAULT NULL,
  `effective_date` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `manufacturing_process_stages`
--

CREATE TABLE `manufacturing_process_stages` (
  `id` int(11) NOT NULL,
  `manufacturing_process_id` text DEFAULT NULL,
  `stages` text DEFAULT NULL,
  `plant_id` text DEFAULT NULL,
  `entry_by` text DEFAULT '0',
  `entry_date` text DEFAULT '0',
  `check_by` text DEFAULT '0',
  `check_date` text DEFAULT '0',
  `Production_Office` text DEFAULT NULL,
  `Alternate_Officer` text DEFAULT NULL,
  `Supervisor` text DEFAULT NULL,
  `remark` text DEFAULT NULL,
  `for_department` longtext DEFAULT NULL,
  `forms_list` text DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `manufacturing_process_step`
--

CREATE TABLE `manufacturing_process_step` (
  `id` int(11) NOT NULL,
  `manufacturing_process_stages_id` text DEFAULT NULL,
  `plant_id` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `dosage_form` text DEFAULT NULL,
  `process_type` text DEFAULT NULL,
  `process_stage` text DEFAULT NULL,
  `step` text DEFAULT NULL,
  `checking_in` text DEFAULT NULL,
  `temp` text DEFAULT NULL,
  `split_lot` text DEFAULT NULL,
  `ipqc_test` text DEFAULT NULL,
  `inprocess_checks` text DEFAULT NULL,
  `line_clearance` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `manufacturing_process_step_list`
--

CREATE TABLE `manufacturing_process_step_list` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `instruction` text DEFAULT NULL,
  `stageName` text DEFAULT NULL,
  `step_id` text DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `marketing_advice`
--

CREATE TABLE `marketing_advice` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `name` text DEFAULT NULL,
  `address` text DEFAULT NULL,
  `batch_no` text DEFAULT NULL,
  `product_name` text DEFAULT NULL,
  `date` text DEFAULT NULL,
  `status` text DEFAULT 'approve',
  `training` text DEFAULT NULL,
  `capa` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `marketing_advice`
--

INSERT INTO `marketing_advice` (`id`, `plant_id`, `name`, `address`, `batch_no`, `product_name`, `date`, `status`, `training`, `capa`) VALUES
(1, '142', '', '', '', '', '', 'pending', '', '');

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

--
-- Table structure for table `marketing_sample`
--

CREATE TABLE `marketing_sample` (
  `client_code` text DEFAULT NULL,
  `requirement` text DEFAULT NULL,
  `quantity_required` text DEFAULT NULL,
  `purpose` text DEFAULT NULL,
  `product_name` text DEFAULT NULL,
  `id` int(11) NOT NULL,
  `status` text DEFAULT 'pending',
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `plant_id` text DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `marketing_sample`
--

INSERT INTO `marketing_sample` (`client_code`, `requirement`, `quantity_required`, `purpose`, `product_name`, `id`, `status`, `entry_by`, `entry_date`, `plant_id`) VALUES
('', '', '', '', '', 1, 'Pending', 'master', '2025-05-07 09:56:04', '146'),
('CL-004', 'existing product', '10', 'marketing_sample', 'Omeze 2', 2, 'Pending', 'master', '2025-05-07 09:56:19', '146'),
('', '', '', '', '', 3, 'Pending', 'master', '2025-05-16 02:19:23', '146'),
('', '', '', '', '', 4, 'Pending', 'master', '2025-05-16 03:19:43', '146'),
('', '', '', '', '', 5, 'Pending', 'master', '2025-07-25 11:29:08', '142'),
('', '', '', '', '', 6, 'Pending', 'master', '2025-09-01 01:02:06', '142'),
('CL-001', 'existing product', '100', 'marketing_sample', 'LIvrocitizen', 7, 'Pending', 'master', '2025-09-01 01:02:41', '142'),
('', '', '', '', '', 8, 'Pending', 'master', '2025-09-08 11:23:05', '142'),
('', '', '', '', '', 9, 'Pending', 'master', '2025-09-10 01:00:37', '142'),
('', '', '', '', '', 10, 'Pending', 'master', '2025-09-10 03:45:07', '142'),
('', '', '', '', '', 11, 'Pending', 'master', '2025-09-10 03:45:22', '142'),
('', '', '', '', '', 12, 'Pending', 'master', '2025-09-10 05:11:19', '142'),
('', '', '', '', '', 13, 'pending', 'master', '2025-09-30 04:34:49', '146');

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

--
-- Table structure for table `market_complaint`
--

CREATE TABLE `market_complaint` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `complaint_no` text DEFAULT NULL,
  `received_date` text DEFAULT NULL,
  `complaint_nature` text DEFAULT NULL,
  `complaint_sample` text DEFAULT NULL,
  `product_name` text DEFAULT NULL,
  `batch_no` text DEFAULT NULL,
  `mfg_date` text DEFAULT NULL,
  `exp_date` text DEFAULT NULL,
  `complaint_remark` text DEFAULT NULL,
  `control_remark` text DEFAULT NULL,
  `serevity` text DEFAULT NULL,
  `send_sample` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `check_by` text DEFAULT NULL,
  `check_date` text DEFAULT NULL,
  `investigation_start` text DEFAULT NULL,
  `investigation_complete` text DEFAULT NULL,
  `complaintent_type` text DEFAULT NULL,
  `received_from` text DEFAULT NULL,
  `contact_no` text DEFAULT NULL,
  `email` text DEFAULT NULL,
  `sendsample_to` text DEFAULT NULL,
  `severity` text DEFAULT NULL,
  `forward` text DEFAULT NULL,
  `physcian_email` text DEFAULT NULL,
  `departments` text DEFAULT NULL,
  `documents` text DEFAULT NULL,
  `observation` text DEFAULT NULL,
  `primary_observation` text DEFAULT NULL,
  `assessment` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `massage`
--

CREATE TABLE `massage` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `incoming_id` text DEFAULT NULL,
  `outgoing_id` text DEFAULT NULL,
  `message` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `masterformula`
--

CREATE TABLE `masterformula` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `mfr_no` text DEFAULT NULL,
  `product_code` text DEFAULT NULL,
  `ownership_type` text DEFAULT NULL,
  `client_name` text DEFAULT NULL,
  `batch_size` text DEFAULT NULL,
  `unit` text DEFAULT 'Kg',
  `materials` text DEFAULT NULL,
  `stages` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `mf_id1` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `check_by` text DEFAULT NULL,
  `check_date` text DEFAULT NULL,
  `approve_by` text DEFAULT NULL,
  `approve_date` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `masters`
--

CREATE TABLE `masters` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `standard_name` text DEFAULT NULL,
  `grade` text DEFAULT NULL,
  `chemical_name` text DEFAULT NULL,
  `category` text DEFAULT NULL,
  `strength` text DEFAULT NULL,
  `unit` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT '0',
  `status` text DEFAULT 'pending'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `master_checklist`
--

CREATE TABLE `master_checklist` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `heading` text DEFAULT NULL,
  `department` text DEFAULT NULL,
  `form_name` text DEFAULT NULL,
  `module` text DEFAULT NULL,
  `ch_id` text DEFAULT NULL,
  `master_ch_dtl` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `approve_by` text DEFAULT NULL,
  `approve_date` text DEFAULT NULL,
  `checklist_heading` text DEFAULT NULL,
  `version_no` text DEFAULT NULL,
  `form_type` text DEFAULT NULL,
  `form_data` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `master_checklist`
--

INSERT INTO `master_checklist` (`id`, `plant_id`, `heading`, `department`, `form_name`, `module`, `ch_id`, `master_ch_dtl`, `status`, `entry_by`, `entry_date`, `approve_by`, `approve_date`, `checklist_heading`, `version_no`, `form_type`, `form_data`) VALUES
(1, '142', 'Receiving Checklist', 'Store', 'Receiving', 'Receiving', '', ' ', 'approve', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(2, '142', 'Weighing Checklist', 'Store', 'Weighing', 'Weighing', '', ' ', 'approve', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(3, '142', 'Receiving ', 'Store', 'GRN Checking', 'GRN', '', ' ', 'approve', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(4, '142', 'Sampling Checklist', 'QC', 'Sampling Form', 'Sampling', '', ' ', 'approve', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5, '142', 'Interview Round', 'HR', 'Primary HR Round', 'Primary', '', ' ', 'pending', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(6, '142', 'Production Dept. Interview', 'HR', 'Interviewer Round', 'Interviewer', '', ' ', 'pending', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(7, '142', 'Production Dept. Interview', 'HR', 'Interviewer Round', 'Interviewer', '', ' ', 'pending', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(8, '142', 'Production Dept. Interview', 'HR', 'Final', 'Final', '', ' ', 'pending', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(9, '142', '2nd Level', 'QC', 'Sampling Form', 'Sampling', '', ' ', 'approve', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(10, '142', 'Reciving', 'QC', 'Sampling Form', 'Sampling', '', ' ', 'approve', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(11, '142', 'Basic Information', 'QC', 'Sampling Form', 'Sampling', '', ' ', 'approve', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(12, '142', 'Basic Information', 'QC', 'Sampling Form', 'Sampling', '', ' ', 'approve', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(13, '142', 'Basic Information', 'HR', 'Interviewer Round', 'Interviewer', '', ' ', 'approve', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(14, '142', 'Basic Information', 'QC', 'Sampling Form', 'Sampling', '', ' ', 'pending', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(15, '142', 'Condition', 'QC', 'Sampling Checking', 'Sampling', '', ' ', 'approve', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(16, '142', 'Condition', 'Store', 'Receiving', 'Receiving', '', ' ', 'approve', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(17, '142', 'Checklist', 'QC', 'Sampling Form', 'Sampling', '', NULL, 'pending', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `master_culture`
--

CREATE TABLE `master_culture` (
  `id` int(11) NOT NULL,
  `name_of_organism` text DEFAULT NULL,
  `atcc_no` text DEFAULT NULL,
  `macroscopic_features` text DEFAULT NULL,
  `macroscopic_features_gram_staining` text DEFAULT NULL,
  `maintenance_medium` text DEFAULT NULL,
  `temperature_incubation_time` text DEFAULT NULL,
  `gst_per` text DEFAULT NULL,
  `hsn_code` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `status` text DEFAULT 'Active'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `master_documents`
--

CREATE TABLE `master_documents` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `product_code` text DEFAULT NULL,
  `doc_type` text DEFAULT NULL,
  `doc_name` text DEFAULT NULL,
  `doc_no` text DEFAULT NULL,
  `ver_no` text DEFAULT NULL,
  `valid_till` text DEFAULT NULL,
  `requirement` text DEFAULT NULL,
  `document` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `master_fg_types`
--

CREATE TABLE `master_fg_types` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `product_nature` text DEFAULT NULL,
  `dosage_form_type` text DEFAULT NULL,
  `dosage_sizes` text DEFAULT NULL,
  `dosage_shapes` text DEFAULT NULL,
  `fg_sampling_plan` text DEFAULT NULL,
  `fg_sampling_qty` text DEFAULT NULL,
  `fg_control_reserve_type` text DEFAULT NULL,
  `fg_control_sample_criteria` text DEFAULT NULL,
  `dosage_sub_form` text DEFAULT NULL,
  `entered_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `approved_by` text DEFAULT NULL,
  `approved_date` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `test` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `master_fg_types`
--

INSERT INTO `master_fg_types` (`id`, `plant_id`, `product_nature`, `dosage_form_type`, `dosage_sizes`, `dosage_shapes`, `fg_sampling_plan`, `fg_sampling_qty`, `fg_control_reserve_type`, `fg_control_sample_criteria`, `dosage_sub_form`, `entered_by`, `entry_date`, `approved_by`, `approved_date`, `status`, `test`) VALUES
(1, '142', 'SOLID', 'Tablet', '\"\"', '\"\"', '', 'Test Specific', 'Applicable', 'Two Times (of single analysis)', '[]', 'master', '2025-10-08 10:19:26', NULL, NULL, 'pending', NULL),
(2, '142', 'SOLID', 'Capsule', '\"\"', '\"\"', '', 'Test Specific', 'Applicable', 'Two Times (of single analysis)', '[]', 'master', '2025-10-08 10:19:39', NULL, NULL, 'pending', NULL),
(3, '142', 'LIQUID', 'Syrup', '\"\"', '\"\"', '', 'Test Specific', 'Applicable', 'Two Times (of single analysis)', '[]', 'master', '2025-10-08 10:19:50', NULL, NULL, 'pending', NULL),
(4, '142', 'LIQUID', 'Suspension', '\"\"', '\"\"', '', 'Test Specific', 'Applicable', 'Two Times (of single analysis)', '[]', 'master', '2025-10-08 10:20:03', NULL, NULL, 'pending', NULL),
(5, '142', 'SEMI SOLID', 'Cream', '\"\"', '\"\"', '', 'Test Specific', 'Applicable', 'Two Times (of single analysis)', '[]', 'master', '2025-10-08 10:20:14', NULL, NULL, 'pending', NULL),
(6, '142', 'SEMI SOLID', 'Ointment', '\"\"', '\"\"', '', 'Test Specific', 'Applicable', 'Two Times (of single analysis)', '[]', 'master', '2025-10-08 10:20:26', NULL, NULL, 'pending', NULL);

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

--
-- Stand-in structure for view `master_material`
-- (See below for the actual view)
--
CREATE TABLE `master_material` (
`plant_id` longtext
,`id` int(11)
,`material_type` longtext
,`material_subtype` longtext
,`material_nature` longtext
,`material_sub_type_id` longtext
,`material_code` longtext
,`material_name` longtext
,`hsn` longtext
,`gst_id` longtext
,`status` longtext
,`testing_required` longtext
,`gst_percent` mediumtext
,`grade` longtext
,`unit` longtext
);

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

--
-- Stand-in structure for view `master_material_bkp`
-- (See below for the actual view)
--
CREATE TABLE `master_material_bkp` (
`plant_id` mediumtext
,`id` int(11)
,`material_type` mediumtext
,`material_subtype` mediumtext
,`material_nature` mediumtext
,`material_sub_type_id` mediumtext
,`material_code` mediumtext
,`material_name` mediumtext
,`hsn` mediumtext
,`gst_id` mediumtext
,`status` mediumtext
,`testing_required` mediumtext
,`gst_percent` text
);

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

--
-- Table structure for table `master_media`
--

CREATE TABLE `master_media` (
  `id` int(11) NOT NULL,
  `media_name` text DEFAULT NULL,
  `media_code` text DEFAULT NULL,
  `media_description` text DEFAULT NULL,
  `hsn_code` text DEFAULT NULL,
  `gst_per` text DEFAULT NULL,
  `entered_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `status` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `material_issue`
--

CREATE TABLE `material_issue` (
  `id` int(11) NOT NULL,
  `work_order_id` text DEFAULT NULL,
  `plant_id` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `grn_no` text DEFAULT NULL,
  `ar_no` text DEFAULT NULL,
  `material_code` text DEFAULT NULL,
  `batch_no` text DEFAULT NULL,
  `issue_for` text DEFAULT NULL,
  `product_code` text DEFAULT NULL,
  `prod_batch_code` text DEFAULT NULL,
  `qty` text DEFAULT NULL,
  `unit` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `approve_by` text DEFAULT NULL,
  `approve_date` text DEFAULT NULL,
  `lot` text DEFAULT '0',
  `material_type` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `material_issue`
--

INSERT INTO `material_issue` (`id`, `work_order_id`, `plant_id`, `user_no`, `grn_no`, `ar_no`, `material_code`, `batch_no`, `issue_for`, `product_code`, `prod_batch_code`, `qty`, `unit`, `status`, `entry_by`, `entry_date`, `approve_by`, `approve_date`, `lot`, `material_type`) VALUES
(1, '12', '142', 'gmpdemo1', 'GRN/22/R/01734', 'AR-0268', 'RM00001', 'BN35407', 'DISPENSING', 'P7', 'BN2901', '40.000', '', 'pending', 'master', '2025-04-14 02:52:14', ' ', ' ', '1', NULL),
(2, '12', '142', 'gmpdemo1', 'GRN/22/R/01734', 'AR-0268', 'RM00002', 'BN35407', 'DISPENSING', 'P7', 'BN2901', '2.500', '', 'pending', 'master', '2025-04-14 02:52:38', ' ', ' ', '', NULL),
(3, '12', '142', 'gmpdemo1', 'GRN/22/R/01734', 'AR-0268', 'RM00003', 'BN35407', 'DISPENSING', 'P7', 'BN2901', '7.500', '', 'pending', 'master', '2025-04-14 02:52:54', ' ', ' ', '', NULL),
(4, '12', '142', 'gmpdemo1', 'GRN/22/R/01734', 'AR-0268', 'RM00001', 'BN35407', 'DISPENSING', 'P7', 'BN2901', '40.000', '', 'pending', 'master', '2025-04-14 02:53:11', ' ', ' ', '', NULL),
(5, '12', '142', 'gmpdemo1', 'GRN/22/R/01734', 'AR-0268', 'RM00002', 'BN35407', 'DISPENSING', 'P7', 'BN2901', '2.500', '', 'pending', 'master', '2025-04-14 02:53:25', ' ', ' ', '', NULL),
(6, '12', '142', 'gmpdemo1', 'GRN/22/R/01734', 'AR-0268', 'RM00003', 'BN35407', 'DISPENSING', 'P7', 'BN2901', '7.500', '', 'pending', 'master', '2025-04-14 02:54:07', ' ', ' ', '', NULL),
(7, '13', '142', 'gmpdemo1', 'GRN/25/R/015', 'AR-013', 'RM00001', 'BN9872', 'DISPENSING', 'P13', '123', '15.000', '', 'pending', 'master', '2025-07-02 04:14:30', ' ', ' ', '0', NULL),
(8, '13', '142', 'gmpdemo1', 'GRN/25/R/015', 'AR-013', 'RM00002', 'BN9872', 'DISPENSING', 'P13', '123', '15.000', '', 'pending', 'master', '2025-07-02 04:14:50', ' ', ' ', '', NULL),
(9, '14', '142', 'gmpdemo1', 'GRN/25/R/015', 'AR-013', 'RM00001', 'BN9872', 'DISPENSING', 'P13', 'BN299191', '15.000', '', 'pending', 'master', '2025-07-04 12:43:08', ' ', ' ', '0', NULL),
(10, '14', '142', 'gmpdemo1', 'GRN/25/R/015', 'AR-013', 'RM00002', 'BN9872', 'DISPENSING', 'P13', 'BN299191', '15.000', '', 'pending', 'master', '2025-07-04 12:43:24', ' ', ' ', '', NULL),
(11, '15', '142', 'gmpdemo1', 'GRN/25/R/015', 'AR-013', 'RM00001', 'BN9872', 'DISPENSING', 'P13', 'BN41233', '15.000', '', 'pending', 'master', '2025-07-07 11:13:12', ' ', ' ', '0', NULL),
(12, '15', '142', 'gmpdemo1', 'GRN/25/R/015', 'AR-013', 'RM00002', 'BN9872', 'DISPENSING', 'P13', 'BN41233', '15.000', '', 'pending', 'master', '2025-07-07 11:13:25', ' ', ' ', '', NULL),
(13, '16', '142', 'gmpdemo1', 'GRN/25/R/015', 'AR-013', 'RM00001', 'BN9872', 'DISPENSING', 'P5', 'BN76463', '50.000', '', 'pending', 'master', '2025-07-19 05:35:05', ' ', ' ', '0', NULL),
(14, '16', '142', 'gmpdemo1', 'GRN/25/R/09', 'AR-015', 'RM00002', 'BN72635', 'DISPENSING', 'P5', 'BN76463', '50.000', '', 'pending', 'master', '2025-07-19 05:35:37', ' ', ' ', '0', NULL),
(15, '21', '142', 'gmpdemo1', 'GRN/25/R/023', 'AR-011', 'RM00003', 'BN76235', 'DISPENSING', 'P19', ' ', '50.000', '', 'pending', 'master', '2025-07-21 02:52:22', ' ', ' ', '0', NULL),
(16, '21', '142', 'gmpdemo1', 'GRN/25/R/023', 'AR-011', 'RM00004', 'BN76235', 'DISPENSING', 'P19', ' ', '50.000', '', 'pending', 'master', '2025-07-21 02:53:17', ' ', ' ', '', NULL),
(17, '3', '142', 'gmpdemo1', 'GRN/25/R/023', 'AR-011', 'RM00004', 'BN76235', 'DISPENSING', 'P4', ' ', '16.000', '', 'pending', 'master', '2025-07-21 02:54:16', ' ', ' ', '', NULL),
(18, '3', '142', 'gmpdemo1', 'GRN/25/R/023', 'AR-011', 'RM00015', 'BN76235', 'DISPENSING', 'P4', ' ', '16.000', '', 'pending', 'master', '2025-07-21 02:54:37', ' ', ' ', '', NULL),
(19, '28', '142', 'gmpdemo1', 'GRN/25/R/015', 'AR-013', 'RM00001', 'BN9872', 'DISPENSING', 'P21', ' ', '20.000', '', 'pending', 'master', '2025-07-21 04:07:57', ' ', ' ', '1', NULL),
(20, '28', '142', 'gmpdemo1', 'GRN/25/R/015', 'AR-013', 'RM00013', 'BN9872', 'DISPENSING', 'P21', ' ', '20.000', '', 'pending', 'master', '2025-07-21 04:08:17', ' ', ' ', '', NULL),
(21, '29', '142', 'gmpdemo1', 'GRN/25/R/015', 'AR-013', 'RM00001', 'BN9872', 'DISPENSING', 'P4', 'BN3746364344', '50', '', 'pending', 'master', '2025-07-23 01:08:56', ' ', ' ', '0', NULL),
(22, '34', '142', 'gmpdemo1', 'GRN/25/R/015', 'AR-013', 'RM00001', 'BN9872', 'DISPENSING', 'P25', 'BN7646354545', '50.000', '', 'pending', 'master', '2025-08-21 05:52:51', ' ', ' ', '1', NULL),
(23, '34', '142', 'gmpdemo1', 'GRN/25/R/015', 'AR-013', 'RM00067', 'BN9872', 'DISPENSING', 'P25', 'BN7646354545', '50.000', '', 'pending', 'master', '2025-08-21 05:53:09', ' ', ' ', '', NULL),
(24, '37', '142', 'gmpdemo1', 'GRN/25/R/09', 'AR-015', 'RM00002', 'BN72635', 'DISPENSING', 'P24', 'BNT643', '75.000', '', 'pending', 'master', '2025-08-23 11:40:56', ' ', ' ', '0', NULL),
(25, '37', '142', 'gmpdemo1', 'GRN/25/R/09', 'AR-015', 'RM00067', 'BN72635', 'DISPENSING', 'P24', 'BNT643', '75.000', '', 'pending', 'master', '2025-08-23 11:41:17', ' ', ' ', '', NULL),
(26, '43', '142', 'gmpdemo1', 'GRN/25-26/0124', 'AR-098', 'RM00047', 'TRN001', 'DISPENSING', 'P15', 'BFR0035', '50.000', '', 'pending', 'master', '2025-08-25 10:34:49', ' ', ' ', '0', NULL),
(27, '43', '142', 'gmpdemo1', 'GRN/25-26/0124', 'AR-098', 'RM00080', 'TRN001', 'DISPENSING', 'P15', 'BFR0035', '50.000', '', 'pending', 'master', '2025-08-25 10:35:12', ' ', ' ', '', NULL),
(28, '55', '142', 'gmpdemo1', 'GRN/22/R/0176726', 'AR-0268', 'RM00013', 'BN3549', 'DISPENSING', 'P16', 'BN321', '32.000', '', 'pending', 'master', '2025-10-07 06:42:56', NULL, NULL, '0', NULL),
(29, '55', '142', 'gmpdemo1', 'GRN/22/R/0176726', 'AR-0268', 'RM00051', 'BN3549', 'DISPENSING', 'P16', 'BN321', '48.000', '', 'pending', 'master', '2025-10-07 06:43:44', NULL, NULL, '', NULL);

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

--
-- Table structure for table `material_type`
--

CREATE TABLE `material_type` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `material_type` text DEFAULT NULL,
  `material_subtype` text DEFAULT NULL,
  `category` text DEFAULT NULL,
  `sampling_criteria` text DEFAULT NULL,
  `sampling_qty` text DEFAULT NULL,
  `control_sample_type` text DEFAULT NULL,
  `control_reserve_criteria` text DEFAULT NULL,
  `retest_type` text DEFAULT NULL,
  `restest_months` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT '  ',
  `weighing_criteria` text DEFAULT NULL,
  `eng_category` text DEFAULT '',
  `Short_Code` text DEFAULT NULL,
  `has_nature_of_material` text DEFAULT '1',
  `testing_required` text DEFAULT 'No',
  `status` text DEFAULT 'pending',
  `approved_by` text DEFAULT NULL,
  `approved_on` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `material_type`
--

INSERT INTO `material_type` (`id`, `plant_id`, `material_type`, `material_subtype`, `category`, `sampling_criteria`, `sampling_qty`, `control_sample_type`, `control_reserve_criteria`, `retest_type`, `restest_months`, `entry_by`, `entry_date`, `weighing_criteria`, `eng_category`, `Short_Code`, `has_nature_of_material`, `testing_required`, `status`, `approved_by`, `approved_on`) VALUES
(1, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '6', 'master', '2024-06-29 12:00:34', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(2, '142', 'Raw Material', 'Excipients', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '6', 'master', '2024-06-29 12:00:52', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(3, '142', 'Packing Material', 'Primary', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Not Applicable', '6', 'master', '2024-06-29 12:04:44', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(4, '142', 'Packing Material', 'Secondary', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '6', 'master', '2024-06-29 12:05:06', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(5, '142', 'Packing Material', 'Tertiary', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '6', 'master', '2024-06-29 12:06:10', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(13, '143', 'Packing Material', 'PRIMARY', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '6', 'master', '2024-10-17 06:08:20', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(14, '143', 'Packing Material', 'SECONDARY', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '6', 'master', '2024-10-17 06:08:40', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(15, '143', 'Packing Material', 'TERTIARY', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '6', 'master', '2024-10-17 06:08:55', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(16, '143', 'Raw Material', 'API', ' ', '', '', 'Not Applicable', '', 'Applicable', '6', 'master', '2024-10-21 12:28:43', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(17, '143', 'Raw Material', 'EXCIPIENT', ' ', '', '', 'Not Applicable', '', 'Applicable', '6', 'master', '2024-10-21 12:29:01', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(18, '143', 'Packing Material', 'API', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '6', 'master', '2024-10-21 12:29:15', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(19, '143', 'Packing Material', 'EXCIPIENT', ' ', '', '', 'Not Applicable', '', 'Applicable', '6', 'master', '2024-10-21 12:29:32', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(20, '142', 'Raw Material', 'Raw Material', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '6', 'master', '2025-01-21 12:21:53', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(22, '143', 'Raw Material', 'Acetaminophen ', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '', 'master', '2025-02-19 02:40:52', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(23, '143', 'Packing Material', 'Acetaminophen ', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '', 'master', '2025-02-19 02:47:52', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(24, '143', 'Raw Material', 'Acetaminophen ', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '', 'master', '2025-02-19 02:59:00', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(25, '143', 'Raw Material', 'secondary packing material', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '', 'master', '2025-02-19 04:32:43', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(26, '143', 'Raw Material', 'solid', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '', 'master', '2025-02-20 01:06:57', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(27, '142', 'Raw Material', 'primary', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-04-14 12:48:14', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(33, '142', 'Raw Material', 'API', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '', 'master', '2025-07-04 01:06:20', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(35, '142', 'Raw Material', 'API', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '', 'master', '2025-07-04 03:46:07', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(36, '142', 'Raw Material', 'TEST', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '', 'master', '2025-07-11 12:07:11', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(38, '142', 'Raw Material', 'excipient', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '', 'master', '2025-07-11 12:26:23', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(40, '142', 'Packing Material', 'aluminum foil', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '', 'master', '2025-07-11 12:27:23', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(42, '142', 'Raw Material', 'API', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '', 'master', '2025-07-11 12:28:54', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(43, '142', 'Packing Material', 'Exipient', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '', 'master', '2025-07-11 12:29:24', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(44, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Not Applicable', '', 'master', '2025-07-11 02:42:41', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(45, '142', 'Raw Material', 'excipient', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '', 'master', '2025-07-11 03:44:57', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(46, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-07-14 02:20:31', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(47, '142', 'Raw Material', 'API', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '', 'master', '2025-07-14 05:27:07', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(48, '142', 'Raw Material', 'Emulsifier', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '', 'master', '2025-07-19 12:43:29', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(50, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '6', 'master', '2025-07-29 10:22:53', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(51, '142', 'Packing Material', 'API', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '', 'master', '2025-07-29 12:04:27', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(52, '142', 'Raw Material', 'Solvents', ' ', '', '', 'Applicable', 'Three Times (of single analysis)', 'Applicable', '3', 'master', '2025-07-29 12:06:24', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(53, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-07-29 05:34:28', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(54, '142', 'Raw Material', 'Solvents', ' ', '', '', 'Not Applicable', '', 'Applicable', '6', 'master', '2025-07-29 05:36:13', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(55, '142', 'Raw Material', 'Metals', ' ', '', '', 'Not Applicable', '', 'Applicable', '3', 'master', '2025-07-29 05:36:28', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(69, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-08-14 03:56:52', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(70, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-08-14 04:39:17', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(71, '142', 'Packing Material', 'aluminium foil', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-08-14 04:39:19', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(72, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-08-14 04:43:48', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(73, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Not Applicable', '', 'master', '2025-08-14 05:04:10', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(74, '142', 'Raw Material', 'API', ' ', '', '', 'Not Applicable', '', 'Applicable', '3', 'master', '2025-08-14 05:04:42', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(76, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-08-14 05:42:44', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(77, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-08-14 05:42:59', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(78, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-08-14 05:44:27', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(79, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-08-14 05:44:43', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(80, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-08-14 05:45:00', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(81, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-08-14 06:10:48', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(82, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Three Times (of single analysis)', 'Applicable', '3', 'master', '2025-08-14 06:15:10', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(83, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-08-14 06:15:32', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(84, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-08-14 06:15:44', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(85, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-08-14 06:16:00', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(92, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-09-02 12:08:42', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(94, '142', 'Packing Material', 'Strip Packs', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '', 'master', '2025-09-02 12:11:33', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(95, '142', 'Raw Material', 'Excipients', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-09-02 12:12:58', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(96, '142', 'Raw Material', 'Excipients', ' ', '', '', 'Applicable', 'Three Times (of single analysis)', 'Applicable', '36', 'master', '2025-09-02 12:31:59', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(97, '142', 'Packing Material', 'Bottles & Containers', ' ', '', '', 'Not Applicable', '', 'Not Applicable', '', 'master', '2025-09-02 12:34:21', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(98, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-09-03 09:44:44', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(99, '142', 'Packing Material', 'Primary packing material ', ' ', '', '', 'Not Applicable', '', 'Applicable', '3', 'master', '2025-09-03 09:49:44', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(100, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Three Times (of single analysis)', 'Not Applicable', '', 'master', '2025-09-03 09:52:28', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(101, '142', 'Packing Material', 'secondary ', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '3', 'master', '2025-09-03 09:52:57', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(102, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '6', 'master', '2025-09-08 11:50:33', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(103, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '18', 'master', '2025-09-08 12:28:40', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(104, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '18', 'master', '2025-09-08 01:56:36', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(105, '142', 'Raw Material', 'API', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '24', 'master', '2025-09-09 09:40:10', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(106, '142', 'Packing Material', 'Secondary ', ' ', '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '24', 'master', '2025-09-09 12:21:11', '', '', ' ', '1', 'No', 'Pending', ' ', ' '),
(107, '142', 'Raw Material', 'API', NULL, '', '', 'Applicable', 'Three Times (of single analysis)', 'Applicable', '36', 'master', '2025-09-15 11:12:26', '', '', NULL, '1', 'No', 'pending', NULL, NULL),
(108, '142', 'Raw Material', 'Intermidiate', NULL, '', '', 'Applicable', 'Two Times (of single analysis)', 'Applicable', '24', 'master', '2025-09-15 11:13:28', '', '', NULL, '1', 'No', 'pending', NULL, NULL);

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

--
-- Table structure for table `measuring_device`
--

CREATE TABLE `measuring_device` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `facility_name` text DEFAULT NULL,
  `location` text DEFAULT NULL,
  `dev_name` text DEFAULT NULL,
  `dev_type` text DEFAULT NULL,
  `dev_id` text DEFAULT NULL,
  `manufacturer` text DEFAULT NULL,
  `model` text DEFAULT NULL,
  `last_cali_date` text DEFAULT NULL,
  `next_cali_date` text DEFAULT NULL,
  `cali_status` text DEFAULT NULL,
  `area` text DEFAULT NULL,
  `sp_location` text DEFAULT NULL,
  `purpose` text DEFAULT NULL,
  `opert_note` text DEFAULT NULL,
  `last_maint_date` text DEFAULT NULL,
  `next_maint_date` text DEFAULT NULL,
  `maint_notes` text DEFAULT NULL,
  `dev_custodian` text DEFAULT NULL,
  `emer_contact` text DEFAULT NULL,
  `add_contact` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `media`
--

CREATE TABLE `media` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `media_name` text DEFAULT NULL,
  `media_code` text DEFAULT NULL,
  `media_specification` text DEFAULT NULL,
  `sterilization` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `from_date` text DEFAULT NULL,
  `to_date` text DEFAULT NULL,
  `android_pdf` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `media_consumption`
--

CREATE TABLE `media_consumption` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `stock_id` text DEFAULT NULL,
  `media_code` text DEFAULT NULL,
  `batch_no` text DEFAULT NULL,
  `lot_no` text DEFAULT NULL,
  `plate_no` text DEFAULT NULL,
  `prepare_on` text DEFAULT NULL,
  `use_before` text DEFAULT NULL,
  `used_on` text DEFAULT NULL,
  `quantity` text DEFAULT NULL,
  `used_for` text DEFAULT NULL,
  `remaining_qty` text DEFAULT '',
  `used_by` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `media_decontamination`
--

CREATE TABLE `media_decontamination` (
  `id` int(11) NOT NULL,
  `media_code` text DEFAULT NULL,
  `batch_no` text DEFAULT NULL,
  `lot_no` text DEFAULT NULL,
  `decontaminated_cycle_no` text DEFAULT NULL,
  `incubator_id` text DEFAULT NULL,
  `incubator_temp` text DEFAULT NULL,
  `incubation_date` text DEFAULT NULL,
  `status` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `obseravation24` text DEFAULT NULL,
  `obseravation24_negative` text DEFAULT NULL,
  `obseravation24_by` text DEFAULT NULL,
  `obseravation24_date` text DEFAULT NULL,
  `obseravation48` text DEFAULT NULL,
  `obseravation48_negative` text DEFAULT NULL,
  `obseravation48_by` text DEFAULT NULL,
  `obseravation48_date` text DEFAULT NULL,
  `conclusion` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `media_prepartion`
--

CREATE TABLE `media_prepartion` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `media_code` text DEFAULT NULL,
  `batch_no` text DEFAULT NULL,
  `lot_no` text DEFAULT NULL,
  `qty_taken` text DEFAULT NULL,
  `volume_prepared` text DEFAULT NULL,
  `volume_unit` text DEFAULT NULL,
  `containers` text DEFAULT NULL,
  `qty_per_containers` text DEFAULT NULL,
  `quantity` text DEFAULT NULL,
  `volume` text DEFAULT NULL,
  `cumm_qty` text DEFAULT NULL,
  `cycle_no` text DEFAULT NULL,
  `ph_medium_before` text DEFAULT NULL,
  `ph_medium_after` text DEFAULT NULL,
  `ph_value` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `status` text DEFAULT 'pending'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `media_stock`
--

CREATE TABLE `media_stock` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `media_code` text DEFAULT NULL,
  `bottle_qty` text DEFAULT NULL,
  `unit` text DEFAULT NULL,
  `make` text DEFAULT NULL,
  `vendor_name` text DEFAULT NULL,
  `entry_date` datetime DEFAULT current_timestamp(),
  `from_date` text DEFAULT NULL,
  `to_date` text DEFAULT NULL,
  `batch_no` text DEFAULT NULL,
  `qty_received` text DEFAULT NULL,
  `before_date` text DEFAULT NULL,
  `expiry_date` text DEFAULT NULL,
  `receive_by` text DEFAULT NULL,
  `issue_date` text DEFAULT NULL,
  `qty_issue` text DEFAULT NULL,
  `balance_qty` text DEFAULT NULL,
  `issue_by` text DEFAULT NULL,
  `review_by` text DEFAULT NULL,
  `entry_by` text DEFAULT NULL,
  `signture` text DEFAULT NULL,
  `media_stock` text DEFAULT NULL,
  `rec_date` text DEFAULT NULL,
  `consume_qua` text DEFAULT NULL,
  `balance_qua` text DEFAULT NULL,
  `specif_weight` text DEFAULT NULL,
  `specifVol` text DEFAULT NULL,
  `status` text DEFAULT 'pending'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

--
-- Table structure for table `medicalcheckup`
--

CREATE TABLE `medicalcheckup` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `user_no` text DEFAULT 'gmpdemo1',
  `form_type` text DEFAULT 'Medical',
  `emp_id` text DEFAULT NULL,
  `phisician_no` text DEFAULT NULL,
  `tests` text DEFAULT NULL,
  `status` text DEFAULT 'pending',
  `entry_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `department` text DEFAULT NULL,
  `frequency` text DEFAULT NULL,
  `chekup_type` text DEFAULT NULL,
  `tests_document` text DEFAULT NULL,
  `report_document` text DEFAULT NULL,
  `checkup_type` text DEFAULT 'Pre Employeement',
  `testDate` text DEFAULT NULL,
  `lastIdGeted` text DEFAULT 'pending'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `medicalcheckup`
--

INSERT INTO `medicalcheckup` (`id`, `plant_id`, `user_no`, `form_type`, `emp_id`, `phisician_no`, `tests`, `status`, `entry_by`, `entry_date`, `department`, `frequency`, `chekup_type`, `tests_document`, `report_document`, `checkup_type`, `testDate`, `lastIdGeted`) VALUES
(1, '142', 'gmpdemo1', 'premedical', '14', '', '{\"candidate_name\":\"Siddharth Gupta\",\"checkup_type\":\"Pre Employeement\",\"frequency\":\"3\",\"bp\":true,\"emp_id\":\"14\",\"tests\":[{\"id\":\"1\",\"plant_id\":\"142\",\"test_name\":\"Eye Test\",\"test\":\"0\",\"selected\":true},{\"id\":\"2\",\"plant_id\":\"142\",\"test_name\":\"Blood Test\",\"test\":\"0\",\"selected\":true},{\"id\":\"3\",\"plant_id\":\"143\",\"test_name\":\"Himoglobin test\",\"test\":\"0\",\"selected\":true},{\"id\":\"4\",\"plant_id\":\"143\",\"test_name\":\"Calcium test\",\"test\":\"0\",\"selected\":true},{\"id\":\"5\",\"plant_id\":\"146\",\"test_name\":\"Vitamin Test\",\"test\":\"0\",\"selected\":true},{\"id\":\"6\",\"plant_id\":\"146\",\"test_name\":\"Urine Test\",\"test\":\"0\",\"selected\":true}]}', 'doc_upload', 'master', '2025-05-06 10:21:07', ' ', '3', ' ', '[\"2025-05-06 10:22:03Screenshot 2024-07-06  - Copy - Copy.png\",\"2025-05-06 10:22:03Screenshot 2024-07-06  - Copy - Copy.png\",\"2025-05-06 10:22:03Screenshot 2024-07-06  - Copy.png\",\"2025-05-06 10:22:03Screenshot 2024-07-06  - Copy.png\",\"2025-05-06 10:22:03Screenshot 2024-07-06  - Copy.png\",\"2025-05-06 10:22:03Screenshot 2024-07-06  - Copy.png\"]', ' ', 'Pre Employeement', '2025-05-06 10:22:03', 'Pending'),
(2, '142', 'gmpdemo1', 'premedical', '18', '', '{\"candidate_name\":\"Priya Wankhade \",\"checkup_type\":\"Pre Employeement\",\"frequency\":\"3\",\"bp\":true,\"emp_id\":\"18\",\"tests\":[{\"id\":\"1\",\"plant_id\":\"142\",\"test_name\":\"Eye Test\",\"test\":\"0\",\"selected\":true},{\"id\":\"2\",\"plant_id\":\"142\",\"test_name\":\"Blood Test\",\"test\":\"0\",\"selected\":true},{\"id\":\"3\",\"plant_id\":\"143\",\"test_name\":\"Himoglobin test\",\"test\":\"0\",\"selected\":true},{\"id\":\"4\",\"plant_id\":\"143\",\"test_name\":\"Calcium test\",\"test\":\"0\",\"selected\":true},{\"id\":\"5\",\"plant_id\":\"146\",\"test_name\":\"Vitamin Test\",\"test\":\"0\",\"selected\":true},{\"id\":\"6\",\"plant_id\":\"146\",\"test_name\":\"Urine Test\",\"test\":\"0\",\"selected\":true}]}', 'pending', 'master', '2025-05-06 10:22:48', ' ', '3', ' ', ' ', ' ', 'Pre Employeement', NULL, 'Pending'),
(3, '142', 'gmpdemo1', 'premedical', '15', '', '{\"candidate_name\":\"Mohammad Ali Khan Qadri\",\"checkup_type\":\"Pre Employeement\",\"frequency\":\"3\",\"bp\":true,\"emp_id\":\"15\",\"tests\":[{\"id\":\"1\",\"plant_id\":\"142\",\"test_name\":\"Eye Test\",\"test\":\"0\",\"selected\":true},{\"id\":\"2\",\"plant_id\":\"142\",\"test_name\":\"Blood Test\",\"test\":\"0\",\"selected\":true},{\"id\":\"3\",\"plant_id\":\"143\",\"test_name\":\"Himoglobin test\",\"test\":\"0\",\"selected\":true},{\"id\":\"4\",\"plant_id\":\"143\",\"test_name\":\"Calcium test\",\"test\":\"0\",\"selected\":true},{\"id\":\"5\",\"plant_id\":\"146\",\"test_name\":\"Vitamin Test\",\"test\":\"0\",\"selected\":true},{\"id\":\"6\",\"plant_id\":\"146\",\"test_name\":\"Urine Test\",\"test\":\"0\",\"selected\":true}]}', 'pending', 'master', '2025-05-15 11:39:44', ' ', '3', ' ', ' ', ' ', 'Pre Employeement', NULL, 'Pending'),
(4, '142', 'gmpdemo1', 'premedical', '21', '', '{\"candidate_name\":\"Suraj \",\"checkup_type\":\"pending\",\"frequency\":6,\"bp\":true,\"emp_id\":\"21\",\"tests\":[{\"id\":\"1\",\"plant_id\":\"142\",\"test_name\":\"Eye Test\",\"test\":\"0\",\"selected\":true},{\"id\":\"2\",\"plant_id\":\"142\",\"test_name\":\"Blood Test\",\"test\":\"0\",\"selected\":true},{\"id\":\"4\",\"plant_id\":\"143\",\"test_name\":\"Calcium test\",\"test\":\"0\",\"selected\":true}]}', 'doc_upload', 'master', '2025-05-15 06:41:40', ' ', '6', ' ', '[]', ' ', 'pending', '2025-05-15 06:42:00', 'Pending'),
(5, '142', 'gmpdemo1', 'premedical', '16', '', '{\"candidate_name\":\"janvi\",\"checkup_type\":\"Pre Employeement\",\"frequency\":6,\"emp_id\":\"16\",\"tests\":[]}', 'doc_upload', 'master', '2025-08-20 03:13:49', ' ', '6', ' ', '[]', ' ', 'Pre Employeement', '2025-08-20 03:14:29', 'DONE'),
(6, '142', 'gmpdemo1', 'premedical', '16', '', '{\"candidate_name\":\"janvi\",\"checkup_type\":\"Normal\",\"frequency\":\"3\",\"bp\":true,\"emp_id\":\"16\",\"lastId\":\"5\",\"tests\":[{\"id\":\"2\",\"plant_id\":\"142\",\"test_name\":\"Blood Test\",\"test\":\"0\",\"selected\":true}]}', 'pending', 'master', '2025-08-20 03:15:04', ' ', '3', ' ', ' ', ' ', 'Normal', NULL, 'Pending'),
(7, '142', 'gmpdemo1', 'premedical', '17', '', '{\"candidate_name\":\"Asha\",\"checkup_type\":\"Pre Employeement\",\"frequency\":6,\"emp_id\":\"17\",\"tests\":[]}', 'pending', 'master', '2025-08-20 03:19:50', ' ', '6', ' ', ' ', ' ', 'Pre Employeement', NULL, 'Pending'),
(8, '142', 'gmpdemo1', 'premedical', '19', '', '{\"candidate_name\":\"Nikita \",\"checkup_type\":\"Pre Employeement\",\"frequency\":6,\"emp_id\":\"19\",\"tests\":[]}', 'pending', 'master', '2025-08-21 12:13:28', ' ', '6', ' ', ' ', ' ', 'Pre Employeement', NULL, 'Pending'),
(9, '142', 'gmpdemo1', 'premedical', '35', '', '{\"candidate_name\":\"GOUTAMI\",\"checkup_type\":\"Pre Employeement\",\"frequency\":6,\"bp\":true,\"emp_id\":\"35\",\"tests\":[{\"id\":\"1\",\"plant_id\":\"142\",\"test_name\":\"Eye Test\",\"test\":\"0\",\"selected\":true},{\"id\":\"2\",\"plant_id\":\"142\",\"test_name\":\"Blood Test\",\"test\":\"0\",\"selected\":true},{\"id\":\"5\",\"plant_id\":\"146\",\"test_name\":\"Vitamin Test\",\"test\":\"0\",\"selected\":true},{\"id\":\"6\",\"plant_id\":\"146\",\"test_name\":\"Urine Test\",\"test\":\"0\",\"selected\":true}]}', 'doc_upload', 'master', '2025-09-22 03:01:26', NULL, '6', NULL, '[]', NULL, 'Pre Employeement', '2025-09-22 03:01:43', 'DONE'),
(10, '142', 'gmpdemo1', 'premedical', '35', '', '{\"candidate_name\":\"GOUTAMI\",\"checkup_type\":\"Normal\",\"frequency\":\"3\",\"emp_id\":\"35\",\"lastId\":\"9\",\"tests\":[]}', 'pending', 'master', '2025-09-22 03:02:01', NULL, '3', NULL, NULL, NULL, 'Normal', NULL, 'Pending'),
(11, '142', 'gmpdemo1', 'premedical', '36', '', '{\"candidate_name\":\"Riya\",\"checkup_type\":\"Pre Employeement\",\"frequency\":6,\"bp\":true,\"emp_id\":\"36\",\"tests\":[{\"id\":\"2\",\"plant_id\":\"142\",\"test_name\":\"Blood Test\",\"test\":\"0\",\"selected\":true},{\"id\":\"3\",\"plant_id\":\"143\",\"test_name\":\"Himoglobin test\",\"test\":\"0\",\"selected\":true},{\"id\":\"6\",\"plant_id\":\"146\",\"test_name\":\"Urine Test\",\"test\":\"0\",\"selected\":true}]}', 'doc_upload', 'master', '2025-09-26 11:52:04', NULL, '6', NULL, '[\"2025-09-26 11:52:59Pritam resume.csv\",\"2025-09-26 11:52:59Avantika Doderesume (1).xlsx\",\"2025-09-26 11:52:59Avantika Doderesume (2).xlsx\"]', NULL, 'Pre Employeement', '2025-09-26 11:52:59', 'DONE'),
(12, '142', 'gmpdemo1', 'premedical', '36', '', '{\"candidate_name\":\"Riya\",\"checkup_type\":\"Normal\",\"frequency\":\"6\",\"bp\":true,\"emp_id\":\"36\",\"lastId\":\"11\",\"tests\":[{\"id\":\"2\",\"plant_id\":\"142\",\"test_name\":\"Blood Test\",\"test\":\"0\",\"selected\":true},{\"id\":\"5\",\"plant_id\":\"146\",\"test_name\":\"Vitamin Test\",\"test\":\"0\",\"selected\":true},{\"id\":\"6\",\"plant_id\":\"146\",\"test_name\":\"Urine Test\",\"test\":\"0\",\"selected\":true}]}', 'pending', 'master', '2025-09-26 11:54:05', NULL, '6', NULL, NULL, NULL, 'Normal', NULL, 'Pending');

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

--
-- Table structure for table `medical_tests`
--

CREATE TABLE `medical_tests` (
  `id` int(11) NOT NULL,
  `plant_id` text DEFAULT NULL,
  `test_name` text DEFAULT NULL,
  `test` text DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `medical_tests`
--

INSERT INTO `medical_tests` (`id`, `plant_id`, `test_name`, `test`) VALUES
(1, '142', 'Eye Test', '0'),
(2, '142', 'Blood Test', '0'),
(3, '143', 'Himoglobin test', '0'),
(4, '143', 'Calcium test', '0'),
(5, '146', 'Vitamin Test', '0'),
(6, '146', 'Urine Test', '0');

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

--
-- Table structure for table `method_document`
--

CREATE TABLE `method_document` (
  `id` int(11) NOT NULL,
  `plant_id` int(11) DEFAULT NULL,
  `doc_name` text DEFAULT NULL,
  `doc_no` text DEFAULT NULL,
  `doc_type` text DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `method_document`
--

INSERT INTO `method_document` (`id`, `plant_id`, `doc_name`, `doc_no`, `doc_type`) VALUES
(1, 142, 'SOP No 001', 'ASD001', 'AssociateDoc'),
(2, 142, 'SOP NO 002', 'ASD002', 'AssociateDoc');

--
-- Triggers `method_document`
--
DELIMITER $$
CREATE TRIGGER `doc_no` BEFORE INSERT ON `method_document` FOR EACH ROW BEGIN

SET @lastID = (SELECT id FROM method_document ORDER BY id DESC LIMIT 1);
IF @lastID IS NULL OR @lastID = '' THEN
    SET @lastID = 0;
END IF;
SET @lastID = @lastID +1;
SET NEW.doc_no = concat('ASD', LPAD(CONVERT(@lastID, CHAR), 3, '0'));
END
$$
DELIMITER ;

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

--
-- Table structure for table `mfg_work_order_dtl`
--

CREATE TABLE `mfg_work_order_dtl` (
  `id` int(11) NOT NULL,
  `work_order_id` text DEFAULT NULL,
  `pack_size_id` text DEFAULT '0',
  `material_code` text DEFAULT NULL,
  `grade` text DEFAULT NULL,
  `unit_qty` text DEFAULT NULL,
  `actual_qtyy` text DEFAULT NULL,
  `unit` text DEFAULT NULL,
  `overages` text DEFAULT NULL,
  `total_unit_qty` text DEFAULT NULL,
  `batch_qty` text DEFAULT NULL,
  `batch_overages` text DEFAULT NULL,
  `total_batch_qty` text DEFAULT NULL,
  `lod_status` text DEFAULT NULL,
  `assay_status` text DEFAULT NULL,
  `physical_stock` text DEFAULT NULL,
  `status` text DEFAULT NULL,
  `containers` text DEFAULT NULL,
  `ars` text DEFAULT NULL,
  `operator_name` text DEFAULT NULL,
  `done_by` text DEFAULT NULL,
  `check_by` text DEFAULT NULL,
  `entry_date` text DEFAULT NULL,
  `despensing_status` text DEFAULT 'pending',
  `stage` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `mfg_work_order_dtl`
--

INSERT INTO `mfg_work_order_dtl` (`id`, `work_order_id`, `pack_size_id`, `material_code`, `grade`, `unit_qty`, `actual_qtyy`, `unit`, `overages`, `total_unit_qty`, `batch_qty`, `batch_overages`, `total_batch_qty`, `lod_status`, `assay_status`, `physical_stock`, `status`, `containers`, `ars`, `operator_name`, `done_by`, `check_by`, `entry_date`, `despensing_status`, `stage`) VALUES
(1, '1', '0', 'RM00004', 'IP ', '2', ' ', 'Kg', '0', '0', '20.000', '0.00', '20.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(2, '1', '0', 'RM00015', 'IP ', '2', ' ', 'Kg', '0', '2.000000', '20.000', '0.00', '20.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(3, '1', '0', 'PM00007', '2', '5', ' ', 'NOS', '0', '5', '5.000', '0.00', '5.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(4, '1', '0', 'PM00006', '3', '5', ' ', 'NOS', '0', '5', '5.000', '0.00', '5.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(5, '2', '0', 'RM00004', 'IP ', '2', ' ', 'Kg', '0', '0', '16.000', '0.00', '16.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(6, '2', '0', 'RM00015', 'IP ', '2', ' ', 'Kg', '0', '2.000000', '16.000', '0.00', '16.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(7, '2', '0', 'PM00007', '2', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(8, '2', '0', 'PM00006', '3', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(9, '3', '0', 'RM00004', 'IP ', '2', ' ', 'Kg', '0', '0', '16.000', '0.00', '16.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(10, '3', '0', 'RM00015', 'IP ', '2', ' ', 'Kg', '0', '2.000000', '16.000', '0.00', '16.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(11, '3', '0', 'PM00007', '2', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(12, '3', '0', 'PM00006', '3', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(13, '4', '0', 'RM00004', 'IP ', '2', ' ', 'Kg', '0', '0', '16.000', '0.00', '16.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(14, '4', '0', 'RM00015', 'IP ', '2', ' ', 'Kg', '0', '2.000000', '16.000', '0.00', '16.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(15, '4', '0', 'PM00007', '2', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(16, '4', '0', 'PM00006', '3', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(17, '5', '0', 'RM00004', 'IP ', '2', ' ', 'Kg', '0', '0', '16.000', '0.00', '16.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(18, '5', '0', 'RM00015', 'IP ', '2', ' ', 'Kg', '0', '2.000000', '16.000', '0.00', '16.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(19, '5', '0', 'PM00007', '2', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(20, '5', '0', 'PM00006', '3', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(21, '6', '0', 'RM00004', 'IP ', '2', ' ', 'Kg', '0', '0', '16.000', '0.00', '16.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(22, '6', '0', 'RM00015', 'IP ', '2', ' ', 'Kg', '0', '2.000000', '16.000', '0.00', '16.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(23, '6', '0', 'PM00007', '2', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(24, '6', '0', 'PM00006', '3', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(25, '7', '0', 'RM00004', 'IP ', '2', ' ', 'Kg', '0', '0', '16.000', '0.00', '16.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(26, '7', '0', 'RM00015', 'IP ', '2', ' ', 'Kg', '0', '2.000000', '16.000', '0.00', '16.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(27, '7', '0', 'PM00007', '2', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(28, '7', '0', 'PM00006', '3', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(29, '8', '0', 'RM00004', 'IP ', '2', ' ', 'Kg', '0', '0', '16.000', '0.00', '16.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(30, '8', '0', 'RM00015', 'IP ', '2', ' ', 'Kg', '0', '2.000000', '16.000', '0.00', '16.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(31, '8', '0', 'PM00007', '2', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(32, '8', '0', 'PM00006', '3', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(33, '9', '0', 'RM00004', 'IP ', '2', ' ', 'Kg', '0', '0', '16.000', '0.00', '16.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(34, '9', '0', 'RM00015', 'IP ', '2', ' ', 'Kg', '0', '2.000000', '16.000', '0.00', '16.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(35, '9', '0', 'PM00006', '3', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(36, '9', '0', 'PM00007', '2', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(37, '10', '0', 'RM00004', 'IP ', '2', ' ', 'Kg', '0', '0', '16.000', '0.00', '16.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(38, '10', '0', 'RM00015', 'IP ', '2', ' ', 'Kg', '0', '2.000000', '16.000', '0.00', '16.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(39, '10', '0', 'PM00006', '3', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(40, '10', '0', 'PM00007', '2', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(41, '11', '0', 'RM00004', 'IP ', '2', ' ', 'Kg', '0', '0', '16.000', '0.00', '16.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(42, '11', '0', 'RM00015', 'IP ', '2', ' ', 'Kg', '0', '2.000000', '16.000', '0.00', '16.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(43, '11', '0', 'PM00006', '3', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(44, '11', '0', 'PM00007', '2', '5', ' ', 'NOS', '0', '5', '4.000', '0.00', '4.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(45, '12', '0', 'RM00001', 'IP ', '0.8', ' ', 'mg', '0', '0.800000', '80.000', '0.00', '80.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(46, '12', '0', 'RM00002', 'IP ,BP', '0.05', ' ', 'mg', '0', '0.050000', '5.000', '0.00', '5.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(47, '12', '0', 'RM00003', 'IP ', '0.15', ' ', 'mg', '0', '0.150000', '15.000', '0.00', '15.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(48, '12', '0', 'PM00007', '2', '2', ' ', 'NOS', '0', '2', '2.000', '0.00', '2.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(49, '12', '0', 'PM00001', '2', '2', ' ', 'NOS', '0', '2', '2.000', '0.00', '2.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(50, '13', '0', 'RM00001', 'IP ', '0.5', ' ', 'Kg', '0', '0.500000', '15.000', '0.00', '15.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', ''),
(51, '13', '0', 'RM00002', 'IP ,BP', '0.5', ' ', 'Kg', '0', '0.500000', '15.000', '0.00', '15.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', ''),
(52, '13', '0', 'PM00001', '2', '2', ' ', 'KG', '0', '2', '0.600', '0.00', '0.60', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(53, '14', '0', 'RM00001', 'IP ', '0.5', ' ', 'Kg', '0', '0.500000', '15.000', '0.00', '15.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', ''),
(54, '14', '0', 'RM00002', 'IP ,BP', '0.5', ' ', 'Kg', '0', '0.500000', '15.000', '0.00', '15.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', ''),
(55, '14', '0', 'PM00001', '2', '2', ' ', 'KG', '0', '2', '0.600', '0.00', '0.60', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(56, '15', '0', 'RM00001', 'IP ', '0.5', ' ', 'Kg', '0', '0.500000', '15.000', '0.00', '15.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', ''),
(57, '15', '0', 'RM00002', 'IP ,BP', '0.5', ' ', 'Kg', '0', '0.500000', '15.000', '0.00', '15.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', ''),
(58, '16', '0', 'RM00001', 'IP ', '5', ' ', 'ml', '0', '5.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Bulk Manufacturing Stage'),
(59, '16', '0', 'RM00002', 'IP ,BP', '5', ' ', 'ml', '0', '5.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Granulation'),
(60, '16', '0', 'PM00044', '1', '100', ' ', 'KG', '0', '100', '100.000', '0.00', '100.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(61, '17', '0', 'RM00003', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(62, '17', '0', 'RM00004', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(63, '17', '0', 'PM00030', '3', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(64, '17', '0', 'PM00058', '1', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(65, '18', '0', 'RM00003', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(66, '18', '0', 'RM00004', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(67, '18', '0', 'PM00030', '3', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(68, '18', '0', 'PM00058', '1', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(69, '19', '0', 'RM00003', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(70, '19', '0', 'RM00004', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(71, '19', '0', 'PM00030', '3', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(72, '19', '0', 'PM00058', '1', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(73, '20', '0', 'RM00003', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'No', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(74, '20', '0', 'RM00004', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'No', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(75, '20', '0', 'PM00030', '3', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(76, '20', '0', 'PM00058', '1', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(77, '21', '0', 'RM00003', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(78, '21', '0', 'RM00004', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(79, '21', '0', 'PM00030', '3', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(80, '21', '0', 'PM00058', '1', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(81, '22', '0', 'RM00003', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(82, '22', '0', 'RM00004', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(83, '22', '0', 'PM00030', '3', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(84, '22', '0', 'PM00058', '1', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(85, '23', '0', 'RM00003', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(86, '23', '0', 'RM00004', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(87, '23', '0', 'PM00030', '3', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(88, '23', '0', 'PM00058', '1', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(89, '24', '0', 'RM00003', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(90, '24', '0', 'RM00004', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(91, '24', '0', 'PM00030', '3', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(92, '24', '0', 'PM00058', '1', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(93, '25', '0', 'RM00003', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(94, '25', '0', 'RM00004', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(95, '25', '0', 'PM00030', '3', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(96, '25', '0', 'PM00058', '1', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(97, '26', '0', 'RM00003', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(98, '26', '0', 'RM00004', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(99, '26', '0', 'PM00030', '3', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(100, '26', '0', 'PM00058', '1', '100', ' ', 'NOS', '0', '100', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(101, '27', '0', 'RM00079', 'IP ', '15', ' ', 'gm', '0', '15.000000', '5.000', '0.00', '5.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(102, '27', '0', 'RM00067', 'IP ', '15', ' ', 'gm', '0', '15.000000', '5.000', '0.00', '5.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(103, '27', '0', 'PM00029', '9', '300', ' ', 'KG', '0', '300', '10.000', '0.00', '10.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(104, '27', '0', 'PM00070', '1', '300', ' ', 'KG', '0', '300', '10.000', '0.00', '10.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(105, '28', '0', 'RM00013', 'IHS', '20', ' ', 'gm', '0', '20.000000', '20.000', '0.00', '20.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(106, '28', '0', 'RM00001', 'IP ', '20', ' ', 'gm', '0', '20.000000', '20.000', '0.00', '20.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(107, '28', '0', 'PM00030', '3', '400', ' ', 'NOS', '0', '400', '40.000', '0.00', '40.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(108, '28', '0', 'PM00070', '1', '400', ' ', 'NOS', '0', '400', '40.000', '0.00', '40.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(109, '29', '0', 'RM00001', 'IP ', '50', ' ', 'Kg', '0', '50.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(110, '29', '0', 'RM00067', 'IP ', '50', ' ', 'Kg', '0', '50.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Granulation'),
(111, '29', '0', 'PM00030', '3', '5', ' ', 'KG', '0', '5', '5.000', '0.00', '5.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(112, '29', '0', 'PM00001', '2', '5', ' ', 'KG', '0', '5', '5.000', '0.00', '5.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(113, '30', '0', 'RM00001', 'IP ', '25', ' ', 'gm', '0', '25.000000', '25.000', '5.00', '26.25', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Granulation'),
(114, '30', '0', 'RM00013', 'IHS', '25', ' ', 'gm', '0', '25.000000', '25.000', '5.00', '26.25', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Granulation'),
(115, '30', '0', 'PM00030', '3', '50', ' ', 'KG', '0', '50', '25.000', '5.00', '26.25', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(116, '30', '0', 'PM00001', '2', '50', ' ', 'KG', '0', '50', '25.000', '5.00', '26.25', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(117, '31', '0', 'RM00001', 'IP ', '25', ' ', 'gm', '0', '25.000000', '25.000', '5.00', '26.25', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Granulation'),
(118, '31', '0', 'RM00013', 'IHS', '25', ' ', 'gm', '0', '25.000000', '25.000', '5.00', '26.25', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Granulation'),
(119, '31', '0', 'PM00030', '3', '50', ' ', 'KG', '0', '50', '25.000', '5.00', '26.25', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(120, '31', '0', 'PM00001', '2', '50', ' ', 'KG', '0', '50', '25.000', '5.00', '26.25', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(121, '32', '0', 'RM00013', 'IHS', '20', ' ', 'gm', '0', '20.000000', '10.000', '2.00', '10.20', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(122, '32', '0', 'RM00001', 'IP ', '20', ' ', 'gm', '0', '20.000000', '10.000', '2.00', '10.20', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(123, '32', '0', 'PM00030', '3', '400', ' ', 'NOS', '0', '400', '20.000', '2.00', '20.40', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(124, '32', '0', 'PM00070', '1', '400', ' ', 'NOS', '0', '400', '20.000', '2.00', '20.40', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(125, '33', '0', 'RM00048', 'IP ', '5', ' ', 'gm', '0', '5.000000', '5.000', 'NaN', '5.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Granulation'),
(126, '33', '0', 'RM00067', 'IP ', '5', ' ', 'gm', '0', '5.000000', '5.000', 'NaN', '5.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Granulation'),
(127, '33', '0', 'PM00001', '2', '10', ' ', 'GM', '0', '10', '10.000', 'NaN', '10.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(128, '34', '0', 'RM00001', 'IP ', '50', ' ', 'gm', '0', '50.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(129, '34', '0', 'RM00067', 'IP ', '50', ' ', 'gm', '0', '50.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Granulation'),
(130, '34', '0', 'PM00030', '3', '5', ' ', 'NOS', '0', '5', '5.000', '0.00', '5.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(131, '34', '0', 'PM00001', '2', '5', ' ', 'NOS', '0', '5', '5.000', '0.00', '5.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(132, '35', '0', 'RM00001', 'IP ', '25', ' ', 'gm', '0', '25.000000', '25.000', '0.00', '25.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Granulation'),
(133, '35', '0', 'RM00013', 'IHS', '25', ' ', 'gm', '0', '25.000000', '25.000', '0.00', '25.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Granulation'),
(134, '35', '0', 'PM00030', '3', '50', ' ', 'KG', '0', '50', '25.000', '0.00', '25.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(135, '35', '0', 'PM00001', '2', '50', ' ', 'KG', '0', '50', '25.000', '0.00', '25.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(136, '36', '0', 'RM00003', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '1000.000', '0.00', '1000.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(137, '36', '0', 'RM00004', 'IP ', '10', ' ', 'Ltr', '0', '10.000000', '1000.000', '0.00', '1000.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Packing'),
(138, '36', '0', 'PM00058', '1', '100', ' ', 'NOS', '0', '100', '1000.000', '0.00', '1000.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(139, '36', '0', 'PM00030', '3', '100', ' ', 'NOS', '0', '100', '1000.000', '0.00', '1000.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(140, '37', '0', 'RM00002', 'IP ,BP', '50', ' ', 'gm', '0', '50.000000', '75.000', '0.00', '75.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Granulation'),
(141, '37', '0', 'RM00067', 'IP ', '50', ' ', 'gm', '0', '50.000000', '75.000', '0.00', '75.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(142, '37', '0', 'PM00030', '3', '5', ' ', 'NOS', '0', '5', '15.000', '0.00', '15.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(143, '37', '0', 'PM00001', '2', '5', ' ', 'NOS', '0', '5', '15.000', '0.00', '15.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(144, '38', '0', 'RM00041', 'BP,USP,IHS,Who', '5', ' ', 'gm', '0', '5.000000', '10.000', '0.00', '10.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(145, '38', '0', 'RM00067', 'IP ', '5', ' ', 'gm', '0', '5.000000', '10.000', '0.00', '10.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Granulation'),
(146, '38', '0', 'PM00001', '2', '10', ' ', 'GM', '0', '10', '20.000', '0.00', '20.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(147, '39', '0', 'RM00204', 'IP ', '20', ' ', 'gm', '0', '20.000000', '20.000', '0.00', '20.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(148, '39', '0', 'RM00201', 'IP ', '30', ' ', 'gm', '0', '0', '30.000', '0.00', '30.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(149, '39', '0', 'PM00063', '2', '50', ' ', 'GM', '0', '50', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(150, '40', '0', 'RM00049', 'IP ', '30', ' ', 'gm', '0', '30.000000', '37.500', '0.00', '37.50', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(151, '40', '0', 'RM00067', 'IP ', '50', ' ', 'gm', '0', '50.000000', '62.500', '0.00', '62.50', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(152, '40', '0', 'PM00070', '1', '100', ' ', 'KG', '0', '100', '100.000', '0.00', '100.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(153, '41', '0', 'RM00012', 'IHS', '25', ' ', 'ml', '0', '25.000000', '0.500', '0.00', '0.50', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(154, '41', '0', 'RM00206', 'IP ,USP', '25', ' ', 'ml', '0', '25.000000', '0.500', '0.00', '0.50', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(155, '41', '0', 'PM00117', '', '50', ' ', 'ML', '0', '50', '1.000', '0.00', '1.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(156, '42', '0', 'RM00054', 'USP', '5', ' ', 'ml', '0', '5.000000', '5.000', '0.00', '5.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(157, '42', '0', 'RM00202', 'IP ', '5', ' ', 'ml', '0', '5.000000', '5.000', '0.00', '5.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(158, '42', '0', 'PM00081', '1', '10', ' ', 'GM', '0', '10', '10.000', '0.00', '10.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(159, '43', '0', 'RM00047', 'EMA', '50', ' ', 'gm', '0', '50.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(160, '43', '0', 'RM00080', 'IP ', '50', ' ', 'gm', '0', '50.000000', '50.000', '0.00', '50.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(161, '43', '0', 'PM00081', '1', '50', ' ', 'KG', '0', '50', '50.000', '0.00', '50.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(162, '44', '0', 'RM00050', 'USP', '5', ' ', 'ml', '0', '5.000000', '0.500', '0.00', '0.50', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(163, '44', '0', 'RM00097', ' ANVISA', '5', ' ', 'ml', '', '5.000000', '0.500', '0.00', '0.50', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Autoclave'),
(164, '44', '0', 'PM00044', '1', '10', ' ', 'GM', '0', '10', '1.000', '0.00', '1.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(165, '45', '0', 'RM00001', 'IP ', '100', ' ', 'gm', '0', '0', '2.000', '0.00', '2.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(166, '45', '0', 'RM00001', 'IP ', '100', ' ', 'gm', '0', '0', '2.000', '0.00', '2.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(167, '45', '0', 'RM00001', 'IP ', '100', ' ', 'gm', '0', '0', '2.000', '0.00', '2.00', '', '', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(168, '46', '0', 'RM00001', 'IP ', '100', ' ', 'gm', '0', '0', '2.000', '', '', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(169, '46', '0', 'RM00001', 'IP ', '100', ' ', 'gm', '0', '0', '2.000', '', '', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(170, '46', '0', 'RM00001', 'IP ', '100', ' ', 'gm', '0', '0', '2.000', '', '', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(171, '46', '0', 'RM00001', '1', '100', ' ', 'GM', '0', '100', '20.000', '', '', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(172, '47', '0', 'RM00094', ' SAHPRA', '50', ' ', 'gm', '0', '50.000000', '25.000', '0.00', '25.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(173, '47', '0', 'RM00067', 'IP ', '50', ' ', 'gm', '0', '50.000000', '25.000', '0.00', '25.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Granulation'),
(174, '47', '0', 'PM00030', '3', '5', ' ', 'NOS', '0', '5', '25.000', '0.00', '25.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(175, '47', '0', 'PM00001', '2', '5', ' ', 'NOS', '0', '5', '25.000', '0.00', '25.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(176, '48', '0', 'RM00032', 'IP ', '1', ' ', 'gm', '0', '100.000000', '0.100', '0.00', '0.10', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(177, '48', '0', 'PM00007', '2', '100', ' ', 'GM', '0', '100', '0.000', '0.00', '0.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(178, '49', '0', 'RM00032', 'IP ', '1', ' ', 'gm', '0', '100.000000', '0.100', '0.00', '0.10', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(179, '49', '0', 'PM00007', '2', '100', ' ', 'GM', '0', '100', '0.000', '0.00', '0.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(180, '50', '0', 'RM00032', 'IP ', '2', ' ', 'ml', '0', '2.000000', '20.000', '0.00', '20.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(181, '50', '0', 'RM00032', 'IP ', '2', ' ', 'ml', '0', '2.000000', '20.000', '0.00', '20.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(182, '50', '0', 'RM00032', 'IP ', '100', ' ', 'ml', '0', '100.000000', '1000.000', '0.00', '1000.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(183, '50', '0', 'RM00032', 'IP ', '100', ' ', 'ml', '0', '100.000000', '1000.000', '0.00', '1000.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(184, '50', '0', 'PM00066', '1', '100', ' ', 'PPB', '0', '100', '0.000', '0.00', '0.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(185, '51', '0', 'RM00220', 'IP ', '25', ' ', 'mg', '0', '25.000000', '0.500', '0.00', '0.50', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'DRY MIXING'),
(186, '51', '0', 'RM00013', 'IHS', '25', ' ', 'mg', '0', '25.000000', '0.500', '0.00', '0.50', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(187, '51', '0', 'PM00008', '2', '50', ' ', 'KG', '0', '50', '1.000', '0.00', '1.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(188, '52', '0', 'RM00202', 'IP ', '200', ' ', 'gm', '0', '200.000000', '40.000', '0.00', '40.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Bulk Manufacturing Stage'),
(189, '52', '0', 'RM00097', ' ANVISA', '300', ' ', 'gm', '0', '300.000000', '60.000', '0.00', '60.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Manufacturing Operation'),
(190, '52', '0', 'PM00063', '2', '500', ' ', 'KG', '0', '500', '500.000', '0.00', '500.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(191, '53', '0', 'RM00051', 'USP', '300', ' ', 'ml', '0', '300.000000', '48.000', '0.00', '48.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(192, '53', '0', 'RM00013', 'IHS', '200', ' ', 'ml', '0', '200.000000', '32.000', '0.00', '32.00', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(193, '53', '0', 'PM00102', '1', '500', ' ', 'ML', '0', '500', '400.000', '0.00', '400.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(194, '54', '0', 'RM00051', 'USP', '300', ' ', 'ml', '0', '300.000000', '300.000', '0.00', '300.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(195, '54', '0', 'RM00013', 'IHS', '200', ' ', 'ml', '0', '200.000000', '200.000', '0.00', '200.00', 'Yes', 'Yes', 'Yes', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', 'Mixing'),
(196, '54', '0', 'PM00102', '1', '500', ' ', 'ML', '0', '500', '2500.000', '0.00', '2500.00', '', '', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'pending', NULL),
(197, '55', '0', 'RM00051', 'USP', '300', NULL, 'ml', '0', '300.000000', '48.000', '0.00', '48.00', 'Yes', 'Yes', 'Yes', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'pending', 'Mixing'),
(198, '55', '0', 'RM00013', 'IHS', '200', NULL, 'ml', '0', '200.000000', '32.000', '0.00', '32.00', 'Yes', 'Yes', 'Yes', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'pending', 'Mixing'),
(199, '55', '0', 'PM00102', '1', '500', NULL, 'ML', '0', '500', '400.000', '0.00', '400.00', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'pending', NULL);

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

--
