-- Table structure for table `erp_audit_log_functionality_lookup`
--

CREATE TABLE `erp_audit_log_functionality_lookup` (
  `id` int(11) NOT NULL,
  `symbolic_name` varchar(50) NOT NULL,
  `enum_name` varchar(50) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_audit_log_functionality_lookup`
--

INSERT INTO `erp_audit_log_functionality_lookup` (`id`, `symbolic_name`, `enum_name`, `isActive`) VALUES
(1, 'Customers', 'CUSTOMERS', 'Y'),
(2, 'Prospects', 'PROSPECTS', 'Y'),
(3, 'Leads', 'LEADS', 'Y'),
(4, 'Quotations', 'QUOTATIONS', 'Y'),
(5, 'Orders', 'ORDERS', 'Y'),
(6, 'Delivery Note', 'DELIVERY_NOTE', 'Y'),
(7, 'Invoice', 'INVOICE', 'Y'),
(8, 'Sales Return', 'SALES_RETURN', 'Y'),
(9, 'Vendor', 'VENDOR', 'Y'),
(10, 'Requisition', 'REQUISITION', 'Y'),
(11, 'Purchase Enquiry', 'PURCHASE_ENQUIRY', 'Y'),
(12, 'Purchase Order', 'PURCHASE_ORDER', 'Y'),
(13, 'Material Receipt (Stores)', 'MATERIAL_RECEIPT', 'Y'),
(14, 'Material Receipt (QC)', 'QUALITY_CHECK', 'Y'),
(15, 'Purchase Invoice', 'PURCHASE_INVOICE', 'Y'),
(16, 'Purchase Return', 'PURCHASE_RETURN', 'Y'),
(17, 'Landing Cost Calculation', 'LANDING_COST', 'Y'),
(18, 'Finished Products', 'FINISHED_PRODUCTS', 'Y'),
(19, 'Service', 'SERVICE', 'Y'),
(20, 'Raw Material', 'RAW_MATERIAL', 'Y'),
(21, 'Batch Split', 'BATCH_SPLIT', 'Y'),
(22, 'Issues', 'ISSUES', 'Y'),
(23, 'Direct Transfer', 'DIRECT_TRANSFER', 'Y'),
(24, 'External Transfer', 'INDIRECT_TRANSFER', 'Y'),
(25, 'Receive Items', 'RECEIVE_ITEMS', 'Y'),
(26, 'Material To Material Transfer', 'MATERIAL_TO_MATERIAL_TRANSFER', 'Y'),
(27, 'Bill of Material', 'BILL_OF_MATERIAL', 'Y'),
(28, 'Production Order', 'PRODUCTION_ORDER', 'Y'),
(29, 'Goods Issue', 'GOODS_ISSUE', 'Y'),
(30, 'Goods Receipt', 'GOODS_RECEIPT', 'Y'),
(31, 'Bank', 'BANK', 'Y'),
(32, 'Currencies', 'CURRENCIES', 'Y'),
(33, 'Payment Terms', 'PAYMENT_TERMS', 'Y'),
(34, 'Footer Items', 'FOOTER_ITEMS', 'Y'),
(35, 'Branch', 'BRANCH', 'Y'),
(36, 'Company WPS Details', 'COMPANY_WPS_DETAILS', 'Y'),
(37, 'Leave Type', 'LEAVE_TYPE', 'Y'),
(38, 'Document', 'DOCUMENT', 'Y'),
(39, 'Appraisal', 'APPRAISAL', 'Y'),
(40, 'Salary', 'SALARY', 'Y'),
(41, 'General', 'GENERAL', 'Y'),
(42, 'Shift Timings', 'SHIFT_TIMINGS', 'Y'),
(43, 'EOS', 'EOS', 'Y'),
(44, 'Notice Period', 'NOTICE_PERIOD', 'Y'),
(45, 'Warehouse Master', 'WAREHOUSE_MASTER', 'Y'),
(46, 'Brand Master', 'BRAND_MASTER', 'Y'),
(47, 'Rack Master', 'RACK_MASTER', 'Y'),
(48, 'Bin Master', 'BIN_MASTER', 'Y'),
(49, 'Unit Master', 'UNIT_MASTER', 'Y'),
(50, 'Generic Master', 'GENERIC_MASTER', 'Y'),
(51, 'Tax Master', 'TAX_MASTER', 'Y'),
(52, 'Price Group Master', 'PRICE_GROUP_MASTER', 'Y'),
(53, 'Price List', 'PRICE_LIST', 'Y'),
(54, 'Sales Groups', 'SALES_GROUPS', 'Y'),
(55, 'Projects', 'PROJECTS', 'Y'),
(56, 'Probabilities', 'PROBABILITIES', 'Y'),
(57, 'Industry', 'INDUSTRY', 'Y'),
(58, 'Quotation Close Reasons', 'QUOTATION_CLOSE_REASONS', 'Y'),
(59, 'Terms and Conditions', 'TERMS_AND_CONDITIONS', 'Y'),
(60, 'Approval Matrix', 'APPROVAL_MATRIX', 'Y'),
(61, 'Prefix', 'PREFIX', 'Y'),
(62, 'Sales Target', 'SALES_TARGET', 'Y'),
(63, 'Country', 'COUNTRY', 'Y'),
(64, 'Shipping Methods', 'SHIPPING_METHODS', 'Y'),
(65, 'Tracking', 'TRACKING', 'Y'),
(66, 'Messaging', 'MESSAGING', 'Y'),
(69, 'Fixed Asset Master', 'FIXED_ASSET_MASTER', 'Y'),
(70, 'Depreciaton', 'DEPRECIATION', 'Y'),
(71, 'Fixed Asset Register', 'FIXED_ASSET_REGISTER', 'Y'),
(72, 'Aggregate', 'AGGREGATE', 'Y'),
(73, 'Landed Cost Item', 'LANDED_COST_ITEM', 'Y'),
(74, 'Employee Type', 'EMPLOYEE_TYPE', 'Y'),
(75, 'Document Type', 'DOCUMENT_TYPE', 'Y'),
(76, 'Supplier Type', 'SUPPLIER_TYPE', 'Y'),
(77, 'Bill Type', 'BILL_TYPE', 'Y'),
(78, 'User', 'USER', 'Y'),
(79, 'User Groups', 'USER_GROUPS', 'Y'),
(80, 'Change Rack and Bin', 'CHANGE_RACK_BIN', 'Y'),
(81, 'Delivery Note Cancellation', 'DELIVERY_NOTE_CANCELLED', 'Y'),
(83, 'Advance Invoice', 'ADVANCE_INVOICE', 'Y'),
(84, 'Delivery Rent Date Changed', 'DELIVERY_RENT_DATE_CHANGED', 'Y'),
(85, 'Delivery Date Changed', 'DELIVERY_DELIVERY_DATE_CHANGED', 'Y'),
(88, 'Hire External Transfer', 'HIRE_INDIRECT_TRANSFER', 'Y'),
(89, 'Receipts', 'RECEIPTS', 'Y'),
(90, 'Flyer', 'FLYER_MASTER', 'Y'),
(91, 'Machine Document', 'MACHINE_DOCUMENT', 'Y'),
(92, 'User Login', 'LOGIN', 'Y'),
(93, 'User Log Out', 'LOGOUT', 'Y'),
(94, 'EOS Payment Master', 'EOSPAYMENT', 'Y'),
(95, 'Purchase Order Shipment', 'PO_TRACK_SHIPMENT', 'Y'),
(96, 'Location Master', 'LOCATION', 'Y'),
(97, 'ProjectExternalCompany', 'PROJECTEXTERNALCOMPANY', 'Y'),
(98, 'Task Category Master', 'TASKCATEGORY', 'Y'),
(99, 'Task SubCategory Master', 'TASKSUBCATEGORY', 'Y'),
(100, 'Labour Hours Master', 'LABOURHOURS', 'Y'),
(101, 'Activity Status', 'ACTIVITYSTATUS', 'Y'),
(102, 'Activity Type', 'ACTIVITYTYPE', 'Y'),
(103, 'Accounts', 'ACCOUNTS', 'Y');

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

--
-- Table structure for table `erp_brand_sales_target`
--

CREATE TABLE `erp_brand_sales_target` (
  `id` int(11) NOT NULL,
  `brand_id` int(11) NOT NULL,
  `yearly` decimal(15,3) NOT NULL,
  `m1` decimal(15,3) NOT NULL,
  `m2` decimal(15,3) NOT NULL,
  `m3` decimal(15,3) NOT NULL,
  `m4` decimal(15,3) NOT NULL,
  `m5` decimal(15,3) NOT NULL,
  `m6` decimal(15,3) NOT NULL,
  `m7` decimal(15,3) NOT NULL,
  `m8` decimal(15,3) NOT NULL,
  `m9` decimal(15,3) NOT NULL,
  `m10` decimal(15,3) NOT NULL,
  `m11` decimal(15,3) NOT NULL,
  `m12` decimal(15,3) NOT NULL,
  `user_id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_change_rack_bin`
--

CREATE TABLE `erp_change_rack_bin` (
  `id` int(11) NOT NULL,
  `warehouse_id` int(11) NOT NULL,
  `partno` int(11) NOT NULL,
  `rack` int(11) NOT NULL,
  `bin` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_cheque_collection`
--

CREATE TABLE `erp_cheque_collection` (
  `id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `location_id` int(11) NOT NULL,
  `date_of_collection` date NOT NULL,
  `cheque_amount` decimal(15,2) NOT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'Not Collected',
  `no_of_cheque` int(11) NOT NULL,
  `notes` varchar(255) NOT NULL,
  `cheque_image` varchar(50) DEFAULT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_ch_template`
--

CREATE TABLE `erp_ch_template` (
  `id` int(11) NOT NULL,
  `html` text NOT NULL,
  `has_acc_payee` enum('N','Y') NOT NULL,
  `name` varchar(200) NOT NULL,
  `bank_id` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_ch_template`
--

INSERT INTO `erp_ch_template` (`id`, `html`, `has_acc_payee`, `name`, `bank_id`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, '&lt;div class=&quot;item ui-draggable ui-draggable-handle&quot; style=&quot;font-size: 11px; font-family: sans-serif; font-weight: 400; line-height: 1.2; position: absolute; left: 69.7199px; top: 61.7292px;&quot;&gt;Payee_Name&lt;/div&gt;&lt;div class=&quot;item ui-draggable ui-draggable-handle&quot; style=&quot;font-size: 11px; font-family: sans-serif; font-weight: 400; line-height: 1.2; position: absolute; left: 673.718px; top: 46.7315px;&quot;&gt;Date&lt;/div&gt;&lt;div class=&quot;item ui-draggable ui-draggable-handle&quot; style=&quot;font-size: 11px; font-family: sans-serif; font-weight: 400; line-height: 1.2; position: absolute; left: 226.685px; top: 133.706px;&quot;&gt;00.00&lt;/div&gt;&lt;div class=&quot;item ui-draggable ui-draggable-handle&quot; style=&quot;font-size: 11px; font-family: sans-serif; font-weight: 400; line-height: 1.2; position: absolute; left: 69.7107px; top: 130.731px;&quot;&gt;Amount in word&lt;/div&gt;&lt;div class=&quot;item ui-draggable ui-draggable-handle&quot; id=&quot;ch-accout-payye&quot; style=&quot;border-color: black; border-style: solid none; border-width: 2px 0px; width: 98px; display: none; text-align: center; font-size: 11px; font-family: sans-serif; font-weight: 400; line-height: 1.2; position: absolute;&quot;&gt;Account Payee&lt;/div&gt;', 'N', 'ABC BANK', 2, 1, '2024-07-04 02:57:08', 1, '2024-07-04 02:57:55');

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

--
-- Table structure for table `erp_color_settings`
--

CREATE TABLE `erp_color_settings` (
  `id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `theme_color` varchar(100) NOT NULL,
  `theme_color_right` varchar(100) NOT NULL,
  `light_color` varchar(100) NOT NULL,
  `light_color_right` varchar(100) NOT NULL,
  `logo_bg_color` varchar(100) NOT NULL,
  `print_tbl_border_color` varchar(100) NOT NULL,
  `print_tbl_header_color` varchar(100) NOT NULL,
  `print_top_left_bg` varchar(100) NOT NULL,
  `print_top_left_box_text_color` varchar(100) NOT NULL,
  `print_table_alternative_row_bg` varchar(100) NOT NULL,
  `print_footer_bg` varchar(100) NOT NULL,
  `grid_header_font_color` varchar(100) NOT NULL,
  `grid_table_bg` varchar(100) NOT NULL,
  `grid_table_row_color` varchar(100) NOT NULL,
  `button_color` varchar(100) NOT NULL,
  `button_color_right` varchar(100) NOT NULL,
  `menu_color` varchar(100) NOT NULL,
  `menu_hover_color` varchar(100) NOT NULL,
  `dashboard_count_color` varchar(100) NOT NULL,
  `tab_bg_color` varchar(100) NOT NULL,
  `login_page_bg` varchar(100) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_color_settings`
--

INSERT INTO `erp_color_settings` (`id`, `company_id`, `theme_color`, `theme_color_right`, `light_color`, `light_color_right`, `logo_bg_color`, `print_tbl_border_color`, `print_tbl_header_color`, `print_top_left_bg`, `print_top_left_box_text_color`, `print_table_alternative_row_bg`, `print_footer_bg`, `grid_header_font_color`, `grid_table_bg`, `grid_table_row_color`, `button_color`, `button_color_right`, `menu_color`, `menu_hover_color`, `dashboard_count_color`, `tab_bg_color`, `login_page_bg`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 1, '#005252', '#27b98d', '#11684b', '#236876', '#ffffff', '#046adb', '#000000', '#def7fe', '#000000', '#dffbfd', '#f3f3f3', '#ededed', '#ffffff', '#fafafa', '#25a272', '#008040', '#5c5c5c', '#d6d6d6', '#239878', '#cfcfcf', '#1c791a', 1, '2025-04-30 10:44:52', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_company_settings`
--

CREATE TABLE `erp_company_settings` (
  `id` bigint(20) NOT NULL,
  `crm_company_id` bigint(20) NOT NULL,
  `permissions` text NOT NULL,
  `sales_menu` int(11) NOT NULL,
  `purchase_menu` int(11) NOT NULL,
  `inventory_menu` int(11) NOT NULL,
  `mis_menu` int(11) NOT NULL,
  `hr_menu` int(11) NOT NULL,
  `accounts_menu` int(11) NOT NULL,
  `reports_menu` int(11) NOT NULL,
  `masters_menu` int(11) NOT NULL,
  `admin_menu` int(11) NOT NULL,
  `projects_menu` int(11) NOT NULL,
  `fm_menu` int(11) NOT NULL,
  `assembly_menu` int(11) NOT NULL,
  `direct_order` enum('Y','N') NOT NULL DEFAULT 'Y',
  `direct_purchase_order` enum('Y','N') NOT NULL DEFAULT 'Y',
  `allow_change_description` int(11) NOT NULL,
  `create_by` int(11) NOT NULL,
  `create_date_time` datetime NOT NULL,
  `print_template_id` enum('L','M','R') NOT NULL DEFAULT 'L',
  `print_template_logo` varchar(100) NOT NULL,
  `direct_purchase_enquiry` enum('Y','N') NOT NULL DEFAULT 'Y',
  `qualitycontrol` enum('Y','N') NOT NULL DEFAULT 'Y',
  `stock_updates_on` enum('QC','PI') NOT NULL,
  `package_type` enum('AUTO','MANUAL') NOT NULL DEFAULT 'MANUAL',
  `direct_quotation` enum('Y','N') NOT NULL DEFAULT 'Y',
  `generate_invoice_no` enum('NORMAL','OUTLET') NOT NULL DEFAULT 'NORMAL',
  `calculate_commission` enum('Y','N') NOT NULL DEFAULT 'N',
  `default_currency_id` int(11) NOT NULL,
  `default_country_id` int(11) NOT NULL,
  `include_vat` enum('Y','N') NOT NULL DEFAULT 'N',
  `quotation_validity_days` int(11) NOT NULL,
  `stock_lock_flag` enum('Y','N') NOT NULL DEFAULT 'N'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_company_settings`
--

INSERT INTO `erp_company_settings` (`id`, `crm_company_id`, `permissions`, `sales_menu`, `purchase_menu`, `inventory_menu`, `mis_menu`, `hr_menu`, `accounts_menu`, `reports_menu`, `masters_menu`, `admin_menu`, `projects_menu`, `fm_menu`, `assembly_menu`, `direct_order`, `direct_purchase_order`, `allow_change_description`, `create_by`, `create_date_time`, `print_template_id`, `print_template_logo`, `direct_purchase_enquiry`, `qualitycontrol`, `stock_updates_on`, `package_type`, `direct_quotation`, `generate_invoice_no`, `calculate_commission`, `default_currency_id`, `default_country_id`, `include_vat`, `quotation_validity_days`, `stock_lock_flag`) VALUES
(1, 1, '{\"sales_customer\":1,\"sales_lead\":1,\"sales_quotation\":1,\"sales_order\":1,\"sales_delivery\":1,\"sales_invoice\":1,\"sales_creditnote\":1,\"sales_deliverytrack\":1,\"purchase_vendor\":1,\"purchase_requisition\":1,\"purchase_enquiry\":1,\"purchase_order\":1,\"purchase_material_request\":1,\"purchase_qc\":1,\"purchase_invoice\":1,\"purchase_debitnote\":1,\"purchase_deliverytrack\":1,\"mail_to_customer\":1,\"mail_single_feedback\":1,\"master_industry\":1,\"master_probabilities\":1,\"master_sales_group\":1,\"master_projects\":1,\"master_validity\":1,\"master_quotation_close_reasion\":1,\"master_banks\":1,\"master_currencies\":1,\"master_payment_terms\":1,\"master_footer\":1,\"master_sales_pricing\":1,\"master_country\":1,\"master_unit\":1,\"master_brand_class\":1,\"master_inventory_generic\":1,\"master_warehouse\":1,\"master_brand\":1,\"master_rack\":1,\"master_bin\":1,\"master_category\":1,\"master_invstatus\":1,\"master_table\":1,\"master_dimension_one\":1,\"master_dimension_two\":1,\"master_dimension_three\":1,\"master_numbering\":1,\"master_settings\":1,\"master_shippingmethods\":1,\"master_pricingterms\":1,\"master_availabilities\":1,\"master_customduties\":1,\"inventory_stocks\":1,\"inventory_raw_material\":1,\"inventory_service\":1,\"inventory_sales\":1,\"mis_dashboard\":1,\"mis_cockpit\":1,\"mis_calendar\":1,\"mis_workspace\":1,\"mis_meeting\":1,\"others_sampletracking\":1,\"others_rma_receipts\":1,\"others_rma_sendvendor\":1,\"finance_journal\":1,\"finance_receipt\":1,\"finance_payment\":1,\"finance_debitnote\":1,\"finance_creditnote\":1,\"finance_posted\":1,\"production_bill\":1,\"production_po\":1,\"production_gi\":1,\"production_gr\":1,\"report_sales\":1,\"report_inventory\":1,\"report_customer\":1,\"report_purchase\":1,\"report_finance\":1,\"admin_user\":1,\"admin_usergroup\":1,\"settings_com\":1,\"settings_set\":1,\"settings_mod\":1,\"settings_dim\":1, \"inventory_image_show_quotation\":1, \"inventory_upload_image\":1}', 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 'Y', 'Y', 0, 1, '0000-00-00 00:00:00', 'R', 'blueskylogo.png', 'Y', 'Y', 'QC', 'AUTO', 'Y', 'OUTLET', 'N', 0, 169, 'N', 30, 'N');

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

--
-- Table structure for table `erp_cost_price_group`
--

CREATE TABLE `erp_cost_price_group` (
  `id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `cost_price1` decimal(15,5) NOT NULL,
  `cost_price_group_file_name` varchar(255) NOT NULL,
  `uploaded_by` int(11) NOT NULL,
  `uploaded_date` datetime NOT NULL,
  `last_updated_by` int(11) NOT NULL,
  `last_updated_date` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_cost_price_group_name`
--

CREATE TABLE `erp_cost_price_group_name` (
  `id` int(11) NOT NULL,
  `pricing_group_label` varchar(255) NOT NULL,
  `pricing_group_name` varchar(255) NOT NULL,
  `pricing_group_description` varchar(255) NOT NULL,
  `default_pricing_group` enum('Y','N') NOT NULL,
  `lowest_pricing_group` enum('Y','N') NOT NULL DEFAULT 'N'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_creditnote`
--

CREATE TABLE `erp_creditnote` (
  `id` bigint(20) NOT NULL,
  `file_id` bigint(20) NOT NULL,
  `creditnote_no` int(11) NOT NULL,
  `order_id` bigint(20) NOT NULL,
  `crm_user_id` bigint(20) NOT NULL,
  `invoice_id` bigint(20) NOT NULL,
  `project_id` int(11) NOT NULL,
  `customer_id` bigint(20) NOT NULL,
  `contact_id` bigint(20) NOT NULL,
  `exchange_rate` decimal(15,2) NOT NULL,
  `reference` varchar(255) NOT NULL,
  `currency` varchar(255) NOT NULL,
  `credited_amount` decimal(15,2) NOT NULL,
  `credited_date` date NOT NULL,
  `reason` text NOT NULL,
  `tax_type` int(11) NOT NULL,
  `total_tax_amount` decimal(15,2) NOT NULL,
  `notes` text NOT NULL,
  `terms_and_conditions` text NOT NULL,
  `remarks` text NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `invoice_type` int(11) NOT NULL COMMENT 'Primary key of crmmas_invoice_type id',
  `sales_return` enum('ST','DA') NOT NULL COMMENT 'ST->update in stock,DA-> update in Damage',
  `creditnote_notification` varchar(500) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL,
  `is_updated_store` enum('Y','N') NOT NULL DEFAULT 'N',
  `posted` enum('Y','N') NOT NULL DEFAULT 'N',
  `responsible_user` int(11) NOT NULL,
  `warehouse_id` int(11) NOT NULL,
  `outlet_id` int(11) NOT NULL,
  `paymentmode_id` int(11) NOT NULL COMMENT 'Primary key of erp_acc_payment_mode id	',
  `paid_amount` decimal(15,6) NOT NULL COMMENT 'used in accounts RV receipt	',
  `commision_percentage` decimal(10,2) NOT NULL,
  `commision_amount` decimal(10,6) NOT NULL,
  `payment_type` varchar(255) NOT NULL,
  `paid_cash_amount` decimal(15,2) NOT NULL,
  `paid_card_amount` decimal(15,2) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_creditnote`
--

INSERT INTO `erp_creditnote` (`id`, `file_id`, `creditnote_no`, `order_id`, `crm_user_id`, `invoice_id`, `project_id`, `customer_id`, `contact_id`, `exchange_rate`, `reference`, `currency`, `credited_amount`, `credited_date`, `reason`, `tax_type`, `total_tax_amount`, `notes`, `terms_and_conditions`, `remarks`, `isActive`, `invoice_type`, `sales_return`, `creditnote_notification`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`, `is_updated_store`, `posted`, `responsible_user`, `warehouse_id`, `outlet_id`, `paymentmode_id`, `paid_amount`, `commision_percentage`, `commision_amount`, `payment_type`, `paid_cash_amount`, `paid_card_amount`) VALUES
(50001, 10001, 0, 0, 8, 40001, 0, 1001, 1, 1.00, '', '1', 78.75, '2025-05-06', 'Test', 0, 3.75, '', '', '', 'Y', 1, 'ST', '', 8, 0, '2025-05-06 09:45:05', '0000-00-00 00:00:00', 'N', 'N', 0, 0, 0, 0, 0.000000, 0.00, 0.000000, '', 0.00, 0.00),
(50002, 10001, 50002, 0, 8, 40001, 0, 1001, 1, 1.00, '', '1', 136.50, '2025-05-06', 'Test 2', 0, 6.50, '', '', '', 'Y', 1, 'ST', '', 8, 0, '2025-05-06 09:46:35', '0000-00-00 00:00:00', 'Y', 'N', 0, 0, 0, 0, 0.000000, 0.00, 0.000000, '', 0.00, 0.00),
(50003, 10060, 0, 0, 8, 40009, 0, 1089, 94, 4.15, '', '3', 32.40, '2025-06-01', 'rsn', 0, 2.40, '', '', '', 'Y', 1, 'ST', '', 8, 0, '2025-06-01 05:27:12', '0000-00-00 00:00:00', 'N', 'N', 0, 0, 0, 0, 0.000000, 0.00, 0.000000, '', 0.00, 0.00),
(50004, 10100, 0, 0, 8, 40028, 0, 1089, 94, 1.00, '', '1', 21.60, '2025-06-09', 'test', 0, 1.60, '', 'Sales Terms and Conditions come here', '', 'Y', 1, 'ST', '', 8, 0, '2025-06-09 10:52:58', '0000-00-00 00:00:00', 'N', 'N', 0, 0, 0, 0, 0.000000, 0.00, 0.000000, '', 0.00, 0.00),
(50005, 10099, 50005, 0, 8, 40026, 0, 1089, 94, 1.00, '', '1', 21.60, '2025-06-09', 'test', 0, 1.60, '', 'Sales Terms and Conditions come here', '', 'Y', 1, 'ST', '', 8, 0, '2025-06-09 10:54:28', '0000-00-00 00:00:00', 'Y', 'N', 0, 0, 0, 0, 0.000000, 0.00, 0.000000, '', 0.00, 0.00),
(50006, 10122, 50006, 0, 8, 40031, 0, 1096, 103, 1.00, '', '1', 31.50, '2025-06-24', 'nil', 0, 1.50, '', 'Sales Terms and Conditions come here', '', 'Y', 1, 'ST', '', 8, 0, '2025-06-24 12:11:28', '0000-00-00 00:00:00', 'Y', 'N', 0, 0, 0, 0, 0.000000, 0.00, 0.000000, '', 0.00, 0.00),
(50007, 10138, 50007, 0, 8, 40040, 0, 1007, 7, 1.00, '', '1', 47.25, '2025-06-30', '111', 0, 2.25, '', 'Sales Terms and Conditions come here', '', 'Y', 1, 'ST', '', 8, 0, '2025-06-30 08:52:56', '0000-00-00 00:00:00', 'Y', 'N', 0, 0, 0, 0, 0.000000, 0.00, 0.000000, '', 0.00, 0.00),
(50008, 10158, 50008, 0, 13, 40047, 0, 1099, 106, 1.00, '', '1', 1050.00, '2025-09-24', 'Damages One', 0, 50.00, '', 'Sales Terms and Conditions come here', '', 'Y', 1, 'ST', '', 13, 0, '2025-09-24 11:38:02', '0000-00-00 00:00:00', 'Y', 'N', 0, 0, 0, 0, 0.000000, 0.00, 0.000000, '', 0.00, 0.00);

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

--
-- Table structure for table `erp_creditnote_addition`
--

CREATE TABLE `erp_creditnote_addition` (
  `id` int(11) NOT NULL,
  `creditnote_id` int(11) NOT NULL,
  `particular` varchar(255) NOT NULL,
  `particular_value` varchar(50) NOT NULL,
  `calculated_value` decimal(15,2) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_creditnote_deduction`
--

CREATE TABLE `erp_creditnote_deduction` (
  `id` int(11) NOT NULL,
  `creditnote_id` int(11) NOT NULL,
  `particular` varchar(255) NOT NULL,
  `particular_value` varchar(50) NOT NULL,
  `calculated_value` decimal(15,2) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_creditnote_item`
--

CREATE TABLE `erp_creditnote_item` (
  `id` int(11) NOT NULL,
  `creditnote_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `bonus_qty` decimal(15,3) NOT NULL,
  `description` text NOT NULL,
  `rate` decimal(15,3) NOT NULL,
  `returned_unit_id` int(11) NOT NULL,
  `returned_quantity` decimal(15,3) NOT NULL,
  `returned_bonus_qty` decimal(15,2) NOT NULL,
  `damage_quantity` decimal(15,3) NOT NULL,
  `net_amount` decimal(15,3) NOT NULL,
  `deliverynote_id` int(11) NOT NULL,
  `invoice_item_id` int(11) NOT NULL,
  `product_loc_hiring_id` int(11) NOT NULL,
  `tax_vat_amount` decimal(15,2) NOT NULL,
  `tax_vat_percentage` decimal(15,2) NOT NULL,
  `unit` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL,
  `remarks` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_creditnote_item`
--

INSERT INTO `erp_creditnote_item` (`id`, `creditnote_id`, `product_id`, `quantity`, `bonus_qty`, `description`, `rate`, `returned_unit_id`, `returned_quantity`, `returned_bonus_qty`, `damage_quantity`, `net_amount`, `deliverynote_id`, `invoice_item_id`, `product_loc_hiring_id`, `tax_vat_amount`, `tax_vat_percentage`, `unit`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`, `remarks`) VALUES
(1, 50001, 2, 2.000, 0.000, 'GP Laminate SF (261) Dark Gray 4x8x0.8mm', 75.000, 2, 1.000, 0.00, 0.000, 75.000, 0, 1, 0, 3.75, 5.00, 2, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(2, 50002, 349, 2.000, 0.000, 'Foot Controller Soft Case 21 x 11 x 3 (VG99- FC300- RP1000- M13)', 130.000, 349, 1.000, 0.00, 0.000, 130.000, 0, 2, 0, 6.50, 5.00, 349, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(3, 50003, 668, 1.000, 0.000, 'Test Item A10001', 10.000, 668, 1.000, 0.00, 0.000, 10.000, 0, 15, 0, 0.80, 8.00, 668, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(4, 50003, 349, 1.000, 0.000, 'Foot Controller Soft Case 21 x 11 x 3 (VG99- FC300- RP1000- M13)', 20.000, 349, 1.000, 0.00, 0.000, 20.000, 0, 16, 0, 1.60, 8.00, 349, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(5, 50004, 668, 1.000, 0.000, 'Test Item A10001', 20.000, 668, 1.000, 0.00, 0.000, 20.000, 0, 37, 0, 1.60, 8.00, 668, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(6, 50005, 668, 1.000, 0.000, 'Test Item A10001', 20.000, 668, 1.000, 0.00, 0.000, 20.000, 0, 34, 0, 1.60, 8.00, 668, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(7, 50006, 245, 1.000, 0.000, '18mm BB/BB Birch Ply [2400x1200mm]', 15.000, 245, 1.000, 0.00, 0.000, 15.000, 0, 40, 0, 0.75, 5.00, 245, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(8, 50006, 246, 1.000, 0.000, '9mm BB/BB Birch Ply [2400x1200mm]', 15.000, 246, 1.000, 0.00, 0.000, 15.000, 0, 41, 0, 0.75, 5.00, 246, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(9, 50007, 245, 3.000, 0.000, '18mm BB/BB Birch Ply [2400x1200mm]', 45.000, 245, 1.000, 0.00, 0.000, 45.000, 0, 54, 0, 2.25, 5.00, 245, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', ''),
(10, 50008, 346, 1.000, 0.000, 'Controller Soft Case 19 x 13 x 3 (VMS4- Torq Xponent- Axiom 25)', 1000.000, 346, 1.000, 0.00, 0.000, 1000.000, 0, 65, 0, 50.00, 5.00, 346, 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '');

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

--
-- Table structure for table `erp_customer_contact`
--

CREATE TABLE `erp_customer_contact` (
  `id` int(11) NOT NULL,
  `customer_id` bigint(20) NOT NULL,
  `prefix` varchar(500) NOT NULL,
  `person_name` varchar(255) NOT NULL,
  `designation` varchar(255) NOT NULL,
  `contact_phone_no` varchar(255) NOT NULL,
  `department` varchar(255) NOT NULL,
  `contact_mobile_no` varchar(255) NOT NULL,
  `contact_email_id` varchar(255) NOT NULL,
  `notes` text NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `isDefault` enum('N','Y') NOT NULL DEFAULT 'N',
  `created_date_time` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_date_time` datetime DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_customer_contact`
--

INSERT INTO `erp_customer_contact` (`id`, `customer_id`, `prefix`, `person_name`, `designation`, `contact_phone_no`, `department`, `contact_mobile_no`, `contact_email_id`, `notes`, `isActive`, `isDefault`, `created_date_time`, `created_by`, `updated_date_time`, `updated_by`) VALUES
(1, 1001, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(2, 1002, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(3, 1003, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(4, 1004, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(5, 1005, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(6, 1006, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(7, 1007, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(8, 1008, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(9, 1009, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(10, 1010, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(11, 1011, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(12, 1012, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(13, 1013, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(14, 1014, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(15, 1015, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(16, 1016, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(17, 1017, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(18, 1018, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(19, 1019, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(20, 1020, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(21, 1021, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(22, 1022, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(23, 1023, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(24, 1024, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(25, 1025, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(26, 1026, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(27, 1027, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(28, 1028, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(29, 1029, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(30, 1030, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(31, 1031, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(32, 1032, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(33, 1033, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(34, 1034, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(35, 1035, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(36, 1036, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(37, 1037, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(38, 1038, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(39, 1039, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(40, 1040, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(41, 1041, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(42, 1042, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(43, 1043, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(44, 1044, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(45, 1045, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(46, 1046, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(47, 1047, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(48, 1048, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(49, 1049, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(50, 1050, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(51, 1051, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(52, 1052, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(53, 1053, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(54, 1054, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(55, 1055, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(56, 1056, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(57, 1057, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(58, 1058, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(59, 1059, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(60, 1060, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(61, 1061, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(62, 1062, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(63, 1063, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(64, 1064, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(65, 1065, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(66, 1066, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(67, 1067, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(68, 1068, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(69, 1069, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(70, 1070, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(71, 1071, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(72, 1072, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(73, 1073, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(74, 1074, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(75, 1075, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(76, 1076, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(77, 1077, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(78, 1078, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(79, 1079, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(80, 1080, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(81, 1081, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(82, 1082, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(83, 1083, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(84, 1084, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(85, 1085, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(86, 1086, 'Mr.', 'Sales / Accounts', '-', '-', '-', '-', '-', '', 'Y', 'N', '0000-00-00 00:00:00', 1, '0000-00-00 00:00:00', 1),
(87, 1002, '', 'Princess Miranda', 'Accountant', '056 403 2753', 'Accounts', '04 341 6638', 'accountspayable@actionfilmz.com', '', 'Y', 'N', '2025-05-13 00:00:00', 8, NULL, NULL),
(88, 1001, '', 'Thomas Joseph', 'CEO', '04 4578', 'Admin', '045879', '', '', 'Y', 'N', '2025-05-29 00:00:00', 1, NULL, NULL),
(89, 1001, '', 'Mr. Rajesh', 'Finance Manager', '0258', 'Finance', '050 487', '', '', 'Y', 'N', '2025-05-29 00:00:00', 1, NULL, NULL),
(90, 1001, '', 'Mr. Shaju', 'IT Manager', '025 887', 'IT', '050 4785', '', '', 'Y', 'Y', '2025-05-29 00:00:00', 1, NULL, NULL),
(91, 1001, '', 'Ms. Christine', 'Receptionist', '05 788', 'Admin', '050 258', '', '', 'Y', 'N', '2025-05-29 00:00:00', 1, NULL, NULL),
(92, 1087, '', 'Sales/Account', '', '', '', '', '', '', 'Y', 'N', '2025-06-01 10:17:18', 8, '2025-06-01 10:17:18', 8),
(93, 1088, '', 'Sales/Account', 'desg', '89659898', 'sales', '9865986598', 'test@gmail.com', 'notes', 'Y', 'N', '2025-06-01 10:30:06', 8, '2025-06-01 00:00:00', 8),
(94, 1089, '', 'Sales/Account', '', '', '', '', '', '', 'Y', 'N', '2025-06-01 01:22:49', 8, '2025-06-01 01:22:49', 8),
(95, 1090, '', 'Sales/Account', '', '', '', '', '', '', 'Y', 'N', '2025-06-04 03:37:34', 8, '2025-06-04 03:37:34', 8),
(96, 1001, '', 'manu', '', '', '', '', '', '', 'Y', 'N', '2025-06-05 00:00:00', 8, NULL, NULL),
(97, 1091, '', 'Sales/Account', '', '', '', '', '', '', 'Y', 'N', '2025-06-05 08:46:10', 8, '2025-06-05 08:46:10', 8),
(98, 1092, '', 'Sales/Account', '', '', '', '', '', '', 'Y', 'Y', '2025-06-05 11:25:57', 8, '2025-06-05 11:25:57', 8),
(99, 1093, '', 'Sales/Account', 'des', '67676', 'sale', '67676', 'test@gmail.com', 'nt2', 'Y', 'N', '2025-06-05 11:39:53', 8, '2025-06-05 00:00:00', 8),
(100, 1093, '', 'manu', 'ded', '7878', 'sales', '895555454', 'test@gmail.com', 'nts', 'Y', 'N', '2025-06-05 00:00:00', 8, NULL, NULL),
(101, 1094, '', 'Sales/Account', 'des', '676', 'sal', '8888', 'test@gmail.com', 'n', 'Y', 'N', '2025-06-05 11:44:58', 8, '2025-06-05 00:00:00', 8),
(102, 1095, '', 'Sales/Account', '', '', '', '', '', '', 'Y', 'N', '2025-06-24 10:52:24', 8, '2025-06-24 10:52:24', 8),
(103, 1096, '', 'Sales/Account', '', '', '', '', '', '', 'Y', 'N', '2025-06-24 11:21:43', 8, '2025-06-24 11:21:43', 8),
(104, 1097, '', 'Sales/Account', '', '', '', '', '', '', 'Y', 'N', '2025-06-26 10:45:41', 8, '2025-06-26 10:45:41', 8),
(105, 1098, '', 'Sales / Accounts', '', '0', '', '0', '', '', 'Y', 'N', '2025-07-16 16:30:24', 1, '2025-07-16 16:30:24', 1),
(106, 1099, '', 'Sales/Account', '', '', '', '', '', '', 'Y', 'N', '2025-08-28 08:56:47', 1, '2025-08-28 08:56:47', 1),
(107, 1100, '', 'Sales/Account', '', '', '', '', '', '', 'Y', 'N', '2025-09-22 03:52:15', 1, '2025-09-22 03:52:15', 1),
(108, 1100, '', 'Reshma', 'Manager', '4763', 'sales', '742346', 'testreshma@gmail.com', 'wery', 'Y', 'N', '2025-09-24 00:00:00', 13, NULL, NULL);

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

--
-- Table structure for table `erp_customer_dashboard`
--

CREATE TABLE `erp_customer_dashboard` (
  `id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `ai_dashboard_id` int(11) NOT NULL,
  `customer_value` decimal(15,2) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_customer_dashboard`
--

INSERT INTO `erp_customer_dashboard` (`id`, `customer_id`, `ai_dashboard_id`, `customer_value`, `updated_by`, `updated_date_time`) VALUES
(1, 1090, 1, 1.00, 0, '0000-00-00 00:00:00'),
(2, 1090, 2, 2.00, 0, '0000-00-00 00:00:00'),
(3, 1090, 3, 3.00, 0, '0000-00-00 00:00:00'),
(4, 1090, 4, 4.00, 0, '0000-00-00 00:00:00'),
(5, 1090, 5, 5.00, 0, '0000-00-00 00:00:00'),
(6, 1090, 6, 6.00, 0, '0000-00-00 00:00:00'),
(7, 1090, 7, 7.00, 0, '0000-00-00 00:00:00'),
(8, 1090, 8, 8.00, 0, '0000-00-00 00:00:00'),
(9, 1001, 1, 1.00, 0, '0000-00-00 00:00:00'),
(10, 1001, 2, 2.00, 0, '0000-00-00 00:00:00'),
(11, 1001, 3, 3.00, 0, '0000-00-00 00:00:00'),
(12, 1001, 4, 4.00, 0, '0000-00-00 00:00:00'),
(13, 1001, 5, 5.00, 0, '0000-00-00 00:00:00'),
(14, 1001, 6, 6.00, 0, '0000-00-00 00:00:00'),
(15, 1001, 7, 7.00, 0, '0000-00-00 00:00:00'),
(16, 1001, 8, 8.00, 0, '0000-00-00 00:00:00'),
(17, 1001, 1, 1.00, 0, '0000-00-00 00:00:00'),
(18, 1001, 2, 2.00, 0, '0000-00-00 00:00:00'),
(19, 1001, 3, 3.00, 0, '0000-00-00 00:00:00'),
(20, 1001, 4, 4.00, 0, '0000-00-00 00:00:00'),
(21, 1001, 5, 5.00, 0, '0000-00-00 00:00:00'),
(22, 1001, 6, 6.00, 0, '0000-00-00 00:00:00'),
(23, 1001, 7, 7.00, 0, '0000-00-00 00:00:00'),
(24, 1001, 8, 8.00, 0, '0000-00-00 00:00:00'),
(25, 1091, 1, 1.00, 0, '0000-00-00 00:00:00'),
(26, 1091, 2, 2.00, 0, '0000-00-00 00:00:00'),
(27, 1091, 3, 3.00, 0, '0000-00-00 00:00:00'),
(28, 1091, 4, 4.00, 0, '0000-00-00 00:00:00'),
(29, 1091, 5, 5.00, 0, '0000-00-00 00:00:00'),
(30, 1091, 6, 6.00, 0, '0000-00-00 00:00:00'),
(31, 1091, 7, 78.00, 0, '0000-00-00 00:00:00'),
(32, 1091, 8, 8.00, 0, '0000-00-00 00:00:00'),
(33, 1005, 1, 1.00, 0, '0000-00-00 00:00:00'),
(34, 1005, 2, 2.00, 0, '0000-00-00 00:00:00'),
(35, 1005, 3, 3.00, 0, '0000-00-00 00:00:00'),
(36, 1005, 4, 4.00, 0, '0000-00-00 00:00:00'),
(37, 1005, 5, 5.00, 0, '0000-00-00 00:00:00'),
(38, 1005, 6, 6.00, 0, '0000-00-00 00:00:00'),
(39, 1005, 7, 7.00, 0, '0000-00-00 00:00:00'),
(40, 1005, 8, 8.00, 0, '0000-00-00 00:00:00'),
(41, 1092, 1, 1.00, 0, '0000-00-00 00:00:00'),
(42, 1092, 2, 2.00, 0, '0000-00-00 00:00:00'),
(43, 1092, 3, 3.00, 0, '0000-00-00 00:00:00'),
(44, 1092, 4, 4.00, 0, '0000-00-00 00:00:00'),
(45, 1092, 5, 5.00, 0, '0000-00-00 00:00:00'),
(46, 1092, 6, 6.00, 0, '0000-00-00 00:00:00'),
(47, 1092, 7, 7.00, 0, '0000-00-00 00:00:00'),
(48, 1092, 8, 8.00, 0, '0000-00-00 00:00:00'),
(49, 1093, 1, 1.00, 0, '0000-00-00 00:00:00'),
(50, 1093, 2, 2.00, 0, '0000-00-00 00:00:00'),
(51, 1093, 3, 3.00, 0, '0000-00-00 00:00:00'),
(52, 1093, 4, 4.00, 0, '0000-00-00 00:00:00'),
(53, 1093, 5, 5.00, 0, '0000-00-00 00:00:00'),
(54, 1093, 6, 6.00, 0, '0000-00-00 00:00:00'),
(55, 1093, 7, 7.00, 0, '0000-00-00 00:00:00'),
(56, 1093, 8, 8.00, 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_customer_docs`
--

CREATE TABLE `erp_customer_docs` (
  `id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `document_no` varchar(255) NOT NULL,
  `document_type` int(11) NOT NULL COMMENT '1-statement of accounts,2-trade licence',
  `document` varchar(255) NOT NULL,
  `from_date` date NOT NULL,
  `to_date` date NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_customer_docs`
--

INSERT INTO `erp_customer_docs` (`id`, `customer_id`, `document_no`, `document_type`, `document`, `from_date`, `to_date`) VALUES
(1, 1088, '290', 1, 'image.png', '0000-00-00', '2025-07-03'),
(3, 1093, '4545', 1, 'image  1 .png', '0000-00-00', '2025-06-12'),
(4, 1093, '777', 1, 'image  1 49.png', '0000-00-00', '2025-06-21'),
(6, 1001, '8945110233541145', 8, 'blank 1  1 .pdf', '0000-00-00', '2026-05-01'),
(7, 1001, 'Dummy 001', 1, 'logo83.png', '0000-00-00', '2026-01-01'),
(9, 1097, '2025-06-26-Dummy 002', 1, 'logo32.png', '0000-00-00', '2025-09-18'),
(10, 1001, '2025-06-26-T1', 4, 'bluesky image74.jpg', '0000-00-00', '0000-00-00'),
(11, 1001, 'Dummy 001', 1, '2025-06-26-logo2279.png', '0000-00-00', '2025-06-27'),
(12, 1001, 'TEst ', 1, '2025-06-26-30 dummy  2 .pdf', '0000-00-00', '2025-06-11'),
(14, 1002, 'Doc11', 1, '2025-06-30-basic-text38.pdf', '0000-00-00', '2026-06-30'),
(15, 1002, 't10', 8, '2025-06-30-istockphoto-1973365581-612x612  1 .jpg', '0000-00-00', '0000-00-00'),
(16, 1100, 'AB001', 1, '2025-09-24-Screenshot 2025-02-24 172136.png', '0000-00-00', '2025-09-24');

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

--
-- Table structure for table `erp_customer_feedback`
--

CREATE TABLE `erp_customer_feedback` (
  `id` int(11) NOT NULL,
  `customer_vendor_id` int(11) NOT NULL,
  `feed_back_date` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_customer_feedback_details`
--

CREATE TABLE `erp_customer_feedback_details` (
  `id` int(11) NOT NULL,
  `customer_feedback_id` int(11) NOT NULL COMMENT 'primary key from customer feed back',
  `question_id` int(11) NOT NULL,
  `category_id` int(11) NOT NULL,
  `answer` float NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_customer_pricing_group`
--

CREATE TABLE `erp_customer_pricing_group` (
  `id` int(11) NOT NULL,
  `customer_id` bigint(20) NOT NULL,
  `brand_id` int(11) NOT NULL,
  `pricing_group_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_customer_shipping_details`
--

CREATE TABLE `erp_customer_shipping_details` (
  `id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `shipping_customer_name` varchar(255) NOT NULL,
  `state` varchar(255) NOT NULL,
  `city` varchar(255) NOT NULL,
  `street_address` text NOT NULL,
  `po_box` varchar(255) NOT NULL,
  `postal_code` varchar(255) NOT NULL,
  `country_id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_customer_shipping_details`
--

INSERT INTO `erp_customer_shipping_details` (`id`, `customer_id`, `shipping_customer_name`, `state`, `city`, `street_address`, `po_box`, `postal_code`, `country_id`) VALUES
(1, 1001, 'Abu Dhabi Autonomous Systems Investments LLC', '-', 'Abu Dhabi', 'Tawazun Industrial Park,\r\nAl Ajban', '', '', 130),
(2, 1002, 'Abu Dhabi Aviation', '-', 'Abu Dhabi', 'Abu Dhabit Intl Airport Facility', '', '', 130),
(3, 1003, 'Action Films LLC', '-', '-', 'Al Fahad Warehouse - 3C 6A St - behind Times Square Center - Al Quoz - Al Quoz Industrial Area 1 - Dubai', '', '', 130),
(4, 1004, 'Advanced Concepts', '-', 'Abu Dhabi', 'Tawazun Industrial Park, \r\nAl Ajban, Al Taf Road Exit,\r\n366 Sweihan, Near Zayed Military', '', '', 130),
(5, 1005, 'Advanced Media Trading LLC', '-', 'Dubai', 'Mezzanine Mazda Building\r\nEntrance B,\r\nSheikh Zayed Rd.', '', '', 130),
(6, 1006, 'Agora Audio & Visual Equipment Trading LLC', '-', 'Dubai', 'Building 8 Warehouse 7,\r\nFNC Warehouse Compound,\r\nDubai Investments Park 2', '', '', 130),
(7, 1007, 'AK Flightcases LLC', '-', 'Sharjah', 'Industrial Area 4', '', '', 130),
(8, 1008, 'Al Babtain LeBlanc Emirates Telecommunication Systems LLC', '-', 'Abu Dhabi', 'Centro Capital Centre Building,\r\nKhaleej Al Arabi Stree, Adnec Compound \r\n', '', '', 130),
(9, 1009, 'Al Serb Trading Co (L.L.C)', '-', 'Dubai', '', '', '', 130),
(10, 1010, 'Almoe AV Systems LLC (AV Productions/Rentals)', '-', 'Dubai', ' Dubai Investment Park', '', '', 130),
(11, 1011, 'ALUMINIUM & LIGHT INDUSTRIES? CO. (ALICO) LTD', '-', 'Sharjah', 'STREET # 03, \r\nINDUSTRIAL AREA 13', '', '', 130),
(12, 1012, 'Apex Trading Co. WLL', '-', 'Abu Dhabi', 'M09 Mussafah Industrial Area,', '', '', 130),
(13, 1013, 'Applus Technical Services LLC', '-', 'Abu Dhabi', 'Hub ICAD 1 B', '', '', 130),
(14, 1014, 'Atlas Copco Services Middle East', '-', 'Dubai', 'Office # 2121, Building #2,\r\nGold and Diamond Park', '', '', 130),
(15, 1015, 'Avia Global Solutions LLC', '-', 'Sharjah', 'Sharjah Media City, \r\nAl Messaned, AL Bataeh', '', '', 130),
(16, 1016, 'Aviss LLC', '-', 'Dubai', 'Suite 407,\r\nNasser Lootha Building, 6th St', '', '', 130),
(17, 1017, 'Barij Dynamics LLC', '-', 'Abu Dhabi', 'Tawazun Industrial Park,\r\n Al Taf Road', '', '', 130),
(18, 1018, 'Bewunder Turnkey Projects Contracting LLC', '-', 'Dubai ', 'Dubai Investment Park 1', '', '', 130),
(19, 1019, 'BlueDot Mgt LLC- FZ', '-', 'Dubai', 'The Meydan Hotel Grandstand,\r\n6th Floor Meydan Road,\r\nNad Al Sheba', '', '', 130),
(20, 1020, 'Casa Mia LLC', '-', 'Dubai ', 'Al Quoz 1, Street 2A,\r\nSheikh Zayed Road', '', '', 130),
(21, 1021, 'Contract Resources Oilfield Services LLC', '-', 'Abu Dhabi', 'ICAD I Plot No. 30C2,\r\nMussaffah', '', '', 130),
(22, 1022, 'Creative Technology Emirates LLC', '-', 'Dubai', 'Plot 597558,\r\nDubai Investment Park 2', '', '', 130),
(23, 1024, 'Dedienne Aerospace Mea Fze', '-', '-', 'Warehouse FZS1AC01~ South Zone~ Jebel Ali Free Zone~ PO Box 18056~ Dubai', '', '', 130),
(24, 1023, 'Creximco FZE ( Swagelok UAE)', '-', '-', 'PO Box 262898. Jebel Ali Free Zone~ Dubai~ UAE', '', '', 130),
(25, 1025, 'Dendra Limited ADGM', '-', 'Abu Dhabi', 'Office 308, Floor 11,Al Sarab Tower,\r\nAbu Dhabi Global Market Square,\r\nAl Maryah Island', '', '', 130),
(26, 1026, 'Digi Tech Trading LLC', '-', 'Dubai', 'City Avenne Bldg, Office 504,\r\nPort Saeed Street, Deira', '', '', 130),
(27, 1027, 'Dojomoto General Trading Fze', '-', 'Sharjah ', 'Building Y1, Office 44,\r\nSharjah Airport Free Zone', '', '', 130),
(28, 1028, 'Dubai World Trade Centre', '-', 'Dubai', 'Bur Dubai', '', '', 130),
(29, 1029, 'E&A Group FZE', '-', 'Sharjah', 'Business Centre,\r\nPublishing City Free Zone', '', '', 130),
(30, 1030, 'Emirates Electrical & Instrumentation Company', '-', 'Abu Dhabi', 'Building 411, 11th Floor,\r\nMadinat Zayed Office Tower,\r\nSultan Bin Zayed The First Street', '', '', 130),
(31, 1031, 'Emirates Engine Maintenance Centre', '-', 'DUBAI', 'Accounts Dept, 5 th floor, \r\nEGHQ', '', '', 130),
(32, 1032, 'Emirates Net HQ - AUH', '-', 'Abu Dhabi', 'Office No.101,\r\n1st Floor Building 31,\r\nAl Nahyan, Hazza Bin Zayed Street', '', '', 130),
(33, 1037, 'FieldCore Service Solutions GmbH', 'Dubai', 'Jabel Ali', 'N302 Plot MO0531, Road 61302', '', '', 130),
(34, 1033, 'Encore Venue Services LLC', '-', 'Dubai', 'DIP 2', '', '', 130),
(35, 1034, 'Eneljay Entertainment Events CO LLC', '-', 'Dubai', '', '', '', 130),
(36, 1035, 'Evolution Live Event Management LLC', '-', 'Dubai', 'Warehouse 22 ,Street 68,\r\nJebel Ali Industrial Area 1', '', '', 130),
(37, 1036, 'Family Outdoor Camping Requisites Trading LLC', '-', 'Dubai', 'Warehouse No.7, Block 2 \r\nKhansaheb Trading Warehouses,\r\nAl Qusais Ind Area 1', '', '', 130),
(38, 1038, 'General Tech Services LLC', '-', '-', 'PO Box: 25898~ Sharjah~ UAE ', '', '', 130),
(39, 1039, 'Gewan Investment Solutions - Sole Proprietorship LLC', '-', 'Abu Dhabi', 'Nirvana Travel Building,\r\nCorniche Street, Break Water', '', '', 130),
(40, 1040, 'Giochi Di Luce', 'Dubai', 'Jabel Ali', 'FNC Warehouse Unit 1 & 2,\r\nBldg No 7,Dip 2', '', '', 130),
(41, 1041, 'Glocom Communications & Images Limited', '-', 'Dubai', 'DMCC Branch, Office 3102,\r\nBB2 Building Mazaya Business Avenue,\r\nJLT', '', '', 130),
(42, 1042, 'Gvision Events Managing LLC', '-', 'Dubai ', 'Warehouse No.18, \r\nPlot No.597-397,\r\nDIP 2', '', '', 130),
(43, 1043, 'Halcon Systems LLC', '-', 'Abudhabi', 'Tawazun Industrial Park,\r\nAl Ajban', '', '', 130),
(44, 1044, 'Hunting Energy Services Limited - Dubai Branch', '-', 'Dubai', '', '', '', 130),
(45, 1046, 'Hyperpc Computers & Requisites Trading Co LLC', '-', '-', 'Dubai~ UAE', '', '', 130),
(46, 1047, 'Hytorc Middle East FZE', '-', 'Dubai', 'Warehouse AC-05 (North),\r\nJebel Ali Free Zone', '', '', 130),
(47, 1048, 'Ideation Entertainment Services LLC', '-', 'Dubai', 'WH -15B ,DREC Warehouse\r\nOpposite Jumbo Service Center,\r\nJabel Ali Industrial Area 1', '', '', 130),
(48, 1049, 'ITH Bolting Technology Middle East DWC-LLC', '-', '-', 'Office / Warehouse No.11~ Freight Complex 6~ Dubai South Logistics District~ DWC~ PO Box 282138', '', '', 130),
(49, 1050, 'Jet Aviation Dubai LLC', '-', '-', 'PO Box 84933~ Dubai International Airport~ Dubai~ UAE ', '', '', 130),
(50, 1051, 'Katim LLC', '-', 'Abu Dhabi ', 'Level 15, Aldar HQ\r\nAL Raha Beach', '', '', 130),
(51, 1052, 'Langpros Legal Translation LLC', '-', 'Dubai', 'Office 1506, Sheikh Zayed Road,\r\nLaifa Towers', '', '', 130),
(52, 1053, 'Marsol Technologies Fze', '-', 'Sharjah ', 'Hamriyah Free Zone', '', '', 130),
(53, 1054, 'Matrix Audio Visual Rental LLC', '-', 'Dubai', 'DIP', '', '', 130),
(54, 1055, 'Meconnect Fze', '-', 'Dubai', 'Jebel Ali Free Zone,\r\nRA08-CA04', '', '', 130),
(55, 1057, 'MP3 Industrial Solutions', '-', 'Abu Dhabi', 'Al Ain Industrial Area,( AL Ain Sanayaa)\r\nAl Ain City', '', '', 130),
(56, 1058, 'Next Step Solutions Fze', '-', 'Fujairah', 'Fujairah Creative Tower, Creative City,\r\nMedia Free Zone', '', '', 130),
(57, 1059, 'NMK Electronics Trading LLC', '-', 'Sharjah', 'Warehouse #8,\r\nIndustrial Area 15\r\n', '', '', 130),
(58, 1060, 'Pixojam Visual Production Fz-LLC', '-', 'Dubai', 'Office No. B-32 \r\nIMPZ', '', '', 130),
(59, 1061, 'Power Plus International Workshop Equipment & Machinery Trading LLC', '-', '-', 'Dubai~ UAE', '', '', 130),
(60, 1062, 'Prince Computers LLC', '-', 'Dubai', '', '', '', 130),
(61, 1063, 'Prism Protocol SAS', '-', 'France', '97 Allee Theodore Monod\r\nTechnopole Izarbel', '', '', 55),
(62, 1064, 'Production Technology LLC', '-', '-', 'PO Box 71215~ Dubai~ UAE', '', '', 130),
(63, 1065, 'Prolite ME', '-', 'Abu Dhabi', '', '', '', 130),
(64, 1066, 'Prologue Jewellers LLC', '-', 'Dubai', 'The Onyx Towers 2, \r\nOffice 1111,The Greens', '', '', 130),
(65, 1067, 'Rapid Solutions Engineering LLC', '-', '-', 'PO Box: 134341~ Abu Dhabi~ UAE', '', '', 130),
(66, 1068, 'RNT Maclaren Industries WLL', '-', 'Doha ', 'St 8 Building 80, \r\nZone 81, New Industrial Area 8', '', '', 112),
(67, 1069, 'Saab Middle East LLC', '-', 'Abu Dhabi', 'Al Tomooh Investments LLC,\r\nAl Reem Tamouh 3~0,\r\nAl Reem Island', '', '', 130),
(68, 1070, 'Scutoid Electrical LLC', '-', 'Dubai', 'Al Wasl - Shop No. 6,\r\nBuilding No.R305 Al Mussallah Rd,\r\nbehind Emirates Post Office,\r\nBur Dubai,  Al Fahidi', '', '', 130),
(69, 1071, 'Sharjah Museums Authority', '-', 'Sharjah', '', '', '', 130),
(70, 1072, 'Showtech Electronics LLC', '-', 'Dubai', '', '', '', 130),
(71, 1073, 'Siemens Energy LLC', '-', 'Musaffah', 'M-26 Plot 93,\r\nMusaffah Industrial Area', '', '', 130),
(72, 1074, 'Sim Trans Legal Translation LLC OPC', '-', 'Dubai', 'Unit 79, Floor 13,\r\nThe One Tower,Sheikh Zayed Rd', '', '', 130),
(73, 1075, 'Starwell Middle East Oilfields Equipment Manufacturing', '-', '-', 'Warehouse 01-02-03, \r\nPlot No 599-7412, Abu Hall, \r\nJebel Ali industrial First', '', '', 130),
(74, 1076, 'Sun Power- Gen Fzco', '-', 'Dubai', 'Plot No. TP030605,\r\nNational Industrial Park', '', '', 130),
(75, 1077, 'Sunset Events Production', '-', 'Dubai', 'Industrial Area No.3,\r\nAl Quoz 3', '', '', 130),
(76, 1078, 'Team Technical Equipment LLC', '-', 'Abu Dhabi', 'Plot No.121', '', '', 130),
(77, 1079, 'Technology Innovation Institute - Sole Proprietorship LLC', '-', 'Abu Dhabi', 'Accelerator 2 Building, \r\nOn Plot M12, Masdar City', '', '', 130),
(78, 1080, 'The Royal Stables LLC OPC', '-', '-', 'PO Box : 46460~ Abu Dhabi~ UAE', '', '', 130),
(79, 1081, 'Unique System Fze', '-', 'Sharjah ', 'Plot No. 1D/07E, \r\nHamriyah Free Zone', '', '', 130),
(80, 1084, 'Web 3 Production FZ-LLC', '-', 'Dubai ', 'PBU-C51~ SH Ground Floor,\r\nDubai Production City', '', '', 130),
(81, 1086, 'Wise Concepts Fz LLC', '-', 'Dubai', 'PBU-A01,\r\nDubai Production City', '', '', 130),
(82, 1085, 'Welltec Global Services Fze', '-', '-', 'Unit RA08HC06~ Jebel Ali Free Zone~ PO Box 18282~ Dubai~ UAE', '', '', 130),
(83, 1083, 'Wasath Almadar Trading fze', '-', 'Dubai', 'Bin Dhaher Building 319 46,\r\n11B Street, Al Qusais 1', '', '', 130),
(84, 1082, 'Vertex Downhole Trading LLC', '-', 'Dubai', 'Building 27 Oilfields Supply Center,\r\nJebel Ali Freezone', '', '', 130),
(85, 1045, 'Hyperion Defense Solutions', '-', 'Dubai', '-', '', '', 130),
(86, 1056, 'Medical Plus EQ Trading LLC', '-', 'Dubai', '-', '', '', 130),
(87, 1087, 'Bluesky Customer', '', '', '', '', '', 143),
(88, 1088, 'Bluesky customer', '', '', '', '', '', 143),
(89, 1089, 'Bluesky Customer', '', '', '', '', '', 130),
(90, 1090, '', '', '', '', '', '', 0),
(91, 1091, 'test', '', '', '', '', '', 143),
(92, 1092, 'Dabur India', '', '', '', '', '', 143),
(93, 1093, 'Jindal Steel & Power', 'uuu', 'dub', 'dfsdfs', '', '', 143),
(94, 1094, 'HCL Technologies', 'uae', 'dubi', 'address', '', '', 143),
(95, 1095, '', '', '', '', '', '', 0),
(96, 1096, 'Test Customer', '', '', '', '', '', 130),
(97, 1097, 'Athulya', '', '', '', '', '', 130),
(98, 1098, '', '', '', '', '', '', 130),
(99, 1099, '', '', '', '', '', '', 0),
(100, 1100, 'Test Customer', '', '', '', '', '', 130);

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

--
-- Table structure for table `erp_damaged_store`
--

CREATE TABLE `erp_damaged_store` (
  `id` int(11) NOT NULL,
  `transfer_date` date NOT NULL,
  `reference` varchar(255) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_damaged_store_details`
--

CREATE TABLE `erp_damaged_store_details` (
  `id` int(11) NOT NULL,
  `damaged_store_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL COMMENT 'primary key to crm_store',
  `part_number` varchar(255) NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `unit` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_damaged_store_material_details`
--

CREATE TABLE `erp_damaged_store_material_details` (
  `id` int(11) NOT NULL,
  `damaged_store_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `material_receipt_id` int(11) NOT NULL,
  `material_receipt_qty` decimal(15,3) NOT NULL,
  `issued_qty` decimal(15,3) NOT NULL,
  `bill_exit` varchar(255) DEFAULT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `warehouse_id` int(11) NOT NULL,
  `rack_id` int(11) NOT NULL,
  `bin_id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_delivery_item`
--

CREATE TABLE `erp_delivery_item` (
  `id` int(11) NOT NULL,
  `delivery_note_id` int(11) NOT NULL,
  `quotes_item_id` int(11) NOT NULL,
  `order_item_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `part_number` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `unit_id` int(11) NOT NULL,
  `picked_qty` decimal(15,3) NOT NULL,
  `remarks` text NOT NULL,
  `alternate_id` varchar(255) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_delivery_item`
--

INSERT INTO `erp_delivery_item` (`id`, `delivery_note_id`, `quotes_item_id`, `order_item_id`, `product_id`, `part_number`, `description`, `quantity`, `unit_id`, `picked_qty`, `remarks`, `alternate_id`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 30001, 11, 1, 2, '1207SF', 'GP Laminate SF (261) Dark Gray 4x8x0.8mm', 2.000, 2, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(2, 30001, 12, 2, 349, '1SKB-SC2111', 'Foot Controller Soft Case 21 x 11 x 3 (VG99- FC300- RP1000- M13)', 2.000, 349, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(3, 30002, 13, 3, 2, '1207SF', 'GP Laminate SF (261) Dark Gray 4x8x0.8mm', 3.000, 2, 0.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(4, 30002, 14, 4, 349, '1SKB-SC2111', 'Foot Controller Soft Case 21 x 11 x 3 (VG99- FC300- RP1000- M13)', 3.000, 349, 3.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(5, 30003, 45, 7, 2, '1207SF', 'GP Laminate SF (261) Dark Gray 4x8x0.8mm and 10 mm', 5.000, 2, 5.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(6, 30003, 46, 8, 302, '1SKB-DRP2', 'Drum Package 2- Includes: D1822- D1012- D1616\r\n\r\n', 25.000, 302, 25.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(7, 30004, 146, 11, 1, '03-DD-B-30063/ISS2', 'Issue 2 Bag', 1.000, 1, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(8, 30005, 148, 12, 1, '03-DD-B-30063/ISS2', 'Issue 2 Bag', 1.000, 1, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(9, 30006, 13, 3, 2, '1207SF', 'GP Laminate SF (261) Dark Gray 4x8x0.8mm', 3.000, 2, 3.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(10, 30007, 153, 16, 1, '03-DD-B-30063/ISS2', 'Issue 2 Bag', 2.000, 1, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(11, 30008, 155, 17, 1, '03-DD-B-30063/ISS2', 'Issue 2 Bag', 2.000, 1, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(12, 30009, 155, 17, 1, '03-DD-B-30063/ISS2', 'Issue 2 Bag', 2.000, 1, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(13, 30010, 159, 19, 1, '03-DD-B-30063/ISS2', 'Issue 2 Bag', 10.000, 1, 10.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(14, 30011, 170, 23, 449, '3i-1914-8B-E', 'iSeries 1914-8B with Custom Foam Insert for Atera X8', 1.000, 449, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(15, 30011, 171, 24, 667, 'IMP001', 'Shipping Charges', 2.000, 667, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(16, 30011, 172, 25, 666, 'IMP002', 'Duty Charges', 3.000, 666, 3.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(17, 30012, 176, 26, 1, '03-DD-B-30063/ISS2', 'Issue 2 Bag', 1.000, 1, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(18, 30012, 177, 27, 667, 'IMP001', 'Shipping Charges', 2.000, 667, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(19, 30012, 178, 28, 666, 'IMP002', 'Duty Charges', 3.000, 666, 3.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(20, 30013, 218, 34, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(21, 30014, 209, 32, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(22, 30015, 217, 31, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(23, 30016, 219, 35, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(24, 30017, 220, 36, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(25, 30017, 221, 37, 302, '1SKB-DRP2', 'Drum Package 2- Includes: D1822- D1012- D1616', 1.000, 302, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(26, 30018, 224, 38, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(27, 30018, 225, 39, 302, '1SKB-DRP2', 'Drum Package 2- Includes: D1822- D1012- D1616', 1.000, 302, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(28, 30019, 228, 40, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(29, 30019, 229, 41, 302, '1SKB-DRP2', 'Drum Package 2- Includes: D1822- D1012- D1616', 1.000, 302, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(30, 30020, 232, 42, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(31, 30020, 233, 43, 349, '1SKB-SC2111', 'Foot Controller Soft Case 21 x 11 x 3 (VG99- FC300- RP1000- M13)', 1.000, 349, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(32, 30021, 236, 44, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(33, 30021, 237, 45, 349, '1SKB-SC2111', 'Foot Controller Soft Case 21 x 11 x 3 (VG99- FC300- RP1000- M13)', 1.000, 349, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(34, 30022, 240, 46, 349, '1SKB-SC2111', 'Foot Controller Soft Case 21 x 11 x 3 (VG99- FC300- RP1000- M13)', 2.000, 349, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(35, 30022, 241, 47, 302, '1SKB-DRP2', 'Drum Package 2- Includes: D1822- D1012- D1616', 2.000, 302, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(36, 30023, 245, 49, 245, 'BPLY-019', '18mm BB/BB Birch Ply [2400x1200mm]', 10.000, 245, 10.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(37, 30024, 244, 48, 246, 'BPLY-020', '9mm BB/BB Birch Ply [2400x1200mm]', 6.000, 246, 6.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(38, 30025, 247, 50, 246, 'BPLY-020', '9mm BB/BB Birch Ply [2400x1200mm]', 6.000, 246, 6.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(39, 30026, 249, 51, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(40, 30027, 253, 52, 246, 'BPLY-020', '9mm BB/BB Birch Ply [2400x1200mm]', 3.000, 246, 3.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(41, 30028, 257, 53, 2, '1207SF', 'GP Laminate SF (261) Dark Gray 4x8x0.8mm', 2.000, 2, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(42, 30029, 279, 56, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(43, 30030, 277, 57, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(44, 30031, 285, 59, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(45, 30032, 295, 64, 245, 'BPLY-019', '18mm BB/BB Birch Ply [2400x1200mm]', 2.000, 245, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(46, 30033, 294, 63, 245, 'BPLY-019', '18mm BB/BB Birch Ply [2400x1200mm]', 8.000, 245, 8.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(47, 30034, 293, 62, 245, 'BPLY-019', '18mm BB/BB Birch Ply [2400x1200mm]', 13.000, 245, 13.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(48, 30035, 292, 61, 245, 'BPLY-019', '18mm BB/BB Birch Ply [2400x1200mm]', 45.000, 245, 45.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(49, 30036, 291, 60, 245, 'BPLY-019', '18mm BB/BB Birch Ply [2400x1200mm]', 1.000, 245, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(50, 30037, 301, 66, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(51, 30038, 165, 21, 24, 'BPLY-001', '6.5mm Russian Birch Ply [2400x1200mm]', 10.000, 24, 10.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(52, 30038, 166, 22, 25, 'BPLY-002', '9mm Russian Birch Ply [2400x1200mm]', 10.000, 25, 10.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(53, 30039, 303, 68, 668, 'A10001', 'Test Item A10001', 5.000, 668, 5.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(54, 30040, 305, 69, 668, 'A10001', 'Test Item A10001', 5.000, 668, 5.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(55, 30041, 157, 18, 1, '03-DD-B-30063/ISS2', 'Issue 2 Bag', 2.000, 1, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(56, 30042, 308, 70, 668, 'A10001', 'Test Item A10001', 2.000, 668, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(57, 30042, 309, 71, 2, '1207SF', 'GP Laminate SF (261) Dark Gray 4x8x0.8mm', 5.000, 2, 5.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(58, 30043, 311, 72, 245, 'BPLY-019', '18mm BB/BB Birch Ply [2400x1200mm]', 30.000, 245, 30.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(59, 30044, 313, 73, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(60, 30045, 315, 74, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(61, 30046, 0, 77, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(62, 30047, 327, 76, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(63, 30048, 364, 78, 245, 'BPLY-019', '18mm BB/BB Birch Ply [2400x1200mm]', 1.000, 245, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(64, 30048, 365, 79, 246, 'BPLY-020', '9mm BB/BB Birch Ply [2400x1200mm]', 1.000, 246, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(65, 30049, 374, 84, 245, 'BPLY-019', '18mm BB/BB Birch Ply [2400x1200mm]', 5.000, 245, 5.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(66, 30049, 375, 85, 246, 'BPLY-020', '9mm BB/BB Birch Ply [2400x1200mm]', 3.000, 246, 3.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(67, 30050, 394, 116, 34, 'C1373', '2Leg Brace Ball Corner with 67mm / 2.64 Leg', 10.000, 34, 10.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(68, 30050, 395, 117, 36, 'C1374', 'Brace Ball Corner 81mm / 3.19', 20.000, 36, 20.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(69, 30051, 415, 124, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(70, 30051, 416, 125, 1, '03-DD-B-30063/ISS2', 'Issue 2 Bag', 1.000, 1, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(71, 30052, 417, 126, 245, 'BPLY-019', '18mm BB/BB Birch Ply [2400x1200mm]', 2.000, 245, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(72, 30053, 354, 108, 245, 'BPLY-019', '18mm BB/BB Birch Ply [2400x1200mm]', 10.000, 245, 10.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(73, 30053, 355, 109, 246, 'BPLY-020', '9mm BB/BB Birch Ply [2400x1200mm]', 7.000, 246, 7.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(74, 30053, 356, 110, 624, '3R-RL12-001-7', '12-Pack Deployable Rifle Locker', 6.000, 624, 0.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(75, 30053, 357, 111, 24, 'BPLY-001', '6.5mm Russian Birch Ply [2400x1200mm]', 250.000, 24, 91.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(76, 30053, 358, 112, 343, '1SKB-SB100', 'Standard Stick Bag', 45.000, 343, 0.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(77, 30053, 359, 113, 349, '1SKB-SC2111', 'Foot Controller Soft Case 21 x 11 x 3 (VG99- FC300- RP1000- M13)', 56.000, 349, 56.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(78, 30053, 360, 114, 531, '3i-3614-6-003', 'iSeries 3614-6 Baseball Bat Case', 36.000, 531, 0.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(79, 30053, 361, 115, 246, 'BPLY-020', '9mm BB/BB Birch Ply [2400x1200mm]', 17.000, 246, 17.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(80, 30054, 420, 130, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(81, 30054, 421, 131, 245, 'BPLY-019', '18mm BB/BB Birch Ply [2400x1200mm]', 3.000, 245, 3.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(82, 30055, 149, 13, 2, '1207SF', 'GP Laminate SF (261) Dark Gray 4x8x0.8mm and 10 mm', 3.000, 2, 3.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(83, 30055, 150, 14, 302, '1SKB-DRP2', 'Drum Package 2- Includes: D1822- D1012- D1616\r\n\r\n', 2.000, 302, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(84, 30055, 151, 15, 260, '1SKB-16', 'Shallow Acoustic Roundback Shaped Hardshell Case', 5.000, 260, 0.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(85, 30056, 431, 134, 668, 'A10001', 'Test Item A10001', 1.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(86, 30057, 433, 135, 668, 'A10001', 'Test Item A10001', 10.000, 668, 9.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(87, 30058, 276, 136, 668, 'A10001', 'Test Item A10001', 5.000, 668, 5.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(88, 30059, 444, 137, 34, 'C1373', '2Leg Brace Ball Corner with 67mm / 2.64 Leg', 10.000, 34, 10.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(89, 30059, 445, 138, 36, 'C1374', 'Brace Ball Corner 81mm / 3.19', 20.000, 36, 20.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(90, 30059, 446, 139, 668, 'A10001', 'Test Item A10001', 5.000, 668, 5.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(91, 30060, 450, 140, 34, 'C1373', '2Leg Brace Ball Corner with 67mm / 2.64 Leg', 10.000, 34, 10.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(92, 30060, 451, 141, 36, 'C1374', 'Brace Ball Corner 81mm / 3.19', 20.000, 36, 20.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(93, 30060, 452, 142, 668, 'A10001', 'Test Item A10001', 5.000, 668, 4.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(94, 30061, 456, 143, 34, 'C1373', '2Leg Brace Ball Corner with 67mm / 2.64 Leg', 10.000, 34, 10.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(95, 30061, 457, 144, 36, 'C1374', 'Brace Ball Corner 81mm / 3.19', 20.000, 36, 20.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(96, 30061, 458, 145, 668, 'A10001', 'Test Item A10001', 5.000, 668, 5.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(97, 30062, 368, 118, 245, 'BPLY-019', '18mm BB/BB Birch Ply [2400x1200mm]', 1.000, 245, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(98, 30062, 369, 119, 246, 'BPLY-020', '9mm BB/BB Birch Ply [2400x1200mm]', 1.000, 246, 0.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(99, 30063, 567, 146, 346, '1SKB-SC1913', 'Controller Soft Case 19 x 13 x 3 (VMS4- Torq Xponent- Axiom 25)', 1.000, 346, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(100, 30064, 576, 149, 346, '1SKB-SC1913', 'Controller Soft Case 19 x 13 x 3 (VMS4- Torq Xponent- Axiom 25)', 1.000, 346, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(101, 30065, 580, 150, 1, '03-DD-B-30063/ISS2', 'Issue 2 Bag', 100.000, 1, 100.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(102, 30066, 583, 155, 667, 'IMP001', 'Shipping Charges', 2.000, 667, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(103, 30066, 584, 156, 666, 'IMP002', 'Duty Charges', 1.000, 666, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(104, 30067, 0, 157, 667, 'IMP001', 'Shipping Charges', 2.000, 667, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(105, 30067, 0, 158, 666, 'IMP002', 'Duty Charges', 1.000, 666, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(106, 30068, 0, 159, 667, 'IMP001', 'Shipping Charges', 2.000, 667, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(107, 30068, 0, 160, 666, 'IMP002', 'Duty Charges', 1.000, 666, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(108, 30069, 0, 161, 667, 'IMP001', 'Shipping Charges', 2.000, 667, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(109, 30069, 0, 162, 666, 'IMP002', 'Duty Charges', 1.000, 666, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(110, 30070, 0, 163, 667, 'IMP001', 'Shipping Charges', 2.000, 667, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(111, 30070, 0, 164, 666, 'IMP002', 'Duty Charges', 1.000, 666, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(112, 30071, 433, 135, 668, 'A10001', 'Test Item A10001', 10.000, 668, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(113, 30072, 162, 20, 664, 'D100001', 'Dummy Item', 1.000, 664, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(114, 30073, 0, 165, 667, 'IMP001', 'Shipping Charges', 2.000, 667, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(115, 30073, 0, 166, 666, 'IMP002', 'Duty Charges', 1.000, 666, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(116, 30074, 0, 167, 667, 'IMP001', 'Shipping Charges', 2.000, 667, 2.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(117, 30074, 0, 168, 666, 'IMP002', 'Duty Charges', 1.000, 666, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(118, 30075, 151, 15, 260, '1SKB-16', 'Shallow Acoustic Roundback Shaped Hardshell Case', 5.000, 260, 5.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(119, 30076, 587, 171, 667, 'IMP001', 'Shipping Charges', 1.000, 667, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(120, 30076, 588, 172, 666, 'IMP002', 'Duty Charges', 1.000, 666, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(121, 30077, 0, 173, 667, 'IMP001', 'Shipping Charges', 1.000, 667, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(122, 30077, 0, 174, 666, 'IMP002', 'Duty Charges', 1.000, 666, 1.000, '', '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_delivery_note`
--

CREATE TABLE `erp_delivery_note` (
  `id` int(11) NOT NULL,
  `file_title` varchar(255) NOT NULL,
  `file_id` int(11) NOT NULL,
  `quotes_id` int(11) NOT NULL,
  `order_id` int(11) NOT NULL,
  `customer_id` bigint(20) NOT NULL,
  `contact_id` int(11) NOT NULL,
  `lead_owner_id` int(11) NOT NULL,
  `delivery_date` date NOT NULL,
  `shipped_by` varchar(255) NOT NULL,
  `billing_address` varchar(255) NOT NULL,
  `shipping_address` varchar(255) NOT NULL,
  `sales_group` varchar(255) NOT NULL,
  `awb_no` varchar(255) NOT NULL,
  `no_of_boxes` int(11) NOT NULL,
  `tracking_no` varchar(255) NOT NULL,
  `total_weight` varchar(100) NOT NULL,
  `total_volume` varchar(100) NOT NULL,
  `packed_by` varchar(255) NOT NULL,
  `shipping_conditions` varchar(255) NOT NULL,
  `lpo` varchar(255) NOT NULL,
  `remarks` text NOT NULL,
  `notes` text NOT NULL,
  `others` varchar(255) NOT NULL,
  `terms_id` int(11) NOT NULL COMMENT 'primary key to masterms ',
  `terms_and_conditions` text NOT NULL,
  `delivery_from` enum('S','DI') NOT NULL DEFAULT 'S',
  `invoiced` enum('Y','N') NOT NULL DEFAULT 'N',
  `posted` enum('Y','N') NOT NULL DEFAULT 'N',
  `remarks_cancel` text NOT NULL,
  `status` enum('PN','CL','CN') NOT NULL DEFAULT 'PN' COMMENT 'PN-Pending,CL-Completed,CN-Cancelled',
  `delivery_type` enum('sales','service') NOT NULL DEFAULT 'sales',
  `ready_to_invoice` enum('Y','N') NOT NULL DEFAULT 'N',
  `inco_term_id` int(11) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_delivery_note`
--

INSERT INTO `erp_delivery_note` (`id`, `file_title`, `file_id`, `quotes_id`, `order_id`, `customer_id`, `contact_id`, `lead_owner_id`, `delivery_date`, `shipped_by`, `billing_address`, `shipping_address`, `sales_group`, `awb_no`, `no_of_boxes`, `tracking_no`, `total_weight`, `total_volume`, `packed_by`, `shipping_conditions`, `lpo`, `remarks`, `notes`, `others`, `terms_id`, `terms_and_conditions`, `delivery_from`, `invoiced`, `posted`, `remarks_cancel`, `status`, `delivery_type`, `ready_to_invoice`, `inco_term_id`, `isActive`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(30001, '', 10001, 10001, 20001, 1001, 1, 8, '2025-05-06', '6', 'Tawazun Industrial Park,\r\nAl Ajban\r\nP.O Box 109667\r\nAbu Dhabi , United Arab Emirates', 'Abu Dhabi Autonomous Systems Investments LLC\r\nTawazun Industrial Park,\r\nAl Ajban, Abu Dhabi\r\nUnited Arab Emirates', '', '', 0, '30001', '', '', '', '', 'LPO1', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-05-06 09:43:07', '2025-05-06 09:43:20'),
(30002, '', 10003, 10002, 20002, 1069, 69, 8, '2025-05-06', '6', '-, P.O Box : -\r\n- - United Arab Emirates', 'Saab Middle East LLC\r\nAl Tomooh Investments LLC,\r\nAl Reem Tamouh 3~0,\r\nAl Reem Island\r\nAbu Dhabi\r\nPO Box : -\r\nUnited Arab Emirates', '', '', 0, '30002', '', '', '', '', '45554', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-05-06 12:22:47', '2025-05-06 12:22:53'),
(30003, '', 10006, 10004, 20004, 1030, 30, 8, '2025-05-06', '6', 'Building 411, 11th Floor,\r\nMadinat Zayed Office Tower,\r\nSultan Bin Zayed The First Street\r\nP.O Box 41708\r\nAbu Dhabi , United Arab Emirates', 'Emirates Electrical & Instrumentation Company\r\nBuilding 411, 11th Floor,\r\nMadinat Zayed Office Tower,\r\nSultan Bin Zayed The First Street\r\nAbu Dhabi, United Arab Emirates', '', '', 0, '30003', '', '', '', '', 'LPO 12345', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-05-06 15:07:13', '2025-05-06 03:07:56'),
(30004, '', 10017, 10006, 20005, 1007, 7, 8, '2025-05-09', '6', 'Sharjah, P.O Box : -\r\n- - United Arab Emirates', '', '', '', 0, '30004', '', '', '', '', '12345', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 1, '2025-05-09 12:57:18', '2025-05-09 12:57:25'),
(30005, '', 10019, 10007, 20006, 1007, 7, 8, '2025-05-09', '6', 'Sharjah, P.O Box : -\r\n- - United Arab Emirates', '', '', '', 0, '30005', '', '', '', '', '1234', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 1, '2025-05-09 12:59:45', '2025-05-09 01:00:29'),
(30006, '', 10003, 10002, 20002, 1069, 69, 8, '2025-05-09', '6', '-, P.O Box : -\r\n- - United Arab Emirates', 'Saab Middle East LLC\r\nAl Tomooh Investments LLC,\r\nAl Reem Tamouh 3~0,\r\nAl Reem Island\r\nAbu Dhabi\r\nPO Box : -\r\nUnited Arab Emirates', '', '', 0, '30006', '', '', '', '', '45554', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 8, '2025-05-09 13:04:39', '2025-06-01 04:58:30'),
(30007, '', 10020, 10008, 20008, 1070, 70, 8, '2025-05-09', '6', 'Dubai, P.O Box : -\r\n- - United Arab Emirates', '', '', '', 0, '30007', '', '', '', '', '1234', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 1, '2025-05-09 13:05:44', '2025-05-09 01:26:53'),
(30008, '', 10021, 10009, 20009, 1004, 4, 8, '2025-05-09', '6', 'Abu Dhabi, P.O Box : -\r\n- - United Arab Emirates', 'Advanced Concepts\r\nTawazun Industrial Park, \r\nAl Ajban, Al Taf Road Exit,\r\n366 Sweihan, Near Zayed Military\r\nAbu Dhabi\r\nPO Box : -\r\nUnited Arab Emirates', '', '', 0, '30008', '', '', '', '', '12345', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 1, '2025-05-09 14:25:06', '2025-05-09 02:27:03'),
(30009, '', 10021, 10009, 20009, 1004, 4, 8, '2025-05-09', '6', 'Abu Dhabi, P.O Box : -\r\n- - United Arab Emirates', '', '', '', 0, '30009', '', '', '', '', '12345', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 1, '2025-05-09 14:28:08', '2025-05-09 02:28:24'),
(30010, '', 10024, 10011, 20011, 1004, 4, 8, '2025-05-09', '6', 'Abu Dhabi, P.O Box : -\r\n- - United Arab Emirates', '', '', '', 0, '30010', '', '', '', '', '0', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 1, '2025-05-09 15:05:48', '2025-05-09 03:07:49'),
(30011, '', 10026, 10012, 20014, 1003, 3, 8, '2025-05-22', '6', 'Al Fahad Warehouse - 3C 6A St,\r\nBehind Times Square Center,\r\n Al Quoz, Al Quoz Industrial Area 1\r\nP.O Box -\r\nDubai  , United Arab Emirates', '', '', '', 0, '30011', '', '', '', '', '45554', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-05-22 11:06:57', '2025-05-22 11:09:32'),
(30012, '', 10044, 10015, 20015, 1007, 7, 8, '2025-05-22', '6', 'Sharjah, P.O Box : -\r\n- - United Arab Emirates', '', '', '', 0, '30012', '', '', '', '', 'A101', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-05-22 11:57:02', '2025-05-22 11:57:15'),
(30013, '', 10058, 10024, 20018, 1089, 94, 8, '2025-06-01', '4', 'P.O Box \r\n , Mauritania', '', '', '', 0, '30013', '', '', '', '', '600', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'N', 0, 'Y', 8, 8, '2025-06-01 15:23:13', '2025-06-01 15:23:13'),
(30014, '', 10056, 10022, 20017, 1089, 94, 8, '2025-06-01', '4', 'P.O Box \r\n , Mauritania', '', '', '', 0, '30014', '', '', '', '', '300', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'N', 0, 'Y', 8, 8, '2025-06-01 15:29:23', '2025-06-01 15:29:23'),
(30015, '', 10059, 10025, 20016, 1089, 94, 8, '2025-06-01', '4', 'P.O Box \r\n , Mauritania', '', '', '', 0, '30015', '', '', '', '', '300', 're', 'n', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'N', 0, 'Y', 8, 8, '2025-06-01 15:30:39', '2025-06-01 15:30:39'),
(30016, '', 10057, 10023, 20019, 1089, 94, 8, '2025-06-01', '4', 'P.O Box \r\n , Mauritania', '', '', '', 0, '30016', '', '', '', '', '633', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'N', 0, 'Y', 8, 8, '2025-06-01 16:02:25', '2025-06-01 16:02:25'),
(30017, '', 10055, 10021, 20020, 1089, 94, 8, '2025-06-01', '4', 'P.O Box \r\n , Mauritania', '', '', '', 0, '30017', '', '', '', '', '900', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'N', 0, 'Y', 8, 8, '2025-06-01 16:11:50', '2025-06-01 16:11:50'),
(30018, '', 10054, 10020, 20021, 1089, 94, 8, '2025-06-01', '4', 'P.O Box \r\n , Mauritania', '', '', '', 0, '30018', '', '', '', '', '900', '', '', '', 2, 'Purchase Terms and Conditions come here\r\n', 'S', 'N', 'N', '', 'CL', 'sales', 'N', 0, 'Y', 8, 8, '2025-06-01 16:16:03', '2025-06-01 16:16:03'),
(30019, '', 10053, 10019, 20022, 1089, 94, 8, '2025-06-01', '4', 'P.O Box \r\n , Mauritania', '', '', '', 0, '30019', '', '', '', '', '85', '', '', '', 2, 'Purchase Terms and Conditions come here\r\n', 'S', 'N', 'N', '', 'CL', 'sales', 'N', 0, 'Y', 8, 8, '2025-06-01 16:19:18', '2025-06-01 16:19:18'),
(30020, '', 10060, 10026, 20023, 1089, 94, 8, '2025-06-01', '4', 'Mauritania', '', '', '', 0, '30020', '', '', '', '', '320', '', '', '', 2, 'Purchase Terms and Conditions come here\r\n', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-06-01 16:21:32', '2025-06-01 05:18:27'),
(30021, '', 10050, 10018, 20024, 1089, 94, 8, '2025-06-01', '4', 'Mauritania', '', '', '', 0, '30021', '', '', '', '', '89', 'remk', 'ntes', '', 2, 'Purchase Terms and Conditions come here\r\n', 'S', 'N', 'N', '', 'CL', 'sales', 'N', 0, 'Y', 8, 8, '2025-06-01 16:54:30', '2025-06-01 16:54:30'),
(30022, '', 10052, 10027, 20025, 1089, 94, 8, '2025-06-01', '4', 'P.O Box \r\n , Mauritania', '', '', '', 0, '30022', '', '', '', '', '567', 'rem', 'nt', '', 2, 'Purchase Terms and Conditions come here\r\n', 'S', 'N', 'N', '', 'CL', 'sales', 'N', 0, 'Y', 8, 8, '2025-06-01 17:32:45', '2025-06-01 17:32:45'),
(30023, '', 10062, 10028, 20027, 1001, 1, 8, '2025-06-02', '4', 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '', '', '', 0, '30023', '', '', '', '', '1', '', '', '', 2, 'Purchase Terms and Conditions come here\r\n', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-06-02 15:02:50', '2025-06-02 03:22:07'),
(30024, '', 10063, 10029, 20026, 1001, 1, 8, '2025-06-02', '4', 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '', '', '', 0, '30024', '', '', '', '', '1', '', '', '', 2, 'Purchase Terms and Conditions come here\r\n', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-06-02 15:03:02', '2025-06-02 03:34:09'),
(30025, '', 10064, 10030, 20028, 1001, 1, 8, '2025-06-02', '4', 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '', '', '', 0, '30025', '', '', '', '', '545', '', '', '', 2, 'Purchase Terms and Conditions come here\r\n', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-06-02 15:11:05', '2025-06-02 03:22:19'),
(30026, '', 10065, 10031, 20029, 1019, 19, 8, '2025-06-02', '4', 'Dubai, P.O Box : -\r\n- - United Arab Emirates', '', '', '', 0, '30026', '', '', '', '', 'A101', '', '', '', 2, 'Purchase Terms and Conditions come here\r\n', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-06-02 15:18:33', '2025-06-02 03:18:45'),
(30027, '', 10066, 10032, 20030, 1001, 1, 8, '2025-06-03', '4', 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '', '', '', 0, '30027', '', '', '', '', '3', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 1, '2025-06-03 08:55:32', '2025-06-03 08:55:40'),
(30028, '', 10069, 10035, 20031, 1001, 1, 8, '2025-06-03', '4', 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '', '', '', 0, '30028', '', '', '', '', '123', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 1, '2025-06-03 09:25:53', '2025-06-03 09:25:59'),
(30029, '', 10076, 10042, 20033, 1001, 1, 8, '2025-06-03', '4', 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', 'Abu Dhabi Autonomous Systems Investments LLC\r\nTawazun Industrial Park,\r\nAl Ajban\r\nAbu Dhabi\r\nPO Box : -\r\nUnited Arab Emirates', '', '', 0, '30029', '', '', '', 'NEW', '123456', '', 'NEW', '', 3, 'NEW', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-06-03 15:29:28', '2025-06-03 03:29:40'),
(30030, '', 10070, 10036, 20032, 1001, 1, 8, '2025-06-04', '4', 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '', '', '', 0, '30030', '', '', '', '', '123', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-06-04 08:42:49', '2025-06-04 08:42:59'),
(30031, '', 10051, 10043, 20034, 1089, 94, 8, '2025-06-04', '4', 'P.O Box \r\n , Mauritania', '', '', '', 0, '30031', '', '', '', '', '563', '', '', '', 11, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-06-04 16:37:50', '2025-06-04 04:38:11'),
(30032, '', 10084, 10045, 20039, 1002, 2, 8, '2025-06-05', '4', 'Abu Dhabi, P.O Box : 2723\r\n- - United Arab Emirates', '', '', '', 0, '30032', '', '', '', '', '435', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 1, '2025-06-05 11:08:51', '2025-06-05 11:08:58'),
(30033, '', 10085, 10046, 20038, 1017, 17, 8, '2025-06-05', '4', 'Abu Dhabi, P.O Box : 840\r\n- - United Arab Emirates', '', '', '', 0, '30033', '', '', '', '', '456', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 1, '2025-06-05 11:09:04', '2025-06-05 11:09:09'),
(30034, '', 10086, 10047, 20037, 1030, 30, 8, '2025-06-05', '4', 'Abu Dhabi, P.O Box : 41708\r\n- - United Arab Emirates', '', '', '', 0, '30034', '', '', '', '', '33', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 1, '2025-06-05 11:09:18', '2025-06-05 11:09:22'),
(30035, '', 10087, 10048, 20036, 1070, 70, 8, '2025-06-05', '4', 'Dubai, P.O Box : -\r\n- - United Arab Emirates', '', '', '', 0, '30035', '', '', '', '', '22', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 1, '2025-06-05 11:09:31', '2025-06-05 11:09:39'),
(30036, '', 10088, 10049, 20035, 1078, 78, 8, '2025-06-05', '4', 'Abu Dhabi, P.O Box : -\r\n- - United Arab Emirates', '', '', '', 0, '30036', '', '', '', '', '22', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 1, '2025-06-05 11:09:46', '2025-06-05 11:09:51'),
(30037, '', 10089, 10050, 20040, 1094, 101, 8, '2025-06-05', '4', 'address\r\nP.O Box 689666\r\ndubi , Mauritania', '', '', '', 0, '30037', '', '', '', '', '300', 'remks', 'notes3', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-06-05 12:37:09', '2025-06-30 08:30:12'),
(30038, '', 10040, 10014, 20013, 1021, 21, 8, '2025-06-05', '6', 'Abu Dhabi, P.O Box : 9549\r\n- - United Arab Emirates', '', '', '', 0, '30038', '', '', '', '', '11', '', '', '', 0, '', 'S', 'N', 'N', '', 'PN', 'sales', 'N', 0, 'Y', 8, 8, '2025-06-05 12:38:48', '2025-06-05 12:38:48'),
(30039, '', 10090, 10051, 20041, 1094, 101, 8, '2025-06-05', '4', 'dubi, P.O Box : 689666\r\nuae - Mauritania', '', '5', '', 0, '30039', '', '', '', '', '32', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 1, '2025-06-05 12:47:30', '2025-06-10 04:08:23'),
(30040, '', 10091, 10052, 20042, 1094, 101, 8, '2025-06-05', '4', 'dubi, P.O Box : 689666\r\nuae - Mauritania', '', '5', '', 0, '30040', '', '', '', '', '7', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-06-05 12:49:34', '2025-06-05 01:12:45'),
(30041, '', 10022, 10010, 20010, 1007, 7, 8, '2025-06-05', '6', 'Sharjah, P.O Box : -\r\n- - United Arab Emirates', '', '1', '', 0, '30041', '', '', '', '', '1234', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-06-05 12:51:04', '2025-06-05 01:12:37'),
(30042, '', 10092, 10053, 20043, 1094, 101, 8, '2025-06-05', '4', 'dubi, P.O Box : 689666\r\nuae - Mauritania', '', '5', '', 0, '30042', '', '', '', '', '88', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-06-05 12:54:29', '2025-06-05 12:54:55'),
(30043, '', 10093, 10054, 20044, 1001, 1, 8, '2025-06-05', '4', 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '', '5', '', 0, '30043', '', '', '', '', 'e4rwe', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 1, '2025-06-05 13:35:53', '2025-06-05 01:35:58'),
(30044, '', 10099, 10055, 20045, 1089, 94, 8, '2025-06-09', '4', 'Mauritania', '', '5', '', 0, '30044', '', '', '', '', '98', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-06-09 10:30:35', '2025-06-09 10:31:05'),
(30045, '', 10100, 10056, 20046, 1089, 94, 8, '2025-06-09', '4', 'Mauritania', '', '5', '', 0, '30045', '', '', '', '', '520', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-06-09 10:40:30', '2025-06-09 10:40:35'),
(30046, '', 10109, 10063, 20048, 1089, 94, 8, '2025-06-09', '4', 'Mauritania', '', '5', '', 0, '30046', '', '', '', '', '56', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 1, '2025-06-09 13:34:46', '2025-06-09 01:34:52'),
(30047, '', 10108, 10063, 20047, 1089, 94, 8, '2025-06-11', '4', 'Mauritania', '', '5', '', 0, '30047', '', '', '', '', '56', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'PN', 'sales', 'N', 0, 'Y', 1, 1, '2025-06-11 10:35:41', '2025-06-11 10:35:41'),
(30048, '', 10122, 10066, 20049, 1096, 103, 4, '2025-06-24', '2', 'P.O Box \r\n , Mauritania', '', '1', '', 0, '30048', '', '', '', '', '12', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-06-24 11:23:43', '2025-06-24 11:23:48'),
(30049, '', 10127, 10069, 20051, 1086, 86, 4, '2025-06-26', '2', 'PBU-A01,\r\nDubai Production City\r\nP.O Box 485004\r\nDubai , United Arab Emirates', 'Wise Concepts Fz LLC\r\nPBU-A01,\r\nDubai Production City\r\nDubai, United Arab Emirates', '1', '', 0, '30049', '', '', '', '', '12', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 1, '2025-06-26 10:00:18', '2025-06-26 10:01:00'),
(30050, '', 10134, 10070, 20053, 1001, 1, 4, '2025-06-27', '2', 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', 'Abu Dhabi Autonomous Systems Investments LLC\r\nTawazun Industrial Park,\r\nAl Ajban\r\nAbu Dhabi\r\nPO Box : -\r\nUnited Arab Emirates', '1', '', 0, '30050', '', '', '', '', '1001', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-06-27 15:20:29', '2025-06-27 03:21:11'),
(30051, '', 10136, 10071, 20055, 1089, 94, 4, '2025-06-27', '2', 'United Arab Emirates', 'UAE', '1', '', 0, '30051', '', '', '', '', '1234', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-06-27 16:20:45', '2025-06-27 04:21:50'),
(30052, '', 10124, 10068, 20056, 1096, 103, 4, '2025-06-27', '2', 'United Arab Emirates', 'UAE', '1', '', 0, '30052', '', '', '', '', '12345', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 1, '2025-06-27 16:37:40', '2025-06-27 04:37:56'),
(30053, '', 10120, 10065, 20052, 1002, 2, 8, '2025-06-30', '2', 'Abu Dhabi, P.O Box : 2723\r\n- - United Arab Emirates', '', '5', '', 0, '30053', '', '', '', '', '1', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'PN', 'sales', 'N', 0, 'Y', 1, 1, '2025-06-30 08:50:08', '2025-06-30 08:50:08'),
(30054, '', 10138, 10072, 20057, 1007, 7, 4, '2025-06-30', '2', 'Sharjah, P.O Box : -\r\n- - United Arab Emirates', 'AK Flightcases LLC\r\nIndustrial Area 4\r\nSharjah\r\nPO Box : -\r\nUnited Arab Emirates', '1', '', 0, '30054', '', '', '', '', '1234', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 8, 8, '2025-06-30 08:51:01', '2025-06-30 08:51:32'),
(30055, '', 10007, 10005, 20007, 1020, 20, 8, '2025-06-30', '6', 'Dubai , P.O Box : 30323 \r\n- - United Arab Emirates', '', '1', '', 0, '30055', '', '', '', '', '1234', '', '', '', 0, '', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 0, 'Y', 1, 8, '2025-06-30 08:51:57', '2025-06-30 11:33:11'),
(30056, '', 10107, 10062, 20058, 1089, 94, 8, '2025-06-30', '2', 'Mauritania', '', '5', '', 0, '30056', '', '', '', '', '123', 'Test', 'Test', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 10, 'Y', 8, 8, '2025-06-30 11:23:58', '2025-06-30 11:24:14'),
(30057, '', 10106, 10061, 20059, 1089, 94, 8, '2025-06-30', '2', 'Mauritania', '', '5', '', 0, '30057', '', '', '', '', '112', 'Test', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'PN', 'sales', 'N', 1, 'Y', 8, 8, '2025-06-30 11:31:54', '2025-06-30 11:31:54'),
(30058, '', 10075, 10041, 20054, 1001, 1, 8, '2025-07-01', '2', 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', 'Abu Dhabi Autonomous Systems Investments LLC\r\nTawazun Industrial Park,\r\nAl Ajban\r\nAbu Dhabi\r\nPO Box : -\r\nUnited Arab Emirates', '1', '', 0, '30058', '', '', '', '', '111', '45345', '12333', '', 0, '123', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 10, 'Y', 8, 8, '2025-07-01 10:51:47', '2025-07-01 10:52:02'),
(30059, '', 10148, 10073, 20060, 1001, 1, 4, '2025-07-01', '2', 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '', '1', '', 0, '30059', '', '', '', '', '444', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 1, 'Y', 8, 8, '2025-07-01 11:40:29', '2025-07-01 11:40:38'),
(30060, '', 10149, 10074, 20061, 1001, 1, 4, '2025-07-01', '2', 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '', '1', '', 0, '30060', '', '', '', '', '545445', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 1, 'Y', 8, 8, '2025-07-01 13:41:59', '2025-07-01 01:42:03'),
(30061, '', 10150, 10075, 20062, 1001, 1, 4, '2025-07-01', '2', 'Abu Dhabi, P.O Box : 109667\r\n- - United Arab Emirates', '', '1', '', 0, '30061', '', '', '', '', '45554', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 1, 'Y', 8, 8, '2025-07-01 13:48:30', '2025-07-01 01:48:38'),
(30062, '', 10123, 10067, 20050, 1019, 19, 4, '2025-07-22', '2', 'The Meydan Hotel Grandstand,\r\n6th Floor Meydan Road,\r\nNad Al Sheba\r\nP.O Box -\r\nDubai , United Arab Emirates', '', '1', '', 0, '30062', '', '', '', '', 'O10067', 'remarks', 'notes', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 1, 'Y', 1, 1, '2025-07-22 14:50:09', '2025-07-22 02:53:02'),
(30063, '', 10154, 10077, 20063, 1100, 107, 13, '2025-09-22', '2', 'United Arab Emirates', '', '1', '', 0, '30063', '', '', '', '', '1', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 1, 'Y', 13, 13, '2025-09-22 23:12:34', '2025-09-22 11:20:56'),
(30064, '', 10158, 10080, 20066, 1099, 106, 13, '2025-09-24', '2', 'United Arab Emirates', '', '1', '', 0, '30064', '', '', '', '', 'Ab002', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'sales', 'Y', 1, 'Y', 13, 13, '2025-09-24 11:30:13', '2025-09-24 11:31:17'),
(30065, '', 10162, 10081, 20067, 1099, 106, 4, '2025-10-06', '2', 'P.O Box \r\n , United Arab Emirates', '', '1', '', 0, '30065', '', '', '', '', 'service', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'service', 'Y', 1, 'Y', 1, 1, '2025-10-06 17:29:06', '2025-10-06 06:00:33'),
(30066, '', 10163, 10082, 20068, 1099, 106, 4, '2025-10-07', '2', 'United Arab Emirates', '', '1', '', 0, '30066', '', '', '', '', '1', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'service', 'Y', 1, 'Y', 1, 1, '2025-10-07 15:19:29', '2025-10-07 15:19:29'),
(30067, '', 10165, 10082, 20069, 1099, 106, 4, '2025-10-07', '2', 'United Arab Emirates', '', '1', '', 0, '30067', '', '', '', '', '1', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'service', 'Y', 1, 'Y', 1, 1, '2025-10-07 15:28:21', '2025-10-07 15:28:21'),
(30068, '', 10166, 10082, 20070, 1099, 106, 4, '2025-10-07', '2', 'United Arab Emirates', '', '1', '', 0, '30068', '', '', '', '', '1', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'service', 'Y', 1, 'Y', 1, 1, '2025-10-07 15:41:22', '2025-10-07 15:41:22'),
(30069, '', 10167, 10082, 20071, 1099, 106, 4, '2025-10-07', '2', 'United Arab Emirates', '', '1', '', 0, '30069', '', '', '', '', '1', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'service', 'Y', 1, 'Y', 1, 1, '2025-10-07 15:42:09', '2025-10-07 15:42:09'),
(30070, '', 10168, 10082, 20072, 1099, 106, 4, '2025-10-07', '2', 'United Arab Emirates', '', '1', '', 0, '30070', '', '', '', '', '1', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'service', 'Y', 1, 'Y', 1, 1, '2025-10-07 15:46:08', '2025-10-07 15:46:08'),
(30071, '', 10106, 10061, 20059, 1089, 94, 8, '2025-10-07', '2', 'Mauritania', '', '5', '', 0, '30071', '', '', '', '', '112', 'Test', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'PN', 'sales', 'N', 1, 'Y', 1, 1, '2025-10-07 15:47:57', '2025-10-07 15:47:57'),
(30072, '', 10037, 10013, 20012, 1070, 70, 8, '2025-10-07', '6', 'Dubai, P.O Box : -\r\n- - United Arab Emirates', '', '1', '', 0, '30072', '', '', '', '', 'LPO 1111', '', '', '', 0, '', 'S', 'N', 'N', '', 'PN', 'sales', 'N', 1, 'Y', 1, 1, '2025-10-07 15:48:35', '2025-10-07 15:48:35'),
(30073, '', 10169, 10082, 20073, 1099, 106, 4, '2025-10-07', '2', 'United Arab Emirates', '', '1', '', 0, '30073', '', '', '', '', '1', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'service', 'Y', 1, 'Y', 1, 1, '2025-10-07 15:49:27', '2025-10-07 15:49:27'),
(30074, '', 10170, 10082, 20074, 1099, 106, 4, '2025-10-07', '2', 'United Arab Emirates', '', '1', '', 0, '30074', '', '', '', '', '1', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'PN', 'sales', 'Y', 1, 'Y', 1, 1, '2025-10-07 15:58:18', '2025-10-07 15:58:18'),
(30075, '', 10007, 10005, 20007, 1020, 20, 8, '2025-10-07', '6', 'Dubai , P.O Box : 30323 \r\n- - United Arab Emirates', '', '1', '', 0, '30075', '', '', '', '', '1234', '', '', '', 0, '', 'S', 'N', 'N', '', 'PN', 'sales', 'N', 1, 'Y', 1, 1, '2025-10-07 15:59:09', '2025-10-07 15:59:09'),
(30076, '', 10164, 10083, 20075, 1099, 106, 4, '2025-10-07', '2', 'United Arab Emirates', '', '1', '', 0, '30076', '', '', '', '', '1111', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'service', 'Y', 1, 'Y', 1, 1, '2025-10-07 16:02:14', '2025-10-07 16:02:14'),
(30077, '', 10171, 10083, 20077, 1099, 106, 4, '2025-10-07', '2', 'United Arab Emirates', '', '1', '', 0, '30077', '', '', '', '', '1111', '', '', '', 1, 'Sales Terms and Conditions come here', 'S', 'N', 'N', '', 'CL', 'service', 'Y', 1, 'Y', 1, 1, '2025-10-07 16:03:28', '2025-10-07 16:03:28');

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

--
-- Table structure for table `erp_demo_item_details`
--

CREATE TABLE `erp_demo_item_details` (
  `id` int(11) NOT NULL,
  `demo_monitoring_id` int(11) NOT NULL COMMENT 'foreign key to material receipt table',
  `product_id` int(11) NOT NULL,
  `part_number` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `item_serial_no` varchar(255) NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `unit` varchar(20) NOT NULL,
  `picked_qty` decimal(15,3) NOT NULL,
  `item_return_date` date NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_demo_item_details_return`
--

CREATE TABLE `erp_demo_item_details_return` (
  `id` int(11) NOT NULL,
  `demo_item_id` int(11) NOT NULL,
  `return_qty` decimal(15,3) NOT NULL,
  `return_date` date NOT NULL,
  `serial_no` varchar(30) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_demo_item_general`
--

CREATE TABLE `erp_demo_item_general` (
  `id` int(11) NOT NULL,
  `crm_user_id` int(11) NOT NULL,
  `item_issue_date` date NOT NULL,
  `item_return_date` datetime NOT NULL,
  `notes` text NOT NULL,
  `terms_conditions` text NOT NULL,
  `is_active` enum('Y','N') NOT NULL DEFAULT 'Y',
  `reference` varchar(255) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `connected_file` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_dining_table`
--

CREATE TABLE `erp_dining_table` (
  `id` int(11) NOT NULL,
  `code` varchar(2) NOT NULL,
  `seat` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_direct_invoice`
--

CREATE TABLE `erp_direct_invoice` (
  `id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `contact_id` int(11) NOT NULL,
  `file_id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `lead_owner_id` int(11) NOT NULL,
  `invoice_date` date NOT NULL,
  `custom_invoice_no` varchar(255) NOT NULL,
  `sales_group_id` int(11) NOT NULL,
  `reference` varchar(255) NOT NULL,
  `notes` text NOT NULL,
  `terms_id` int(11) NOT NULL,
  `remarks` text NOT NULL,
  `grand_total` decimal(15,4) NOT NULL,
  `invoice_type` int(11) NOT NULL,
  `total_tax_amount` decimal(15,4) NOT NULL,
  `currency_id` int(11) NOT NULL,
  `exchange_rate` float NOT NULL,
  `payment_terms` varchar(255) NOT NULL,
  `payment_type` int(11) NOT NULL,
  `card_num` varchar(20) NOT NULL,
  `phone` varchar(25) NOT NULL,
  `billing_address` text NOT NULL,
  `terms_and_conditions` text NOT NULL,
  `posted` enum('Y','N') NOT NULL DEFAULT 'N',
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL,
  `invoice_status` int(11) NOT NULL,
  `total_discount_amount` decimal(15,6) NOT NULL,
  `total_discount_percentage` decimal(15,6) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_direct_invoice_addition`
--

CREATE TABLE `erp_direct_invoice_addition` (
  `id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `particular` varchar(255) NOT NULL,
  `particular_value` varchar(50) NOT NULL,
  `calculated_value` decimal(15,4) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_direct_invoice_deduction`
--

CREATE TABLE `erp_direct_invoice_deduction` (
  `id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `particular` varchar(255) NOT NULL,
  `particular_value` varchar(50) NOT NULL,
  `calculated_value` decimal(15,4) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_direct_invoice_item`
--

CREATE TABLE `erp_direct_invoice_item` (
  `id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `description` text NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `unit_id` int(11) NOT NULL,
  `rate` decimal(15,6) NOT NULL,
  `deduction_amount` decimal(15,4) NOT NULL,
  `amount` decimal(15,4) NOT NULL,
  `tax_vat_percentage` decimal(15,2) NOT NULL,
  `tax_vat_amount` decimal(15,4) NOT NULL,
  `net_amount` decimal(15,6) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_direct_purchase_invoice`
--

CREATE TABLE `erp_direct_purchase_invoice` (
  `id` int(11) NOT NULL,
  `vendor_id` int(11) NOT NULL,
  `invoice_no` varchar(255) NOT NULL,
  `invoice_date` date NOT NULL,
  `payment_date` date NOT NULL,
  `grand_total` decimal(15,4) NOT NULL,
  `invoice_type` int(11) NOT NULL,
  `total_tax_amount` decimal(15,4) NOT NULL,
  `currency_id` int(11) NOT NULL,
  `exchange_rate` float NOT NULL,
  `payment_terms` varchar(255) NOT NULL,
  `posted` enum('Y','N') NOT NULL DEFAULT 'N',
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_direct_purchase_invoice_addition`
--

CREATE TABLE `erp_direct_purchase_invoice_addition` (
  `id` int(11) NOT NULL,
  `purchasing_invoice_id` int(11) NOT NULL,
  `particular` varchar(255) NOT NULL,
  `particular_value` varchar(50) NOT NULL,
  `calculated_value` decimal(15,4) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_direct_purchase_invoice_deduction`
--

CREATE TABLE `erp_direct_purchase_invoice_deduction` (
  `id` int(11) NOT NULL,
  `purchasing_invoice_id` int(11) NOT NULL,
  `particular` varchar(255) NOT NULL,
  `particular_value` varchar(50) NOT NULL,
  `calculated_value` decimal(15,4) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_direct_purchase_invoice_item`
--

CREATE TABLE `erp_direct_purchase_invoice_item` (
  `id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `purchasing_invoice_id` int(11) NOT NULL,
  `description` text NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `unit` varchar(255) NOT NULL,
  `rate` decimal(15,6) NOT NULL,
  `amount` decimal(15,4) NOT NULL,
  `tax_percentage` decimal(15,2) NOT NULL,
  `tax_amount` decimal(15,4) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_document`
--

CREATE TABLE `erp_document` (
  `id` int(11) NOT NULL,
  `file_id` int(11) NOT NULL,
  `document_name` text NOT NULL,
  `document_actual_file_name` text NOT NULL,
  `uploaded_from` enum('L','Q','O','P_R','P_E','P_O','M_R','P_I','C','B_M','PR_O','G_I','G_R','P_C','I_GI','I_GR','I','ACC') NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_document`
--

INSERT INTO `erp_document` (`id`, `file_id`, `document_name`, `document_actual_file_name`, `uploaded_from`, `isActive`, `created_by`, `updated_by`, `created_datetime`, `updated_datetime`) VALUES
(1, 10002, 'dummy  2   1 .pdf', '', 'L', 'Y', 8, 0, '2025-05-06 04:26:07', '0000-00-00 00:00:00'),
(2, 10002, 'Ramfoam Logo.jpg', '', 'L', 'Y', 8, 0, '2025-05-06 04:31:59', '0000-00-00 00:00:00'),
(3, 10002, 'dummy  2   1   3 99.pdf', '', 'L', 'Y', 8, 0, '2025-05-06 05:20:17', '0000-00-00 00:00:00'),
(4, 10001, 'dummy  2   1   3 76.pdf', '', 'P_E', 'Y', 8, 0, '2025-05-06 05:21:27', '0000-00-00 00:00:00'),
(5, 10001, 'dummy  2   1   3 61.pdf', '', 'P_E', 'Y', 8, 0, '2025-05-07 07:43:57', '0000-00-00 00:00:00'),
(7, 10089, 'image  1 .png', '', 'Q', 'Y', 8, 0, '2025-06-05 12:25:48', '0000-00-00 00:00:00'),
(62, 10124, '2025-06-30-basic-text.pdf', '', 'I', 'Y', 1, 0, '2025-06-30 11:31:19', '0000-00-00 00:00:00'),
(65, 10157, '2025-09-24-Screenshot 2025-02-24 172136.png', '', 'Q', 'Y', 13, 0, '2025-09-24 11:47:11', '0000-00-00 00:00:00'),
(57, 10034, 'basic-text24.pdf', '', 'P_E', 'Y', 8, 0, '2025-07-02 09:15:36', '0000-00-00 00:00:00'),
(64, 10153, '2025-09-24-Screenshot 2025-02-24 172136.png', '', 'L', 'Y', 13, 0, '2025-09-24 11:43:46', '0000-00-00 00:00:00'),
(56, 10123, '2025-06-26-Screenshot 2025-02-25 131627.png', '', 'O', 'Y', 8, 0, '2025-06-26 01:51:00', '0000-00-00 00:00:00'),
(55, 10124, '2025-06-26-Screenshot 2025-02-24 172136.png', '', 'Q', 'Y', 8, 0, '2025-06-26 01:49:11', '0000-00-00 00:00:00'),
(54, 10119, '2025-06-26-Screenshot 2025-02-24 172136.png', '', 'L', 'Y', 8, 0, '2025-06-26 01:40:07', '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_employee_rate`
--

CREATE TABLE `erp_employee_rate` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `kilogram` float NOT NULL,
  `rate` decimal(10,2) NOT NULL,
  `rate_type` varchar(255) NOT NULL,
  `rate_date` date NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_file_note`
--

CREATE TABLE `erp_file_note` (
  `id` int(11) NOT NULL,
  `crm_user_id` int(11) NOT NULL,
  `customer_vendor_id` int(11) NOT NULL,
  `customer_vendor_type` int(11) NOT NULL COMMENT '1-customer,2-vendor',
  `contact_id` int(11) NOT NULL,
  `file_id` int(11) DEFAULT NULL,
  `file_note_from` int(11) NOT NULL COMMENT '1-purchase,2-sale,3-customer,4-vendor,5-customer contact,6-vendor contact',
  `notes` text NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_fixed_asset_depreciation`
--

CREATE TABLE `erp_fixed_asset_depreciation` (
  `id` int(11) NOT NULL,
  `fixed_asset_register` int(10) UNSIGNED DEFAULT NULL,
  `fixed_asset_type` int(11) NOT NULL,
  `depreciated_date` date NOT NULL,
  `depreciated_by` double NOT NULL,
  `depreciation_amount` decimal(15,2) NOT NULL,
  `updated_at` date NOT NULL,
  `created_at` date NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `month` int(11) NOT NULL,
  `date_to` date NOT NULL,
  `date_from` date NOT NULL,
  `current_book_value` double NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_fixed_asset_depreciation`
--

INSERT INTO `erp_fixed_asset_depreciation` (`id`, `fixed_asset_register`, `fixed_asset_type`, `depreciated_date`, `depreciated_by`, `depreciation_amount`, `updated_at`, `created_at`, `updated_by`, `updated_date_time`, `isActive`, `month`, `date_to`, `date_from`, `current_book_value`) VALUES
(181, 2, 0, '2025-03-15', 0, 750.00, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(182, 2, 0, '2025-04-15', 0, 750.00, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(183, 2, 0, '2025-05-15', 0, 750.00, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(184, 2, 0, '2025-06-15', 0, 750.00, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(185, 2, 0, '2025-07-15', 0, 750.00, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(241, 3, 0, '2025-04-11', 0, 277.78, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(242, 3, 0, '2025-05-11', 0, 277.78, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(243, 3, 0, '2025-06-11', 0, 277.78, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(244, 3, 0, '2025-07-11', 0, 277.78, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(245, 3, 0, '2025-08-11', 0, 277.78, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(277, 4, 0, '2025-07-31', 0, 161.46, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(278, 4, 0, '2025-08-31', 0, 161.46, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(877, 7, 0, '2025-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(878, 7, 0, '2025-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(879, 7, 0, '2025-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(880, 7, 0, '2025-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(881, 7, 0, '2026-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(882, 7, 0, '2026-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(883, 7, 0, '2026-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(884, 7, 0, '2026-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(885, 7, 0, '2026-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(886, 7, 0, '2026-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(887, 7, 0, '2026-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(888, 7, 0, '2026-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(889, 7, 0, '2026-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(890, 7, 0, '2026-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(891, 7, 0, '2026-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(892, 7, 0, '2026-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(893, 7, 0, '2027-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(894, 7, 0, '2027-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(895, 7, 0, '2027-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(896, 7, 0, '2027-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(897, 7, 0, '2027-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(898, 7, 0, '2027-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(899, 7, 0, '2027-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(900, 7, 0, '2027-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(901, 7, 0, '2027-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(902, 7, 0, '2027-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(903, 7, 0, '2027-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(904, 7, 0, '2027-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(905, 7, 0, '2028-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(906, 7, 0, '2028-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(907, 7, 0, '2028-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(908, 7, 0, '2028-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(909, 7, 0, '2028-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(910, 7, 0, '2028-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(911, 7, 0, '2028-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(912, 7, 0, '2028-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(913, 7, 0, '2028-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(914, 7, 0, '2028-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(915, 7, 0, '2028-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(916, 7, 0, '2028-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(917, 7, 0, '2029-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(918, 7, 0, '2029-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(919, 7, 0, '2029-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(920, 7, 0, '2029-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(921, 7, 0, '2029-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(922, 7, 0, '2029-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(923, 7, 0, '2029-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(924, 7, 0, '2029-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(925, 7, 0, '2029-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(926, 7, 0, '2029-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(927, 7, 0, '2029-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(928, 7, 0, '2029-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(929, 7, 0, '2030-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(930, 7, 0, '2030-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(931, 7, 0, '2030-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(932, 7, 0, '2030-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(933, 7, 0, '2030-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(934, 7, 0, '2030-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(935, 7, 0, '2030-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(936, 7, 0, '2030-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(937, 7, 0, '2030-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(938, 7, 0, '2030-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(939, 7, 0, '2030-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(940, 7, 0, '2030-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(941, 7, 0, '2031-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(942, 7, 0, '2031-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(943, 7, 0, '2031-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(944, 7, 0, '2031-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(945, 7, 0, '2031-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(946, 7, 0, '2031-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(947, 7, 0, '2031-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(948, 7, 0, '2031-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(949, 7, 0, '2031-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(950, 7, 0, '2031-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(951, 7, 0, '2031-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(952, 7, 0, '2031-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(953, 7, 0, '2032-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(954, 7, 0, '2032-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(955, 7, 0, '2032-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(956, 7, 0, '2032-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(957, 7, 0, '2032-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(958, 7, 0, '2032-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(959, 7, 0, '2032-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(960, 7, 0, '2032-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(961, 7, 0, '2032-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(962, 7, 0, '2032-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(963, 7, 0, '2032-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(964, 7, 0, '2032-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(965, 7, 0, '2033-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(966, 7, 0, '2033-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(967, 7, 0, '2033-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(968, 7, 0, '2033-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(969, 7, 0, '2033-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(970, 7, 0, '2033-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(971, 7, 0, '2033-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(972, 7, 0, '2033-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(973, 7, 0, '2033-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(974, 7, 0, '2033-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(975, 7, 0, '2033-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(976, 7, 0, '2033-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(977, 7, 0, '2034-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(978, 7, 0, '2034-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(979, 7, 0, '2034-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(980, 7, 0, '2034-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(981, 7, 0, '2034-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(982, 7, 0, '2034-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(983, 7, 0, '2034-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(984, 7, 0, '2034-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(985, 7, 0, '2034-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(986, 7, 0, '2034-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(987, 7, 0, '2034-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(988, 7, 0, '2034-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(989, 7, 0, '2035-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(990, 7, 0, '2035-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(991, 7, 0, '2035-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(992, 7, 0, '2035-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(993, 7, 0, '2035-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(994, 7, 0, '2035-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(995, 7, 0, '2035-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(996, 7, 0, '2035-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(997, 7, 0, '2035-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(998, 7, 0, '2035-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(999, 7, 0, '2035-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1000, 7, 0, '2035-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1001, 7, 0, '2036-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1002, 7, 0, '2036-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1003, 7, 0, '2036-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1004, 7, 0, '2036-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1005, 7, 0, '2036-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1006, 7, 0, '2036-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1007, 7, 0, '2036-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1008, 7, 0, '2036-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1009, 7, 0, '2036-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1010, 7, 0, '2036-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1011, 7, 0, '2036-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1012, 7, 0, '2036-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1013, 7, 0, '2037-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1014, 7, 0, '2037-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1015, 7, 0, '2037-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1016, 7, 0, '2037-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1017, 7, 0, '2037-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1018, 7, 0, '2037-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1019, 7, 0, '2037-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1020, 7, 0, '2037-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1021, 7, 0, '2037-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1022, 7, 0, '2037-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1023, 7, 0, '2037-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1024, 7, 0, '2037-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1025, 7, 0, '2038-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1026, 7, 0, '2038-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1027, 7, 0, '2038-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1028, 7, 0, '2038-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1029, 7, 0, '2038-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1030, 7, 0, '2038-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1031, 7, 0, '2038-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1032, 7, 0, '2038-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1033, 7, 0, '2038-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1034, 7, 0, '2038-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1035, 7, 0, '2038-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1036, 7, 0, '2038-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1037, 7, 0, '2039-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1038, 7, 0, '2039-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1039, 7, 0, '2039-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1040, 7, 0, '2039-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1041, 7, 0, '2039-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1042, 7, 0, '2039-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1043, 7, 0, '2039-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1044, 7, 0, '2039-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1045, 7, 0, '2039-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1046, 7, 0, '2039-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1047, 7, 0, '2039-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1048, 7, 0, '2039-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1049, 7, 0, '2040-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1050, 7, 0, '2040-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1051, 7, 0, '2040-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1052, 7, 0, '2040-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1053, 7, 0, '2040-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1054, 7, 0, '2040-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1055, 7, 0, '2040-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1056, 7, 0, '2040-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1057, 7, 0, '2040-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1058, 7, 0, '2040-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1059, 7, 0, '2040-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1060, 7, 0, '2040-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1061, 7, 0, '2041-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1062, 7, 0, '2041-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1063, 7, 0, '2041-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1064, 7, 0, '2041-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1065, 7, 0, '2041-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1066, 7, 0, '2041-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1067, 7, 0, '2041-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1068, 7, 0, '2041-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1069, 7, 0, '2041-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1070, 7, 0, '2041-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1071, 7, 0, '2041-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1072, 7, 0, '2041-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1073, 7, 0, '2042-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1074, 7, 0, '2042-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1075, 7, 0, '2042-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1076, 7, 0, '2042-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1077, 7, 0, '2042-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1078, 7, 0, '2042-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1079, 7, 0, '2042-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1080, 7, 0, '2042-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1081, 7, 0, '2042-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1082, 7, 0, '2042-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1083, 7, 0, '2042-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1084, 7, 0, '2042-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1085, 7, 0, '2043-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1086, 7, 0, '2043-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1087, 7, 0, '2043-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1088, 7, 0, '2043-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1089, 7, 0, '2043-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1090, 7, 0, '2043-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1091, 7, 0, '2043-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1092, 7, 0, '2043-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1093, 7, 0, '2043-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1094, 7, 0, '2043-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1095, 7, 0, '2043-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1096, 7, 0, '2043-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1097, 7, 0, '2044-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1098, 7, 0, '2044-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1099, 7, 0, '2044-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1100, 7, 0, '2044-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1101, 7, 0, '2044-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1102, 7, 0, '2044-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1103, 7, 0, '2044-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1104, 7, 0, '2044-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1105, 7, 0, '2044-09-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1106, 7, 0, '2044-10-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1107, 7, 0, '2044-11-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1108, 7, 0, '2044-12-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1109, 7, 0, '2045-01-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1110, 7, 0, '2045-02-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1111, 7, 0, '2045-03-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1112, 7, 0, '2045-04-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1113, 7, 0, '2045-05-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1114, 7, 0, '2045-06-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1115, 7, 0, '2045-07-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1116, 7, 0, '2045-08-03', 0, 187.50, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1117, 8, 0, '2025-05-09', 0, 236.11, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1118, 8, 0, '2025-06-09', 0, 236.11, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1119, 8, 0, '2025-07-09', 0, 236.11, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1120, 8, 0, '2025-08-09', 0, 236.11, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1154, 9, 0, '2025-09-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1155, 9, 0, '2025-10-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1156, 9, 0, '2025-11-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1157, 9, 0, '2025-12-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1158, 9, 0, '2026-01-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1159, 9, 0, '2026-02-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1160, 9, 0, '2026-03-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1161, 9, 0, '2026-04-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1162, 9, 0, '2026-05-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1163, 9, 0, '2026-06-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1164, 9, 0, '2026-07-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1165, 9, 0, '2026-08-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1166, 9, 0, '2026-09-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1167, 9, 0, '2026-10-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1168, 9, 0, '2026-11-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1169, 9, 0, '2026-12-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1170, 9, 0, '2027-01-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1171, 9, 0, '2027-02-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1172, 9, 0, '2027-03-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1173, 9, 0, '2027-04-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1174, 9, 0, '2027-05-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1175, 9, 0, '2027-06-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1176, 9, 0, '2027-07-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1177, 9, 0, '2027-08-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1178, 9, 0, '2027-09-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1179, 9, 0, '2027-10-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1180, 9, 0, '2027-11-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1181, 9, 0, '2027-12-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1182, 9, 0, '2028-01-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1183, 9, 0, '2028-02-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1184, 9, 0, '2028-03-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1185, 9, 0, '2028-04-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1186, 9, 0, '2028-05-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1187, 9, 0, '2028-06-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1188, 9, 0, '2028-07-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1189, 9, 0, '2028-08-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1190, 9, 0, '2028-09-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1191, 9, 0, '2028-10-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1192, 9, 0, '2028-11-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1193, 9, 0, '2028-12-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1194, 9, 0, '2029-01-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1195, 9, 0, '2029-02-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1196, 9, 0, '2029-03-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1197, 9, 0, '2029-04-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1198, 9, 0, '2029-05-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1199, 9, 0, '2029-06-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1200, 9, 0, '2029-07-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1201, 9, 0, '2029-08-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1202, 9, 0, '2029-09-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1203, 9, 0, '2029-10-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1204, 9, 0, '2029-11-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1205, 9, 0, '2029-12-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1206, 9, 0, '2030-01-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1207, 9, 0, '2030-02-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1208, 9, 0, '2030-03-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1209, 9, 0, '2030-04-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1210, 9, 0, '2030-05-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1211, 9, 0, '2030-06-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1212, 9, 0, '2030-07-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1213, 9, 0, '2030-08-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1214, 9, 0, '2030-09-03', 0, 8333.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1336, 6, 0, '2025-09-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1337, 6, 0, '2025-10-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1338, 6, 0, '2025-11-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1339, 6, 0, '2025-12-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1340, 6, 0, '2026-01-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1341, 6, 0, '2026-02-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1342, 6, 0, '2026-03-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1343, 6, 0, '2026-04-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1344, 6, 0, '2026-05-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1345, 6, 0, '2026-06-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1346, 6, 0, '2026-07-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1347, 6, 0, '2026-08-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1348, 6, 0, '2026-09-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1349, 6, 0, '2026-10-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1350, 6, 0, '2026-11-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1351, 6, 0, '2026-12-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1352, 6, 0, '2027-01-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1353, 6, 0, '2027-02-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1354, 6, 0, '2027-03-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1355, 6, 0, '2027-04-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1356, 6, 0, '2027-05-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1357, 6, 0, '2027-06-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1358, 6, 0, '2027-07-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1359, 6, 0, '2027-08-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1360, 6, 0, '2027-09-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1361, 6, 0, '2027-10-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1362, 6, 0, '2027-11-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1363, 6, 0, '2027-12-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1364, 6, 0, '2028-01-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1365, 6, 0, '2028-02-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1366, 6, 0, '2028-03-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1367, 6, 0, '2028-04-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1368, 6, 0, '2028-05-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1369, 6, 0, '2028-06-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1370, 6, 0, '2028-07-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1371, 6, 0, '2028-08-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1372, 6, 0, '2028-09-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1373, 6, 0, '2028-10-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1374, 6, 0, '2028-11-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1375, 6, 0, '2028-12-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1376, 6, 0, '2029-01-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1377, 6, 0, '2029-02-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1378, 6, 0, '2029-03-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1379, 6, 0, '2029-04-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1380, 6, 0, '2029-05-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1381, 6, 0, '2029-06-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1382, 6, 0, '2029-07-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1383, 6, 0, '2029-08-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1384, 6, 0, '2029-09-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1385, 6, 0, '2029-10-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1386, 6, 0, '2029-11-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1387, 6, 0, '2029-12-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1388, 6, 0, '2030-01-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1389, 6, 0, '2030-02-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1390, 6, 0, '2030-03-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1391, 6, 0, '2030-04-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1392, 6, 0, '2030-05-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1393, 6, 0, '2030-06-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1394, 6, 0, '2030-07-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1395, 6, 0, '2030-08-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1396, 6, 0, '2030-09-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1397, 6, 0, '2030-10-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1398, 6, 0, '2030-11-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1399, 6, 0, '2030-12-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1400, 6, 0, '2031-01-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0);
INSERT INTO `erp_fixed_asset_depreciation` (`id`, `fixed_asset_register`, `fixed_asset_type`, `depreciated_date`, `depreciated_by`, `depreciation_amount`, `updated_at`, `created_at`, `updated_by`, `updated_date_time`, `isActive`, `month`, `date_to`, `date_from`, `current_book_value`) VALUES
(1401, 6, 0, '2031-02-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1402, 6, 0, '2031-03-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1403, 6, 0, '2031-04-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1404, 6, 0, '2031-05-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1405, 6, 0, '2031-06-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1406, 6, 0, '2031-07-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1407, 6, 0, '2031-08-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1408, 6, 0, '2031-09-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1409, 6, 0, '2031-10-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1410, 6, 0, '2031-11-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1411, 6, 0, '2031-12-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1412, 6, 0, '2032-01-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1413, 6, 0, '2032-02-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1414, 6, 0, '2032-03-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1415, 6, 0, '2032-04-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1416, 6, 0, '2032-05-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1417, 6, 0, '2032-06-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1418, 6, 0, '2032-07-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1419, 6, 0, '2032-08-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1420, 6, 0, '2032-09-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1421, 6, 0, '2032-10-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1422, 6, 0, '2032-11-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1423, 6, 0, '2032-12-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1424, 6, 0, '2033-01-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1425, 6, 0, '2033-02-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1426, 6, 0, '2033-03-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1427, 6, 0, '2033-04-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1428, 6, 0, '2033-05-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1429, 6, 0, '2033-06-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1430, 6, 0, '2033-07-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1431, 6, 0, '2033-08-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1432, 6, 0, '2033-09-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1433, 6, 0, '2033-10-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1434, 6, 0, '2033-11-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1435, 6, 0, '2033-12-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1436, 6, 0, '2034-01-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1437, 6, 0, '2034-02-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1438, 6, 0, '2034-03-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1439, 6, 0, '2034-04-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1440, 6, 0, '2034-05-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1441, 6, 0, '2034-06-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1442, 6, 0, '2034-07-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1443, 6, 0, '2034-08-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1444, 6, 0, '2034-09-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1445, 6, 0, '2034-10-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1446, 6, 0, '2034-11-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1447, 6, 0, '2034-12-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1448, 6, 0, '2035-01-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1449, 6, 0, '2035-02-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1450, 6, 0, '2035-03-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1451, 6, 0, '2035-04-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1452, 6, 0, '2035-05-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1453, 6, 0, '2035-06-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1454, 6, 0, '2035-07-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1455, 6, 0, '2035-08-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1456, 6, 0, '2035-09-03', 0, 2083.33, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1457, 1, 0, '2025-01-02', 0, 200.00, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1458, 1, 0, '2025-02-02', 0, 200.00, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1459, 1, 0, '2025-03-02', 0, 200.00, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1460, 1, 0, '2025-04-02', 0, 200.00, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1461, 1, 0, '2025-05-02', 0, 200.00, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1462, 1, 0, '2025-06-02', 0, 200.00, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0),
(1463, 1, 0, '2025-07-02', 0, 200.00, '0000-00-00', '0000-00-00', 0, '0000-00-00 00:00:00', 'Y', 0, '0000-00-00', '0000-00-00', 0);

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

--
-- Table structure for table `erp_fixed_asset_master`
--

CREATE TABLE `erp_fixed_asset_master` (
  `id` int(11) NOT NULL,
  `starting_series_number` varchar(50) NOT NULL,
  `last_number` varchar(50) NOT NULL,
  `fixed_asset_name` varchar(50) NOT NULL,
  `description` text DEFAULT NULL,
  `depreciation_period` int(11) NOT NULL,
  `depreciating_debit_account` varchar(50) NOT NULL,
  `depreciating_credit_account` varchar(50) NOT NULL,
  `isActive` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_date_time` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_fixed_asset_master`
--

INSERT INTO `erp_fixed_asset_master` (`id`, `starting_series_number`, `last_number`, `fixed_asset_name`, `description`, `depreciation_period`, `depreciating_debit_account`, `depreciating_credit_account`, `isActive`, `created_by`, `updated_by`, `created_date_time`, `updated_date_time`) VALUES
(1, '1200', '1202', 'Furtniture and Fixtures', 'Furniture and Fixtures', 36, '288', '288', 1, 1, 8, '2025-09-02 02:09:58', '2025-09-02 02:50:09'),
(2, '1001', '1006', 'Vehicles', 'Cars and Other Vehicles', 60, '288', '288', 1, 8, NULL, '2025-09-02 02:49:01', NULL),
(3, '3000', '3002', 'Machiney', 'Machinery', 240, '288', '288', 1, 8, NULL, '2025-09-02 02:50:29', NULL),
(4, '5000', '', 'Test', 'Test', 120, '288', '288', 1, 8, NULL, '2025-09-03 11:21:54', NULL);

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

--
-- Table structure for table `erp_fixed_asset_register`
--

CREATE TABLE `erp_fixed_asset_register` (
  `id` int(11) NOT NULL,
  `purchase_date` date NOT NULL,
  `depreciation_start_date` date NOT NULL,
  `master_id` int(11) NOT NULL,
  `fixed_asset_no` varchar(50) NOT NULL,
  `part_no` varchar(50) NOT NULL,
  `description` text NOT NULL,
  `quantity` int(11) NOT NULL,
  `rate` decimal(15,2) NOT NULL,
  `serial_no` varchar(50) NOT NULL,
  `total_value` decimal(15,2) NOT NULL,
  `current_book_value` decimal(15,2) NOT NULL,
  `daily_depreciation` decimal(15,3) NOT NULL,
  `fixed_asset_master_number` int(11) NOT NULL,
  `fixed_asset_register_number` int(11) NOT NULL,
  `sold_amount` decimal(15,2) NOT NULL,
  `depr_last_date` date NOT NULL,
  `depr_check_date` date NOT NULL,
  `current_depr_value` decimal(15,3) NOT NULL,
  `active` enum('SO','SC','Y') NOT NULL DEFAULT 'Y' COMMENT 'SO : Sold, SC : Scrap, Y: Active',
  `notes` text NOT NULL,
  `location` varchar(255) NOT NULL,
  `posted` enum('N','Y') NOT NULL DEFAULT 'N',
  `debit_account` int(11) NOT NULL,
  `credit_account` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_fixed_asset_register`
--

INSERT INTO `erp_fixed_asset_register` (`id`, `purchase_date`, `depreciation_start_date`, `master_id`, `fixed_asset_no`, `part_no`, `description`, `quantity`, `rate`, `serial_no`, `total_value`, `current_book_value`, `daily_depreciation`, `fixed_asset_master_number`, `fixed_asset_register_number`, `sold_amount`, `depr_last_date`, `depr_check_date`, `current_depr_value`, `active`, `notes`, `location`, `posted`, `debit_account`, `credit_account`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, '2025-01-01', '2025-01-02', 2, '', '1002', 'Hyundai Exter - 14587', 1, 12000.00, '1002', 12000.00, 12000.00, 6.575, 0, 0, 5000.00, '2025-01-01', '2025-07-20', 190.675, 'SO', 'Cars and Bikes on Depreciation', 'Dubai', 'N', 288, 288, 8, '2025-09-02 03:07:00', 8, '2025-09-03 02:19:47'),
(2, '2025-01-01', '2025-01-16', 2, '', '1003', 'Maruthi Swift', 1, 45000.00, '1003', 45000.00, 45000.00, 24.658, 0, 0, 0.00, '2025-01-01', '2025-05-16', 369.870, 'SC', 'Maruthi Swift Depreciation', 'Ajman', 'N', 0, 0, 8, '2025-09-02 04:29:35', 8, '2025-09-03 02:21:20'),
(3, '2025-01-01', '2025-02-04', 1, '', '1201', 'Sofa Set', 1, 10000.00, '1201', 10000.00, 10000.00, 9.132, 0, 0, 120.00, '2025-01-01', '2028-02-04', 0.000, 'Y', 'Sofa Set Depreciation ', 'Fujarah', 'N', 288, 288, 8, '2025-09-02 04:30:29', 8, '2025-09-02 04:50:46'),
(4, '2025-01-01', '2025-01-09', 3, '', '3001', 'Printing Machine', 1, 38750.00, '3001', 38750.00, 38750.00, 5.308, 0, 0, 12000.00, '2025-01-01', '2045-01-09', 116.776, 'Y', 'Printing Machine Depreciation', 'Mexico', 'N', 288, 288, 8, '2025-09-02 04:31:40', 8, '2025-09-03 08:35:55'),
(5, '2025-01-01', '2025-02-27', 2, '', '1004', 'Range Rover', 1, 250000.00, '1004', 250000.00, 250000.00, 136.986, 0, 0, 0.00, '2025-01-01', '2030-02-27', 0.000, 'Y', 'Range Rover Depreciation', 'Kuwait', 'N', 0, 0, 8, '2025-09-02 05:17:04', 8, '2025-09-02 05:23:13'),
(6, '2025-01-01', '2025-01-30', 4, '', '5001', 'Test Item ', 1, 250000.00, '5001', 250000.00, 250000.00, 68.493, 0, 0, 250000.00, '2025-01-01', '2035-01-30', 68.493, 'Y', 'Depreciation Notes for Hycross', 'Sharjah', 'N', 288, 288, 8, '2025-09-03 07:59:27', 8, '2025-09-03 11:23:42'),
(7, '2025-01-01', '2025-02-12', 3, '', '3002', 'Cofee Machine', 1, 45000.00, '3002', 45000.00, 45000.00, 6.164, 0, 0, 0.00, '2025-01-01', '0000-00-00', 0.000, 'Y', 'Cofee Machine', 'Dubai', 'N', 0, 0, 8, '2025-09-03 08:01:51', 8, '2025-09-03 08:01:56'),
(8, '2025-01-01', '2025-01-01', 1, '', '1202', 'TV Unit ', 1, 8500.00, '1202', 8500.00, 8500.00, 7.762, 0, 0, 0.00, '2025-01-01', '2025-06-12', 232.860, 'SC', 'TV Unit ', 'Fujarah', 'N', 0, 0, 8, '2025-09-03 08:27:50', 8, '2025-09-03 10:32:43'),
(9, '2025-01-01', '2025-01-03', 2, '', '1006', 'Land Rover', 1, 500000.00, '1006', 500000.00, 500000.00, 273.973, 0, 0, 0.00, '2025-01-01', '2030-01-03', 7671.244, 'Y', 'Land Rover', 'Sharjah', 'N', 0, 0, 8, '2025-09-03 08:47:35', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_fixed_asset_register_03092025`
--

CREATE TABLE `erp_fixed_asset_register_03092025` (
  `id` int(11) NOT NULL,
  `purchase_date` date NOT NULL,
  `depreciation_start_date` date NOT NULL,
  `master_id` int(11) NOT NULL,
  `fixed_asset_no` varchar(50) NOT NULL,
  `part_no` varchar(50) NOT NULL,
  `description` text NOT NULL,
  `quantity` int(11) NOT NULL,
  `rate` decimal(15,2) NOT NULL,
  `serial_no` varchar(50) NOT NULL,
  `total_value` decimal(15,2) NOT NULL,
  `current_book_value` decimal(15,2) NOT NULL,
  `monthly_depreciation` decimal(15,2) NOT NULL,
  `daily_depreciation` decimal(15,2) NOT NULL,
  `fixed_asset_master_number` int(11) NOT NULL,
  `fixed_asset_register_number` int(11) NOT NULL,
  `sold_amount` decimal(15,2) NOT NULL,
  `inactive_date` date NOT NULL,
  `active` enum('SO','SC','Y') NOT NULL DEFAULT 'Y' COMMENT 'SO : Sold, SC : Scrap, Y: Active',
  `notes` text NOT NULL,
  `location` varchar(255) NOT NULL,
  `posted` enum('N','Y') NOT NULL DEFAULT 'N',
  `debit_account` int(11) NOT NULL,
  `credit_account` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `depr_date` date NOT NULL,
  `depr_last_date` date NOT NULL,
  `depr_check_date` date NOT NULL,
  `current_depr_value` decimal(15,2) NOT NULL,
  `depr_value` decimal(15,2) NOT NULL,
  `undepr_value` decimal(15,2) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_fixed_asset_register_03092025`
--

INSERT INTO `erp_fixed_asset_register_03092025` (`id`, `purchase_date`, `depreciation_start_date`, `master_id`, `fixed_asset_no`, `part_no`, `description`, `quantity`, `rate`, `serial_no`, `total_value`, `current_book_value`, `monthly_depreciation`, `daily_depreciation`, `fixed_asset_master_number`, `fixed_asset_register_number`, `sold_amount`, `inactive_date`, `active`, `notes`, `location`, `posted`, `debit_account`, `credit_account`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`, `isActive`, `depr_date`, `depr_last_date`, `depr_check_date`, `current_depr_value`, `depr_value`, `undepr_value`) VALUES
(1, '2025-01-01', '2025-01-02', 2, '', '1002', 'Hyundai Exter - 14587', 1, 12000.00, '1002', 12000.00, 12000.00, 200.00, 6.67, 0, 0, 5000.00, '2025-07-15', 'SO', 'Cars and Bikes on Depreciation', 'Dubai', 'N', 288, 288, 8, '2025-09-02 03:07:00', 8, '2025-09-03 02:19:47', 'Y', '2030-01-02', '2025-01-01', '2025-06-30', 0.00, 0.00, 0.00),
(2, '2025-01-01', '2025-01-16', 2, '', '1003', 'Maruthi Swift', 1, 45000.00, '1003', 45000.00, 45000.00, 750.00, 25.00, 0, 0, 0.00, '2025-08-10', 'SC', 'Maruthi Swift Depreciation', 'Ajman', 'N', 0, 0, 8, '2025-09-02 04:29:35', 8, '2025-09-03 02:21:20', 'Y', '2025-05-16', '2025-01-01', '2025-06-30', 0.00, 0.00, 0.00),
(3, '2025-01-01', '2025-02-04', 1, '', '1201', 'Sofa Set', 1, 10000.00, '1201', 10000.00, 10000.00, 277.78, 9.26, 0, 0, 120.00, '2025-09-02', 'Y', 'Sofa Set Depreciation ', 'Fujarah', 'N', 288, 288, 8, '2025-09-02 04:30:29', 8, '2025-09-02 04:50:46', 'Y', '2028-02-04', '2025-01-01', '2025-06-30', 0.00, 0.00, 0.00),
(4, '2025-01-01', '2025-01-09', 3, '', '3001', 'Printing Machine', 1, 38750.00, '3001', 38750.00, 38750.00, 161.46, 5.38, 0, 0, 12000.00, '2025-09-03', 'Y', 'Printing Machine Depreciation', 'Mexico', 'N', 288, 288, 8, '2025-09-02 04:31:40', 8, '2025-09-03 08:35:55', 'Y', '2045-01-09', '2025-01-01', '2025-06-30', 0.00, 0.00, 0.00),
(5, '2025-01-01', '2025-02-27', 2, '', '1004', 'Range Rover', 1, 250000.00, '1004', 250000.00, 250000.00, 4166.67, 138.89, 0, 0, 0.00, '2025-09-02', 'Y', 'Range Rover Depreciation', 'Kuwait', 'N', 0, 0, 8, '2025-09-02 05:17:04', 8, '2025-09-02 05:23:13', 'Y', '2030-02-27', '2025-01-01', '2025-06-30', 0.00, 0.00, 0.00),
(6, '2025-01-01', '2025-01-30', 4, '', '5001', 'Test Item ', 1, 250000.00, '5001', 250000.00, 250000.00, 2083.33, 69.44, 0, 0, 250000.00, '2025-09-03', 'Y', 'Depreciation Notes for Hycross', 'Sharjah', 'N', 288, 288, 8, '2025-09-03 07:59:27', 8, '2025-09-03 11:23:42', 'Y', '2035-01-30', '2025-01-01', '2025-06-30', 0.00, 0.00, 0.00),
(7, '2025-01-01', '2025-02-12', 3, '', '3002', 'Cofee Machine', 1, 45000.00, '3002', 45000.00, 45000.00, 187.50, 6.25, 0, 0, 0.00, '0000-00-00', 'Y', 'Cofee Machine', 'Dubai', 'N', 0, 0, 8, '2025-09-03 08:01:51', 8, '2025-09-03 08:01:56', 'Y', '2045-02-12', '2025-01-01', '2025-06-30', 0.00, 0.00, 0.00),
(8, '2025-01-01', '2025-01-01', 1, '', '1202', 'TV Unit ', 1, 8500.00, '1202', 8500.00, 8500.00, 236.11, 7.87, 0, 0, 0.00, '2025-09-03', 'SC', 'TV Unit ', 'Fujarah', 'N', 0, 0, 8, '2025-09-03 08:27:50', 8, '2025-09-03 10:32:43', 'Y', '2028-05-16', '2025-01-01', '2025-06-30', 0.00, 0.00, 0.00),
(9, '2025-01-01', '2025-01-03', 2, '', '1006', 'Land Rover', 1, 500000.00, '1006', 500000.00, 500000.00, 8333.33, 277.78, 0, 0, 0.00, '0000-00-00', 'Y', 'Land Rover', 'Sharjah', 'N', 0, 0, 8, '2025-09-03 08:47:35', 0, '0000-00-00 00:00:00', 'Y', '2025-08-30', '2025-01-01', '2025-06-30', 0.00, 0.00, 0.00);

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

--
-- Table structure for table `erp_flyers`
--

CREATE TABLE `erp_flyers` (
  `id` int(11) NOT NULL,
  `title` varchar(400) NOT NULL,
  `isActive` enum('Y','N') NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_flyer_bulk_send`
--

CREATE TABLE `erp_flyer_bulk_send` (
  `id` int(11) NOT NULL,
  `details` text NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_flyer_contact`
--

CREATE TABLE `erp_flyer_contact` (
  `id` int(11) NOT NULL,
  `flyer_id` int(11) NOT NULL,
  `contact_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `created_by` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_fm_technician`
--

CREATE TABLE `erp_fm_technician` (
  `id` int(11) NOT NULL,
  `technician_name` varchar(255) NOT NULL,
  `technician_type` int(11) NOT NULL,
  `mobile_no` varchar(255) NOT NULL,
  `unit_hour_rate` decimal(15,2) NOT NULL,
  `remarks` text NOT NULL,
  `sort_order` int(11) NOT NULL,
  `is_active` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_appraisal`
--

CREATE TABLE `erp_hr_appraisal` (
  `id` int(11) NOT NULL,
  `function_type` int(11) NOT NULL,
  `max_level` int(11) NOT NULL,
  `last_approved_level` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `department_id` int(11) NOT NULL,
  `appraisal_for` varchar(700) NOT NULL,
  `appraisal_description` text NOT NULL,
  `approve_level1_id` int(11) NOT NULL,
  `approve_level1_date` date NOT NULL,
  `approve_level1_comment` text NOT NULL,
  `approve_level2_id` int(11) NOT NULL,
  `approve_level2_date` date NOT NULL,
  `approve_level2_comment` text NOT NULL,
  `approve_level3_id` int(11) NOT NULL,
  `approve_level3_date` date NOT NULL,
  `approve_level3_comment` text NOT NULL,
  `approve_level4_id` int(11) NOT NULL,
  `approve_level4_date` date NOT NULL,
  `approve_level4_comment` text NOT NULL,
  `approve_level5_id` int(11) NOT NULL,
  `approve_level5_date` date NOT NULL,
  `approve_level5_comment` text NOT NULL,
  `approved_by` int(11) NOT NULL,
  `approved_date` date NOT NULL,
  `approval_comment` text NOT NULL,
  `approve_question_level1_id` int(11) NOT NULL,
  `approve_question_level1_date` date NOT NULL,
  `approve_question_level2_id` int(11) NOT NULL,
  `approve_question_level2_date` date NOT NULL,
  `revert_comment` text NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 0,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_appraisal`
--

INSERT INTO `erp_hr_appraisal` (`id`, `function_type`, `max_level`, `last_approved_level`, `employee_id`, `department_id`, `appraisal_for`, `appraisal_description`, `approve_level1_id`, `approve_level1_date`, `approve_level1_comment`, `approve_level2_id`, `approve_level2_date`, `approve_level2_comment`, `approve_level3_id`, `approve_level3_date`, `approve_level3_comment`, `approve_level4_id`, `approve_level4_date`, `approve_level4_comment`, `approve_level5_id`, `approve_level5_date`, `approve_level5_comment`, `approved_by`, `approved_date`, `approval_comment`, `approve_question_level1_id`, `approve_question_level1_date`, `approve_question_level2_id`, `approve_question_level2_date`, `revert_comment`, `status`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 5, 2, 2, 1, 0, 'year-2024', 'tests', 1, '2025-06-26', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 2, '2025-06-26', '', 0, '0000-00-00', 0, '0000-00-00', '', 12, 8, '2025-06-20 14:23:13', 11, '2025-06-26 14:07:45');

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

--
-- Table structure for table `erp_hr_appraisal_analysis`
--

CREATE TABLE `erp_hr_appraisal_analysis` (
  `id` int(11) NOT NULL,
  `appraisal_id` int(11) NOT NULL,
  `appraisal_type` int(11) NOT NULL COMMENT 'primary key of hr_mas_appraisal_type',
  `appraisal_goal` text NOT NULL,
  `question_id` int(11) NOT NULL,
  `question` text NOT NULL,
  `question_weightage` decimal(15,2) NOT NULL,
  `target_achieved_date` date NOT NULL,
  `level1_answer` text NOT NULL,
  `level1_score` int(11) NOT NULL DEFAULT 0,
  `level2_answer` text NOT NULL,
  `level2_score` int(11) NOT NULL DEFAULT 0,
  `level3_answer` text NOT NULL,
  `level3_score` int(11) NOT NULL DEFAULT 0,
  `level4_answer` text NOT NULL,
  `level4_score` int(11) NOT NULL DEFAULT 0,
  `level5_answer` text NOT NULL,
  `level5_score` int(11) NOT NULL DEFAULT 0,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_appraisal_analysis`
--

INSERT INTO `erp_hr_appraisal_analysis` (`id`, `appraisal_id`, `appraisal_type`, `appraisal_goal`, `question_id`, `question`, `question_weightage`, `target_achieved_date`, `level1_answer`, `level1_score`, `level2_answer`, `level2_score`, `level3_answer`, `level3_score`, `level4_answer`, `level4_score`, `level5_answer`, `level5_score`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`, `isActive`) VALUES
(1, 1, 1, 'Efficiency in  Gate Pass Process & AP', 1, 'Zero error in making AP using SAP system & sending to Accounts department after generating. Ensure that AP will be closed after 24hrs.', 50.00, '2025-12-31', '1', 10, '1', 10, '', 0, '', 0, '', 0, 8, '0000-00-00 00:00:00', 11, '2025-06-26 14:07:45', 'Y'),
(2, 1, 1, 'Efficiency in  Gate Pass Process & AP', 2, 'Ensure documents for gate passes are up to date before  uploading to portal and share the approved gate pass on the same day.', 50.00, '2025-12-31', '2', 10, '11', 10, '', 0, '', 0, '', 0, 8, '0000-00-00 00:00:00', 11, '2025-06-26 14:07:45', 'Y'),
(3, 1, 2, 'Accurate Inventory Control, Maintain Building Facility & Accomplish Facility Projects', 3, 'Daily routine inspection of HQ premises & Weekly visit in NH,NC,WH-UAQ & TNS premises to ensure all are well maintained.', 40.00, '2025-12-31', '3', 10, '111', 10, '', 0, '', 0, '', 0, 8, '0000-00-00 00:00:00', 11, '2025-06-26 14:07:45', 'Y'),
(4, 1, 2, 'Accurate Inventory Control, Maintain Building Facility & Accomplish Facility Projects', 4, '100% Inventory Tracking & Accuracy of facility Supplies', 30.00, '2025-12-31', '4', 10, '1111', 10, '', 0, '', 0, '', 0, 8, '0000-00-00 00:00:00', 11, '2025-06-26 14:07:45', 'Y'),
(5, 1, 2, 'Accurate Inventory Control, Maintain Building Facility & Accomplish Facility Projects', 5, 'Coordinate with the vendor with 2 - 3 quotation with competitive price and get approval of HOD on the same day', 30.00, '2025-12-31', '5', 10, '1111', 9, '', 0, '', 0, '', 0, 8, '0000-00-00 00:00:00', 11, '2025-06-26 14:07:45', 'Y'),
(6, 1, 3, 'Manageable timeline for submission of AP invoices and Gate pass request', 6, 'Manageable timeline for submission of AP invoices and Gate pass request', 100.00, '2025-12-31', '66', 10, '11', 10, '', 0, '', 0, '', 0, 8, '0000-00-00 00:00:00', 11, '2025-06-26 14:07:45', 'Y');

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

--
-- Table structure for table `erp_hr_appraisal_department`
--

CREATE TABLE `erp_hr_appraisal_department` (
  `id` int(11) NOT NULL,
  `department_name` varchar(255) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_appraisal_department`
--

INSERT INTO `erp_hr_appraisal_department` (`id`, `department_name`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`, `isActive`) VALUES
(1, 'General', 8, '2025-06-20 14:13:47', 8, '2025-06-20 14:14:25', 'Y');

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

--
-- Table structure for table `erp_hr_appraisal_questions`
--

CREATE TABLE `erp_hr_appraisal_questions` (
  `id` int(11) NOT NULL,
  `appraisal_type` int(11) NOT NULL COMMENT 'primary key of hr_mas_appraisal_type',
  `department_id` int(11) NOT NULL,
  `question` text NOT NULL,
  `weightage_percent` decimal(15,2) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_appraisal_questions`
--

INSERT INTO `erp_hr_appraisal_questions` (`id`, `appraisal_type`, `department_id`, `question`, `weightage_percent`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`, `isActive`) VALUES
(1, 1, 1, 'Zero error in making AP using SAP system & sending to Accounts department after generating. Ensure that AP will be closed after 24hrs.', 50.00, 8, '2025-06-20 14:20:42', 0, '0000-00-00 00:00:00', 'Y'),
(2, 1, 1, 'Ensure documents for gate passes are up to date before  uploading to portal and share the approved gate pass on the same day.', 50.00, 8, '2025-06-20 14:20:42', 0, '0000-00-00 00:00:00', 'Y'),
(3, 2, 1, 'Daily routine inspection of HQ premises & Weekly visit in NH,NC,WH-UAQ & TNS premises to ensure all are well maintained.', 40.00, 8, '2025-06-20 14:20:42', 0, '0000-00-00 00:00:00', 'Y'),
(4, 2, 1, '100% Inventory Tracking & Accuracy of facility Supplies', 30.00, 8, '2025-06-20 14:20:42', 0, '0000-00-00 00:00:00', 'Y'),
(5, 2, 1, 'Coordinate with the vendor with 2 - 3 quotation with competitive price and get approval of HOD on the same day', 30.00, 8, '2025-06-20 14:20:42', 0, '0000-00-00 00:00:00', 'Y'),
(6, 3, 1, 'Manageable timeline for submission of AP invoices and Gate pass request', 100.00, 8, '2025-06-20 14:20:42', 0, '0000-00-00 00:00:00', 'Y');

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

--
-- Table structure for table `erp_hr_appraisal_type`
--

CREATE TABLE `erp_hr_appraisal_type` (
  `id` int(11) NOT NULL,
  `appraisal_id` int(11) NOT NULL,
  `type_id` int(11) NOT NULL,
  `weightage` decimal(15,2) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_appraisal_type`
--

INSERT INTO `erp_hr_appraisal_type` (`id`, `appraisal_id`, `type_id`, `weightage`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 1, 1, 40.00, 8, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(2, 1, 2, 30.00, 8, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(3, 1, 3, 30.00, 8, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_hr_attendance_log`
--

CREATE TABLE `erp_hr_attendance_log` (
  `id` int(11) NOT NULL,
  `emp_id` int(11) NOT NULL,
  `log_date` date NOT NULL,
  `log_time` time NOT NULL,
  `log_type` enum('IN','OUT','LOG_IN','LOG_OUT') NOT NULL,
  `created_date_time` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `latitude` varchar(25) NOT NULL,
  `longitude` varchar(25) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_attendance_manager`
--

CREATE TABLE `erp_hr_attendance_manager` (
  `id` int(11) NOT NULL,
  `branch` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_attendance_manager`
--

INSERT INTO `erp_hr_attendance_manager` (`id`, `branch`, `employee_id`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`, `isActive`) VALUES
(1, 1, 1, 1, '2025-06-26 02:23:22', 0, '0000-00-00 00:00:00', 'Y');

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

--
-- Table structure for table `erp_hr_attendance_punch_history`
--

CREATE TABLE `erp_hr_attendance_punch_history` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `attendance_date` date NOT NULL,
  `punch_time` time NOT NULL,
  `punch_status` enum('I','O','BI','BO','MI','MO') NOT NULL DEFAULT 'I' COMMENT 'I-IN,O-OUT,BI-BREAK-IN,BO-BREAK OUT,,MI-Machine break start,MO-Machine break end',
  `latitude` varchar(300) NOT NULL,
  `longitude` varchar(300) NOT NULL,
  `current_latitude` varchar(500) NOT NULL,
  `current_longitude` varchar(500) NOT NULL,
  `punch_location` varchar(500) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_attendance_upload_format`
--

CREATE TABLE `erp_hr_attendance_upload_format` (
  `id` int(11) NOT NULL,
  `use_employee_code_r_biometric` enum('E','B') NOT NULL DEFAULT 'E',
  `employee_id` int(11) NOT NULL,
  `biometric_id` int(11) NOT NULL,
  `attendance_date` int(11) NOT NULL,
  `date_format` tinyint(4) NOT NULL,
  `time_from` enum('C','S') NOT NULL DEFAULT 'C' COMMENT 'C-Column No,S-Status Based',
  `login_time` int(11) NOT NULL,
  `logout_time` int(11) NOT NULL,
  `status_column` tinyint(4) NOT NULL,
  `status_login` varchar(50) NOT NULL,
  `status_logout` varchar(50) NOT NULL,
  `status_time` tinyint(4) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='Table for setting format of attendance file';

--
-- Dumping data for table `erp_hr_attendance_upload_format`
--

INSERT INTO `erp_hr_attendance_upload_format` (`id`, `use_employee_code_r_biometric`, `employee_id`, `biometric_id`, `attendance_date`, `date_format`, `time_from`, `login_time`, `logout_time`, `status_column`, `status_login`, `status_logout`, `status_time`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 'E', 0, 0, 1, 2, 'C', 2, 3, 0, '', '', 0, 0, '0000-00-00 00:00:00', 1, '2023-10-05 11:37:00');

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

--
-- Table structure for table `erp_hr_audit_log`
--

CREATE TABLE `erp_hr_audit_log` (
  `id` int(11) NOT NULL,
  `functionality` int(11) NOT NULL,
  `master_table_id` int(11) NOT NULL,
  `performed_by` int(11) NOT NULL,
  `performed_date_time` datetime NOT NULL,
  `remarks` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_audit_log`
--

INSERT INTO `erp_hr_audit_log` (`id`, `functionality`, `master_table_id`, `performed_by`, `performed_date_time`, `remarks`) VALUES
(1, 32, 1, 1, '2025-06-18 12:00:43', 'Created branch  Bluesky-UAE'),
(2, 32, 1, 1, '2025-06-18 12:00:43', 'Created branch working hours  1'),
(3, 32, 2, 1, '2025-06-18 12:00:43', 'Created branch working hours  1'),
(4, 32, 3, 1, '2025-06-18 12:00:43', 'Created branch working hours  1'),
(5, 32, 4, 1, '2025-06-18 12:00:43', 'Created branch working hours  1'),
(6, 32, 5, 1, '2025-06-18 12:00:43', 'Created branch working hours  1'),
(7, 32, 6, 1, '2025-06-18 12:00:43', 'Created branch working hours  1'),
(8, 32, 7, 1, '2025-06-18 12:00:43', 'Created branch working hours  1'),
(9, 32, 1, 1, '2025-06-18 12:05:38', 'Updated branch  Bluesky-UAE'),
(10, 32, 1, 1, '2025-06-18 12:05:38', 'Updated branch working hours  1'),
(11, 32, 2, 1, '2025-06-18 12:05:38', 'Updated branch working hours  1'),
(12, 32, 3, 1, '2025-06-18 12:05:38', 'Updated branch working hours  1'),
(13, 32, 4, 1, '2025-06-18 12:05:38', 'Updated branch working hours  1'),
(14, 32, 5, 1, '2025-06-18 12:05:38', 'Updated branch working hours  1'),
(15, 32, 6, 1, '2025-06-18 12:05:38', 'Updated branch working hours  1'),
(16, 32, 7, 1, '2025-06-18 12:05:38', 'Updated branch working hours  1'),
(17, 34, 1, 8, '2025-06-18 14:37:27', 'Created leave type  Annual leave'),
(18, 34, 1, 8, '2025-06-18 14:44:37', 'Updated leave type  Annual leave'),
(19, 2, 1, 8, '2025-06-18 14:44:37', 'Salary Details Created for employee code BT0002'),
(20, 24, 1, 1, '2025-06-18 16:49:15', 'Updated salary lock 2025'),
(21, 16, 6, 1, '2025-06-19 09:16:46', 'Updated bank ADCB Islamic Bank'),
(22, 16, 6, 1, '2025-06-19 09:16:51', 'Updated bank ADCB Islamic Bank'),
(23, 16, 6, 1, '2025-06-19 09:16:54', 'Updated bank ADCB Islamic Bank'),
(24, 16, 6, 1, '2025-06-19 09:16:59', 'Updated bank ADCB Islamic Bank'),
(25, 16, 4, 1, '2025-06-19 09:20:25', 'Updated bank ABN AMRO Group NV'),
(26, 16, 4, 1, '2025-06-19 09:20:29', 'Updated bank ABN AMRO Group NV'),
(27, 39, 1, 8, '2025-06-19 10:50:56', 'Created shift timing  morning'),
(28, 4, 1, 8, '2025-06-20 14:15:23', 'Updated appraisal type Efficiency in  Gate Pass Process & AP'),
(29, 4, 2, 8, '2025-06-20 14:15:23', 'Updated appraisal type Accurate Inventory Control, Maintain Building Facility & Accomplish Facility Projects'),
(30, 4, 3, 8, '2025-06-20 14:15:23', 'Updated appraisal type Manageable timeline for submission of AP invoices and Gate pass request'),
(31, 5, 1, 8, '2025-06-20 14:20:42', 'Updated appraisal KPI Zero error in making AP using SAP system & sending to Accounts department after generating. Ensure that AP will be closed after 24hrs.'),
(32, 5, 2, 8, '2025-06-20 14:20:42', 'Updated appraisal KPI Ensure documents for gate passes are up to date before  uploading to portal and share the approved gate pass on the same day.'),
(33, 5, 3, 8, '2025-06-20 14:20:42', 'Updated appraisal KPI Daily routine inspection of HQ premises & Weekly visit in NH,NC,WH-UAQ & TNS premises to ensure all are well maintained.'),
(34, 5, 4, 8, '2025-06-20 14:20:42', 'Updated appraisal KPI 100% Inventory Tracking & Accuracy of facility Supplies'),
(35, 5, 5, 8, '2025-06-20 14:20:42', 'Updated appraisal KPI Coordinate with the vendor with 2 - 3 quotation with competitive price and get approval of HOD on the same day'),
(36, 5, 6, 8, '2025-06-20 14:20:42', 'Updated appraisal KPI Manageable timeline for submission of AP invoices and Gate pass request'),
(37, 34, 1, 8, '2025-06-20 15:36:44', 'Updated leave type  Annual leave'),
(38, 34, 1, 8, '2025-06-20 15:37:06', 'Updated leave type  Annual leave'),
(39, 2, 2, 8, '2025-06-20 15:37:45', 'Salary Details Created for employee code BT0001'),
(40, 34, 1, 1, '2025-06-23 09:17:14', 'Updated leave type  Annual leave'),
(41, 2, 3, 1, '2025-06-23 09:17:14', 'Salary Details Created for employee code BT0003'),
(42, 15, 1, 8, '2025-06-23 10:48:39', 'Created training course First Aid'),
(43, 15, 1, 8, '2025-06-23 10:48:39', 'Created training course details First AID'),
(44, 34, 1, 8, '2025-06-23 11:13:18', 'Updated leave type  Annual leave'),
(45, 16, 12, 8, '2025-06-23 17:09:49', 'Updated bank Citibank'),
(46, 16, 36, 8, '2025-06-23 17:10:04', 'Updated bank ADNB'),
(47, 40, 1, 1, '2025-06-24 09:49:48', 'Created wps entity  Bluesky'),
(48, 9, 1, 8, '2025-06-24 11:57:50', 'Created product book'),
(49, 1, 2, 8, '2025-06-24 15:51:53', 'Updated department IT'),
(50, 1, 2, 8, '2025-06-24 15:51:59', 'Updated department IT'),
(51, 2, 12, 8, '2025-06-24 15:59:27', 'Updated designation Assistant1'),
(52, 2, 12, 8, '2025-06-24 15:59:31', 'Updated designation Assistant'),
(53, 2, 12, 8, '2025-06-24 15:59:36', 'Updated designation Assistant'),
(54, 2, 12, 8, '2025-06-24 15:59:43', 'Updated designation Assistant'),
(55, 32, 1, 1, '2025-06-24 17:06:44', 'Updated branch  Bluesky-UAE1'),
(56, 32, 1, 1, '2025-06-24 17:06:44', 'Updated branch working hours  1'),
(57, 32, 2, 1, '2025-06-24 17:06:44', 'Updated branch working hours  1'),
(58, 32, 3, 1, '2025-06-24 17:06:44', 'Updated branch working hours  1'),
(59, 32, 4, 1, '2025-06-24 17:06:44', 'Updated branch working hours  1'),
(60, 32, 5, 1, '2025-06-24 17:06:44', 'Updated branch working hours  1'),
(61, 32, 6, 1, '2025-06-24 17:06:44', 'Updated branch working hours  1'),
(62, 32, 7, 1, '2025-06-24 17:06:44', 'Updated branch working hours  1'),
(63, 32, 1, 1, '2025-06-24 17:07:42', 'Updated branch  Bluesky-UAE1'),
(64, 32, 1, 1, '2025-06-24 17:07:49', 'Updated branch  Bluesky-UAE1'),
(65, 32, 1, 1, '2025-06-24 17:07:54', 'Updated branch  Bluesky-UAE1'),
(66, 32, 1, 1, '2025-06-24 17:07:54', 'Updated branch working hours  1'),
(67, 32, 2, 1, '2025-06-24 17:07:54', 'Updated branch working hours  1'),
(68, 32, 3, 1, '2025-06-24 17:07:54', 'Updated branch working hours  1'),
(69, 32, 4, 1, '2025-06-24 17:07:54', 'Updated branch working hours  1'),
(70, 32, 5, 1, '2025-06-24 17:07:54', 'Updated branch working hours  1'),
(71, 32, 6, 1, '2025-06-24 17:07:54', 'Updated branch working hours  1'),
(72, 32, 7, 1, '2025-06-24 17:07:54', 'Updated branch working hours  1'),
(73, 32, 1, 1, '2025-06-24 17:08:08', 'Updated branch  Bluesky-UAE'),
(74, 32, 1, 1, '2025-06-24 17:08:08', 'Updated branch working hours  1'),
(75, 32, 2, 1, '2025-06-24 17:08:08', 'Updated branch working hours  1'),
(76, 32, 3, 1, '2025-06-24 17:08:08', 'Updated branch working hours  1'),
(77, 32, 4, 1, '2025-06-24 17:08:08', 'Updated branch working hours  1'),
(78, 32, 5, 1, '2025-06-24 17:08:08', 'Updated branch working hours  1'),
(79, 32, 6, 1, '2025-06-24 17:08:08', 'Updated branch working hours  1'),
(80, 32, 7, 1, '2025-06-24 17:08:08', 'Updated branch working hours  1'),
(81, 8, 1, 8, '2025-06-25 07:47:33', 'Created holiday isalamic new year'),
(82, 8, 2, 8, '2025-06-25 07:59:12', 'Created holiday Islamic year'),
(83, 34, 1, 1, '2025-06-25 08:16:24', 'Updated leave type  Annual leave'),
(84, 34, 1, 1, '2025-06-25 08:17:34', 'Updated leave type  Annual leave'),
(85, 34, 1, 1, '2025-06-25 08:17:41', 'Updated leave type  Annual leave'),
(86, 35, 2, 1, '2025-06-25 08:29:50', 'Updated notice period  2 Month'),
(87, 35, 2, 1, '2025-06-25 08:29:56', 'Updated notice period  2 Months'),
(88, 35, 3, 1, '2025-06-25 08:29:59', 'Updated notice period  3 Months'),
(89, 35, 3, 1, '2025-06-25 08:30:03', 'Updated notice period  3 Months'),
(90, 35, 3, 1, '2025-06-25 08:30:09', 'Updated notice period  3 Months'),
(91, 10, 1, 8, '2025-06-25 08:33:27', 'Created recruitment department Accounts'),
(92, 10, 1, 8, '2025-06-25 08:38:29', 'Updated recruitment department Accounts'),
(93, 10, 1, 8, '2025-06-25 08:38:33', 'Updated recruitment department Accounts'),
(94, 11, 1, 8, '2025-06-25 08:39:12', 'Created recruitment question Q1'),
(95, 11, 2, 8, '2025-06-25 08:47:34', 'Created recruitment question Q1'),
(96, 15, 1, 8, '2025-06-25 09:03:25', 'Updated training course First Aid'),
(97, 15, 1, 8, '2025-06-25 09:03:29', 'Updated training course First Aid'),
(98, 38, 9, 1, '2025-06-25 09:39:54', 'Updated relation type  Brother'),
(99, 16, 12, 8, '2025-06-25 09:43:41', 'Updated bank Citibank'),
(100, 16, 12, 8, '2025-06-25 09:43:51', 'Updated bank Citibank'),
(101, 16, 12, 8, '2025-06-25 09:44:29', 'Updated bank Citibank'),
(102, 16, 12, 8, '2025-06-25 09:45:16', 'Updated bank Citibank'),
(103, 36, 1, 1, '2025-06-25 09:45:36', 'Updated overtime type  NOT - Normal Overtime'),
(104, 36, 1, 1, '2025-06-25 09:45:40', 'Updated overtime type  NOT - Normal Overtime'),
(105, 36, 4, 1, '2025-06-25 09:45:44', 'Updated overtime type  NGT-Night Shift Overtime'),
(106, 36, 4, 1, '2025-06-25 09:45:51', 'Updated overtime type  NGT-Night Shift Overtime'),
(107, 37, 1, 1, '2025-06-25 09:51:13', 'Updated pension settings  143'),
(108, 37, 1, 1, '2025-06-25 09:51:54', 'Updated pension settings  143'),
(109, 37, 2, 1, '2025-06-25 09:51:57', 'Updated pension settings  '),
(110, 37, 2, 1, '2025-06-25 09:53:09', 'Updated pension settings  '),
(111, 38, 2, 1, '2025-06-25 10:00:05', 'Updated relation type  Mothe'),
(112, 17, 1, 8, '2025-06-25 10:00:13', 'Updated currency UAE Dirham'),
(113, 38, 2, 1, '2025-06-25 10:00:13', 'Updated relation type  Mother'),
(114, 38, 5, 1, '2025-06-25 10:00:19', 'Updated relation type  Son'),
(115, 17, 1, 8, '2025-06-25 10:00:21', 'Updated currency UAE Dirham'),
(116, 38, 5, 1, '2025-06-25 10:00:24', 'Updated relation type  Son'),
(117, 17, 1, 8, '2025-06-25 10:00:28', 'Updated currency UAE Dirham'),
(118, 17, 1, 8, '2025-06-25 10:00:36', 'Updated currency UAE Dirham'),
(119, 18, 1, 8, '2025-06-25 10:18:32', 'Updated expense Emirates ID1'),
(120, 18, 1, 8, '2025-06-25 10:18:36', 'Updated expense Emirates ID'),
(121, 18, 1, 8, '2025-06-25 10:18:39', 'Updated expense Emirates ID'),
(122, 18, 1, 8, '2025-06-25 10:18:43', 'Updated expense Emirates ID'),
(123, 19, 1, 8, '2025-06-25 10:19:03', 'Created Eos clearance HR Clearance'),
(124, 39, 1, 1, '2025-06-25 10:20:18', 'Updated shift timing  morning'),
(125, 39, 1, 1, '2025-06-25 10:20:26', 'Updated shift timing  Morning'),
(126, 19, 1, 8, '2025-06-25 10:34:52', 'Updated Eos clearance HR Clearance1'),
(127, 19, 1, 8, '2025-06-25 10:35:59', 'Updated Eos clearance HR Clearance'),
(128, 21, 5, 8, '2025-06-25 11:15:01', 'Updated Eos payment term Ticket Allowance1'),
(129, 21, 5, 8, '2025-06-25 11:15:06', 'Updated Eos payment term Ticket Allowance'),
(130, 21, 5, 8, '2025-06-25 11:15:11', 'Updated Eos payment term Ticket Allowance'),
(131, 21, 5, 8, '2025-06-25 11:15:22', 'Updated Eos payment term Ticket Allowance'),
(132, 21, 6, 8, '2025-06-25 11:15:57', 'Updated Eos payment term Payment'),
(133, 23, 1, 8, '2025-06-25 11:35:42', 'Updated salary type Basic'),
(134, 23, 1, 8, '2025-06-25 11:35:47', 'Updated salary type Basic'),
(135, 26, 8, 8, '2025-06-25 12:43:06', 'Updated certificate Salary Increment Letter'),
(136, 26, 8, 8, '2025-06-25 12:43:10', 'Updated certificate Salary Increment Letter'),
(137, 26, 8, 8, '2025-06-25 12:43:15', 'Updated certificate Salary Increment Letter'),
(138, 27, 1, 8, '2025-06-25 12:43:42', 'Updated company document 1234567'),
(139, 27, 1, 8, '2025-06-25 12:56:25', 'Created company document 1234567'),
(140, 28, 7, 8, '2025-06-25 13:26:39', 'Updated document type Contract'),
(141, 28, 7, 8, '2025-06-25 13:26:44', 'Updated document type Contract'),
(142, 28, 7, 8, '2025-06-25 13:26:48', 'Updated document type Contract'),
(143, 30, 3, 8, '2025-06-25 13:57:57', 'Updated in out document  Labour Card1'),
(144, 30, 3, 8, '2025-06-25 13:58:01', 'Updated in out document  Labour Card'),
(145, 30, 3, 8, '2025-06-25 13:58:03', 'Updated in out document  Labour Card'),
(146, 30, 3, 8, '2025-06-25 13:58:10', 'Updated in out document  Labour Card'),
(147, 31, 3, 8, '2025-06-25 14:06:17', 'Created job contract  Limited'),
(148, 31, 3, 8, '2025-06-25 14:08:17', 'Updated job contract  Limited1'),
(149, 31, 3, 8, '2025-06-25 14:08:24', 'Updated job contract  Limited'),
(150, 31, 3, 8, '2025-06-25 14:08:26', 'Updated job contract  Limited'),
(151, 31, 3, 8, '2025-06-25 14:08:36', 'Updated job contract  Limited'),
(152, 8, 3, 1, '2025-06-27 07:37:38', 'Created holiday Holiday'),
(153, 17, 3, 8, '2025-06-27 15:18:06', 'Updated currency Euro'),
(154, 17, 4, 8, '2025-06-27 15:19:50', 'Updated currency GBP'),
(155, 17, 1, 8, '2025-06-27 15:19:58', 'Updated currency UAE Dirham'),
(156, 17, 3, 8, '2025-06-27 15:20:17', 'Updated currency Euro'),
(157, 17, 1, 8, '2025-06-27 15:24:18', 'Updated currency UAE Dirham'),
(158, 23, 2, 1, '2025-06-27 16:23:29', 'Created salary type Bonus'),
(159, 34, 2, 1, '2025-06-27 16:26:52', 'Created leave type  Paternal Leave'),
(160, 34, 3, 1, '2025-06-27 16:28:14', 'Created leave type  Maternity Leave'),
(161, 34, 4, 1, '2025-06-27 16:29:20', 'Created leave type  Sick Leave'),
(162, 34, 2, 1, '2025-06-27 16:29:50', 'Updated leave type  Paternal Leave'),
(163, 34, 3, 1, '2025-06-27 16:30:02', 'Updated leave type  Maternity Leave'),
(164, 34, 4, 1, '2025-06-27 16:30:15', 'Updated leave type  Sick Leave'),
(165, 34, 5, 8, '2025-06-28 06:58:00', 'Created leave type  Short Leave'),
(166, 34, 5, 8, '2025-06-28 07:16:48', 'Updated leave type  Short Leave'),
(167, 32, 1, 8, '2025-06-28 07:17:07', 'Updated branch  Bluesky-UAE'),
(168, 32, 1, 8, '2025-06-28 07:17:07', 'Updated branch working hours  1'),
(169, 32, 2, 8, '2025-06-28 07:17:07', 'Updated branch working hours  1'),
(170, 32, 3, 8, '2025-06-28 07:17:07', 'Updated branch working hours  1'),
(171, 32, 4, 8, '2025-06-28 07:17:07', 'Updated branch working hours  1'),
(172, 32, 5, 8, '2025-06-28 07:17:07', 'Updated branch working hours  1'),
(173, 32, 6, 8, '2025-06-28 07:17:07', 'Updated branch working hours  1'),
(174, 32, 7, 8, '2025-06-28 07:17:07', 'Updated branch working hours  1'),
(175, 34, 5, 8, '2025-06-30 08:30:53', 'Updated leave type  Short Leave'),
(176, 16, 37, 1, '2025-07-16 16:41:20', 'Block/Unblock bank Sbi'),
(177, 16, 37, 1, '2025-07-16 16:42:00', 'Updated bank Sbi'),
(178, 17, 6, 1, '2025-07-16 16:42:10', 'Block/Unblock currency Sbi'),
(179, 17, 7, 1, '2025-07-16 16:43:00', 'Block/Unblock currency Currency1'),
(180, 17, 6, 1, '2025-07-16 16:43:12', 'Updated currency Sbi'),
(181, 17, 7, 1, '2025-07-16 16:43:15', 'Updated currency Currency1');

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

--
-- Table structure for table `erp_hr_audit_log_functionality`
--

CREATE TABLE `erp_hr_audit_log_functionality` (
  `id` int(11) NOT NULL,
  `symbolic_name` varchar(255) NOT NULL,
  `symbolic_code` varchar(100) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_audit_log_functionality`
--

INSERT INTO `erp_hr_audit_log_functionality` (`id`, `symbolic_name`, `symbolic_code`, `isActive`) VALUES
(2, 'Master Designation', 'DESIGNATION', 'Y'),
(1, 'Master Department', 'DEPARTMENT', 'Y'),
(3, 'Master Country', 'COUNTRY', 'Y'),
(4, 'Master Appraisal Type', 'APPRAISAL TYPE', 'Y'),
(5, 'Master Appraisal Question', 'APPRAISAL QUESTION', 'Y'),
(6, 'Master App Permission', 'APP PERMISSION', 'Y'),
(7, 'Master Employee Panel Permission', 'EMPLOYEE PANEL PERMISSION', 'Y'),
(8, 'Master Holiday', 'HOLIDAY', 'Y'),
(9, 'Master Product', 'PRODUCT', 'Y'),
(10, 'Master Recruitment Department', 'RECRUITMENT DEPARTMENT', 'Y'),
(11, 'Master Recruitment Question', 'RECRUITMENT QUESTION', 'Y'),
(12, 'Master Recruitment On Boarding', 'RECRUITMENT ON BOARDING', 'Y'),
(13, 'Master Recruitment Off Boarding', 'RECRUITMENT OFF BOARDING', 'Y'),
(14, 'Master Settings', 'SETTINGS', 'Y'),
(15, 'Master Training Course', 'TRAINING COURSE', 'Y'),
(16, 'Master Bank', 'BANK', 'Y'),
(17, 'Master Currency', 'CURRENCY', 'Y'),
(18, 'Master Expense', 'EXPENSE', 'Y'),
(19, 'Master EOS Clearance', 'EOS CLEARANCE', 'Y'),
(20, 'Master EOS Gratuity', 'EOS GRATUITY', 'Y'),
(21, 'Master EOS Payment Terms', 'EOS PAYMENT TERMS', 'Y'),
(22, 'Master Incentive Structure', 'INCENTIVE STRUCTURE', 'Y'),
(23, 'Master Salary Type', 'SALARY TYPE', 'Y'),
(24, 'Master Salary Lock Month', 'SALARY LOCK MONTH', 'Y'),
(25, 'Master Salary Date Settings', 'SALARY DATE SETTINGS', 'Y'),
(26, 'Master Certificate', 'CERTIFICATE', 'Y'),
(27, 'Master Company Documents', 'COMPANY DOCUMENTS', 'Y'),
(28, 'Master Document Type', 'DOCUMENT TYPE', 'Y'),
(29, 'Master Document Expiry Status', 'DOCUMENT EXPIRY STATUS', 'Y'),
(30, 'Master In-Out Document', 'IN OUT DOCUMENT', 'Y'),
(31, 'Master Job Contract', 'JOB CONTRACT', 'Y'),
(32, 'Master Branch', 'BRANCH', 'Y'),
(33, 'Master Business Unit', 'BUSINESS UNIT', 'Y'),
(34, 'Master Leave Type', 'LEAVE TYPE', 'Y'),
(35, 'Master Notice Period', 'NOTICE PERIOD', 'Y'),
(36, 'Master Overtime Type', 'OVERTIME TYPE', 'Y'),
(37, 'Master Pension Settings', 'PENSION SETTINGS', 'Y'),
(38, 'Master Relation Type', 'RELATION TYPE', 'Y'),
(39, 'Master Shift Timings', 'SHIFT TIMINGS', 'Y'),
(40, 'Master WPS Entity', 'WPS ENTITY', 'Y'),
(41, 'Admin Users', 'USERS', 'Y'),
(42, 'Admin Usergroup', 'USERGROUP', 'Y'),
(43, 'Master Project Work', 'PROJECT WORK', 'Y');

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

--
-- Table structure for table `erp_hr_bank`
--

CREATE TABLE `erp_hr_bank` (
  `id` int(11) NOT NULL,
  `account_no` varchar(100) NOT NULL,
  `description` varchar(500) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_calendar_notification`
--

CREATE TABLE `erp_hr_calendar_notification` (
  `id` int(11) NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `notification` text NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_calendar_notification`
--

INSERT INTO `erp_hr_calendar_notification` (`id`, `start_date`, `end_date`, `notification`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, '2025-06-25', '2025-06-25', 'tests', 8, '2025-06-24 11:31:44', 8, '2025-06-24 11:47:31');

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

--
-- Table structure for table `erp_hr_company_catalogue`
--

CREATE TABLE `erp_hr_company_catalogue` (
  `id` int(11) NOT NULL,
  `branch_or_sponsor_id` varchar(100) NOT NULL,
  `department_id` varchar(100) NOT NULL,
  `title` text NOT NULL,
  `notes` text NOT NULL,
  `catalogue_attachment` varchar(700) NOT NULL,
  `employees_viewed` text NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_company_catalogue`
--

INSERT INTO `erp_hr_company_catalogue` (`id`, `branch_or_sponsor_id`, `department_id`, `title`, `notes`, `catalogue_attachment`, `employees_viewed`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`, `isActive`) VALUES
(1, '1', '', 'tests', '<p>\n	sdfdsfdsfds</p>\n', '', '', 8, '2025-06-23 16:35:22', 8, '2025-06-23 16:54:20', 'N'),
(2, '1', '', 'tests', '<p>\n	sffsdfds</p>\n', '', '', 8, '2025-06-23 16:54:37', 0, '0000-00-00 00:00:00', 'Y');

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

--
-- Table structure for table `erp_hr_company_circular`
--

CREATE TABLE `erp_hr_company_circular` (
  `id` int(11) NOT NULL,
  `branch_or_sponsor_id` text NOT NULL,
  `circular_type` int(11) NOT NULL COMMENT '1-Indoor,2-Outdoor',
  `employee_id` text NOT NULL,
  `title` varchar(500) NOT NULL,
  `notes` text NOT NULL,
  `date_circular` date NOT NULL,
  `employees_viewed` text NOT NULL,
  `circular_document` varchar(255) NOT NULL,
  `created_by` int(11) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_company_circular`
--

INSERT INTO `erp_hr_company_circular` (`id`, `branch_or_sponsor_id`, `circular_type`, `employee_id`, `title`, `notes`, `date_circular`, `employees_viewed`, `circular_document`, `created_by`, `isActive`) VALUES
(1, '1', 1, '1', 'tes', '<p>\n	xvfxgdsfgs</p>\n', '2025-06-24', '', '', 8, 'N'),
(2, '1', 2, '', 'tess', '<p>\n	dgfdsgdsg</p>\n', '2025-06-24', '', '', 8, 'Y'),
(3, '1', 1, '1', 'ew', '<p>\n	wefdsfdsfd</p>\n', '2025-06-24', '', '', 8, 'Y');

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

--
-- Table structure for table `erp_hr_company_document`
--

CREATE TABLE `erp_hr_company_document` (
  `id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `document_id` int(11) NOT NULL,
  `document_number` varchar(30) NOT NULL,
  `document_type` int(11) NOT NULL,
  `document_file` text NOT NULL,
  `validate_till_date` date NOT NULL,
  `renew_on` date NOT NULL,
  `status` int(11) NOT NULL COMMENT '0-Not in Process,1-In Process',
  `expiry_notify` int(11) NOT NULL DEFAULT 0 COMMENT '0-No,1-Yes',
  `inprocess_date` date NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_company_document`
--

INSERT INTO `erp_hr_company_document` (`id`, `company_id`, `document_id`, `document_number`, `document_type`, `document_file`, `validate_till_date`, `renew_on`, `status`, `expiry_notify`, `inprocess_date`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 1, 3, '1234567', 1, 'sample-1157  6   1 .pdf', '2025-12-26', '2025-11-26', 0, 0, '0000-00-00', 8, '2025-06-25 12:43:42', 8, 2025);

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

--
-- Table structure for table `erp_hr_company_inprocess_document`
--

CREATE TABLE `erp_hr_company_inprocess_document` (
  `id` int(11) NOT NULL,
  `document_id` int(11) NOT NULL,
  `stage_id` int(11) NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `completed` enum('Y','N') NOT NULL DEFAULT 'N'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_company_templates`
--

CREATE TABLE `erp_hr_company_templates` (
  `id` int(11) NOT NULL,
  `branch_id` int(11) NOT NULL,
  `document_title` varchar(255) NOT NULL,
  `document_name` varchar(255) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_company_templates`
--

INSERT INTO `erp_hr_company_templates` (`id`, `branch_id`, `document_title`, `document_name`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`, `isActive`) VALUES
(1, 0, 'test', '', 8, '2025-06-24 12:44:45', 8, '2025-06-24 12:58:14', 'N'),
(2, 1, 'test1', '', 8, '2025-06-24 12:58:04', 8, '2025-06-24 13:00:11', 'Y'),
(3, 1, 'test', '', 8, '2025-06-24 12:58:23', 8, '2025-06-24 12:58:26', 'N'),
(4, 1, 'test', '', 8, '2025-06-24 12:59:13', 8, '2025-06-24 13:00:05', 'N');

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

--
-- Table structure for table `erp_hr_department`
--

CREATE TABLE `erp_hr_department` (
  `id` int(11) NOT NULL,
  `department_name` varchar(255) NOT NULL,
  `normal_ot_days` int(11) NOT NULL,
  `holiday_ot_days` int(11) NOT NULL,
  `night_ot_days` int(11) NOT NULL,
  `weekend_ot_days` int(11) NOT NULL,
  `holiday_incentive` decimal(10,2) NOT NULL DEFAULT 1.00,
  `absent_deduction` decimal(10,2) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_department`
--

INSERT INTO `erp_hr_department` (`id`, `department_name`, `normal_ot_days`, `holiday_ot_days`, `night_ot_days`, `weekend_ot_days`, `holiday_incentive`, `absent_deduction`, `isActive`) VALUES
(1, 'Administration', 0, 0, 0, 0, 1.00, 0.00, 'Y'),
(2, 'IT', 0, 0, 0, 0, 1.00, 0.00, 'Y'),
(3, 'Operations', 0, 0, 0, 0, 1.00, 0.00, 'Y'),
(4, 'HR', 0, 0, 0, 0, 1.00, 0.00, 'Y'),
(5, 'Finance', 0, 0, 0, 0, 1.00, 0.00, 'Y'),
(6, 'Sales', 0, 0, 0, 0, 1.00, 0.00, 'Y'),
(7, 'Production', 0, 0, 0, 0, 1.00, 0.00, 'Y'),
(8, 'Marketing', 0, 0, 0, 0, 1.00, 0.00, 'Y'),
(9, 'Accounts', 0, 0, 0, 0, 1.00, 0.00, 'Y'),
(10, 'Help Desk', 0, 0, 0, 0, 1.00, 0.00, 'Y'),
(11, 'Logistics', 0, 0, 0, 0, 1.00, 0.00, 'Y'),
(12, 'Quality', 0, 0, 0, 0, 1.00, 0.00, 'Y'),
(13, 'HOH', 0, 0, 0, 0, 1.00, 0.00, 'Y'),
(14, 'EXPORT', 0, 0, 0, 0, 1.00, 0.00, 'Y');

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

--
-- Table structure for table `erp_hr_department_approve_level`
--

CREATE TABLE `erp_hr_department_approve_level` (
  `id` int(11) NOT NULL,
  `functionality_id` int(11) NOT NULL,
  `department_id` int(11) NOT NULL,
  `max_level` int(11) NOT NULL,
  `level_1_type` enum('L','S','N','H') NOT NULL,
  `level_1_authority` int(11) NOT NULL,
  `level_2_type` enum('L','S','N','H') NOT NULL,
  `level_2_authority` int(11) NOT NULL,
  `level_3_type` enum('L','S','N','H') NOT NULL,
  `level_3_authority` int(11) NOT NULL,
  `level_4_type` enum('L','S','N','H') NOT NULL,
  `level_4_authority` int(11) NOT NULL,
  `level_5_type` enum('L','S','N','H') NOT NULL,
  `level_5_authority` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_designation`
--

CREATE TABLE `erp_hr_designation` (
  `id` int(11) NOT NULL,
  `designation_name` varchar(255) NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_designation`
--

INSERT INTO `erp_hr_designation` (`id`, `designation_name`, `isActive`) VALUES
(1, 'IT Manager', 'Y'),
(2, 'HR Manager', 'Y'),
(3, 'Operations Manager', 'Y'),
(4, 'Production Manager', 'Y'),
(5, 'Finance Manager', 'Y'),
(6, 'Administrator', 'Y'),
(7, 'Marketing Manager', 'Y'),
(8, 'Sales Manager', 'Y'),
(9, 'Telecom Manager', 'Y'),
(10, 'Research Associate', 'Y'),
(11, 'Admin Assistant', 'Y'),
(12, 'Assistant', 'Y');

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

--
-- Table structure for table `erp_hr_employee_approve_level`
--

CREATE TABLE `erp_hr_employee_approve_level` (
  `id` int(11) NOT NULL,
  `functionality_id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `max_level` int(11) NOT NULL,
  `level_1_type` enum('L','S','N','H') NOT NULL,
  `level_1_authority` int(11) NOT NULL,
  `level_2_type` enum('L','S','N','H') NOT NULL,
  `level_2_authority` int(11) NOT NULL,
  `level_3_type` enum('L','S','N','H') NOT NULL,
  `level_3_authority` int(11) NOT NULL,
  `level_4_type` enum('L','S','N','H') NOT NULL,
  `level_4_authority` int(11) NOT NULL,
  `level_5_type` enum('L','S','N','H') NOT NULL,
  `level_5_authority` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_approve_level`
--

INSERT INTO `erp_hr_employee_approve_level` (`id`, `functionality_id`, `employee_id`, `max_level`, `level_1_type`, `level_1_authority`, `level_2_type`, `level_2_authority`, `level_3_type`, `level_3_authority`, `level_4_type`, `level_4_authority`, `level_5_type`, `level_5_authority`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 1, 2, 2, 'N', 2, 'N', 1, 'L', 1, 'L', 1, 'L', 1, 1, '2025-06-18 15:15:34', 8, '2025-07-22 09:58:00'),
(2, 1, 1, 1, 'N', 1, 'L', 2, 'L', 2, 'L', 2, 'L', 2, 8, '2025-06-19 11:18:34', 1, '2025-09-03 13:46:03'),
(3, 7, 1, 1, 'N', 1, 'L', 2, 'L', 2, 'L', 2, 'L', 2, 8, '2025-06-19 11:18:34', 1, '2025-09-03 13:46:03'),
(4, 12, 1, 1, 'N', 1, 'L', 2, 'L', 2, 'L', 2, 'L', 2, 8, '2025-06-19 11:19:21', 1, '2025-09-03 13:46:03'),
(5, 6, 1, 2, 'N', 1, 'N', 2, 'L', 2, 'L', 2, 'L', 2, 8, '2025-06-19 16:14:29', 1, '2025-09-03 13:46:03'),
(6, 9, 1, 1, 'N', 1, 'L', 2, 'L', 2, 'L', 2, 'L', 2, 8, '2025-06-20 15:38:29', 1, '2025-09-03 13:46:03'),
(7, 2, 1, 1, 'N', 1, 'L', 2, 'L', 2, 'L', 2, 'L', 2, 8, '2025-06-23 07:44:25', 1, '2025-09-03 13:46:03'),
(8, 4, 1, 2, 'N', 1, 'H', 2, 'L', 2, 'L', 2, 'L', 2, 8, '2025-06-23 08:40:40', 1, '2025-09-03 13:46:03'),
(9, 5, 1, 1, 'N', 1, 'L', 2, 'L', 2, 'L', 2, 'L', 2, 8, '2025-06-23 10:16:33', 1, '2025-09-03 13:46:03'),
(10, 10, 1, 1, 'N', 1, 'L', 2, 'L', 2, 'L', 2, 'L', 2, 8, '2025-06-23 13:05:59', 1, '2025-09-03 13:46:03'),
(11, 3, 1, 1, 'N', 1, 'L', 2, 'L', 2, 'L', 2, 'L', 2, 8, '2025-06-23 14:26:39', 1, '2025-09-03 13:46:03'),
(12, 8, 1, 1, 'N', 1, 'L', 2, 'L', 2, 'L', 2, 'L', 2, 8, '2025-06-24 11:58:12', 1, '2025-09-03 13:46:03'),
(13, 14, 2, 1, 'N', 1, 'L', 1, 'L', 1, 'L', 1, 'L', 1, 1, '2025-06-27 14:33:09', 8, '2025-07-22 09:58:00');

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

--
-- Table structure for table `erp_hr_employee_asset`
--

CREATE TABLE `erp_hr_employee_asset` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `asset_id` int(11) NOT NULL,
  `master_asset_id` int(11) NOT NULL,
  `asset_description` text NOT NULL,
  `asset_date_issue` date NOT NULL,
  `asset_date_return` date NOT NULL,
  `asset_undertaking_letter` varchar(700) NOT NULL,
  `asset_status` int(11) NOT NULL COMMENT '1-Issued,2-Returned,3-Discarded,4-Lost',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_attendance`
--

CREATE TABLE `erp_hr_employee_attendance` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `branch_or_sponsor_id` int(11) NOT NULL,
  `shift_id` int(11) NOT NULL,
  `attendance_date` date NOT NULL,
  `week_day` varchar(255) NOT NULL,
  `login_time` varchar(100) NOT NULL,
  `logout_time` varchar(100) NOT NULL,
  `status` varchar(25) NOT NULL COMMENT '1-Present,2-Absent,3-Leave,4->Holiday,5->Weekend',
  `leave_id` int(11) NOT NULL COMMENT 'primary key of crm_hr_employee_leave_detail table',
  `normal_overtime` time NOT NULL,
  `holiday_overtime` time NOT NULL,
  `weekend_overtime` time NOT NULL,
  `night_shift_overtime` time NOT NULL,
  `night_shift_allowance` decimal(10,2) NOT NULL,
  `order_manhours` int(11) NOT NULL COMMENT 'Manhours Table Id',
  `onsite_normal_overtime` time NOT NULL,
  `onsite_holiday_overtime` time NOT NULL,
  `daily_allowance` decimal(15,2) NOT NULL,
  `overtime_rate` decimal(15,2) NOT NULL,
  `total_overtime_amount` decimal(15,2) NOT NULL,
  `total_amount` decimal(15,2) NOT NULL,
  `morning_late` time NOT NULL,
  `variance_time_loss` time NOT NULL,
  `excess_time` time NOT NULL,
  `total_working` time NOT NULL,
  `excuse_reason` text NOT NULL,
  `remarks` text NOT NULL,
  `pay_roll_monthid` varchar(255) NOT NULL,
  `upload_file` text NOT NULL,
  `attendance_via` enum('D','M','U','H','E','A') NOT NULL COMMENT 'D->daily,M->Monthly,U->upload,H->Hiring,E-ESS Punch',
  `login_punch_from` enum('O','H') NOT NULL DEFAULT 'O' COMMENT 'O-Office,H-Home',
  `logout_punch_from` enum('O','H') NOT NULL DEFAULT 'O' COMMENT 'O-Office,H-Home',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_attendance`
--

INSERT INTO `erp_hr_employee_attendance` (`id`, `employee_id`, `branch_or_sponsor_id`, `shift_id`, `attendance_date`, `week_day`, `login_time`, `logout_time`, `status`, `leave_id`, `normal_overtime`, `holiday_overtime`, `weekend_overtime`, `night_shift_overtime`, `night_shift_allowance`, `order_manhours`, `onsite_normal_overtime`, `onsite_holiday_overtime`, `daily_allowance`, `overtime_rate`, `total_overtime_amount`, `total_amount`, `morning_late`, `variance_time_loss`, `excess_time`, `total_working`, `excuse_reason`, `remarks`, `pay_roll_monthid`, `upload_file`, `attendance_via`, `login_punch_from`, `logout_punch_from`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 2, 1, 2, '2025-06-19', 'Thursday', '06:00', '12:00', '1', 0, '00:00:00', '00:00:00', '00:00:00', '00:00:00', 0.00, 0, '00:00:00', '00:00:00', 0.00, 0.00, 0.00, 0.00, '00:00:00', '00:00:00', '00:00:00', '06:00:00', '', '', '', '', 'D', 'O', 'O', 8, '2025-06-19 11:06:35', 0, '0000-00-00 00:00:00'),
(2, 1, 1, 1, '2025-06-19', 'Thursday', '10:00:00', '18:00:00', '1', 0, '00:00:00', '00:00:00', '00:00:00', '00:00:00', 0.00, 0, '00:00:00', '00:00:00', 0.00, 0.00, 0.00, 0.00, '00:00:00', '00:00:00', '02:00:00', '08:00:00', 'tee', '', '', '', 'H', 'H', 'H', 10, '2025-06-26 08:50:20', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_hr_employee_attendance_excuse`
--

CREATE TABLE `erp_hr_employee_attendance_excuse` (
  `id` int(11) NOT NULL,
  `function_type` int(11) NOT NULL,
  `max_level` int(11) NOT NULL,
  `last_approved_level` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `apply_date` date NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 0,
  `approve_level1_id` int(11) NOT NULL,
  `approve_level1_date` date NOT NULL,
  `approve_level1_comment` text NOT NULL,
  `approve_level2_id` int(11) NOT NULL,
  `approve_level2_date` date NOT NULL,
  `approve_level2_comment` text NOT NULL,
  `approve_level3_id` int(11) NOT NULL,
  `approve_level3_date` date NOT NULL,
  `approve_level3_comment` text NOT NULL,
  `approve_level4_id` int(11) NOT NULL,
  `approve_level4_date` date NOT NULL,
  `approve_level4_comment` text NOT NULL,
  `approve_level5_id` int(11) NOT NULL,
  `approve_level5_date` date NOT NULL,
  `approve_level5_comment` text NOT NULL,
  `approved_by` int(11) NOT NULL,
  `approved_date` date NOT NULL,
  `approval_comment` text NOT NULL,
  `view_status` tinyint(4) NOT NULL DEFAULT 0,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_attendance_excuse`
--

INSERT INTO `erp_hr_employee_attendance_excuse` (`id`, `function_type`, `max_level`, `last_approved_level`, `employee_id`, `apply_date`, `status`, `approve_level1_id`, `approve_level1_date`, `approve_level1_comment`, `approve_level2_id`, `approve_level2_date`, `approve_level2_comment`, `approve_level3_id`, `approve_level3_date`, `approve_level3_comment`, `approve_level4_id`, `approve_level4_date`, `approve_level4_comment`, `approve_level5_id`, `approve_level5_date`, `approve_level5_comment`, `approved_by`, `approved_date`, `approval_comment`, `view_status`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(2, 4, 1, 1, 1, '2025-06-19', 12, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 1, '2025-06-26', 'test', 1, 8, '2025-06-19 14:03:46', 10, '2025-06-26 08:50:20');

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

--
-- Table structure for table `erp_hr_employee_attendance_excuse_details`
--

CREATE TABLE `erp_hr_employee_attendance_excuse_details` (
  `id` int(11) NOT NULL,
  `excuse_id` int(11) NOT NULL,
  `type` int(11) NOT NULL,
  `customer_name` varchar(700) NOT NULL,
  `visit_area` varchar(700) NOT NULL,
  `excuse_date` date NOT NULL,
  `start_time` time NOT NULL,
  `end_time` time NOT NULL,
  `excuse_reason` text NOT NULL,
  `document` varchar(700) NOT NULL,
  `excuse_status` enum('Y','N') NOT NULL DEFAULT 'N',
  `attendance_status` tinyint(4) NOT NULL,
  `rejected_level` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_attendance_excuse_details`
--

INSERT INTO `erp_hr_employee_attendance_excuse_details` (`id`, `excuse_id`, `type`, `customer_name`, `visit_area`, `excuse_date`, `start_time`, `end_time`, `excuse_reason`, `document`, `excuse_status`, `attendance_status`, `rejected_level`, `updated_by`, `updated_date_time`) VALUES
(2, 2, 2, '', '', '2025-06-19', '10:00:00', '18:00:00', 'tee', '', 'Y', 1, 0, 10, '2025-06-26 08:50:20');

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

--
-- Table structure for table `erp_hr_employee_attendance_warning`
--

CREATE TABLE `erp_hr_employee_attendance_warning` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `date_from` date NOT NULL,
  `date_to` date NOT NULL,
  `view_status` int(11) NOT NULL DEFAULT 0,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_biometric_exclude`
--

CREATE TABLE `erp_hr_employee_biometric_exclude` (
  `id` int(11) NOT NULL,
  `branch` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_biometric_exclude`
--

INSERT INTO `erp_hr_employee_biometric_exclude` (`id`, `branch`, `employee_id`) VALUES
(2, 1, 1);

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

--
-- Table structure for table `erp_hr_employee_branch`
--

CREATE TABLE `erp_hr_employee_branch` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `branch_id` int(11) NOT NULL,
  `from_date` date NOT NULL,
  `to_date` date NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_branch`
--

INSERT INTO `erp_hr_employee_branch` (`id`, `employee_id`, `branch_id`, `from_date`, `to_date`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 1, 1, '2021-02-10', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(2, 2, 1, '2024-02-07', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(3, 3, 1, '2004-05-12', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_hr_employee_brand_salary_percent`
--

CREATE TABLE `erp_hr_employee_brand_salary_percent` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `brand_id` int(11) NOT NULL,
  `salary_percent` decimal(15,2) NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_bussiness_trip`
--

CREATE TABLE `erp_hr_employee_bussiness_trip` (
  `id` int(11) NOT NULL,
  `function_type` int(11) DEFAULT NULL,
  `employee_id` varchar(200) NOT NULL,
  `last_approved_level` tinyint(4) NOT NULL,
  `last_cancel_level` tinyint(4) NOT NULL DEFAULT -1,
  `apply_date` date NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `no_days` decimal(5,1) NOT NULL,
  `leave_reason` text NOT NULL,
  `ticket_applied` tinyint(4) NOT NULL DEFAULT 0,
  `travel_date` date NOT NULL,
  `travel_destination` varchar(700) NOT NULL,
  `return_date` date NOT NULL,
  `return_destination` varchar(700) NOT NULL,
  `status` int(11) NOT NULL,
  `approve_level1_id` int(11) NOT NULL,
  `approve_level1_approved_date` date NOT NULL,
  `approve_level1_comment` text NOT NULL,
  `approve_level2_id` int(11) NOT NULL,
  `approve_level2_date` date NOT NULL,
  `approve_level2_comment` text NOT NULL,
  `approve_level3_id` int(11) NOT NULL,
  `approve_level3_date` date NOT NULL,
  `approve_level3_comment` text NOT NULL,
  `approve_level4_id` int(11) NOT NULL,
  `approve_level4_date` date NOT NULL,
  `approve_level4_comment` text NOT NULL,
  `approve_level5_id` int(11) NOT NULL,
  `approve_level5_date` date NOT NULL,
  `approve_level5_comment` text NOT NULL,
  `approved_id` int(11) NOT NULL,
  `approved_date` date NOT NULL,
  `approval_comment` text NOT NULL,
  `status_cancel` int(11) NOT NULL DEFAULT 0,
  `cancel_reason_employee` text NOT NULL,
  `date_apply_cancel` date NOT NULL,
  `cancel_level_1_id` int(11) NOT NULL,
  `date_cancel_level_1` date NOT NULL,
  `cancel_level_1_comment` text NOT NULL,
  `cancel_level_2_id` int(11) NOT NULL,
  `date_cancel_level_2` date NOT NULL,
  `cancel_level_2_comment` text NOT NULL,
  `cancel_level_3_id` int(11) NOT NULL,
  `date_cancel_level_3` date NOT NULL,
  `cancel_level_3_comment` text NOT NULL,
  `cancel_level_4_id` int(11) NOT NULL,
  `date_cancel_level_4` date NOT NULL,
  `cancel_level_4_comment` text NOT NULL,
  `cancel_level_5_id` int(11) NOT NULL,
  `date_cancel_level_5` date NOT NULL,
  `cancel_level_5_comment` text NOT NULL,
  `cancel_approved_id` int(11) NOT NULL,
  `date_cancel_hr` date NOT NULL,
  `cancel_comment_hr` text NOT NULL,
  `view_status` int(11) NOT NULL DEFAULT 0 COMMENT '0-Not viewed,1-Viewed',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_certificate`
--

CREATE TABLE `erp_hr_employee_certificate` (
  `id` int(11) NOT NULL,
  `function_type` int(11) NOT NULL,
  `max_level` int(11) NOT NULL,
  `last_approved_level` tinyint(4) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `reference_no` varchar(255) NOT NULL,
  `certificate_id` int(11) NOT NULL,
  `addresses_to` text NOT NULL,
  `vehicle_type` int(11) NOT NULL COMMENT '1-Automatic,2-Manual',
  `apply_date` date NOT NULL,
  `apply_notes` text NOT NULL,
  `month` int(11) NOT NULL,
  `salary_year` int(11) NOT NULL,
  `new_salary` decimal(15,2) NOT NULL,
  `visa_type` int(11) NOT NULL COMMENT '1=''Visit Visa'',2=''Single Entry'',3=''Multiple Entry''',
  `visit_from` date NOT NULL,
  `visit_to` date NOT NULL,
  `visit_purpose` int(11) NOT NULL COMMENT '1-''Tourist'',2-''Business''',
  `visit_country` int(11) NOT NULL,
  `visitcompny_town` varchar(500) NOT NULL,
  `visit_reason` text NOT NULL,
  `embassy` varchar(500) NOT NULL,
  `born_city` varchar(500) NOT NULL,
  `certificate_document` varchar(255) NOT NULL,
  `approve_level1_id` int(11) NOT NULL,
  `approve_level1_date` date NOT NULL,
  `approve_level1_comment` text NOT NULL,
  `approve_level2_id` int(11) NOT NULL,
  `approve_level2_date` date NOT NULL,
  `approve_level2_comment` text NOT NULL,
  `approve_level3_id` int(11) NOT NULL,
  `approve_level3_date` date NOT NULL,
  `approve_level3_comment` text NOT NULL,
  `approve_level4_id` int(11) NOT NULL,
  `approve_level4_date` date NOT NULL,
  `approve_level4_comment` text NOT NULL,
  `approve_level5_id` int(11) NOT NULL,
  `approve_level5_date` date NOT NULL,
  `approve_level5_comment` text NOT NULL,
  `approval_id` int(11) NOT NULL,
  `approval_date` date NOT NULL,
  `approval_comment` text NOT NULL,
  `performance_month_1` decimal(10,2) NOT NULL,
  `performance_month_2` decimal(10,2) NOT NULL,
  `performance_month_3` decimal(10,2) NOT NULL,
  `probation` int(11) NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1 COMMENT '1-Applied,2-Approve,3-Rejected,4-downloaded',
  `view_status` int(11) NOT NULL COMMENT '1-Not viewd,2-Viewed',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_certificate`
--

INSERT INTO `erp_hr_employee_certificate` (`id`, `function_type`, `max_level`, `last_approved_level`, `employee_id`, `reference_no`, `certificate_id`, `addresses_to`, `vehicle_type`, `apply_date`, `apply_notes`, `month`, `salary_year`, `new_salary`, `visa_type`, `visit_from`, `visit_to`, `visit_purpose`, `visit_country`, `visitcompny_town`, `visit_reason`, `embassy`, `born_city`, `certificate_document`, `approve_level1_id`, `approve_level1_date`, `approve_level1_comment`, `approve_level2_id`, `approve_level2_date`, `approve_level2_comment`, `approve_level3_id`, `approve_level3_date`, `approve_level3_comment`, `approve_level4_id`, `approve_level4_date`, `approve_level4_comment`, `approve_level5_id`, `approve_level5_date`, `approve_level5_comment`, `approval_id`, `approval_date`, `approval_comment`, `performance_month_1`, `performance_month_2`, `performance_month_3`, `probation`, `status`, `view_status`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(2, 8, 1, 1, 1, '1000', 1, '', 0, '2025-06-23', 'tests', 0, 0, 0.00, 0, '0000-00-00', '0000-00-00', 0, 0, '', '', '', '', 'Salary Certificate - pdf salary certificate.pdf', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 1, '2025-06-26', '', 0.00, 0.00, 0.00, 0, 14, 0, 8, '2025-06-23 09:54:47', 10, '2025-06-26 11:19:34'),
(3, 8, 1, 1, 1, '', 1, '', 0, '2025-06-26', 'test', 0, 0, 0.00, 0, '0000-00-00', '0000-00-00', 0, 0, '', '', '', '', 'Salary Certificate - pdf salary certificate21.pdf', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 1, '2025-06-26', '', 0.00, 0.00, 0.00, 0, 14, 0, 10, '2025-06-26 11:22:07', 10, '2025-06-26 11:22:55'),
(4, 8, 2, 0, 1, '', 2, '', 0, '2025-06-26', 'tests', 0, 0, 0.00, 0, '0000-00-00', '0000-00-00', 0, 0, '', '', '', '', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0.00, 0.00, 0.00, 0, 1, 0, 10, '2025-06-26 11:33:42', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_hr_employee_complaint_suggestion`
--

CREATE TABLE `erp_hr_employee_complaint_suggestion` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `complaint_suggestion` text NOT NULL,
  `created_date` date NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0-requested,1-hr_approved',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_complaint_suggestion`
--

INSERT INTO `erp_hr_employee_complaint_suggestion` (`id`, `employee_id`, `complaint_suggestion`, `created_date`, `status`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(2, 1, 'testse', '2025-06-23', 0, 8, '2025-06-23 10:36:33', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_hr_employee_contacts`
--

CREATE TABLE `erp_hr_employee_contacts` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `contact_person_name` varchar(700) NOT NULL,
  `local_contact_number` varchar(100) NOT NULL,
  `home_country_contact` varchar(100) NOT NULL,
  `address` text NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_department`
--

CREATE TABLE `erp_hr_employee_department` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `department_id` int(11) NOT NULL,
  `from_date` date NOT NULL,
  `to_date` date NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_department`
--

INSERT INTO `erp_hr_employee_department` (`id`, `employee_id`, `department_id`, `from_date`, `to_date`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 1, 3, '2021-02-10', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(2, 2, 9, '2024-02-07', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(3, 3, 9, '2004-05-12', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_hr_employee_dependants`
--

CREATE TABLE `erp_hr_employee_dependants` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `dependant_name` varchar(500) NOT NULL,
  `date_of_birth` date NOT NULL,
  `relationship` int(11) NOT NULL,
  `nationality` int(11) NOT NULL,
  `document_id` int(11) NOT NULL,
  `renewal_date` date NOT NULL,
  `document_upload` varchar(500) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_designation`
--

CREATE TABLE `erp_hr_employee_designation` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `designation_id` int(11) NOT NULL,
  `from_date` date NOT NULL,
  `to_date` date NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_designation`
--

INSERT INTO `erp_hr_employee_designation` (`id`, `employee_id`, `designation_id`, `from_date`, `to_date`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 1, 3, '2021-02-10', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(2, 2, 5, '2024-02-07', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(3, 3, 5, '2004-05-12', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_hr_employee_documents`
--

CREATE TABLE `erp_hr_employee_documents` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `document_id` int(11) NOT NULL,
  `document_number` varchar(255) NOT NULL,
  `document_file` varchar(500) NOT NULL,
  `validate_till_date` date NOT NULL,
  `renew_on` date NOT NULL,
  `status` int(11) NOT NULL DEFAULT 0 COMMENT '0-Not in Process,1-In Process',
  `expiry_notify` int(11) NOT NULL DEFAULT 0 COMMENT '0-No,1-Yes',
  `inprocess_date` date NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_document_expiry`
--

CREATE TABLE `erp_hr_employee_document_expiry` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `description` varchar(30) NOT NULL,
  `document_number` varchar(30) NOT NULL,
  `document_type` int(11) NOT NULL,
  `document_name` text NOT NULL,
  `validate_till_date` date NOT NULL,
  `renew_on` date NOT NULL,
  `status` int(11) NOT NULL,
  `inprocess_date` date NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_eos`
--

CREATE TABLE `erp_hr_employee_eos` (
  `id` int(11) NOT NULL,
  `branch_or_sponsor_id` int(11) NOT NULL,
  `gratuity_rule_id` int(11) NOT NULL,
  `releaving_type` int(11) NOT NULL,
  `apply_date` date NOT NULL,
  `employee_id` int(11) NOT NULL,
  `service_days` decimal(15,2) NOT NULL,
  `leave_encashed_balance` decimal(10,2) NOT NULL,
  `leave_settlement` decimal(15,2) NOT NULL,
  `overtime_salary` decimal(15,2) NOT NULL,
  `gratuity` decimal(15,2) NOT NULL,
  `notice_period_salary` decimal(15,2) NOT NULL,
  `employee_salary` decimal(15,2) NOT NULL,
  `addition_others` decimal(15,2) NOT NULL,
  `additions` decimal(15,2) NOT NULL,
  `salary_advance` decimal(15,2) NOT NULL,
  `leave_amount` decimal(15,2) NOT NULL,
  `loan` decimal(15,2) NOT NULL,
  `pension_amount` decimal(15,2) NOT NULL,
  `deduction_others` decimal(15,2) NOT NULL,
  `deductions` decimal(15,2) NOT NULL,
  `total_amount` decimal(15,2) NOT NULL,
  `salary_start_date` date NOT NULL,
  `date_leaving` date NOT NULL,
  `hr_comment` text NOT NULL,
  `resignation_document` varchar(500) NOT NULL,
  `hr_exit_document` varchar(500) NOT NULL,
  `eosclearance_document` varchar(500) NOT NULL,
  `lop` decimal(10,2) NOT NULL,
  `status` int(11) NOT NULL DEFAULT 1,
  `payment_mode` int(11) NOT NULL COMMENT '1-Cash,2-Cheque,3-Bank Tranfer',
  `remarks` text NOT NULL,
  `credit_account` int(11) NOT NULL,
  `cheque_no` varchar(50) NOT NULL,
  `cheque_date` date NOT NULL,
  `approve_date` date NOT NULL,
  `payment_date` date NOT NULL,
  `finance_posted` enum('Y','N') NOT NULL DEFAULT 'N',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_eos`
--

INSERT INTO `erp_hr_employee_eos` (`id`, `branch_or_sponsor_id`, `gratuity_rule_id`, `releaving_type`, `apply_date`, `employee_id`, `service_days`, `leave_encashed_balance`, `leave_settlement`, `overtime_salary`, `gratuity`, `notice_period_salary`, `employee_salary`, `addition_others`, `additions`, `salary_advance`, `leave_amount`, `loan`, `pension_amount`, `deduction_others`, `deductions`, `total_amount`, `salary_start_date`, `date_leaving`, `hr_comment`, `resignation_document`, `hr_exit_document`, `eosclearance_document`, `lop`, `status`, `payment_mode`, `remarks`, `credit_account`, `cheque_no`, `cheque_date`, `approve_date`, `payment_date`, `finance_posted`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 1, 1, 2, '2025-06-23', 3, 7700.00, 15.00, 2250.00, 0.00, 88108.00, 0.00, 1500.00, 0.00, 91858.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 91858.00, '2025-06-01', '2025-06-10', '', '', '', '', 0.00, 1, 0, '', 0, '', '0000-00-00', '0000-00-00', '0000-00-00', 'N', 1, '2025-06-23 09:19:25', 0, '0000-00-00 00:00:00'),
(2, 1, 1, 2, '2025-06-27', 2, 521.00, 0.00, 0.00, 0.00, 2999.00, 3000.00, 0.00, 0.00, 5999.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 5999.00, '2025-08-01', '2025-07-11', '', '', '', '', 0.00, 1, 0, '', 0, '', '0000-00-00', '0000-00-00', '0000-00-00', 'N', 1, '2025-06-27 02:33:12', 0, '0000-00-00 00:00:00');

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

--
