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
(8988, 9, 3, 0, '2025-12-10', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:11', 0, '0000-00-00 00:00:00'),
(8989, 9, 3, 0, '2025-12-11', 'Thursday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:11', 0, '0000-00-00 00:00:00'),
(8990, 9, 3, 0, '2025-12-12', 'Friday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:11', 0, '0000-00-00 00:00:00'),
(8991, 9, 3, 0, '2025-12-13', 'Saturday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:11', 0, '0000-00-00 00:00:00'),
(8992, 9, 3, 0, '2025-12-14', 'Sunday', '', '', '5', 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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:11', 0, '0000-00-00 00:00:00'),
(8993, 9, 3, 0, '2025-12-15', 'Monday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:11', 0, '0000-00-00 00:00:00'),
(8994, 9, 3, 0, '2025-12-16', 'Tuesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:11', 0, '0000-00-00 00:00:00'),
(8995, 9, 3, 0, '2025-12-17', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:11', 0, '0000-00-00 00:00:00'),
(8996, 9, 3, 0, '2025-12-18', 'Thursday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:11', 0, '0000-00-00 00:00:00'),
(8997, 9, 3, 0, '2025-12-19', 'Friday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:11', 0, '0000-00-00 00:00:00'),
(8998, 9, 3, 0, '2025-12-20', 'Saturday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:11', 0, '0000-00-00 00:00:00'),
(8999, 9, 3, 0, '2025-12-21', 'Sunday', '', '', '5', 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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:11', 0, '0000-00-00 00:00:00'),
(9000, 9, 3, 0, '2025-12-22', 'Monday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:11', 0, '0000-00-00 00:00:00'),
(9001, 9, 3, 0, '2025-12-23', 'Tuesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:11', 0, '0000-00-00 00:00:00'),
(9002, 9, 3, 0, '2025-12-24', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:11', 0, '0000-00-00 00:00:00'),
(9003, 25, 7, 0, '2025-11-25', 'Tuesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9004, 25, 7, 0, '2025-11-26', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9005, 25, 7, 0, '2025-11-27', 'Thursday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9006, 25, 7, 0, '2025-11-28', 'Friday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9007, 25, 7, 0, '2025-11-29', 'Saturday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9008, 25, 7, 0, '2025-11-30', 'Sunday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9009, 25, 7, 0, '2025-12-01', 'Monday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9010, 25, 7, 0, '2025-12-02', 'Tuesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9011, 25, 7, 0, '2025-12-03', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9012, 25, 7, 0, '2025-12-04', 'Thursday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9013, 25, 7, 0, '2025-12-05', 'Friday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9014, 25, 7, 0, '2025-12-06', 'Saturday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9015, 25, 7, 0, '2025-12-07', 'Sunday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9016, 25, 7, 0, '2025-12-08', 'Monday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9017, 25, 7, 0, '2025-12-09', 'Tuesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9018, 25, 7, 0, '2025-12-10', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9019, 25, 7, 0, '2025-12-11', 'Thursday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9020, 25, 7, 0, '2025-12-12', 'Friday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9021, 25, 7, 0, '2025-12-13', 'Saturday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9022, 25, 7, 0, '2025-12-14', 'Sunday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9023, 25, 7, 0, '2025-12-15', 'Monday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9024, 25, 7, 0, '2025-12-16', 'Tuesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9025, 25, 7, 0, '2025-12-17', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9026, 25, 7, 0, '2025-12-18', 'Thursday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9027, 25, 7, 0, '2025-12-19', 'Friday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9028, 25, 7, 0, '2025-12-20', 'Saturday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9029, 25, 7, 0, '2025-12-21', 'Sunday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9030, 25, 7, 0, '2025-12-22', 'Monday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9031, 25, 7, 0, '2025-12-23', 'Tuesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9032, 25, 7, 0, '2025-12-24', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:14:36', 0, '0000-00-00 00:00:00'),
(9033, 3, 4, 0, '2025-11-25', 'Tuesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:47:35'),
(9034, 3, 4, 0, '2025-11-26', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:47:35'),
(9035, 3, 4, 0, '2025-11-27', 'Thursday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:47:35'),
(9036, 3, 4, 0, '2025-11-28', 'Friday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:47:35'),
(9037, 3, 4, 0, '2025-11-29', 'Saturday', '', '', '3', 108, '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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:53:09'),
(9038, 3, 4, 0, '2025-11-30', 'Sunday', '', '', '5', 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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9039, 3, 4, 0, '2025-12-01', 'Monday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9040, 3, 4, 0, '2025-12-02', 'Tuesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9041, 3, 4, 0, '2025-12-03', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9042, 3, 4, 0, '2025-12-04', 'Thursday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9043, 3, 4, 0, '2025-12-05', 'Friday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9044, 3, 4, 0, '2025-12-06', 'Saturday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9045, 3, 4, 0, '2025-12-07', 'Sunday', '', '', '5', 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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9046, 3, 4, 0, '2025-12-08', 'Monday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9047, 3, 4, 0, '2025-12-09', 'Tuesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9048, 3, 4, 0, '2025-12-10', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9049, 3, 4, 0, '2025-12-11', 'Thursday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9050, 3, 4, 0, '2025-12-12', 'Friday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9051, 3, 4, 0, '2025-12-13', 'Saturday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9052, 3, 4, 0, '2025-12-14', 'Sunday', '', '', '5', 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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9053, 3, 4, 0, '2025-12-15', 'Monday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9054, 3, 4, 0, '2025-12-16', 'Tuesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9055, 3, 4, 0, '2025-12-17', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9056, 3, 4, 0, '2025-12-18', 'Thursday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9057, 3, 4, 0, '2025-12-19', 'Friday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9058, 3, 4, 0, '2025-12-20', 'Saturday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9059, 3, 4, 0, '2025-12-21', 'Sunday', '', '', '5', 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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9060, 3, 4, 0, '2025-12-22', 'Monday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9061, 3, 4, 0, '2025-12-23', 'Tuesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9062, 3, 4, 0, '2025-12-24', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:17', 5, '2026-01-03 11:52:10'),
(9063, 17, 4, 0, '2025-11-25', 'Tuesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9064, 17, 4, 0, '2025-11-26', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9065, 17, 4, 0, '2025-11-27', 'Thursday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9066, 17, 4, 0, '2025-11-28', 'Friday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9067, 17, 4, 0, '2025-11-29', 'Saturday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9068, 17, 4, 0, '2025-11-30', 'Sunday', '', '', '5', 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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9069, 17, 4, 0, '2025-12-01', 'Monday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9070, 17, 4, 0, '2025-12-02', 'Tuesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9071, 17, 4, 0, '2025-12-03', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9072, 17, 4, 0, '2025-12-04', 'Thursday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9073, 17, 4, 0, '2025-12-05', 'Friday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9074, 17, 4, 0, '2025-12-06', 'Saturday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9075, 17, 4, 0, '2025-12-07', 'Sunday', '', '', '5', 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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9076, 17, 4, 0, '2025-12-08', 'Monday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9077, 17, 4, 0, '2025-12-09', 'Tuesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9078, 17, 4, 0, '2025-12-10', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9079, 17, 4, 0, '2025-12-11', 'Thursday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9080, 17, 4, 0, '2025-12-12', 'Friday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9081, 17, 4, 0, '2025-12-13', 'Saturday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9082, 17, 4, 0, '2025-12-14', 'Sunday', '', '', '5', 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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9083, 17, 4, 0, '2025-12-15', 'Monday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9084, 17, 4, 0, '2025-12-16', 'Tuesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9085, 17, 4, 0, '2025-12-17', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9086, 17, 4, 0, '2025-12-18', 'Thursday', '', '', '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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9087, 17, 4, 0, '2025-12-19', 'Friday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9088, 17, 4, 0, '2025-12-20', 'Saturday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9089, 17, 4, 0, '2025-12-21', 'Sunday', '', '', '5', 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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9090, 17, 4, 0, '2025-12-22', 'Monday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9091, 17, 4, 0, '2025-12-23', 'Tuesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9092, 17, 4, 0, '2025-12-24', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2025-12-29 12:15:43', 5, '2026-01-03 11:34:49'),
(9093, 3, 4, 0, '2025-12-25', 'Thursday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:52:10', 0, '0000-00-00 00:00:00'),
(9094, 3, 4, 0, '2025-12-26', 'Friday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:52:10', 0, '0000-00-00 00:00:00'),
(9095, 3, 4, 0, '2025-12-27', 'Saturday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:52:10', 0, '0000-00-00 00:00:00'),
(9096, 3, 4, 0, '2025-12-28', 'Sunday', '', '', '5', 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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:52:10', 0, '0000-00-00 00:00:00'),
(9097, 3, 4, 0, '2025-12-29', 'Monday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:52:10', 0, '0000-00-00 00:00:00'),
(9098, 3, 4, 0, '2025-12-30', 'Tuesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:52:10', 0, '0000-00-00 00:00:00'),
(9099, 3, 4, 0, '2025-12-31', 'Wednesday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:52:10', 0, '0000-00-00 00:00:00'),
(9100, 3, 4, 0, '2026-01-01', 'Thursday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:52:10', 0, '0000-00-00 00:00:00'),
(9101, 3, 4, 0, '2026-01-02', 'Friday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:52:10', 0, '0000-00-00 00:00:00'),
(9102, 3, 4, 0, '2026-01-03', 'Saturday', '09:00', '18: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', '09:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:52:10', 0, '0000-00-00 00:00:00'),
(9103, 11, 1, 0, '2025-11-25', 'Tuesday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:16', 0, '0000-00-00 00:00:00'),
(9104, 11, 1, 0, '2025-11-26', 'Wednesday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:16', 0, '0000-00-00 00:00:00'),
(9105, 11, 1, 0, '2025-11-27', 'Thursday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:16', 0, '0000-00-00 00:00:00'),
(9106, 11, 1, 0, '2025-11-28', 'Friday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:16', 0, '0000-00-00 00:00:00'),
(9107, 11, 1, 0, '2025-11-29', 'Saturday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:16', 0, '0000-00-00 00:00:00'),
(9108, 11, 1, 0, '2025-11-30', 'Sunday', '00:00', '00:00', '5', 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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:16', 0, '0000-00-00 00:00:00'),
(9109, 11, 1, 0, '2025-12-01', 'Monday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:16', 0, '0000-00-00 00:00:00'),
(9110, 11, 1, 0, '2025-12-02', 'Tuesday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:16', 0, '0000-00-00 00:00:00'),
(9111, 11, 1, 0, '2025-12-03', 'Wednesday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:17', 0, '0000-00-00 00:00:00'),
(9112, 11, 1, 0, '2025-12-04', 'Thursday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:17', 0, '0000-00-00 00:00:00'),
(9113, 11, 1, 0, '2025-12-05', 'Friday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:17', 0, '0000-00-00 00:00:00'),
(9114, 11, 1, 0, '2025-12-06', 'Saturday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:17', 0, '0000-00-00 00:00:00'),
(9115, 11, 1, 0, '2025-12-07', 'Sunday', '00:00', '00:00', '5', 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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:17', 0, '0000-00-00 00:00:00'),
(9116, 11, 1, 0, '2025-12-08', 'Monday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:17', 0, '0000-00-00 00:00:00'),
(9117, 11, 1, 0, '2025-12-09', 'Tuesday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:17', 0, '0000-00-00 00:00:00'),
(9118, 11, 1, 0, '2025-12-10', 'Wednesday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:17', 0, '0000-00-00 00:00:00'),
(9119, 11, 1, 0, '2025-12-11', 'Thursday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:17', 0, '0000-00-00 00:00:00'),
(9120, 11, 1, 0, '2025-12-12', 'Friday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:17', 0, '0000-00-00 00:00:00'),
(9121, 11, 1, 0, '2025-12-13', 'Saturday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:17', 0, '0000-00-00 00:00:00'),
(9122, 11, 1, 0, '2025-12-14', 'Sunday', '00:00', '00:00', '5', 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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:17', 0, '0000-00-00 00:00:00'),
(9123, 11, 1, 0, '2025-12-15', 'Monday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:17', 0, '0000-00-00 00:00:00'),
(9124, 11, 1, 0, '2025-12-16', 'Tuesday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:17', 0, '0000-00-00 00:00:00'),
(9125, 11, 1, 0, '2025-12-17', 'Wednesday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:17', 0, '0000-00-00 00:00:00'),
(9126, 11, 1, 0, '2025-12-18', 'Thursday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:18', 0, '0000-00-00 00:00:00'),
(9127, 11, 1, 0, '2025-12-19', 'Friday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:18', 0, '0000-00-00 00:00:00'),
(9128, 11, 1, 0, '2025-12-20', 'Saturday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:18', 0, '0000-00-00 00:00:00'),
(9129, 11, 1, 0, '2025-12-21', 'Sunday', '00:00', '00:00', '5', 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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:18', 0, '0000-00-00 00:00:00'),
(9130, 11, 1, 0, '2025-12-22', 'Monday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:18', 0, '0000-00-00 00:00:00'),
(9131, 11, 1, 0, '2025-12-23', 'Tuesday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:18', 0, '0000-00-00 00:00:00'),
(9132, 11, 1, 0, '2025-12-24', 'Wednesday', '09:00', '18: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', '00:00:00', '', '', '', '', 'D', 'O', 'O', 5, '2026-01-03 11:59:18', 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,
  `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;

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

--
-- 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
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- 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;

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

--
-- 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, 4, '1999-11-08', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(2, 2, 2, '1972-11-14', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(3, 3, 4, '1986-08-31', '2025-10-31', 0, '0000-00-00 00:00:00', 5, '2025-11-13 02:30:26'),
(4, 4, 4, '1979-07-20', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(5, 5, 2, '1997-01-01', '2023-06-29', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(6, 6, 1, '1991-09-04', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(7, 7, 1, '1990-01-01', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(8, 8, 1, '1996-02-15', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(9, 9, 4, '1996-01-01', '2025-09-10', 0, '0000-00-00 00:00:00', 5, '2025-11-12 02:18:06'),
(10, 10, 3, '1990-01-10', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(11, 11, 1, '1984-08-18', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(12, 12, 1, '2023-10-09', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(13, 13, 2, '2023-10-17', '2023-11-09', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(14, 13, 1, '2023-11-10', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(15, 14, 2, '2023-11-15', '2023-11-20', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(16, 14, 1, '2023-11-21', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(17, 5, 1, '2023-06-30', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(18, 15, 2, '2024-01-02', '2024-05-14', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(19, 16, 4, '2024-02-19', '2024-02-29', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(20, 17, 4, '2024-02-19', '2025-09-30', 0, '0000-00-00 00:00:00', 5, '2025-11-13 02:30:26'),
(21, 15, 4, '2024-05-15', '2024-02-29', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(22, 16, 2, '2024-03-01', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(23, 15, 2, '2024-03-01', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(24, 18, 1, '2023-07-28', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(25, 19, 1, '2023-12-15', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(26, 20, 1, '2024-10-08', '2024-09-30', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(27, 21, 2, '2024-12-11', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(28, 22, 2, '2024-10-23', '2024-10-22', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(29, 23, 1, '2024-07-01', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(30, 22, 1, '2024-10-23', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(31, 20, 2, '2024-10-01', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(32, 24, 3, '2025-08-12', '2025-09-10', 0, '0000-00-00 00:00:00', 5, '2025-11-12 02:18:32'),
(33, 25, 1, '2025-09-30', '2025-09-30', 0, '0000-00-00 00:00:00', 5, '2025-11-13 02:30:42'),
(34, 26, 1, '2025-10-27', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(35, 9, 3, '2025-09-11', '0000-00-00', 5, '2025-11-12 02:18:06', 0, '0000-00-00 00:00:00'),
(36, 24, 2, '2025-09-11', '0000-00-00', 5, '2025-11-12 02:18:32', 0, '0000-00-00 00:00:00'),
(37, 3, 5, '2025-11-01', '2025-09-30', 5, '2025-11-13 02:30:26', 5, '2025-11-13 04:08:02'),
(38, 17, 7, '2025-10-01', '2025-09-30', 5, '2025-11-13 02:30:26', 5, '2025-11-13 03:01:40'),
(39, 25, 7, '2025-10-01', '2025-09-30', 5, '2025-11-13 02:30:42', 5, '2025-11-13 03:01:40'),
(40, 25, 1, '2025-10-01', '2025-09-30', 5, '2025-11-13 03:01:40', 5, '2025-11-13 03:08:08'),
(41, 17, 4, '2025-10-01', '2025-09-30', 5, '2025-11-13 03:01:40', 5, '2025-11-13 03:56:41'),
(42, 25, 7, '2025-10-01', '2025-09-30', 5, '2025-11-13 03:08:08', 5, '2025-11-13 03:10:00'),
(43, 25, 1, '2025-10-01', '2025-09-30', 5, '2025-11-13 03:10:00', 5, '2025-11-13 03:56:11'),
(44, 25, 7, '2025-10-01', '0000-00-00', 5, '2025-11-13 03:56:11', 0, '0000-00-00 00:00:00'),
(45, 17, 7, '2025-10-01', '2025-07-31', 5, '2025-11-13 03:56:41', 5, '2025-11-19 06:25:36'),
(46, 3, 4, '2025-10-01', '0000-00-00', 5, '2025-11-13 04:08:02', 0, '0000-00-00 00:00:00'),
(47, 17, 3, '2025-08-01', '2025-06-30', 5, '2025-11-19 06:25:36', 5, '2025-11-19 06:27:25'),
(48, 17, 4, '2025-07-01', '0000-00-00', 5, '2025-11-19 06:27:25', 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,
  `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;

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

--
-- 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;

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

--
-- 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, 1, '1999-11-08', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(2, 2, 1, '1972-11-14', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(3, 3, 1, '1986-08-31', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(4, 4, 1, '1979-07-20', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(5, 5, 1, '1997-01-01', '2023-11-09', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(6, 6, 1, '1991-09-04', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(7, 7, 2, '1990-01-01', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(8, 8, 2, '1996-02-15', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(9, 9, 1, '1996-01-01', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(10, 10, 1, '1990-01-10', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(11, 11, 2, '1984-08-18', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(12, 12, 2, '2023-10-09', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(13, 13, 2, '2023-10-17', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(14, 5, 2, '2023-11-10', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(15, 14, 2, '2023-11-15', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(16, 15, 1, '2024-01-02', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(17, 16, 1, '2024-02-19', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(18, 17, 1, '2024-02-19', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(19, 18, 2, '2023-07-28', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(20, 19, 2, '2023-12-15', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(21, 20, 1, '2024-10-08', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(22, 21, 1, '2024-12-11', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(23, 22, 2, '2024-10-23', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(24, 23, 2, '2024-07-01', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(25, 24, 1, '2025-08-12', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(26, 25, 1, '2025-09-30', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(27, 26, 2, '2025-10-27', '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, 1, '1999-11-08', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(2, 2, 7, '1972-11-14', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(3, 3, 1, '1986-08-31', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(4, 4, 7, '1979-07-20', '2023-11-09', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(5, 5, 5, '1997-01-01', '2023-11-09', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(6, 6, 3, '1991-09-04', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(7, 7, 2, '1990-01-01', '2023-11-09', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(8, 8, 6, '1996-02-15', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(9, 9, 8, '1996-01-01', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(10, 10, 7, '1990-01-10', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(11, 11, 4, '1984-08-18', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(12, 12, 2, '2023-10-09', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(13, 13, 3, '2023-10-17', '2023-11-09', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(14, 7, 13, '2023-11-10', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(15, 5, 13, '2023-11-10', '2023-11-19', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(16, 13, 11, '2023-11-10', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(17, 4, 12, '2023-11-10', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(18, 5, 14, '2023-11-20', '2023-07-23', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(19, 5, 13, '2023-07-24', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(20, 14, 14, '2023-11-15', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(21, 15, 1, '2024-01-02', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(22, 16, 1, '2024-02-19', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(23, 17, 1, '2024-02-19', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(24, 18, 13, '2023-07-28', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(25, 19, 15, '2023-12-15', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(26, 20, 1, '2024-10-08', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(27, 21, 16, '2024-12-11', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(28, 22, 13, '2024-10-23', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(29, 23, 3, '2024-07-01', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(30, 24, 17, '2025-08-12', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(31, 25, 1, '2025-09-30', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(32, 26, 2, '2025-10-27', '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;

--
-- Dumping data for table `erp_hr_employee_documents`
--

INSERT INTO `erp_hr_employee_documents` (`id`, `employee_id`, `document_id`, `document_number`, `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, 1, 'N9000407', 'Passport60.pdf', '2031-08-04', '2031-07-05', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(2, 1, 7, 'MB250958041AE', 'Mohre -Vimal27.pdf', '2025-08-04', '2025-07-05', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(3, 2, 7, 'MB252688866AE', 'mohre contract.pdf,mohre contract77.pdf', '2025-09-25', '2025-08-26', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(4, 2, 1, 'NU6892213', 'Passport80.pdf', '2024-04-22', '2024-03-23', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(5, 2, 4, '784198668537370', 'visa-FMTS.pdf', '2023-12-08', '2023-11-08', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(11, 1, 2, '784-1999-3402262-7', 'FMTS-EID.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(12, 1, 4, '784199934022627', 'VISA-FMTS75.pdf', '2025-10-19', '2025-09-19', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(13, 2, 2, '784-1986-6853737-0', 'FMTS-EID14.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(14, 4, 7, 'MB248702433AE', 'MOHRE Contract.pdf', '2025-07-18', '2025-06-18', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(15, 4, 2, '784-1979-4551720-5', 'EID.jpeg', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(16, 4, 1, 'N015295257', 'Passport59.pdf', '2028-03-07', '2028-02-06', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(17, 4, 4, '784197945517205', 'eResidency.pdf', '2025-08-08', '2025-07-09', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(19, 12, 7, 'MB255267228AE', 'Employment Contract Signed joanna.pdf', '2025-11-07', '1969-12-02', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(20, 12, 1, 'P0530996B', 'Passport Copy - Joanna.pdf', '2029-02-02', '1969-12-02', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(21, 12, 8, '008', 'Offer letter-Joanna.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(22, 13, 7, 'MB253947448AE', 'Mohre-FMTS5532.pdf', '2027-10-17', '2027-09-17', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(23, 13, 1, 'U0595170', 'passport.pdf', '2030-02-23', '2030-01-24', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(25, 3, 1, 'N7652206', 'Passport31.pdf', '2028-02-22', '2028-01-23', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(26, 17, 2, '', 'EID-Intajul.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(27, 17, 4, '', 'E-Visa Intajul.pdf', '2026-04-30', '2026-03-31', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(28, 17, 7, '', 'Mohre contract-Intajul Rahman.pdf', '2026-03-20', '2026-02-18', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(29, 17, 1, '', '', '2028-10-09', '2028-09-09', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(30, 16, 7, '', 'Mohre Contract-Akram Raza.pdf', '2026-03-22', '2026-02-20', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(31, 16, 1, '', 'Paspport-Akram Raza.jpeg', '2029-03-11', '2029-02-09', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(32, 16, 8, '', 'Offer Letter-Akram Raza.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(33, 15, 7, '', 'Mohre Contract - Dilshad Alam.pdf', '2025-12-19', '2025-11-19', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(34, 15, 2, '', 'EID-Dilshad Alam.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(35, 15, 1, '', 'Passport -Dilshad Alam.pdf', '2029-01-27', '2028-12-28', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(36, 15, 8, '', 'Signed offer letter-Dilshad Alam.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(37, 14, 2, '', 'EID-Brayan.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(38, 14, 8, '', 'Signed offer letter -Bryan Faraon.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(39, 14, 1, '', 'Passport-Bryan.jpeg', '2030-07-20', '2030-06-20', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(40, 14, 7, '', 'Mohre Contract- BRYAN  FARAON.pdf', '2025-12-19', '2025-11-19', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(41, 13, 8, '', 'Offer letter singed -Anish Nair.jpeg', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(42, 13, 4, '', 'eVisa-Anish Nair.pdf,Residence-Anish Nair.pdf', '2027-12-16', '2027-11-16', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(43, 3, 7, '', 'Mohre Contract -George Anthony.pdf', '2027-11-26', '2027-10-27', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(44, 3, 2, '', 'EID-George Anthony.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(45, 3, 4, '', 'Residence -George Anthony.pdf', '2027-12-20', '2027-11-20', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(47, 9, 1, '', 'passport.jpeg', '2030-09-01', '2030-08-02', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(48, 10, 7, '', 'SUHEL SALIM-Mohre.pdf', '2025-11-06', '2025-10-07', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(49, 10, 2, '', 'EID-Suhel Halawi.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(50, 10, 1, '', 'Paspport.pdf', '2034-12-31', '2034-12-01', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(51, 10, 4, '', 'Evisa.pdf,EResidence -Suhel Halawi.pdf', '2026-01-04', '2025-12-05', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(52, 12, 4, '', 'EResidence-Joanna.pdf', '2026-01-03', '2025-12-04', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(53, 13, 2, '', '', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(54, 16, 4, '', 'EResidence-Akram Raza.pdf', '2026-05-12', '2026-04-12', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(55, 17, 8, '', 'Offer letter-Intajul Rahman Molla.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(56, 18, 2, '784-1981-1393286-1', 'EID-Vinod.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(57, 18, 7, 'MB249229633AE', 'MOHRE Contract-Vinod.pdf', '2027-09-01', '2027-08-02', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(58, 18, 4, '784-1981-1393286-1', 'Residence-Vinod.pdf', '2027-08-01', '2027-07-02', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(59, 26, 1, '', 'PASSPORT  1   1 89.pdf', '2029-11-14', '2029-10-15', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(60, 26, 4, '203/2025/2261244', 'VISA70.pdf', '2027-12-14', '2027-11-14', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(61, 26, 7, '133397949', 'WhatsApp Image 2025-12-10 at 12 41 2091.jpeg', '2027-12-03', '2027-11-03', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(62, 24, 1, 'P9038686C', 'JOHN PAUL FLORES PP -.pdf', '2035-02-18', '2035-01-19', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(63, 24, 4, '202/2025/2811515', 'JOHN PAUL EResidence20220252811515.pdf', '2027-10-08', '2027-09-08', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(64, 20, 1, 'P9092264B', 'PASSPORT.pdf', '2032-02-27', '2032-01-28', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(65, 20, 2, '784-1984-4696528-1', 'Mr  Robert EID 2026.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(66, 20, 4, '202/2024/2768599', 'Robert Quimbo Residence Visa 20220242768599.pdf', '2026-11-25', '2026-10-26', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(67, 20, 4, '117532337', 'Mr  Robert Labour Card 2026.jpeg', '2026-09-03', '2026-08-04', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(68, 26, 8, '', 'Offer79.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(69, 24, 2, '784-2003-2151031-3', 'EID opt.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(70, 24, 7, '', 'JOHN PAUL FLORES SIGNED OFFER LETTER.pdf', '2027-10-08', '2027-09-08', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(71, 15, 4, '111519681', 'Dilshad ALAM .jpeg', '2025-12-18', '2025-11-18', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(72, 9, 2, '784-1996-7603615-7', '20251124142644.pdf,20251124142705.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(73, 9, 4, '202/2023/2268985', 'eResidency  37 .pdf', '2027-10-23', '2027-09-23', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(74, 9, 7, '132816035', 'WP.jpg', '2027-09-02', '2027-08-03', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(75, 9, 8, '', 'receiptsmohregovae PersonContract ContractView  251016 155024.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(76, 16, 2, '784-1989-7951518-0', 'Akram EID till 2026.docx', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(77, 16, 6, '113651704', 'Akram Raza.jpeg', '2026-04-03', '2026-03-19', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(78, 6, 2, '784-1991-2130372-3', 'EID Mamitha new opt.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(79, 6, 1, 'B7967934', 'Mamitha Passport 28-01-2034 opt.pdf', '2034-01-28', '2033-12-29', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(80, 6, 4, '202/2023/2306825', 'eResidency - mamitha till 2027 2.pdf', '2027-06-28', '2027-05-29', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(81, 6, 7, '130566219', 'Mamitha Labor Card till 2027.jpeg', '2027-08-20', '2027-07-21', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(82, 6, 8, '', 'Mamitha Contract Signed.pdf', '0000-00-00', '0000-00-00', 0, 0, '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00');

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

--
-- 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_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;

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

--
-- Table structure for table `erp_hr_employee_eos_clearance_details`
--

CREATE TABLE `erp_hr_employee_eos_clearance_details` (
  `id` int(11) NOT NULL,
  `eos_id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `clearance_id` int(11) NOT NULL,
  `clearance_status` 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=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_eos_details`
--

CREATE TABLE `erp_hr_employee_eos_details` (
  `id` int(11) NOT NULL,
  `eos_id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `salary_id` int(11) NOT NULL,
  `salary_name` varchar(255) NOT NULL,
  `salary_amount` decimal(15,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_eos_payment`
--

CREATE TABLE `erp_hr_employee_eos_payment` (
  `id` int(11) NOT NULL,
  `eos_id` int(11) NOT NULL,
  `mas_payment_type` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `amount` decimal(10,3) 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_hr_employee_expense`
--

CREATE TABLE `erp_hr_employee_expense` (
  `id` int(11) NOT NULL,
  `function_type` int(11) NOT NULL,
  `last_approved_level` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `total` 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,
  `approved_by` int(11) NOT NULL,
  `approved_date` date NOT NULL,
  `approval_comment` text NOT NULL,
  `created_date` date NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 0,
  `payment_mode` int(11) NOT NULL COMMENT '1-Cash,2-Cheque,3-Bank Tranfer ',
  `payment_date` date NOT NULL,
  `remarks` text NOT NULL,
  `credit_account` int(11) NOT NULL,
  `cheque_date` date NOT NULL,
  `payment_status` enum('Y','N') NOT NULL DEFAULT 'N',
  `cheque_no` varchar(50) NOT NULL,
  `accounts_verified` enum('Y','N') NOT NULL DEFAULT 'N',
  `verified_by` int(11) NOT NULL,
  `verified_by_name` varchar(700) NOT NULL,
  `verified_date_time` datetime NOT NULL,
  `finance_posted` enum('Y','N') NOT NULL DEFAULT 'N',
  `view_status` 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
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_expense_details`
--

CREATE TABLE `erp_hr_employee_expense_details` (
  `id` int(11) NOT NULL,
  `expense_id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `expense_component_id` int(11) NOT NULL,
  `expense_date` date NOT NULL,
  `currency_id` int(11) NOT NULL,
  `exchange_rate` decimal(15,2) NOT NULL,
  `notes` text NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `grand_total` decimal(15,2) NOT NULL,
  `file` varchar(255) NOT NULL,
  `person_attended_entertained` varchar(700) NOT NULL,
  `company` varchar(700) NOT NULL,
  `place` varchar(700) NOT NULL,
  `business_details` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_geocode`
--

CREATE TABLE `erp_hr_employee_geocode` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `latitude` varchar(200) NOT NULL,
  `longitude` varchar(200) NOT NULL,
  `description` varchar(700) NOT NULL,
  `isActive` enum('Y','N') 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_hr_employee_inout_document`
--

CREATE TABLE `erp_hr_employee_inout_document` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `in_out_document_id` int(11) NOT NULL,
  `in_out_type` int(11) NOT NULL,
  `in_out_date` date NOT NULL,
  `in_out_remarks` 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_inprocess_document`
--

CREATE TABLE `erp_hr_employee_inprocess_document` (
  `id` int(11) NOT NULL,
  `employee_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_employee_leave`
--

CREATE TABLE `erp_hr_employee_leave` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `leave_type` int(11) NOT NULL,
  `leave_year` int(11) NOT NULL,
  `leave_opening` decimal(10,2) NOT NULL,
  `leave_current_balance` decimal(10,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=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_leave`
--

INSERT INTO `erp_hr_employee_leave` (`id`, `employee_id`, `leave_type`, `leave_year`, `leave_opening`, `leave_current_balance`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 2, 1, 2023, 30.00, 28.00, 5, '2023-11-21 17:19:18', 16, '2023-12-06 11:40:29'),
(2, 2, 5, 2023, 15.00, 15.00, 5, '2023-11-21 17:19:35', 0, '0000-00-00 00:00:00'),
(3, 2, 9, 2023, 30.00, 30.00, 5, '2023-11-21 17:19:58', 0, '0000-00-00 00:00:00'),
(4, 2, 13, 2023, 45.00, 45.00, 5, '2023-11-21 17:20:15', 0, '0000-00-00 00:00:00'),
(5, 8, 2, 2023, 30.00, 30.00, 5, '2023-11-21 17:20:45', 0, '0000-00-00 00:00:00'),
(6, 5, 2, 2023, 30.00, 30.00, 5, '2023-11-21 17:20:46', 0, '0000-00-00 00:00:00'),
(7, 13, 2, 2023, 30.00, 30.00, 5, '2023-11-21 17:20:46', 0, '0000-00-00 00:00:00'),
(8, 14, 2, 2023, 30.00, 30.00, 5, '2023-11-21 17:20:46', 0, '0000-00-00 00:00:00'),
(9, 11, 2, 2023, 30.00, 30.00, 5, '2023-11-21 17:20:46', 0, '0000-00-00 00:00:00'),
(10, 12, 2, 2023, 30.00, 30.00, 5, '2023-11-21 17:20:46', 0, '0000-00-00 00:00:00'),
(11, 6, 2, 2023, 30.00, 30.00, 5, '2023-11-21 17:20:46', 0, '0000-00-00 00:00:00'),
(12, 8, 6, 2023, 15.00, 11.00, 5, '2023-11-21 17:21:09', 19, '2023-12-06 11:45:43'),
(13, 5, 6, 2023, 15.00, 15.00, 5, '2023-11-21 17:21:09', 0, '0000-00-00 00:00:00'),
(14, 13, 6, 2023, 15.00, 14.00, 5, '2023-11-21 17:21:09', 19, '2024-04-23 16:51:29'),
(15, 14, 6, 2023, 15.00, 15.00, 5, '2023-11-21 17:21:09', 0, '0000-00-00 00:00:00'),
(16, 11, 6, 2023, 15.00, 15.00, 5, '2023-11-21 17:21:09', 0, '0000-00-00 00:00:00'),
(17, 12, 6, 2023, 15.00, 14.00, 5, '2023-11-21 17:21:09', 19, '2024-04-23 16:51:39'),
(18, 6, 6, 2023, 15.00, 15.00, 5, '2023-11-21 17:21:09', 0, '0000-00-00 00:00:00'),
(19, 8, 10, 2023, 30.00, 30.00, 5, '2023-11-21 17:21:33', 0, '0000-00-00 00:00:00'),
(20, 5, 10, 2023, 30.00, 30.00, 5, '2023-11-21 17:21:33', 0, '0000-00-00 00:00:00'),
(21, 13, 10, 2023, 30.00, 30.00, 5, '2023-11-21 17:21:33', 0, '0000-00-00 00:00:00'),
(22, 14, 10, 2023, 30.00, 30.00, 5, '2023-11-21 17:21:33', 0, '0000-00-00 00:00:00'),
(23, 11, 10, 2023, 30.00, 30.00, 5, '2023-11-21 17:21:33', 0, '0000-00-00 00:00:00'),
(24, 12, 10, 2023, 30.00, 30.00, 5, '2023-11-21 17:21:33', 0, '0000-00-00 00:00:00'),
(25, 6, 10, 2023, 30.00, 30.00, 5, '2023-11-21 17:21:33', 0, '0000-00-00 00:00:00'),
(26, 8, 14, 2023, 45.00, 45.00, 5, '2023-11-21 17:21:55', 0, '0000-00-00 00:00:00'),
(27, 5, 14, 2023, 45.00, 45.00, 5, '2023-11-21 17:21:55', 0, '0000-00-00 00:00:00'),
(28, 13, 14, 2023, 45.00, 45.00, 5, '2023-11-21 17:21:55', 0, '0000-00-00 00:00:00'),
(29, 14, 14, 2023, 45.00, 45.00, 5, '2023-11-21 17:21:55', 0, '0000-00-00 00:00:00'),
(30, 11, 14, 2023, 45.00, 45.00, 5, '2023-11-21 17:21:55', 0, '0000-00-00 00:00:00'),
(31, 12, 14, 2023, 45.00, 45.00, 5, '2023-11-21 17:21:55', 0, '0000-00-00 00:00:00'),
(32, 6, 14, 2023, 45.00, 45.00, 5, '2023-11-21 17:21:55', 0, '0000-00-00 00:00:00'),
(33, 10, 3, 2023, 30.00, 30.00, 5, '2023-11-21 17:22:12', 0, '0000-00-00 00:00:00'),
(34, 10, 7, 2023, 15.00, 15.00, 5, '2023-11-21 17:22:25', 0, '0000-00-00 00:00:00'),
(35, 10, 11, 2023, 30.00, 30.00, 5, '2023-11-21 17:22:38', 0, '0000-00-00 00:00:00'),
(36, 10, 15, 2023, 45.00, 45.00, 5, '2023-11-21 17:22:52', 0, '0000-00-00 00:00:00'),
(37, 3, 4, 2023, 30.00, 30.00, 5, '2023-11-21 17:23:30', 0, '0000-00-00 00:00:00'),
(38, 9, 4, 2023, 30.00, 30.00, 5, '2023-11-21 17:23:30', 0, '0000-00-00 00:00:00'),
(39, 1, 4, 2023, 30.00, 29.00, 5, '2023-11-21 17:23:30', 16, '2023-11-22 15:57:57'),
(40, 4, 4, 2023, 30.00, 30.00, 5, '2023-11-21 17:23:30', 0, '0000-00-00 00:00:00'),
(41, 3, 8, 2023, 15.00, 15.00, 5, '2023-11-21 17:24:19', 0, '0000-00-00 00:00:00'),
(42, 9, 8, 2023, 15.00, 15.00, 5, '2023-11-21 17:24:19', 0, '0000-00-00 00:00:00'),
(43, 1, 8, 2023, 15.00, 14.00, 5, '2023-11-21 17:24:19', 5, '2023-12-19 12:27:30'),
(44, 4, 8, 2023, 15.00, 15.00, 5, '2023-11-21 17:24:19', 0, '0000-00-00 00:00:00'),
(45, 3, 12, 2023, 30.00, 30.00, 5, '2023-11-21 17:24:41', 0, '0000-00-00 00:00:00'),
(46, 9, 12, 2023, 30.00, 30.00, 5, '2023-11-21 17:24:41', 0, '0000-00-00 00:00:00'),
(47, 1, 12, 2023, 30.00, 30.00, 5, '2023-11-21 17:24:41', 0, '0000-00-00 00:00:00'),
(48, 4, 12, 2023, 30.00, 30.00, 5, '2023-11-21 17:24:41', 0, '0000-00-00 00:00:00'),
(49, 3, 16, 2023, 45.00, 45.00, 5, '2023-11-21 17:25:05', 0, '0000-00-00 00:00:00'),
(50, 9, 16, 2023, 45.00, 45.00, 5, '2023-11-21 17:25:05', 0, '0000-00-00 00:00:00'),
(51, 1, 16, 2023, 45.00, 45.00, 5, '2023-11-21 17:25:05', 0, '0000-00-00 00:00:00'),
(52, 4, 16, 2023, 45.00, 45.00, 5, '2023-11-21 17:25:05', 0, '0000-00-00 00:00:00'),
(53, 15, 1, 2024, 30.00, 30.00, 5, '2024-04-23 16:11:37', 0, '0000-00-00 00:00:00'),
(54, 2, 1, 2024, 30.00, 30.00, 5, '2024-04-23 16:11:37', 0, '0000-00-00 00:00:00'),
(55, 15, 5, 2024, 15.00, 15.00, 5, '2024-04-23 16:12:09', 0, '0000-00-00 00:00:00'),
(56, 2, 5, 2024, 15.00, 15.00, 5, '2024-04-23 16:12:09', 0, '0000-00-00 00:00:00'),
(57, 15, 9, 2024, 30.00, 30.00, 5, '2024-04-23 16:12:42', 0, '0000-00-00 00:00:00'),
(58, 2, 9, 2024, 30.00, 30.00, 5, '2024-04-23 16:12:42', 0, '0000-00-00 00:00:00'),
(59, 15, 13, 2024, 45.00, 45.00, 5, '2024-04-23 16:13:14', 0, '0000-00-00 00:00:00'),
(60, 2, 13, 2024, 45.00, 45.00, 5, '2024-04-23 16:13:14', 0, '0000-00-00 00:00:00'),
(61, 8, 2, 2024, 30.00, 27.00, 5, '2024-04-23 16:13:28', 19, '2024-05-10 11:22:42'),
(62, 5, 2, 2024, 30.00, 30.00, 5, '2024-04-23 16:13:28', 0, '0000-00-00 00:00:00'),
(63, 13, 2, 2024, 30.00, 30.00, 5, '2024-04-23 16:13:28', 0, '0000-00-00 00:00:00'),
(64, 14, 2, 2024, 30.00, 30.00, 5, '2024-04-23 16:13:28', 0, '0000-00-00 00:00:00'),
(65, 7, 2, 2024, 30.00, 30.00, 5, '2024-04-23 16:13:28', 0, '0000-00-00 00:00:00'),
(66, 11, 2, 2024, 30.00, 30.00, 5, '2024-04-23 16:13:28', 0, '0000-00-00 00:00:00'),
(67, 12, 2, 2024, 30.00, 26.00, 5, '2024-04-23 16:13:28', 5, '2024-07-25 14:12:22'),
(68, 6, 2, 2024, 30.00, -4.00, 5, '2024-04-23 16:13:28', 5, '2024-07-17 14:57:12'),
(69, 8, 10, 2024, 30.00, 30.00, 1, '2024-04-23 16:14:47', 0, '0000-00-00 00:00:00'),
(70, 5, 10, 2024, 30.00, 30.00, 1, '2024-04-23 16:14:47', 0, '0000-00-00 00:00:00'),
(71, 13, 10, 2024, 30.00, 30.00, 1, '2024-04-23 16:14:47', 0, '0000-00-00 00:00:00'),
(72, 14, 10, 2024, 30.00, 30.00, 1, '2024-04-23 16:14:47', 0, '0000-00-00 00:00:00'),
(73, 7, 10, 2024, 30.00, 30.00, 1, '2024-04-23 16:14:47', 0, '0000-00-00 00:00:00'),
(74, 11, 10, 2024, 30.00, 30.00, 1, '2024-04-23 16:14:47', 0, '0000-00-00 00:00:00'),
(75, 12, 10, 2024, 30.00, 29.50, 1, '2024-04-23 16:14:47', 5, '2024-08-27 16:17:24'),
(76, 6, 10, 2024, 30.00, 30.00, 1, '2024-04-23 16:14:47', 0, '0000-00-00 00:00:00'),
(77, 8, 14, 2024, 45.00, 45.00, 1, '2024-04-23 16:14:59', 0, '0000-00-00 00:00:00'),
(78, 5, 14, 2024, 45.00, 45.00, 1, '2024-04-23 16:14:59', 0, '0000-00-00 00:00:00'),
(79, 13, 14, 2024, 45.00, 45.00, 1, '2024-04-23 16:14:59', 0, '0000-00-00 00:00:00'),
(80, 14, 14, 2024, 45.00, 45.00, 1, '2024-04-23 16:14:59', 0, '0000-00-00 00:00:00'),
(81, 7, 14, 2024, 45.00, 45.00, 1, '2024-04-23 16:14:59', 0, '0000-00-00 00:00:00'),
(82, 11, 14, 2024, 45.00, 45.00, 1, '2024-04-23 16:14:59', 0, '0000-00-00 00:00:00'),
(83, 12, 14, 2024, 45.00, 44.00, 1, '2024-04-23 16:14:59', 5, '2024-08-27 16:17:30'),
(84, 6, 14, 2024, 45.00, 45.00, 1, '2024-04-23 16:14:59', 0, '0000-00-00 00:00:00'),
(85, 10, 3, 2024, 30.00, 15.00, 1, '2024-04-23 16:15:32', 5, '2024-04-26 11:47:48'),
(86, 10, 7, 2024, 15.00, 14.00, 1, '2024-04-23 16:15:46', 5, '2024-08-28 14:17:23'),
(87, 10, 11, 2024, 30.00, 30.00, 1, '2024-04-23 16:16:00', 0, '0000-00-00 00:00:00'),
(88, 10, 15, 2024, 45.00, 45.00, 1, '2024-04-23 16:16:10', 0, '0000-00-00 00:00:00'),
(89, 16, 1, 2024, 30.00, 0.00, 1, '2024-04-23 16:16:57', 0, '0000-00-00 00:00:00'),
(90, 3, 4, 2024, 30.00, 30.00, 1, '2024-04-23 16:16:57', 0, '0000-00-00 00:00:00'),
(91, 17, 4, 2024, 30.00, 0.00, 1, '2024-04-23 16:16:57', 0, '0000-00-00 00:00:00'),
(92, 9, 4, 2024, 30.00, 30.00, 1, '2024-04-23 16:16:57', 0, '0000-00-00 00:00:00'),
(93, 1, 4, 2024, 30.00, 30.00, 1, '2024-04-23 16:16:57', 0, '0000-00-00 00:00:00'),
(94, 4, 4, 2024, 30.00, 0.00, 1, '2024-04-23 16:16:57', 5, '2024-05-04 14:04:23'),
(95, 16, 5, 2024, 13.03, 13.03, 1, '2024-04-23 16:17:15', 0, '0000-00-00 00:00:00'),
(96, 3, 8, 2024, 15.00, 10.00, 1, '2024-04-23 16:17:15', 5, '2024-08-28 14:17:36'),
(97, 17, 8, 2024, 13.03, 13.03, 1, '2024-04-23 16:17:15', 0, '0000-00-00 00:00:00'),
(98, 9, 8, 2024, 15.00, 15.00, 1, '2024-04-23 16:17:15', 0, '0000-00-00 00:00:00'),
(99, 1, 8, 2024, 15.00, 13.00, 1, '2024-04-23 16:17:15', 5, '2024-06-20 15:18:06'),
(100, 4, 8, 2024, 15.00, 0.00, 1, '2024-04-23 16:17:15', 5, '2024-07-17 14:59:14'),
(101, 16, 9, 2024, 26.05, 26.05, 1, '2024-04-23 16:17:29', 0, '0000-00-00 00:00:00'),
(102, 3, 12, 2024, 30.00, 30.00, 1, '2024-04-23 16:17:29', 0, '0000-00-00 00:00:00'),
(103, 17, 12, 2024, 26.05, 26.05, 1, '2024-04-23 16:17:29', 0, '0000-00-00 00:00:00'),
(104, 9, 12, 2024, 30.00, 30.00, 1, '2024-04-23 16:17:29', 0, '0000-00-00 00:00:00'),
(105, 1, 12, 2024, 30.00, 30.00, 1, '2024-04-23 16:17:29', 0, '0000-00-00 00:00:00'),
(106, 4, 12, 2024, 30.00, 0.00, 1, '2024-04-23 16:17:29', 5, '2024-08-28 17:11:08'),
(107, 16, 13, 2024, 39.08, 39.08, 1, '2024-04-23 16:17:41', 0, '0000-00-00 00:00:00'),
(108, 3, 16, 2024, 45.00, 45.00, 1, '2024-04-23 16:17:41', 0, '0000-00-00 00:00:00'),
(109, 17, 16, 2024, 39.08, 39.08, 1, '2024-04-23 16:17:41', 0, '0000-00-00 00:00:00'),
(110, 9, 16, 2024, 45.00, 45.00, 1, '2024-04-23 16:17:41', 0, '0000-00-00 00:00:00'),
(111, 1, 16, 2024, 45.00, 45.00, 1, '2024-04-23 16:17:41', 0, '0000-00-00 00:00:00'),
(112, 4, 16, 2024, 45.00, 45.00, 1, '2024-04-23 16:17:41', 0, '0000-00-00 00:00:00'),
(113, 8, 6, 2024, 15.00, 15.00, 5, '2024-04-23 17:02:30', 0, '0000-00-00 00:00:00'),
(114, 5, 6, 2024, 15.00, 15.00, 5, '2024-04-23 17:02:30', 0, '0000-00-00 00:00:00'),
(115, 13, 6, 2024, 15.00, 10.50, 5, '2024-04-23 17:02:30', 5, '2024-09-28 11:13:18'),
(116, 14, 6, 2024, 15.00, 15.00, 5, '2024-04-23 17:02:30', 0, '0000-00-00 00:00:00'),
(117, 7, 6, 2024, 15.00, 15.00, 5, '2024-04-23 17:02:30', 0, '0000-00-00 00:00:00'),
(118, 11, 6, 2024, 15.00, 15.00, 5, '2024-04-23 17:02:30', 0, '0000-00-00 00:00:00'),
(119, 12, 6, 2024, 15.00, 0.00, 5, '2024-04-23 17:02:30', 5, '2024-08-27 16:22:07'),
(120, 6, 6, 2024, 15.00, 9.00, 5, '2024-04-23 17:02:30', 5, '2024-08-27 16:14:48'),
(121, 16, 1, 2025, 30.00, 0.00, 5, '2025-10-27 16:00:31', 5, '2025-11-05 01:23:21'),
(122, 15, 1, 2025, 30.00, 30.00, 5, '2025-10-27 16:00:31', 0, '0000-00-00 00:00:00'),
(123, 21, 1, 2025, 30.00, 30.00, 5, '2025-10-27 16:00:31', 0, '0000-00-00 00:00:00'),
(124, 20, 1, 2025, 30.00, 0.00, 5, '2025-10-27 16:00:31', 5, '2025-12-29 12:16:31'),
(125, 25, 6, 2025, 3.82, 3.82, 5, '2025-10-27 16:01:06', 5, '2025-10-27 16:07:28'),
(126, 13, 6, 2025, 15.00, 14.00, 5, '2025-10-27 16:01:06', 5, '2025-11-05 19:25:22'),
(127, 14, 6, 2025, 15.00, 15.00, 5, '2025-10-27 16:01:06', 5, '2025-10-27 16:07:28'),
(128, 11, 6, 2025, 15.00, 15.00, 5, '2025-10-27 16:01:06', 5, '2025-10-27 16:07:28'),
(129, 22, 6, 2025, 15.00, 15.00, 5, '2025-10-27 16:01:06', 5, '2025-10-27 16:07:28'),
(130, 6, 6, 2025, 15.00, 15.00, 5, '2025-10-27 16:01:06', 5, '2025-10-27 16:07:28'),
(131, 12, 6, 2025, 15.00, 5.00, 5, '2025-10-27 16:01:06', 5, '2025-11-27 17:09:07'),
(132, 19, 6, 2025, 15.00, 15.00, 5, '2025-10-27 16:01:06', 5, '2025-10-27 16:07:28'),
(133, 23, 6, 2025, 15.00, 15.00, 5, '2025-10-27 16:01:06', 5, '2025-10-27 16:07:28'),
(134, 18, 6, 2025, 15.00, 15.00, 5, '2025-10-27 16:01:06', 5, '2025-10-27 16:07:28'),
(135, 24, 1, 2025, 11.67, 11.67, 5, '2025-10-27 16:01:25', 5, '2025-11-05 15:47:31'),
(136, 10, 3, 2025, 30.00, 13.50, 5, '2025-10-27 16:01:25', 5, '2025-11-05 15:59:11'),
(137, 16, 5, 2025, 15.00, 15.00, 5, '2025-10-27 16:01:36', 5, '2025-11-05 01:01:10'),
(138, 15, 5, 2025, 15.00, 14.00, 5, '2025-10-27 16:01:36', 5, '2025-11-05 17:02:04'),
(139, 21, 5, 2025, 15.00, 15.00, 5, '2025-10-27 16:01:36', 0, '0000-00-00 00:00:00'),
(140, 20, 5, 2025, 15.00, 11.00, 5, '2025-10-27 16:01:36', 5, '2025-11-13 14:10:53'),
(141, 16, 9, 2025, 30.00, 30.00, 5, '2025-10-27 16:01:49', 0, '0000-00-00 00:00:00'),
(142, 15, 9, 2025, 30.00, 30.00, 5, '2025-10-27 16:01:49', 0, '0000-00-00 00:00:00'),
(143, 21, 9, 2025, 30.00, 30.00, 5, '2025-10-27 16:01:49', 0, '0000-00-00 00:00:00'),
(144, 20, 9, 2025, 30.00, 30.00, 5, '2025-10-27 16:01:49', 0, '0000-00-00 00:00:00'),
(145, 16, 13, 2025, 45.00, 45.00, 5, '2025-10-27 16:02:03', 0, '0000-00-00 00:00:00'),
(146, 15, 13, 2025, 45.00, 45.00, 5, '2025-10-27 16:02:03', 0, '0000-00-00 00:00:00'),
(147, 21, 13, 2025, 45.00, 45.00, 5, '2025-10-27 16:02:03', 0, '0000-00-00 00:00:00'),
(148, 20, 13, 2025, 45.00, 40.00, 5, '2025-10-27 16:02:03', 5, '2025-11-19 02:56:37'),
(149, 25, 2, 2025, 7.64, 7.64, 5, '2025-10-27 16:02:15', 5, '2025-11-05 19:57:18'),
(150, 13, 2, 2025, 30.00, 30.00, 5, '2025-10-27 16:02:15', 5, '2025-11-05 19:57:18'),
(151, 14, 2, 2025, 30.00, 1.00, 5, '2025-10-27 16:02:15', 5, '2026-01-03 12:50:37'),
(152, 11, 2, 2025, 30.00, 30.00, 5, '2025-10-27 16:02:15', 5, '2025-11-05 19:57:18'),
(153, 22, 2, 2025, 30.00, 30.00, 5, '2025-10-27 16:02:15', 0, '0000-00-00 00:00:00'),
(154, 6, 2, 2025, 30.00, -2.00, 5, '2025-10-27 16:02:15', 5, '2025-11-05 19:57:18'),
(155, 12, 2, 2025, 30.00, 39.00, 5, '2025-10-27 16:02:15', 5, '2025-11-27 17:08:55'),
(156, 19, 2, 2025, 30.00, 0.00, 5, '2025-10-27 16:02:16', 5, '2025-11-12 01:32:55'),
(157, 23, 2, 2025, 30.00, 30.00, 5, '2025-10-27 16:02:16', 5, '2025-11-05 19:57:18'),
(158, 18, 2, 2025, 30.00, 30.00, 5, '2025-10-27 16:02:16', 5, '2025-11-05 19:57:18'),
(159, 25, 10, 2025, 7.64, 7.64, 5, '2025-10-27 16:07:17', 0, '0000-00-00 00:00:00'),
(160, 13, 10, 2025, 30.00, 30.00, 5, '2025-10-27 16:07:17', 0, '0000-00-00 00:00:00'),
(161, 14, 10, 2025, 30.00, 30.00, 5, '2025-10-27 16:07:17', 0, '0000-00-00 00:00:00'),
(162, 11, 10, 2025, 30.00, 30.00, 5, '2025-10-27 16:07:17', 0, '0000-00-00 00:00:00'),
(163, 22, 10, 2025, 30.00, 30.00, 5, '2025-10-27 16:07:17', 0, '0000-00-00 00:00:00'),
(164, 6, 10, 2025, 30.00, 30.00, 5, '2025-10-27 16:07:17', 0, '0000-00-00 00:00:00'),
(165, 12, 10, 2025, 30.00, 30.00, 5, '2025-10-27 16:07:17', 0, '0000-00-00 00:00:00'),
(166, 19, 10, 2025, 30.00, 30.00, 5, '2025-10-27 16:07:17', 0, '0000-00-00 00:00:00'),
(167, 23, 10, 2025, 30.00, 30.00, 5, '2025-10-27 16:07:17', 0, '0000-00-00 00:00:00'),
(168, 18, 10, 2025, 30.00, 30.00, 5, '2025-10-27 16:07:17', 0, '0000-00-00 00:00:00'),
(169, 25, 14, 2025, 11.47, 11.47, 5, '2025-10-27 16:07:45', 0, '0000-00-00 00:00:00'),
(170, 13, 14, 2025, 45.00, 45.00, 5, '2025-10-27 16:07:45', 0, '0000-00-00 00:00:00'),
(171, 14, 14, 2025, 45.00, 45.00, 5, '2025-10-27 16:07:45', 0, '0000-00-00 00:00:00'),
(172, 11, 14, 2025, 45.00, 45.00, 5, '2025-10-27 16:07:45', 0, '0000-00-00 00:00:00'),
(173, 22, 14, 2025, 45.00, 45.00, 5, '2025-10-27 16:07:45', 0, '0000-00-00 00:00:00'),
(174, 6, 14, 2025, 45.00, 45.00, 5, '2025-10-27 16:07:45', 0, '0000-00-00 00:00:00'),
(175, 12, 14, 2025, 45.00, 45.00, 5, '2025-10-27 16:07:45', 0, '0000-00-00 00:00:00'),
(176, 19, 14, 2025, 45.00, 45.00, 5, '2025-10-27 16:07:45', 0, '0000-00-00 00:00:00'),
(177, 23, 14, 2025, 45.00, 45.00, 5, '2025-10-27 16:07:45', 0, '0000-00-00 00:00:00'),
(178, 18, 14, 2025, 45.00, 45.00, 5, '2025-10-27 16:07:45', 0, '0000-00-00 00:00:00'),
(179, 24, 5, 2025, 5.84, 5.84, 5, '2025-10-27 16:08:21', 0, '0000-00-00 00:00:00'),
(180, 10, 7, 2025, 15.00, 15.00, 5, '2025-10-27 16:08:21', 0, '0000-00-00 00:00:00'),
(181, 24, 9, 2025, 11.67, 11.67, 5, '2025-10-27 16:08:34', 5, '2025-10-27 16:13:09'),
(182, 10, 11, 2025, 30.00, 30.00, 5, '2025-10-27 16:08:34', 5, '2025-10-27 16:13:09'),
(183, 24, 13, 2025, 17.51, 17.51, 5, '2025-10-27 16:08:46', 5, '2025-10-27 16:13:22'),
(184, 10, 15, 2025, 45.00, 45.00, 5, '2025-10-27 16:08:46', 5, '2025-10-27 16:13:22'),
(185, 3, 4, 2025, 30.00, 0.00, 5, '2025-10-27 16:13:57', 5, '2025-11-01 11:26:00'),
(186, 17, 4, 2025, 30.00, 30.00, 5, '2025-10-27 16:13:57', 0, '0000-00-00 00:00:00'),
(187, 9, 3, 2025, 30.00, 30.00, 5, '2025-10-27 16:13:57', 0, '0000-00-00 00:00:00'),
(188, 1, 4, 2025, 30.00, 30.00, 5, '2025-10-27 16:13:57', 0, '0000-00-00 00:00:00'),
(189, 4, 4, 2025, 30.00, 30.00, 5, '2025-10-27 16:13:57', 0, '0000-00-00 00:00:00'),
(190, 3, 8, 2025, 15.00, 5.00, 5, '2025-10-27 16:14:10', 5, '2025-11-12 02:48:13'),
(191, 17, 8, 2025, 15.00, 15.00, 5, '2025-10-27 16:14:10', 0, '0000-00-00 00:00:00'),
(192, 9, 7, 2025, 15.00, 15.00, 5, '2025-10-27 16:14:10', 0, '0000-00-00 00:00:00'),
(193, 1, 8, 2025, 15.00, 9.00, 5, '2025-10-27 16:14:10', 5, '2025-11-05 19:19:05'),
(194, 4, 8, 2025, 15.00, 15.00, 5, '2025-10-27 16:14:10', 0, '0000-00-00 00:00:00'),
(195, 3, 12, 2025, 30.00, 30.00, 5, '2025-10-27 16:14:24', 0, '0000-00-00 00:00:00'),
(196, 17, 12, 2025, 30.00, 30.00, 5, '2025-10-27 16:14:24', 0, '0000-00-00 00:00:00'),
(197, 9, 11, 2025, 30.00, 30.00, 5, '2025-10-27 16:14:24', 0, '0000-00-00 00:00:00'),
(198, 1, 12, 2025, 30.00, 30.00, 5, '2025-10-27 16:14:24', 0, '0000-00-00 00:00:00'),
(199, 4, 12, 2025, 30.00, 30.00, 5, '2025-10-27 16:14:24', 0, '0000-00-00 00:00:00'),
(200, 3, 16, 2025, 45.00, 45.00, 5, '2025-10-27 16:14:38', 0, '0000-00-00 00:00:00'),
(201, 17, 16, 2025, 45.00, 45.00, 5, '2025-10-27 16:14:38', 0, '0000-00-00 00:00:00'),
(202, 9, 15, 2025, 45.00, 45.00, 5, '2025-10-27 16:14:38', 0, '0000-00-00 00:00:00'),
(203, 1, 16, 2025, 45.00, 45.00, 5, '2025-10-27 16:14:38', 0, '0000-00-00 00:00:00'),
(204, 4, 16, 2025, 45.00, 45.00, 5, '2025-10-27 16:14:38', 0, '0000-00-00 00:00:00'),
(205, 26, 2, 2025, 5.42, 5.42, 5, '2025-11-05 19:57:18', 0, '0000-00-00 00:00:00'),
(206, 3, 4, 2026, 30.00, 30.00, 5, '2026-01-03 11:49:16', 5, '2026-01-03 12:55:41'),
(207, 17, 4, 2026, 30.00, 30.00, 5, '2026-01-03 11:49:16', 5, '2026-01-03 12:55:41'),
(208, 3, 8, 2026, 15.00, 14.00, 5, '2026-01-03 11:49:36', 5, '2026-01-03 12:58:38'),
(209, 17, 8, 2026, 15.00, 15.00, 5, '2026-01-03 11:49:36', 5, '2026-01-03 12:58:38'),
(210, 16, 1, 2026, 30.00, 30.00, 5, '2026-01-03 12:43:44', 0, '0000-00-00 00:00:00'),
(211, 15, 1, 2026, 30.00, 30.00, 5, '2026-01-03 12:43:44', 0, '0000-00-00 00:00:00'),
(212, 24, 1, 2026, 30.00, 30.00, 5, '2026-01-03 12:43:44', 0, '0000-00-00 00:00:00'),
(213, 21, 1, 2026, 30.00, 30.00, 5, '2026-01-03 12:43:44', 0, '0000-00-00 00:00:00'),
(214, 20, 1, 2026, 30.00, 30.00, 5, '2026-01-03 12:43:44', 0, '0000-00-00 00:00:00'),
(215, 13, 2, 2026, 30.00, 30.00, 5, '2026-01-03 12:54:58', 0, '0000-00-00 00:00:00'),
(216, 14, 2, 2026, 30.00, 30.00, 5, '2026-01-03 12:54:58', 0, '0000-00-00 00:00:00'),
(217, 11, 2, 2026, 30.00, 30.00, 5, '2026-01-03 12:54:58', 0, '0000-00-00 00:00:00'),
(218, 6, 2, 2026, 30.00, 30.00, 5, '2026-01-03 12:54:58', 0, '0000-00-00 00:00:00'),
(219, 12, 2, 2026, 30.00, 0.00, 5, '2026-01-03 12:54:58', 0, '0000-00-00 00:00:00'),
(220, 19, 2, 2026, 30.00, 30.00, 5, '2026-01-03 12:54:58', 0, '0000-00-00 00:00:00'),
(221, 26, 2, 2026, 30.00, 30.00, 5, '2026-01-03 12:54:58', 0, '0000-00-00 00:00:00'),
(222, 18, 2, 2026, 30.00, 30.00, 5, '2026-01-03 12:54:58', 0, '0000-00-00 00:00:00'),
(223, 10, 3, 2026, 30.00, 30.00, 5, '2026-01-03 12:55:16', 0, '0000-00-00 00:00:00'),
(224, 9, 3, 2026, 30.00, 30.00, 5, '2026-01-03 12:55:16', 0, '0000-00-00 00:00:00'),
(225, 16, 5, 2026, 15.00, 15.00, 5, '2026-01-03 12:56:30', 0, '0000-00-00 00:00:00'),
(226, 15, 5, 2026, 15.00, 15.00, 5, '2026-01-03 12:56:30', 0, '0000-00-00 00:00:00'),
(227, 24, 5, 2026, 15.00, 15.00, 5, '2026-01-03 12:56:30', 0, '0000-00-00 00:00:00'),
(228, 21, 5, 2026, 15.00, 15.00, 5, '2026-01-03 12:56:30', 0, '0000-00-00 00:00:00'),
(229, 20, 5, 2026, 15.00, 15.00, 5, '2026-01-03 12:56:30', 0, '0000-00-00 00:00:00'),
(230, 16, 9, 2026, 30.00, 30.00, 5, '2026-01-03 12:56:57', 0, '0000-00-00 00:00:00'),
(231, 15, 9, 2026, 30.00, 30.00, 5, '2026-01-03 12:56:57', 0, '0000-00-00 00:00:00'),
(232, 24, 9, 2026, 30.00, 30.00, 5, '2026-01-03 12:56:57', 0, '0000-00-00 00:00:00'),
(233, 21, 9, 2026, 30.00, 30.00, 5, '2026-01-03 12:56:57', 0, '0000-00-00 00:00:00'),
(234, 20, 9, 2026, 30.00, 30.00, 5, '2026-01-03 12:56:57', 0, '0000-00-00 00:00:00'),
(235, 13, 6, 2026, 15.00, 15.00, 5, '2026-01-03 12:57:20', 0, '0000-00-00 00:00:00'),
(236, 14, 6, 2026, 15.00, 15.00, 5, '2026-01-03 12:57:20', 0, '0000-00-00 00:00:00'),
(237, 11, 6, 2026, 15.00, 15.00, 5, '2026-01-03 12:57:20', 0, '0000-00-00 00:00:00'),
(238, 6, 6, 2026, 15.00, 15.00, 5, '2026-01-03 12:57:20', 0, '0000-00-00 00:00:00'),
(239, 12, 6, 2026, 15.00, 15.00, 5, '2026-01-03 12:57:20', 0, '0000-00-00 00:00:00'),
(240, 19, 6, 2026, 15.00, 15.00, 5, '2026-01-03 12:57:20', 0, '0000-00-00 00:00:00'),
(241, 26, 6, 2026, 15.00, 15.00, 5, '2026-01-03 12:57:20', 0, '0000-00-00 00:00:00'),
(242, 18, 6, 2026, 15.00, 15.00, 5, '2026-01-03 12:57:20', 0, '0000-00-00 00:00:00'),
(243, 13, 10, 2026, 30.00, 30.00, 5, '2026-01-03 12:57:35', 0, '0000-00-00 00:00:00'),
(244, 14, 10, 2026, 30.00, 30.00, 5, '2026-01-03 12:57:35', 0, '0000-00-00 00:00:00'),
(245, 11, 10, 2026, 30.00, 30.00, 5, '2026-01-03 12:57:35', 0, '0000-00-00 00:00:00'),
(246, 6, 10, 2026, 30.00, 30.00, 5, '2026-01-03 12:57:35', 0, '0000-00-00 00:00:00'),
(247, 12, 10, 2026, 30.00, 30.00, 5, '2026-01-03 12:57:35', 0, '0000-00-00 00:00:00'),
(248, 19, 10, 2026, 30.00, 30.00, 5, '2026-01-03 12:57:35', 0, '0000-00-00 00:00:00'),
(249, 26, 10, 2026, 30.00, 30.00, 5, '2026-01-03 12:57:35', 0, '0000-00-00 00:00:00'),
(250, 18, 10, 2026, 30.00, 30.00, 5, '2026-01-03 12:57:35', 0, '0000-00-00 00:00:00'),
(251, 10, 7, 2026, 15.00, 15.00, 5, '2026-01-03 12:58:10', 0, '0000-00-00 00:00:00'),
(252, 9, 7, 2026, 15.00, 15.00, 5, '2026-01-03 12:58:10', 0, '0000-00-00 00:00:00'),
(253, 10, 11, 2026, 30.00, 30.00, 5, '2026-01-03 12:58:21', 0, '0000-00-00 00:00:00'),
(254, 9, 11, 2026, 30.00, 30.00, 5, '2026-01-03 12:58:21', 0, '0000-00-00 00:00:00'),
(255, 3, 12, 2026, 30.00, 30.00, 5, '2026-01-03 12:58:48', 0, '0000-00-00 00:00:00'),
(256, 17, 12, 2026, 30.00, 30.00, 5, '2026-01-03 12:58:48', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_hr_employee_leavesettlement`
--

CREATE TABLE `erp_hr_employee_leavesettlement` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `date_rejoin` date NOT NULL,
  `date_leave` date NOT NULL,
  `date_applied` date NOT NULL,
  `date_approved` date NOT NULL,
  `employee_service_days` varchar(25) NOT NULL,
  `employee_service_period` varchar(255) NOT NULL,
  `available_leaves` decimal(10,2) NOT NULL,
  `balance_leave` decimal(10,2) NOT NULL,
  `encashed_leaves` decimal(10,2) NOT NULL,
  `leave_salary` decimal(10,2) NOT NULL,
  `other_payments` decimal(10,2) NOT NULL,
  `settlement_amount` decimal(10,2) NOT NULL,
  `notes` text NOT NULL,
  `prepared_by` int(11) NOT NULL COMMENT 'Primarykey from employee',
  `checked_by` int(11) NOT NULL COMMENT 'Primarykey from employee',
  `checked_finance_manger` int(11) NOT NULL COMMENT 'Primarykey from employee',
  `checked_gm` int(11) NOT NULL COMMENT 'Primarykey from employee',
  `status` int(11) NOT NULL DEFAULT 1 COMMENT '1-Applied,2-Approved',
  `payment_mode` int(11) NOT NULL COMMENT '1-Cash,2-Cheque,3-Bank Tranfer',
  `payment_date` date NOT NULL,
  `credit_account` int(11) NOT NULL,
  `cheque_date` date NOT NULL,
  `cheque_no` varchar(255) NOT NULL,
  `remarks` text NOT NULL,
  `posted` enum('Y','N') NOT NULL DEFAULT 'N'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_leave_detail`
--

CREATE TABLE `erp_hr_employee_leave_detail` (
  `id` int(11) NOT NULL,
  `function_type` int(11) DEFAULT NULL COMMENT 'For Leave Approval Procedure',
  `employee_id` varchar(200) NOT NULL,
  `last_approved_level` tinyint(4) NOT NULL,
  `last_cancel_level` tinyint(4) NOT NULL DEFAULT -1,
  `leave_start_date` date NOT NULL,
  `leave_end_date` date NOT NULL,
  `no_days` decimal(5,1) NOT NULL,
  `half_day_leave` enum('Y','N') NOT NULL DEFAULT 'N',
  `half_day_time` varchar(2) NOT NULL,
  `normal_leave` decimal(10,2) NOT NULL COMMENT 'Leave count deducted from employee leave',
  `salary_deduction_leave` decimal(10,2) NOT NULL COMMENT 'Leave count for salary deduction',
  `leave_reason` text NOT NULL,
  `medical_certificate` varchar(500) NOT NULL,
  `leave_type` int(11) 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,
  `leave_status` int(11) NOT NULL COMMENT '1-Applied,2-Line Manager Approved,3-Line Manager Rejected,4-HR Approved,5-HR Rejected,6-cancelled',
  `status_cancel` int(11) NOT NULL DEFAULT 0,
  `line_manager_id` int(11) NOT NULL,
  `line_manager_approved_date` date NOT NULL,
  `line_manager_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,
  `hr_comment` text NOT NULL,
  `leave_approval_document` varchar(255) NOT NULL,
  `cancel_reason_employee` text NOT NULL,
  `date_apply_cancel` date NOT NULL,
  `cancel_level_1_id` int(11) NOT NULL,
  `date_cancel_lm` date NOT NULL,
  `cancel_comment_lm` 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,
  `apply_date` date NOT NULL,
  `apply_by` int(11) NOT NULL,
  `lm_view_status` int(11) NOT NULL DEFAULT 0,
  `lm_cancel_view_status` int(11) NOT NULL DEFAULT 0,
  `view_status` int(11) NOT NULL DEFAULT 0 COMMENT '0-Not viewed,1-Viewed',
  `hr_cancel_view_status` 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
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_leave_detail`
--

INSERT INTO `erp_hr_employee_leave_detail` (`id`, `function_type`, `employee_id`, `last_approved_level`, `last_cancel_level`, `leave_start_date`, `leave_end_date`, `no_days`, `half_day_leave`, `half_day_time`, `normal_leave`, `salary_deduction_leave`, `leave_reason`, `medical_certificate`, `leave_type`, `ticket_applied`, `travel_date`, `travel_destination`, `return_date`, `return_destination`, `leave_status`, `status_cancel`, `line_manager_id`, `line_manager_approved_date`, `line_manager_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_id`, `approved_date`, `hr_comment`, `leave_approval_document`, `cancel_reason_employee`, `date_apply_cancel`, `cancel_level_1_id`, `date_cancel_lm`, `cancel_comment_lm`, `cancel_level_2_id`, `date_cancel_level_2`, `cancel_level_2_comment`, `cancel_level_3_id`, `date_cancel_level_3`, `cancel_level_3_comment`, `cancel_level_4_id`, `date_cancel_level_4`, `cancel_level_4_comment`, `cancel_level_5_id`, `date_cancel_level_5`, `cancel_level_5_comment`, `cancel_approved_id`, `date_cancel_hr`, `cancel_comment_hr`, `apply_date`, `apply_by`, `lm_view_status`, `lm_cancel_view_status`, `view_status`, `hr_cancel_view_status`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 10, '1', 2, -1, '2023-11-11', '2023-11-11', 1.0, 'N', '', 1.00, 0.00, 'Annual Leave ', '', 4, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 13, '2023-11-22', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2023-11-22', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2023-11-22', 9, 0, 0, 0, 0, 9, '2023-11-22 15:25:16', 16, '2023-11-22 15:57:57'),
(2, 2, '2', 2, -1, '2023-11-17', '2023-11-18', 2.0, 'N', '', 2.00, 0.00, 'Annual Leave ', '', 1, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 14, '2023-11-25', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2023-12-06', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2023-11-22', 10, 0, 0, 0, 0, 10, '2023-11-22 16:00:26', 16, '2023-12-06 11:40:29'),
(3, 3, '8', 1, -1, '2023-11-28', '2023-12-01', 4.0, 'N', '', 4.00, 0.00, 'Annual Leave ', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 11, '2023-12-06', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2023-12-06', 16, 0, 0, 1, 0, 16, '2023-12-06 11:44:49', 19, '2023-12-06 11:45:43'),
(4, 10, '1', 2, -1, '2023-12-18', '2023-12-18', 1.0, 'N', '', 1.00, 0.00, 'Sick Leave', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 13, '2023-12-19', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2023-12-19', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2023-12-19', 9, 0, 0, 0, 0, 9, '2023-12-19 12:06:51', 5, '2023-12-19 12:27:30'),
(6, 125, '13', 2, -1, '2023-12-28', '2023-12-28', 1.0, 'N', '', 1.00, 0.00, 'Viral fever', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 11, '2024-04-23', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2023-12-28', 26, 0, 0, 1, 0, 26, '2023-12-28 07:49:59', 19, '2024-04-23 16:51:29'),
(7, 124, '12', 2, -1, '2023-12-29', '2023-12-29', 1.0, 'N', '', 1.00, 0.00, 'Sickness (note we applied only for tomorrow because of the date) Thankyou', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 11, '2024-04-23', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2023-12-28', 25, 0, 0, 0, 0, 25, '2023-12-28 16:01:36', 19, '2024-04-23 16:51:39'),
(8, 3, '8', 1, -1, '2024-04-15', '2024-04-16', 2.0, 'N', '', 2.00, 0.00, 'Annual Leave ', '', 2, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 11, '2024-04-23', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-04-23', 16, 0, 0, 0, 0, 16, '2024-04-23 16:18:57', 19, '2024-04-23 16:51:49'),
(10, 125, '13', 2, -1, '2024-04-13', '2024-04-13', 1.0, 'N', '', 1.00, 0.00, 'Viral fever. Got infected. ', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 11, '2024-04-24', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-04-23', 26, 0, 0, 1, 0, 26, '2024-04-23 17:57:04', 19, '2024-04-24 12:14:54'),
(11, 124, '12', 1, -1, '2024-04-18', '2024-04-18', 1.0, 'N', '', 1.00, 0.00, 'Stomach Aching', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-04-26', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-04-26', 25, 0, 0, 0, 0, 25, '2024-04-26 11:05:29', 5, '2024-04-26 11:05:45'),
(12, 124, '12', 1, -1, '2024-04-19', '2024-04-19', 1.0, 'N', '', 1.00, 0.00, 'Went to Doctor for check up and Ultrasound', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-04-26', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-04-26', 25, 0, 0, 0, 0, 25, '2024-04-26 11:05:29', 5, '2024-04-26 11:05:51'),
(13, 124, '12', 1, -1, '2024-12-27', '2025-01-26', 31.0, 'N', '', 31.00, 0.00, 'Vacation to Philippines ', '', 2, 0, '0000-00-00', '', '0000-00-00', '', 13, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-06-13', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-04-26', 25, 0, 0, 0, 0, 25, '2024-04-26 11:07:35', 5, '2024-06-13 10:43:44'),
(15, 7, '10', 1, -1, '2024-04-15', '2024-04-20', 6.0, 'N', '', 6.00, 0.00, 'Annual Leave ', '', 3, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-04-26', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-04-26', 18, 0, 0, 1, 0, 18, '2024-04-26 11:16:59', 5, '2024-04-26 11:17:28'),
(16, 7, '10', 1, -1, '2024-04-13', '2024-04-13', 1.0, 'N', '', 1.00, 0.00, 'Annual Leave ', '', 3, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-04-26', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-04-26', 18, 0, 0, 1, 0, 18, '2024-04-26 11:18:43', 5, '2024-04-26 11:19:01'),
(17, 7, '10', 1, -1, '2024-04-22', '2024-04-22', 1.0, 'N', '', 1.00, 0.00, 'Annual Leave ', '', 3, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-04-26', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-04-26', 18, 0, 0, 1, 0, 18, '2024-04-26 11:21:06', 5, '2024-04-26 11:21:38'),
(18, 7, '10', 1, -1, '2024-04-23', '2024-04-27', 5.0, 'N', '', 5.00, 0.00, 'Annual Leave ', '', 3, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-04-26', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-04-26', 18, 0, 0, 1, 0, 18, '2024-04-26 11:45:19', 5, '2024-04-26 11:45:49'),
(19, 7, '10', 1, -1, '2024-04-29', '2024-04-30', 2.0, 'N', '', 2.00, 0.00, 'Annual Leave ', '', 3, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-04-26', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-04-26', 18, 0, 0, 0, 0, 18, '2024-04-26 11:47:17', 5, '2024-04-26 11:47:48'),
(20, 5, '6', 1, -1, '2024-04-23', '2024-04-27', 5.0, 'N', '', 5.00, 0.00, 'Sick due to swelling on face', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-04-27', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-04-26', 14, 0, 0, 0, 0, 14, '2024-04-26 18:28:56', 5, '2024-04-27 13:23:09'),
(21, 8, '3', 1, -1, '2024-05-02', '2024-05-02', 1.0, 'N', '', 1.00, 0.00, 'SICK LEAVE ', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-05-02', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-05-02', 11, 0, 0, 0, 0, 11, '2024-05-02 10:34:19', 5, '2024-05-02 10:34:42'),
(22, 11, '4', 1, -1, '2024-01-24', '2024-01-27', 4.0, 'N', '', 4.00, 0.00, 'Annual Leave ', '', 4, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-05-04', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-05-04', 12, 0, 0, 1, 0, 12, '2024-05-04 13:17:59', 5, '2024-05-04 13:18:29'),
(23, 11, '4', 1, -1, '2024-01-29', '2024-02-03', 6.0, 'N', '', 6.00, 0.00, 'Annual Leave ', '', 4, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-05-04', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-05-04', 12, 0, 0, 1, 0, 12, '2024-05-04 13:19:42', 5, '2024-05-04 13:20:11'),
(24, 11, '4', 1, -1, '2024-02-05', '2024-02-10', 6.0, 'N', '', 6.00, 0.00, 'Annual Leave ', '', 4, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-05-04', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-05-04', 12, 0, 0, 1, 0, 12, '2024-05-04 13:58:36', 5, '2024-05-04 13:58:52'),
(25, 11, '4', 1, -1, '2024-02-12', '2024-02-17', 6.0, 'N', '', 6.00, 0.00, 'Annual Leave ', '', 4, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-05-04', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-05-04', 12, 0, 0, 1, 0, 12, '2024-05-04 13:59:46', 5, '2024-05-04 14:00:10'),
(26, 11, '4', 1, -1, '2024-02-19', '2024-02-24', 6.0, 'N', '', 6.00, 0.00, 'Annual Leave ', '', 4, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-05-04', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-05-04', 12, 0, 0, 1, 0, 12, '2024-05-04 14:01:44', 5, '2024-05-04 14:02:02'),
(27, 11, '4', 1, -1, '2024-02-26', '2024-02-27', 2.0, 'N', '', 2.00, 0.00, 'Annual Leave ', '', 4, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-05-04', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-05-04', 12, 0, 0, 1, 0, 12, '2024-05-04 14:04:03', 5, '2024-05-04 14:04:23'),
(28, 3, '8', 1, -1, '2024-05-09', '2024-05-09', 1.0, 'N', '', 1.00, 0.00, 'Annual Leave ', '', 2, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 11, '2024-05-10', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-05-10', 16, 0, 0, 0, 0, 16, '2024-05-10 11:21:41', 19, '2024-05-10 11:22:42'),
(29, 8, '3', 1, -1, '2024-05-18', '2024-05-18', 1.0, 'N', '', 1.00, 0.00, 'SICK LEAVE ', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-05-18', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-05-18', 11, 0, 0, 0, 0, 11, '2024-05-18 14:01:43', 5, '2024-05-18 14:02:06'),
(30, 125, '13', 1, -1, '2024-06-04', '2024-06-05', 2.0, 'N', '', 2.00, 0.00, 'Chest pain as a result of Blood pressure, Cholesterol and liver issue.', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-06-07', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-06-07', 26, 0, 0, 1, 0, 26, '2024-06-07 10:26:22', 5, '2024-06-07 11:04:14'),
(31, 8, '3', 1, -1, '2024-06-05', '2024-06-05', 1.0, 'N', '', 1.00, 0.00, 'SICK LEAVE ', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-06-07', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-06-07', 11, 0, 0, 0, 0, 11, '2024-06-07 14:35:17', 5, '2024-06-07 14:35:43'),
(33, 124, '12', 1, -1, '2024-06-03', '2024-06-05', 3.0, 'N', '', 3.00, 0.00, 'Sick -  bleeding', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-06-13', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-06-13', 25, 0, 0, 0, 0, 25, '2024-06-13 10:40:23', 5, '2024-06-13 10:42:59'),
(34, 124, '12', 1, -1, '2024-06-10', '2024-06-11', 2.0, 'N', '', 2.00, 0.00, 'Sick -  flu', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-06-13', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-06-13', 25, 0, 0, 0, 0, 25, '2024-06-13 10:44:19', 5, '2024-06-13 10:44:58'),
(35, 10, '1', 1, -1, '2024-06-13', '2024-06-13', 1.0, 'N', '', 1.00, 0.00, 'SICK LEAVE ', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-06-13', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-06-13', 9, 0, 0, 0, 0, 9, '2024-06-13 10:48:44', 5, '2024-06-13 10:49:08'),
(36, 10, '1', 1, -1, '2024-06-20', '2024-06-20', 1.0, 'N', '', 1.00, 0.00, 'SICK LEAVE ', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-06-20', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-06-20', 9, 0, 0, 0, 0, 9, '2024-06-20 15:17:42', 5, '2024-06-20 15:18:05'),
(37, 124, '12', 1, -1, '2024-06-19', '2024-06-22', 4.0, 'N', '', 4.00, 0.00, 'Sick -  Upper Respiratory infection, Brochitis', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-06-25', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-06-25', 25, 0, 0, 0, 0, 25, '2024-06-25 13:15:18', 5, '2024-06-25 13:36:22'),
(38, 124, '12', 1, -1, '2024-07-13', '2024-07-13', 0.5, 'Y', 'PM', 0.50, 0.00, 'Church matters', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-06-29', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-06-29', 25, 0, 0, 0, 0, 25, '2024-06-29 11:43:54', 5, '2024-06-29 13:10:54'),
(39, 11, '4', 1, -1, '2024-06-19', '2024-06-22', 4.0, 'N', '', 4.00, 0.00, 'SICK LEAVE ', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-07-17', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-07-17', 12, 0, 0, 1, 0, 12, '2024-07-17 13:51:08', 5, '2024-07-17 13:51:33'),
(40, 11, '4', 1, -1, '2024-06-24', '2024-06-29', 6.0, 'N', '', 6.00, 0.00, 'SICK LEAVE ', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-07-17', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-07-17', 12, 0, 0, 1, 0, 12, '2024-07-17 13:54:09', 5, '2024-07-17 14:57:45'),
(41, 5, '6', 1, -1, '2024-06-13', '2024-07-16', 34.0, '', '', 34.00, 0.00, 'Annual Leave', '', 2, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-07-17', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-07-17', 14, 0, 0, 0, 0, 14, '2024-07-17 14:33:50', 5, '2024-07-17 14:57:12'),
(42, 11, '4', 1, -1, '2024-07-01', '2024-07-05', 5.0, 'N', '', 5.00, 0.00, 'SICK LEAVE ', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-07-17', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-07-17', 12, 0, 0, 1, 0, 12, '2024-07-17 14:58:32', 5, '2024-07-17 14:59:14'),
(43, 11, '4', 1, -1, '2024-07-06', '2024-07-06', 1.0, 'N', '', 1.00, 0.00, 'SICK LEAVE ', '', 12, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-07-17', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-07-17', 12, 0, 0, 1, 0, 12, '2024-07-17 14:58:54', 5, '2024-07-17 14:59:18'),
(44, 11, '4', 1, -1, '2024-07-08', '2024-07-13', 6.0, 'N', '', 6.00, 0.00, 'SICK LEAVE ', '', 12, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-07-17', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-07-17', 12, 0, 0, 1, 0, 12, '2024-07-17 14:59:59', 5, '2024-07-17 15:00:15'),
(45, 11, '4', 1, -1, '2024-07-15', '2024-07-20', 6.0, 'N', '', 6.00, 0.00, 'SICK LEAVE ', '', 12, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-07-17', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-07-17', 12, 0, 0, 1, 0, 12, '2024-07-17 15:00:54', 5, '2024-07-17 15:01:22'),
(46, 11, '4', 1, -1, '2024-07-22', '2024-07-24', 3.0, 'N', '', 3.00, 0.00, 'SICK LEAVE ', '', 12, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-07-24', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-07-24', 12, 0, 0, 1, 0, 12, '2024-07-24 10:31:29', 5, '2024-07-24 10:31:50'),
(47, 8, '3', 1, -1, '2024-07-19', '2024-07-19', 1.0, 'N', '', 1.00, 0.00, 'SICK LEAVE ', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-07-24', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-07-24', 11, 0, 0, 0, 0, 11, '2024-07-24 10:45:30', 5, '2024-07-24 10:45:53'),
(48, 124, '12', 1, -1, '2024-07-17', '2024-07-17', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-07-25', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-07-25', 25, 0, 0, 0, 0, 25, '2024-07-25 10:15:24', 5, '2024-07-25 14:12:14'),
(49, 124, '12', 1, -1, '2024-07-24', '2024-07-27', 4.0, 'N', '', 4.00, 0.00, 'Sick', '', 2, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2024-07-25', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-07-25', 25, 0, 0, 0, 0, 25, '2024-07-25 10:16:46', 5, '2024-07-25 14:12:22'),
(50, 5, '6', 1, -1, '2024-08-07', '2024-08-07', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2024-08-27', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-08-27', 14, 0, 0, 0, 0, 14, '2024-08-27 13:15:18', 5, '2024-08-27 16:14:48'),
(51, 124, '12', 1, -1, '2024-08-21', '2024-08-21', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2024-08-27', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-08-27', 25, 0, 0, 0, 0, 25, '2024-08-27 13:16:43', 5, '2024-08-27 16:14:54'),
(52, 124, '12', 1, -1, '2024-08-22', '2024-08-22', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2024-08-27', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-08-27', 25, 0, 0, 0, 0, 25, '2024-08-27 16:15:43', 5, '2024-08-27 16:17:35'),
(53, 124, '12', 1, -1, '2024-08-09', '2024-08-09', 0.5, 'Y', 'AM', 0.50, 0.00, 'Sick', '', 10, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2024-08-27', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-08-27', 25, 0, 0, 0, 0, 25, '2024-08-27 16:16:26', 5, '2024-08-27 16:17:24'),
(54, 124, '12', 1, -1, '2024-08-13', '2024-08-13', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 14, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2024-08-27', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-08-27', 25, 0, 0, 0, 0, 25, '2024-08-27 16:16:52', 5, '2024-08-27 16:17:30'),
(55, 124, '12', 1, -1, '2024-08-10', '2024-08-10', 0.5, 'Y', 'AM', 0.50, 0.00, 'Sick', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2024-08-27', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-08-27', 25, 0, 0, 0, 0, 25, '2024-08-27 16:21:09', 5, '2024-08-27 16:22:07'),
(56, 8, '3', 1, -1, '2024-08-20', '2024-08-20', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2024-08-28', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-08-27', 11, 0, 0, 0, 0, 11, '2024-08-27 16:25:22', 5, '2024-08-28 14:17:36'),
(57, 7, '10', 1, -1, '2024-08-27', '2024-08-27', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 7, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2024-08-28', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-08-27', 18, 0, 0, 0, 0, 18, '2024-08-27 16:26:48', 5, '2024-08-28 14:17:23'),
(58, 11, '4', 1, -1, '2024-07-25', '2024-08-07', 14.0, 'N', '', 14.00, 0.00, 'Sick', '', 12, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2024-08-28', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-08-28', 12, 0, 0, 0, 0, 12, '2024-08-28 17:09:19', 5, '2024-08-28 17:11:07'),
(59, 125, '13', 1, -1, '2024-09-02', '2024-09-02', 1.0, 'N', '', 1.00, 0.00, 'Viral fever. Got infected. ', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 13, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2024-09-28', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-09-27', 26, 0, 0, 1, 0, 26, '2024-09-27 10:39:04', 5, '2024-09-28 10:38:52'),
(60, 125, '13', 1, -1, '2024-09-17', '2024-09-17', 1.0, 'N', '', 1.00, 0.00, 'Diarrhea Issue.  ', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2024-09-28', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-09-27', 26, 0, 0, 1, 0, 26, '2024-09-27 10:39:04', 5, '2024-09-28 10:38:59'),
(61, 125, '13', 1, -1, '2024-09-02', '2024-09-02', 0.5, 'Y', 'AM', 0.50, 0.00, 'Viral fever. Got infected. ', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2024-09-28', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2024-09-28', 26, 0, 0, 1, 0, 26, '2024-09-28 10:44:43', 5, '2024-09-28 11:13:18'),
(62, 5, '6', 1, -1, '2025-07-15', '2025-08-15', 32.0, 'N', '', 32.00, 0.00, 'Annual Leave', '', 2, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-10-29', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-10-27', 14, 0, 0, 0, 0, 14, '2025-10-27 16:18:52', 5, '2025-10-29 17:40:43'),
(63, 8, '3', 1, -1, '2025-09-29', '2025-10-28', 30.0, 'N', '', 30.00, 0.00, 'ANNUAL LEAVE', '', 4, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-01', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-01', 11, 0, 0, 0, 0, 11, '2025-11-01 10:55:16', 5, '2025-11-01 11:26:00'),
(64, 8, '3', 1, -1, '2025-10-29', '2025-10-31', 3.0, 'N', '', 3.00, 0.00, 'SICK LEAVE WITH MEDICAL CERTIFICATE', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-01', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-01', 11, 0, 0, 0, 0, 11, '2025-11-01 10:56:55', 5, '2025-11-01 11:26:05'),
(65, 124, '12', 1, -1, '2025-04-15', '2025-04-15', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-04', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-04', 25, 0, 0, 0, 0, 25, '2025-11-04 11:23:13', 5, '2025-11-04 11:24:03'),
(66, 10, '1', 1, -1, '2025-04-07', '2025-04-07', 1.0, 'N', '', 1.00, 0.00, 'Sick leave', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 13, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-04', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-04', 9, 0, 0, 0, 0, 9, '2025-11-04 23:53:03', 5, '2025-11-04 23:56:39'),
(67, 10, '1', 1, -1, '2025-03-29', '2025-03-29', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-04', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-04', 9, 0, 0, 0, 0, 9, '2025-11-04 23:57:08', 5, '2025-11-04 23:57:26'),
(68, 177, '20', 1, -1, '2025-04-15', '2025-04-17', 3.0, 'N', '', 3.00, 0.00, 'Sick leave', '', 13, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 36, 0, 0, 0, 0, 36, '2025-11-05 00:37:49', 5, '2025-11-05 00:38:07'),
(69, 127, '16', 1, -1, '2025-03-25', '2025-04-08', 15.0, 'N', '', 15.00, 0.00, 'VL', '', 5, 0, '0000-00-00', '', '0000-00-00', '', 27, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '2025-11-05', 'Cancelled by HR', '2025-11-05', 32, 0, 0, 0, 0, 32, '2025-11-05 00:58:40', 5, '2025-11-05 01:01:10'),
(70, 127, '16', 1, -1, '2025-02-20', '2025-02-24', 5.0, 'N', '', 5.00, 0.00, 'Annual Leave', '', 1, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 32, 0, 0, 0, 0, 32, '2025-11-05 01:15:12', 5, '2025-11-05 01:15:52'),
(71, 127, '16', 1, -1, '2025-02-25', '2025-03-06', 10.0, 'N', '', 10.00, 0.00, 'Annual Leave', '', 1, 0, '0000-00-00', '', '0000-00-00', '', 27, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '2025-11-05', 'Cancelled by HR', '2025-11-05', 32, 0, 0, 0, 0, 32, '2025-11-05 01:17:14', 5, '2025-11-05 01:19:24'),
(72, 127, '16', 1, -1, '2025-03-25', '2025-04-18', 25.0, 'N', '', 25.00, 0.00, 'Annual Leave', '', 1, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 32, 0, 0, 0, 0, 32, '2025-11-05 01:22:55', 5, '2025-11-05 01:23:21'),
(73, 10, '1', 1, -1, '2025-05-15', '2025-05-15', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 9, 0, 0, 0, 0, 9, '2025-11-05 13:16:54', 5, '2025-11-05 13:17:08'),
(74, 124, '12', 1, -1, '2025-04-30', '2025-05-01', 2.0, 'N', '', 2.00, 0.00, 'baladiya', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 25, 0, 0, 0, 0, 25, '2025-11-05 13:29:36', 5, '2025-11-05 13:29:50'),
(75, 124, '12', 1, -1, '2025-05-13', '2025-05-14', 2.0, 'N', '', 2.00, 0.00, 'Sick', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 25, 0, 0, 0, 0, 25, '2025-11-05 13:32:07', 5, '2025-11-05 13:32:23'),
(76, 126, '14', 2, -1, '2025-05-03', '2025-05-31', 29.0, 'N', '', 29.00, 0.00, 'Annual Leave', '', 2, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2026-01-03', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 30, 0, 0, 0, 0, 30, '2025-11-05 15:23:08', 5, '2026-01-03 12:51:13'),
(77, 7, '10', 1, -1, '2025-04-04', '2025-05-04', 31.0, 'N', '', 31.00, 0.00, 'Annual leave Paid 32.50', '', 3, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 18, 0, 0, 0, 0, 18, '2025-11-05 15:58:07', 5, '2025-11-05 15:59:05'),
(78, 7, '10', 1, -1, '2025-05-05', '2025-05-05', 0.5, 'Y', 'AM', 0.50, 0.00, 'Annual leave Paid 32.50', '', 3, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 18, 0, 0, 0, 0, 18, '2025-11-05 15:58:07', 5, '2025-11-05 15:59:11'),
(79, 10, '1', 1, -1, '2025-06-19', '2025-06-19', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 9, 0, 0, 0, 0, 9, '2025-11-05 16:24:29', 5, '2025-11-05 16:55:58'),
(80, 8, '3', 1, -1, '2025-05-26', '2025-05-26', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 11, 0, 0, 0, 0, 11, '2025-11-05 16:55:26', 5, '2025-11-05 16:56:09'),
(81, 8, '3', 1, -1, '2025-06-03', '2025-06-03', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 11, 0, 0, 0, 0, 11, '2025-11-05 16:55:26', 5, '2025-11-05 16:56:05'),
(82, 8, '3', 1, -1, '2025-06-18', '2025-06-18', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 11, 0, 0, 0, 0, 11, '2025-11-05 16:55:26', 5, '2025-11-05 16:56:01'),
(83, 8, '3', 1, -1, '2025-06-21', '2025-06-21', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 27, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '2025-11-05', 'Cancelled by HR', '2025-11-05', 11, 0, 0, 0, 0, 11, '2025-11-05 16:55:26', 5, '2025-11-05 17:37:17'),
(84, 139, '15', 1, -1, '2025-06-18', '2025-06-18', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 5, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 31, 0, 0, 0, 0, 31, '2025-11-05 17:01:46', 5, '2025-11-05 17:02:04'),
(85, 187, '19', 1, -1, '2025-05-30', '2025-06-19', 21.0, 'N', '', 21.00, 0.00, 'Annual Leave (after War he came back to Dubai) ', '', 2, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 35, 0, 0, 0, 0, 35, '2025-11-05 17:16:09', 5, '2025-11-05 17:16:27'),
(86, 10, '1', 1, -1, '2025-07-10', '2025-07-12', 3.0, 'N', '', 3.00, 0.00, 'SICK LEAVE WITH MEDICAL CERTIFICATE', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 9, 0, 0, 0, 0, 9, '2025-11-05 19:14:47', 5, '2025-11-05 19:19:05'),
(87, 8, '3', 1, -1, '2025-07-12', '2025-07-12', 1.0, 'N', '', 1.00, 0.00, 'sick', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 11, 0, 0, 0, 0, 11, '2025-11-05 19:18:48', 5, '2025-11-05 19:19:09'),
(88, 125, '13', 1, -1, '2025-06-15', '2025-06-15', 1.0, 'N', '', 1.00, 0.00, 'sick no AC ', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 26, 0, 0, 0, 0, 26, '2025-11-05 19:25:08', 2, '2025-12-18 11:25:47'),
(89, 124, '12', 1, -1, '2025-07-23', '2025-07-25', 3.0, 'N', '', 3.00, 0.00, 'SICK LEAVE', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 27, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '2025-11-05', 'Cancelled by HR', '2025-11-05', 25, 0, 0, 0, 0, 25, '2025-11-05 19:37:02', 5, '2025-11-05 20:02:23'),
(90, 124, '12', 1, -1, '2025-06-30', '2025-07-01', 2.0, 'N', '', 2.00, 0.00, 'baladiya', '', 2, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 25, 0, 0, 0, 0, 25, '2025-11-05 19:55:47', 5, '2025-11-05 19:58:04'),
(91, 124, '12', 1, -1, '2025-07-23', '2025-07-25', 3.0, 'N', '', 3.00, 0.00, 'sickleave', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-05', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-05', 25, 0, 0, 0, 0, 25, '2025-11-05 20:05:19', 5, '2025-11-05 20:05:39'),
(92, 187, '19', 1, -1, '2025-08-16', '2025-08-24', 9.0, 'N', '', 9.00, 0.00, 'Annual Leave', '', 2, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-12', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-12', 35, 0, 0, 0, 0, 35, '2025-11-12 01:32:09', 5, '2025-11-12 01:32:55'),
(93, 8, '3', 1, -1, '2025-08-18', '2025-08-18', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-12', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-12', 11, 0, 0, 0, 0, 11, '2025-11-12 01:33:41', 5, '2025-11-12 02:26:07'),
(94, 177, '20', 1, -1, '2025-08-18', '2025-08-18', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 5, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-12', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-12', 36, 0, 0, 0, 0, 36, '2025-11-12 01:35:47', 5, '2025-11-12 02:02:37'),
(95, 8, '3', 1, -1, '2025-09-18', '2025-09-18', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-12', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-12', 11, 0, 0, 0, 0, 11, '2025-11-12 02:27:33', 5, '2025-11-12 02:27:49'),
(96, 124, '12', 1, -1, '2025-09-01', '2025-09-02', 2.0, 'N', '', 2.00, 0.00, 'Sick', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 27, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-12', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '2025-11-27', 'Cancelled by HR', '2025-11-12', 25, 0, 0, 0, 0, 25, '2025-11-12 02:39:47', 5, '2025-11-27 17:08:19'),
(97, 124, '12', 1, -1, '2025-09-12', '2025-09-13', 2.0, 'N', '', 2.00, 0.00, 'Annual Leave', '', 2, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-12', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-12', 25, 0, 0, 0, 0, 25, '2025-11-12 02:40:30', 5, '2025-11-12 02:40:54'),
(98, 177, '20', 1, -1, '2025-09-08', '2025-09-08', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 5, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-12', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-12', 36, 0, 0, 0, 0, 36, '2025-11-12 02:44:50', 5, '2025-11-12 02:45:09'),
(99, 177, '20', 1, -1, '2025-09-15', '2025-09-15', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 5, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-12', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-12', 36, 0, 0, 0, 0, 36, '2025-11-12 02:46:14', 5, '2025-11-12 02:48:04'),
(100, 8, '3', 1, -1, '2025-09-15', '2025-09-15', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-12', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-12', 11, 0, 0, 0, 0, 11, '2025-11-12 02:47:33', 5, '2025-11-12 02:48:13');
INSERT INTO `erp_hr_employee_leave_detail` (`id`, `function_type`, `employee_id`, `last_approved_level`, `last_cancel_level`, `leave_start_date`, `leave_end_date`, `no_days`, `half_day_leave`, `half_day_time`, `normal_leave`, `salary_deduction_leave`, `leave_reason`, `medical_certificate`, `leave_type`, `ticket_applied`, `travel_date`, `travel_destination`, `return_date`, `return_destination`, `leave_status`, `status_cancel`, `line_manager_id`, `line_manager_approved_date`, `line_manager_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_id`, `approved_date`, `hr_comment`, `leave_approval_document`, `cancel_reason_employee`, `date_apply_cancel`, `cancel_level_1_id`, `date_cancel_lm`, `cancel_comment_lm`, `cancel_level_2_id`, `date_cancel_level_2`, `cancel_level_2_comment`, `cancel_level_3_id`, `date_cancel_level_3`, `cancel_level_3_comment`, `cancel_level_4_id`, `date_cancel_level_4`, `cancel_level_4_comment`, `cancel_level_5_id`, `date_cancel_level_5`, `cancel_level_5_comment`, `cancel_approved_id`, `date_cancel_hr`, `cancel_comment_hr`, `apply_date`, `apply_by`, `lm_view_status`, `lm_cancel_view_status`, `view_status`, `hr_cancel_view_status`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(101, 124, '12', 1, -1, '2025-10-10', '2025-10-10', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-12', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-12', 25, 0, 0, 0, 0, 25, '2025-11-12 04:14:41', 5, '2025-11-12 04:14:54'),
(102, 124, '12', 1, -1, '2025-10-18', '2025-10-18', 1.0, 'N', '', 1.00, 0.00, 'Sick', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-12', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-12', 25, 0, 0, 0, 0, 25, '2025-11-12 04:15:21', 5, '2025-11-12 04:15:35'),
(103, 124, '12', 1, -1, '2025-11-06', '2025-11-08', 3.0, 'N', '', 3.00, 0.00, 'Sick', '', 6, 0, '0000-00-00', '', '0000-00-00', '', 27, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-12', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '2025-11-27', 'Cancelled by HR', '2025-11-12', 25, 0, 0, 0, 0, 25, '2025-11-12 04:16:47', 5, '2025-11-27 17:09:07'),
(104, 124, '12', 1, -1, '2025-11-10', '2025-11-11', 2.0, 'N', '', 2.00, 0.00, 'Sick', '', 2, 0, '0000-00-00', '', '0000-00-00', '', 27, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-12', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '2025-11-27', 'Cancelled by HR', '2025-11-12', 25, 0, 0, 0, 0, 25, '2025-11-12 04:17:26', 5, '2025-11-27 17:08:55'),
(105, 177, '20', 1, -1, '2025-10-09', '2025-10-09', 1.0, 'N', '', 1.00, 0.00, 'sick', '', 5, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-13', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-13', 36, 0, 0, 0, 0, 36, '2025-11-13 14:08:12', 5, '2025-11-13 14:10:53'),
(106, 124, '12', 1, -1, '2025-11-17', '2025-11-18', 2.0, 'N', '', 2.00, 0.00, 'Sick ', '', 2, 0, '0000-00-00', '', '0000-00-00', '', 13, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2026-01-03', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-18', 25, 0, 0, 0, 0, 25, '2025-11-18 09:20:34', 5, '2026-01-03 10:19:35'),
(107, 177, '20', 1, -1, '2025-05-12', '2025-05-13', 2.0, 'N', '', 2.00, 0.00, 'Sick', '', 13, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-19', '', '', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2025-11-19', 36, 0, 0, 0, 0, 36, '2025-11-19 02:56:13', 5, '2025-11-19 02:56:37'),
(108, 8, '3', 1, -1, '2025-11-29', '2025-11-29', 1.0, 'N', '', 1.00, 0.00, 'sick', '', 8, 0, '0000-00-00', '', '0000-00-00', '', 12, 0, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2026-01-03', '', 'WhatsApp Image 2025-12-03 at 16 22 5338.jpeg', '', '0000-00-00', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', '2026-01-03', 11, 0, 0, 0, 0, 11, '2026-01-03 11:52:38', 5, '2026-01-03 11:53:09');

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

--
-- Table structure for table `erp_hr_employee_leave_encashment`
--

CREATE TABLE `erp_hr_employee_leave_encashment` (
  `id` int(11) NOT NULL,
  `function_type` int(11) NOT NULL,
  `last_approved_level` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `leave_type_id` int(11) NOT NULL,
  `encashment_year` int(11) NOT NULL,
  `encashable_leave` decimal(10,2) NOT NULL,
  `encashment_amount` decimal(10,2) NOT NULL,
  `apply_date` date 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,
  `approval_comment` text NOT NULL,
  `approve_date` date NOT NULL,
  `payment_mode` int(11) NOT NULL COMMENT '1-Cash,2-Cheque,3-Bank Tranfer',
  `payment_date` date NOT NULL,
  `remarks` text NOT NULL,
  `approval_document` varchar(500) NOT NULL,
  `credit_account` int(11) NOT NULL,
  `cheque_date` date NOT NULL,
  `cheque_no` varchar(50) NOT NULL,
  `status` int(11) NOT NULL DEFAULT 1,
  `view_status` int(11) NOT NULL COMMENT '1-Not viewd,2-Viewed',
  `payment_status` enum('Y','N') NOT NULL DEFAULT 'N',
  `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=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_leave_encashment`
--

INSERT INTO `erp_hr_employee_leave_encashment` (`id`, `function_type`, `last_approved_level`, `employee_id`, `leave_type_id`, `encashment_year`, `encashable_leave`, `encashment_amount`, `apply_date`, `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`, `approval_comment`, `approve_date`, `payment_mode`, `payment_date`, `remarks`, `approval_document`, `credit_account`, `cheque_date`, `cheque_no`, `status`, `view_status`, `payment_status`, `finance_posted`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 184, 1, 20, 1, 2025, 30.00, 1500.00, '2025-12-29', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '', '2025-12-29', 0, '0000-00-00', '', '', 0, '0000-00-00', '', 12, 0, 'N', 'N', 5, '2025-12-29 12:16:20', 5, '2025-12-29 12:16:31');

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

--
-- Table structure for table `erp_hr_employee_leave_excuse`
--

CREATE TABLE `erp_hr_employee_leave_excuse` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `customer_name` varchar(255) NOT NULL,
  `request_date` date NOT NULL,
  `duration_type` int(11) NOT NULL DEFAULT 1,
  `start_time` time NOT NULL,
  `end_time` time NOT NULL,
  `excuse_reason` text NOT NULL,
  `type` int(11) NOT NULL COMMENT '1-Meeting,2-Excuse',
  `status` tinyint(4) 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=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_leave_ledger`
--

CREATE TABLE `erp_hr_employee_leave_ledger` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `leave_type` int(11) NOT NULL,
  `leave_count` decimal(10,2) NOT NULL,
  `leave_reduce` decimal(10,2) NOT NULL,
  `remarks` 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=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_leave_ledger`
--

INSERT INTO `erp_hr_employee_leave_ledger` (`id`, `employee_id`, `leave_type`, `leave_count`, `leave_reduce`, `remarks`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 16, 5, 15.00, 0.00, 'Leave added by cancellation of leave from 25/03/2025 to 08/04/2025', 5, '2025-11-05 01:01:10', 0, '0000-00-00 00:00:00'),
(2, 16, 1, 10.00, 0.00, 'Leave added by cancellation of leave from 25/02/2025 to 06/03/2025', 5, '2025-11-05 01:19:24', 0, '0000-00-00 00:00:00'),
(3, 10, 3, 15.00, 0.00, 'Carry over', 5, '2025-11-05 15:47:31', 0, '0000-00-00 00:00:00'),
(4, 3, 8, 1.00, 0.00, 'Leave added by cancellation of leave from 21/06/2025 to 21/06/2025', 5, '2025-11-05 17:37:17', 0, '0000-00-00 00:00:00'),
(5, 12, 2, 13.00, 0.00, 'from  2024', 5, '2025-11-05 19:57:18', 0, '0000-00-00 00:00:00'),
(6, 12, 6, 3.00, 0.00, 'Leave added by cancellation of leave from 23/07/2025 to 25/07/2025', 5, '2025-11-05 20:02:23', 0, '0000-00-00 00:00:00'),
(7, 12, 6, 2.00, 0.00, 'Leave added by cancellation of leave from 01/09/2025 to 02/09/2025', 5, '2025-11-27 17:08:19', 0, '0000-00-00 00:00:00'),
(8, 12, 2, 2.00, 0.00, 'Leave added by cancellation of leave from 10/11/2025 to 11/11/2025', 5, '2025-11-27 17:08:55', 0, '0000-00-00 00:00:00'),
(9, 12, 6, 3.00, 0.00, 'Leave added by cancellation of leave from 06/11/2025 to 08/11/2025', 5, '2025-11-27 17:09:07', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_hr_employee_leave_migrated`
--

CREATE TABLE `erp_hr_employee_leave_migrated` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `leave_type` int(11) NOT NULL,
  `leave_start_date` date NOT NULL,
  `leave_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,
  `leave_status` enum('M') NOT NULL DEFAULT 'M' COMMENT 'Migrated ',
  `medical_certificate` varchar(500) NOT NULL,
  `hr_comment` text NOT NULL,
  `leave_approval_document` varchar(255) 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_employee_loan`
--

CREATE TABLE `erp_hr_employee_loan` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `loan_id` int(11) NOT NULL,
  `loan_amount` decimal(10,2) NOT NULL,
  `date_payment` date NOT NULL,
  `loan_installment` int(11) NOT NULL,
  `added_from` int(11) NOT NULL DEFAULT 1 COMMENT '1-payment form,2-Salary lock',
  `salary_lock_id` int(11) NOT NULL,
  `posted` enum('Y','N') NOT NULL DEFAULT 'N',
  `voucher_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_loan_detail`
--

CREATE TABLE `erp_hr_employee_loan_detail` (
  `id` int(11) NOT NULL,
  `function_type` int(11) NOT NULL DEFAULT 0,
  `last_approved_level` int(11) NOT NULL DEFAULT 0,
  `employee_id` int(11) NOT NULL,
  `apply_date` date NOT NULL,
  `reason_loan` text NOT NULL,
  `loan_amount` decimal(10,2) NOT NULL,
  `proposed_installment` int(11) NOT NULL,
  `proposed_monthly_installment` decimal(10,2) NOT NULL,
  `loan_repayment` decimal(10,2) NOT NULL,
  `loan_monthly_payment` decimal(15,2) NOT NULL,
  `loan_total_installment` int(11) 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,
  `loan_taken` date NOT NULL,
  `payment_mode` int(11) NOT NULL COMMENT '1-Cash,2-Cheque,3-Bank Tranfer',
  `credit_account` int(11) NOT NULL,
  `cheque_date` date NOT NULL,
  `cheque_no` varchar(50) NOT NULL,
  `payment_date` date NOT NULL,
  `remarks` text NOT NULL,
  `view_status` int(11) NOT NULL DEFAULT 0,
  `loan_status` int(11) NOT NULL DEFAULT 0,
  `loan_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,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_loan_detail`
--

INSERT INTO `erp_hr_employee_loan_detail` (`id`, `function_type`, `last_approved_level`, `employee_id`, `apply_date`, `reason_loan`, `loan_amount`, `proposed_installment`, `proposed_monthly_installment`, `loan_repayment`, `loan_monthly_payment`, `loan_total_installment`, `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`, `loan_taken`, `payment_mode`, `credit_account`, `cheque_date`, `cheque_no`, `payment_date`, `remarks`, `view_status`, `loan_status`, `loan_posted`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`, `isActive`) VALUES
(1, 53, 1, 12, '2024-10-17', 'Loan taken from Petty Cash ', 10000.00, 6, 1494.99, 0.00, 1500.00, 7, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2024-10-17', '', '0000-00-00', 0, 0, '0000-00-00', '', '0000-00-00', '', 1, 12, 'N', 5, '2024-10-17 16:16:40', 25, '2025-10-27 16:15:45', 'Y');

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

--
-- Table structure for table `erp_hr_employee_notes`
--

CREATE TABLE `erp_hr_employee_notes` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `notes` 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_hr_employee_notice_conduct`
--

CREATE TABLE `erp_hr_employee_notice_conduct` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `warning_type` varchar(255) NOT NULL DEFAULT 'Written',
  `reference_no` int(11) NOT NULL,
  `reason` text NOT NULL,
  `type` int(11) NOT NULL DEFAULT 1 COMMENT '1-normal,2-warning,3->unauthorised',
  `month` int(11) NOT NULL DEFAULT 1,
  `year` year(4) NOT NULL,
  `month_1_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `month_2_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `month_3_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `notice_document` varchar(500) NOT NULL,
  `signed_notice_document` varchar(500) NOT NULL,
  `signed_date` date NOT NULL,
  `issued_date` date NOT NULL,
  `subject` text NOT NULL,
  `warning_field_1` text NOT NULL,
  `warning_field_2` text NOT NULL,
  `view_status` 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
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_offboard`
--

CREATE TABLE `erp_hr_employee_offboard` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `task_id` int(11) NOT NULL,
  `task` text NOT NULL,
  `notes` text NOT NULL,
  `task_done_date` date NOT NULL,
  `task_status` 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;

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

--
-- Table structure for table `erp_hr_employee_overtime`
--

CREATE TABLE `erp_hr_employee_overtime` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `overtimedate` date NOT NULL,
  `over_time_id` int(11) NOT NULL,
  `hours` decimal(15,2) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_pension`
--

CREATE TABLE `erp_hr_employee_pension` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `salary_slip_id` int(11) NOT NULL,
  `employee_contribution_amount` decimal(10,2) NOT NULL,
  `company_contribution_amount` decimal(10,2) NOT NULL,
  `total_pension_amount` decimal(10,2) NOT NULL,
  `created_date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_pension`
--

INSERT INTO `erp_hr_employee_pension` (`id`, `employee_id`, `salary_slip_id`, `employee_contribution_amount`, `company_contribution_amount`, `total_pension_amount`, `created_date`) VALUES
(37, 2, 37, 0.00, 0.00, 0.00, '2023-11-22'),
(38, 3, 38, 0.00, 0.00, 0.00, '2023-11-22'),
(39, 9, 39, 0.00, 0.00, 0.00, '2023-11-22'),
(40, 1, 40, 0.00, 0.00, 0.00, '2023-11-22'),
(41, 4, 41, 0.00, 0.00, 0.00, '2023-11-22'),
(42, 8, 42, 0.00, 0.00, 0.00, '2023-11-22'),
(43, 5, 43, 0.00, 0.00, 0.00, '2023-11-22'),
(44, 7, 44, 0.00, 0.00, 0.00, '2023-11-22'),
(45, 11, 45, 0.00, 0.00, 0.00, '2023-11-22'),
(46, 12, 46, 0.00, 0.00, 0.00, '2023-11-22'),
(47, 6, 47, 0.00, 0.00, 0.00, '2023-11-22'),
(48, 10, 48, 0.00, 0.00, 0.00, '2023-11-22'),
(58, 10, 58, 0.00, 0.00, 0.00, '2023-11-25'),
(59, 3, 59, 0.00, 0.00, 0.00, '2023-11-25'),
(60, 9, 60, 0.00, 0.00, 0.00, '2023-11-25'),
(61, 1, 61, 0.00, 0.00, 0.00, '2023-11-25'),
(62, 4, 62, 0.00, 0.00, 0.00, '2023-11-25'),
(79, 8, 79, 0.00, 0.00, 0.00, '2023-11-25'),
(80, 5, 80, 0.00, 0.00, 0.00, '2023-11-25'),
(81, 13, 81, 0.00, 0.00, 0.00, '2023-11-25'),
(82, 14, 82, 0.00, 0.00, 0.00, '2023-11-25'),
(83, 7, 83, 0.00, 0.00, 0.00, '2023-11-25'),
(84, 11, 84, 0.00, 0.00, 0.00, '2023-11-25'),
(85, 12, 85, 0.00, 0.00, 0.00, '2023-11-25'),
(86, 6, 86, 0.00, 0.00, 0.00, '2023-11-25'),
(87, 2, 87, 0.00, 0.00, 0.00, '2023-11-26'),
(88, 2, 88, 0.00, 0.00, 0.00, '2023-12-19'),
(89, 10, 89, 0.00, 0.00, 0.00, '2023-12-19'),
(90, 8, 90, 0.00, 0.00, 0.00, '2023-12-19'),
(91, 5, 91, 0.00, 0.00, 0.00, '2023-12-19'),
(92, 13, 92, 0.00, 0.00, 0.00, '2023-12-19'),
(93, 14, 93, 0.00, 0.00, 0.00, '2023-12-19'),
(94, 7, 94, 0.00, 0.00, 0.00, '2023-12-19'),
(95, 11, 95, 0.00, 0.00, 0.00, '2023-12-19'),
(96, 12, 96, 0.00, 0.00, 0.00, '2023-12-19'),
(97, 6, 97, 0.00, 0.00, 0.00, '2023-12-19'),
(98, 3, 98, 0.00, 0.00, 0.00, '2023-12-20'),
(99, 9, 99, 0.00, 0.00, 0.00, '2023-12-20'),
(100, 1, 100, 0.00, 0.00, 0.00, '2023-12-20'),
(101, 4, 101, 0.00, 0.00, 0.00, '2023-12-20'),
(104, 8, 104, 0.00, 0.00, 0.00, '2024-01-24'),
(105, 5, 105, 0.00, 0.00, 0.00, '2024-01-24'),
(106, 13, 106, 0.00, 0.00, 0.00, '2024-01-24'),
(107, 14, 107, 0.00, 0.00, 0.00, '2024-01-24'),
(108, 7, 108, 0.00, 0.00, 0.00, '2024-01-24'),
(109, 11, 109, 0.00, 0.00, 0.00, '2024-01-24'),
(110, 12, 110, 0.00, 0.00, 0.00, '2024-01-24'),
(111, 6, 111, 0.00, 0.00, 0.00, '2024-01-24'),
(112, 10, 112, 0.00, 0.00, 0.00, '2024-01-24'),
(113, 3, 113, 0.00, 0.00, 0.00, '2024-01-24'),
(114, 9, 114, 0.00, 0.00, 0.00, '2024-01-24'),
(115, 1, 115, 0.00, 0.00, 0.00, '2024-01-24'),
(116, 4, 116, 0.00, 0.00, 0.00, '2024-01-24'),
(117, 15, 117, 0.00, 0.00, 0.00, '2024-01-24'),
(118, 2, 118, 0.00, 0.00, 0.00, '2024-01-24'),
(119, 8, 119, 0.00, 0.00, 0.00, '2024-02-29'),
(120, 5, 120, 0.00, 0.00, 0.00, '2024-02-29'),
(121, 13, 121, 0.00, 0.00, 0.00, '2024-02-29'),
(122, 14, 122, 0.00, 0.00, 0.00, '2024-02-29'),
(123, 7, 123, 0.00, 0.00, 0.00, '2024-02-29'),
(124, 11, 124, 0.00, 0.00, 0.00, '2024-02-29'),
(125, 12, 125, 0.00, 0.00, 0.00, '2024-02-29'),
(126, 6, 126, 0.00, 0.00, 0.00, '2024-02-29'),
(127, 15, 127, 0.00, 0.00, 0.00, '2024-02-29'),
(128, 2, 128, 0.00, 0.00, 0.00, '2024-02-29'),
(129, 10, 129, 0.00, 0.00, 0.00, '2024-02-29'),
(130, 3, 130, 0.00, 0.00, 0.00, '2024-02-29'),
(131, 9, 131, 0.00, 0.00, 0.00, '2024-02-29'),
(132, 1, 132, 0.00, 0.00, 0.00, '2024-02-29'),
(133, 4, 133, 0.00, 0.00, 0.00, '2024-02-29'),
(134, 8, 134, 0.00, 0.00, 0.00, '2024-03-28'),
(135, 5, 135, 0.00, 0.00, 0.00, '2024-03-28'),
(136, 13, 136, 0.00, 0.00, 0.00, '2024-03-28'),
(137, 14, 137, 0.00, 0.00, 0.00, '2024-03-28'),
(138, 7, 138, 0.00, 0.00, 0.00, '2024-03-28'),
(139, 11, 139, 0.00, 0.00, 0.00, '2024-03-28'),
(140, 12, 140, 0.00, 0.00, 0.00, '2024-03-28'),
(141, 6, 141, 0.00, 0.00, 0.00, '2024-03-28'),
(142, 15, 142, 0.00, 0.00, 0.00, '2024-03-28'),
(143, 2, 143, 0.00, 0.00, 0.00, '2024-03-28'),
(144, 10, 144, 0.00, 0.00, 0.00, '2024-03-28'),
(154, 16, 154, 0.00, 0.00, 0.00, '2024-03-28'),
(155, 3, 155, 0.00, 0.00, 0.00, '2024-03-28'),
(156, 17, 156, 0.00, 0.00, 0.00, '2024-03-28'),
(157, 9, 157, 0.00, 0.00, 0.00, '2024-03-28'),
(158, 1, 158, 0.00, 0.00, 0.00, '2024-03-28'),
(159, 4, 159, 0.00, 0.00, 0.00, '2024-03-28'),
(160, 15, 160, 0.00, 0.00, 0.00, '2024-04-27'),
(161, 2, 161, 0.00, 0.00, 0.00, '2024-04-27'),
(162, 8, 162, 0.00, 0.00, 0.00, '2024-04-27'),
(163, 5, 163, 0.00, 0.00, 0.00, '2024-04-27'),
(164, 13, 164, 0.00, 0.00, 0.00, '2024-04-27'),
(165, 14, 165, 0.00, 0.00, 0.00, '2024-04-27'),
(166, 7, 166, 0.00, 0.00, 0.00, '2024-04-27'),
(167, 11, 167, 0.00, 0.00, 0.00, '2024-04-27'),
(168, 12, 168, 0.00, 0.00, 0.00, '2024-04-27'),
(169, 6, 169, 0.00, 0.00, 0.00, '2024-04-27'),
(170, 10, 170, 0.00, 0.00, 0.00, '2024-04-27'),
(171, 16, 171, 0.00, 0.00, 0.00, '2024-04-27'),
(172, 3, 172, 0.00, 0.00, 0.00, '2024-04-27'),
(173, 17, 173, 0.00, 0.00, 0.00, '2024-04-27'),
(174, 9, 174, 0.00, 0.00, 0.00, '2024-04-27'),
(175, 1, 175, 0.00, 0.00, 0.00, '2024-04-27'),
(176, 4, 176, 0.00, 0.00, 0.00, '2024-04-27'),
(183, 10, 183, 0.00, 0.00, 0.00, '2024-05-27'),
(188, 16, 188, 0.00, 0.00, 0.00, '2024-05-27'),
(189, 15, 189, 0.00, 0.00, 0.00, '2024-05-27'),
(190, 3, 190, 0.00, 0.00, 0.00, '2024-05-27'),
(191, 17, 191, 0.00, 0.00, 0.00, '2024-05-27'),
(192, 9, 192, 0.00, 0.00, 0.00, '2024-05-27'),
(193, 1, 193, 0.00, 0.00, 0.00, '2024-05-27'),
(194, 4, 194, 0.00, 0.00, 0.00, '2024-05-27'),
(195, 8, 195, 0.00, 0.00, 0.00, '2024-05-29'),
(196, 5, 196, 0.00, 0.00, 0.00, '2024-05-29'),
(197, 13, 197, 0.00, 0.00, 0.00, '2024-05-29'),
(198, 14, 198, 0.00, 0.00, 0.00, '2024-05-29'),
(199, 11, 199, 0.00, 0.00, 0.00, '2024-05-29'),
(200, 12, 200, 0.00, 0.00, 0.00, '2024-05-29'),
(201, 6, 201, 0.00, 0.00, 0.00, '2024-05-29'),
(202, 8, 202, 0.00, 0.00, 0.00, '2024-06-25'),
(203, 13, 203, 0.00, 0.00, 0.00, '2024-06-25'),
(204, 14, 204, 0.00, 0.00, 0.00, '2024-06-25'),
(205, 11, 205, 0.00, 0.00, 0.00, '2024-06-25'),
(206, 12, 206, 0.00, 0.00, 0.00, '2024-06-25'),
(207, 6, 207, 0.00, 0.00, 0.00, '2024-06-25'),
(217, 8, 217, 0.00, 0.00, 0.00, '2024-07-23'),
(218, 13, 218, 0.00, 0.00, 0.00, '2024-07-23'),
(219, 14, 219, 0.00, 0.00, 0.00, '2024-07-23'),
(220, 11, 220, 0.00, 0.00, 0.00, '2024-07-23'),
(221, 12, 221, 0.00, 0.00, 0.00, '2024-07-23'),
(222, 6, 222, 0.00, 0.00, 0.00, '2024-07-23'),
(267, 8, 267, 0.00, 0.00, 0.00, '2024-08-29'),
(268, 13, 268, 0.00, 0.00, 0.00, '2024-08-29'),
(269, 14, 269, 0.00, 0.00, 0.00, '2024-08-29'),
(270, 11, 270, 0.00, 0.00, 0.00, '2024-08-29'),
(271, 6, 271, 0.00, 0.00, 0.00, '2024-08-29'),
(272, 12, 272, 0.00, 0.00, 0.00, '2024-08-29'),
(273, 18, 273, 0.00, 0.00, 0.00, '2024-08-29'),
(295, 16, 295, 0.00, 0.00, 0.00, '2025-02-05'),
(296, 15, 296, 0.00, 0.00, 0.00, '2025-02-05'),
(297, 2, 297, 0.00, 0.00, 0.00, '2025-02-05'),
(298, 16, 298, 0.00, 0.00, 0.00, '2025-02-07'),
(299, 15, 299, 0.00, 0.00, 0.00, '2025-02-07'),
(300, 2, 300, 0.00, 0.00, 0.00, '2025-02-07'),
(301, 10, 301, 0.00, 0.00, 0.00, '2025-02-07'),
(302, 3, 302, 0.00, 0.00, 0.00, '2025-02-07'),
(303, 17, 303, 0.00, 0.00, 0.00, '2025-02-07'),
(304, 9, 304, 0.00, 0.00, 0.00, '2025-02-07'),
(305, 1, 305, 0.00, 0.00, 0.00, '2025-02-07'),
(306, 4, 306, 0.00, 0.00, 0.00, '2025-02-07'),
(307, 16, 307, 0.00, 0.00, 0.00, '2025-02-07'),
(308, 15, 308, 0.00, 0.00, 0.00, '2025-02-07'),
(309, 2, 309, 0.00, 0.00, 0.00, '2025-02-07'),
(310, 10, 310, 0.00, 0.00, 0.00, '2025-02-07'),
(311, 3, 311, 0.00, 0.00, 0.00, '2025-02-07'),
(312, 17, 312, 0.00, 0.00, 0.00, '2025-02-07'),
(313, 9, 313, 0.00, 0.00, 0.00, '2025-02-07'),
(314, 1, 314, 0.00, 0.00, 0.00, '2025-02-07'),
(315, 4, 315, 0.00, 0.00, 0.00, '2025-02-07'),
(316, 10, 316, 0.00, 0.00, 0.00, '2025-02-07'),
(317, 3, 317, 0.00, 0.00, 0.00, '2025-02-07'),
(318, 17, 318, 0.00, 0.00, 0.00, '2025-02-07'),
(319, 9, 319, 0.00, 0.00, 0.00, '2025-02-07'),
(320, 1, 320, 0.00, 0.00, 0.00, '2025-02-07'),
(321, 4, 321, 0.00, 0.00, 0.00, '2025-02-07'),
(322, 16, 322, 0.00, 0.00, 0.00, '2025-02-08'),
(323, 15, 323, 0.00, 0.00, 0.00, '2025-02-08'),
(324, 2, 324, 0.00, 0.00, 0.00, '2025-02-08'),
(328, 8, 328, 0.00, 0.00, 0.00, '2025-02-08'),
(329, 13, 329, 0.00, 0.00, 0.00, '2025-02-08'),
(330, 14, 330, 0.00, 0.00, 0.00, '2025-02-08'),
(331, 11, 331, 0.00, 0.00, 0.00, '2025-02-08'),
(332, 6, 332, 0.00, 0.00, 0.00, '2025-02-08'),
(333, 12, 333, 0.00, 0.00, 0.00, '2025-02-08'),
(334, 19, 334, 0.00, 0.00, 0.00, '2025-02-08'),
(335, 18, 335, 0.00, 0.00, 0.00, '2025-02-08'),
(336, 16, 336, 0.00, 0.00, 0.00, '2025-02-08'),
(337, 15, 337, 0.00, 0.00, 0.00, '2025-02-08'),
(338, 2, 338, 0.00, 0.00, 0.00, '2025-02-08'),
(339, 10, 339, 0.00, 0.00, 0.00, '2025-02-08'),
(340, 3, 340, 0.00, 0.00, 0.00, '2025-02-08'),
(341, 17, 341, 0.00, 0.00, 0.00, '2025-02-08'),
(342, 9, 342, 0.00, 0.00, 0.00, '2025-02-08'),
(343, 1, 343, 0.00, 0.00, 0.00, '2025-02-08'),
(344, 4, 344, 0.00, 0.00, 0.00, '2025-02-08'),
(377, 13, 377, 0.00, 0.00, 0.00, '2025-02-08'),
(378, 14, 378, 0.00, 0.00, 0.00, '2025-02-08'),
(379, 11, 379, 0.00, 0.00, 0.00, '2025-02-08'),
(380, 22, 380, 0.00, 0.00, 0.00, '2025-02-08'),
(381, 6, 381, 0.00, 0.00, 0.00, '2025-02-08'),
(382, 12, 382, 0.00, 0.00, 0.00, '2025-02-08'),
(383, 19, 383, 0.00, 0.00, 0.00, '2025-02-08'),
(384, 23, 384, 0.00, 0.00, 0.00, '2025-02-08'),
(385, 18, 385, 0.00, 0.00, 0.00, '2025-02-08'),
(386, 16, 386, 0.00, 0.00, 0.00, '2025-02-08'),
(387, 15, 387, 0.00, 0.00, 0.00, '2025-02-08'),
(388, 20, 388, 0.00, 0.00, 0.00, '2025-02-08'),
(389, 10, 389, 0.00, 0.00, 0.00, '2025-02-08'),
(390, 3, 390, 0.00, 0.00, 0.00, '2025-02-08'),
(391, 17, 391, 0.00, 0.00, 0.00, '2025-02-08'),
(392, 9, 392, 0.00, 0.00, 0.00, '2025-02-08'),
(393, 1, 393, 0.00, 0.00, 0.00, '2025-02-08'),
(394, 4, 394, 0.00, 0.00, 0.00, '2025-02-08'),
(395, 16, 395, 0.00, 0.00, 0.00, '2025-02-08'),
(396, 15, 396, 0.00, 0.00, 0.00, '2025-02-08'),
(397, 20, 397, 0.00, 0.00, 0.00, '2025-02-08'),
(398, 13, 398, 0.00, 0.00, 0.00, '2025-02-08'),
(399, 14, 399, 0.00, 0.00, 0.00, '2025-02-08'),
(400, 11, 400, 0.00, 0.00, 0.00, '2025-02-08'),
(401, 22, 401, 0.00, 0.00, 0.00, '2025-02-08'),
(402, 6, 402, 0.00, 0.00, 0.00, '2025-02-08'),
(403, 12, 403, 0.00, 0.00, 0.00, '2025-02-08'),
(404, 19, 404, 0.00, 0.00, 0.00, '2025-02-08'),
(405, 23, 405, 0.00, 0.00, 0.00, '2025-02-08'),
(406, 18, 406, 0.00, 0.00, 0.00, '2025-02-08'),
(407, 10, 407, 0.00, 0.00, 0.00, '2025-02-08'),
(408, 3, 408, 0.00, 0.00, 0.00, '2025-02-08'),
(409, 17, 409, 0.00, 0.00, 0.00, '2025-02-08'),
(410, 9, 410, 0.00, 0.00, 0.00, '2025-02-08'),
(411, 1, 411, 0.00, 0.00, 0.00, '2025-02-08'),
(412, 4, 412, 0.00, 0.00, 0.00, '2025-02-08'),
(413, 16, 413, 0.00, 0.00, 0.00, '2025-02-08'),
(414, 15, 414, 0.00, 0.00, 0.00, '2025-02-08'),
(415, 21, 415, 0.00, 0.00, 0.00, '2025-02-08'),
(416, 20, 416, 0.00, 0.00, 0.00, '2025-02-08'),
(417, 13, 417, 0.00, 0.00, 0.00, '2025-02-08'),
(418, 14, 418, 0.00, 0.00, 0.00, '2025-02-08'),
(419, 11, 419, 0.00, 0.00, 0.00, '2025-02-08'),
(420, 22, 420, 0.00, 0.00, 0.00, '2025-02-08'),
(421, 6, 421, 0.00, 0.00, 0.00, '2025-02-08'),
(422, 12, 422, 0.00, 0.00, 0.00, '2025-02-08'),
(423, 19, 423, 0.00, 0.00, 0.00, '2025-02-08'),
(424, 23, 424, 0.00, 0.00, 0.00, '2025-02-08'),
(425, 18, 425, 0.00, 0.00, 0.00, '2025-02-08'),
(426, 10, 426, 0.00, 0.00, 0.00, '2025-02-08'),
(427, 3, 427, 0.00, 0.00, 0.00, '2025-02-08'),
(428, 17, 428, 0.00, 0.00, 0.00, '2025-02-08'),
(429, 9, 429, 0.00, 0.00, 0.00, '2025-02-08'),
(430, 1, 430, 0.00, 0.00, 0.00, '2025-02-08'),
(431, 4, 431, 0.00, 0.00, 0.00, '2025-02-08'),
(432, 16, 432, 0.00, 0.00, 0.00, '2025-02-08'),
(433, 15, 433, 0.00, 0.00, 0.00, '2025-02-08'),
(434, 21, 434, 0.00, 0.00, 0.00, '2025-02-08'),
(435, 20, 435, 0.00, 0.00, 0.00, '2025-02-08'),
(436, 13, 436, 0.00, 0.00, 0.00, '2025-02-08'),
(437, 14, 437, 0.00, 0.00, 0.00, '2025-02-08'),
(438, 11, 438, 0.00, 0.00, 0.00, '2025-02-08'),
(439, 22, 439, 0.00, 0.00, 0.00, '2025-02-08'),
(440, 6, 440, 0.00, 0.00, 0.00, '2025-02-08'),
(441, 12, 441, 0.00, 0.00, 0.00, '2025-02-08'),
(442, 19, 442, 0.00, 0.00, 0.00, '2025-02-08'),
(443, 23, 443, 0.00, 0.00, 0.00, '2025-02-08'),
(444, 18, 444, 0.00, 0.00, 0.00, '2025-02-08'),
(445, 10, 445, 0.00, 0.00, 0.00, '2025-02-08'),
(446, 3, 446, 0.00, 0.00, 0.00, '2025-02-08'),
(447, 17, 447, 0.00, 0.00, 0.00, '2025-02-08'),
(448, 9, 448, 0.00, 0.00, 0.00, '2025-02-08'),
(449, 1, 449, 0.00, 0.00, 0.00, '2025-02-08'),
(450, 4, 450, 0.00, 0.00, 0.00, '2025-02-08'),
(451, 16, 451, 0.00, 0.00, 0.00, '2025-03-01'),
(452, 15, 452, 0.00, 0.00, 0.00, '2025-03-01'),
(453, 21, 453, 0.00, 0.00, 0.00, '2025-03-01'),
(454, 20, 454, 0.00, 0.00, 0.00, '2025-03-01'),
(455, 13, 455, 0.00, 0.00, 0.00, '2025-03-01'),
(456, 14, 456, 0.00, 0.00, 0.00, '2025-03-01'),
(457, 11, 457, 0.00, 0.00, 0.00, '2025-03-01'),
(458, 22, 458, 0.00, 0.00, 0.00, '2025-03-01'),
(459, 6, 459, 0.00, 0.00, 0.00, '2025-03-01'),
(460, 12, 460, 0.00, 0.00, 0.00, '2025-03-01'),
(461, 19, 461, 0.00, 0.00, 0.00, '2025-03-01'),
(462, 23, 462, 0.00, 0.00, 0.00, '2025-03-01'),
(463, 18, 463, 0.00, 0.00, 0.00, '2025-03-01'),
(464, 10, 464, 0.00, 0.00, 0.00, '2025-03-01'),
(465, 3, 465, 0.00, 0.00, 0.00, '2025-03-01'),
(466, 17, 466, 0.00, 0.00, 0.00, '2025-03-01'),
(467, 9, 467, 0.00, 0.00, 0.00, '2025-03-01'),
(468, 1, 468, 0.00, 0.00, 0.00, '2025-03-01'),
(469, 4, 469, 0.00, 0.00, 0.00, '2025-03-01'),
(478, 3, 478, 0.00, 0.00, 0.00, '2025-11-03'),
(479, 17, 479, 0.00, 0.00, 0.00, '2025-11-03'),
(480, 9, 480, 0.00, 0.00, 0.00, '2025-11-03'),
(481, 1, 481, 0.00, 0.00, 0.00, '2025-11-03'),
(482, 4, 482, 0.00, 0.00, 0.00, '2025-11-03'),
(492, 10, 492, 0.00, 0.00, 0.00, '2025-11-03'),
(531, 10, 531, 0.00, 0.00, 0.00, '2025-11-05'),
(532, 3, 532, 0.00, 0.00, 0.00, '2025-11-05'),
(533, 17, 533, 0.00, 0.00, 0.00, '2025-11-05'),
(534, 9, 534, 0.00, 0.00, 0.00, '2025-11-05'),
(535, 1, 535, 0.00, 0.00, 0.00, '2025-11-05'),
(536, 4, 536, 0.00, 0.00, 0.00, '2025-11-05'),
(549, 10, 549, 0.00, 0.00, 0.00, '2025-11-05'),
(550, 3, 550, 0.00, 0.00, 0.00, '2025-11-05'),
(551, 17, 551, 0.00, 0.00, 0.00, '2025-11-05'),
(552, 9, 552, 0.00, 0.00, 0.00, '2025-11-05'),
(553, 1, 553, 0.00, 0.00, 0.00, '2025-11-05'),
(554, 4, 554, 0.00, 0.00, 0.00, '2025-11-05'),
(559, 10, 559, 0.00, 0.00, 0.00, '2025-11-05'),
(560, 3, 560, 0.00, 0.00, 0.00, '2025-11-05'),
(561, 17, 561, 0.00, 0.00, 0.00, '2025-11-05'),
(562, 9, 562, 0.00, 0.00, 0.00, '2025-11-05'),
(563, 1, 563, 0.00, 0.00, 0.00, '2025-11-05'),
(564, 4, 564, 0.00, 0.00, 0.00, '2025-11-05'),
(585, 10, 585, 0.00, 0.00, 0.00, '2025-11-12'),
(586, 3, 586, 0.00, 0.00, 0.00, '2025-11-12'),
(587, 17, 587, 0.00, 0.00, 0.00, '2025-11-12'),
(588, 9, 588, 0.00, 0.00, 0.00, '2025-11-12'),
(589, 1, 589, 0.00, 0.00, 0.00, '2025-11-12'),
(590, 4, 590, 0.00, 0.00, 0.00, '2025-11-12'),
(706, 16, 706, 0.00, 0.00, 0.00, '2025-11-19'),
(707, 15, 707, 0.00, 0.00, 0.00, '2025-11-19'),
(708, 21, 708, 0.00, 0.00, 0.00, '2025-11-19'),
(709, 20, 709, 0.00, 0.00, 0.00, '2025-11-19'),
(717, 13, 717, 0.00, 0.00, 0.00, '2025-11-19'),
(718, 14, 718, 0.00, 0.00, 0.00, '2025-11-19'),
(719, 11, 719, 0.00, 0.00, 0.00, '2025-11-19'),
(720, 22, 720, 0.00, 0.00, 0.00, '2025-11-19'),
(721, 6, 721, 0.00, 0.00, 0.00, '2025-11-19'),
(722, 12, 722, 0.00, 0.00, 0.00, '2025-11-19'),
(723, 19, 723, 0.00, 0.00, 0.00, '2025-11-19'),
(724, 23, 724, 0.00, 0.00, 0.00, '2025-11-19'),
(725, 18, 725, 0.00, 0.00, 0.00, '2025-11-19'),
(726, 16, 726, 0.00, 0.00, 0.00, '2025-11-19'),
(727, 15, 727, 0.00, 0.00, 0.00, '2025-11-19'),
(728, 21, 728, 0.00, 0.00, 0.00, '2025-11-19'),
(729, 20, 729, 0.00, 0.00, 0.00, '2025-11-19'),
(730, 13, 730, 0.00, 0.00, 0.00, '2025-11-19'),
(731, 14, 731, 0.00, 0.00, 0.00, '2025-11-19'),
(732, 11, 732, 0.00, 0.00, 0.00, '2025-11-19'),
(733, 22, 733, 0.00, 0.00, 0.00, '2025-11-19'),
(734, 6, 734, 0.00, 0.00, 0.00, '2025-11-19'),
(735, 12, 735, 0.00, 0.00, 0.00, '2025-11-19'),
(736, 19, 736, 0.00, 0.00, 0.00, '2025-11-19'),
(737, 23, 737, 0.00, 0.00, 0.00, '2025-11-19'),
(738, 18, 738, 0.00, 0.00, 0.00, '2025-11-19'),
(743, 16, 743, 0.00, 0.00, 0.00, '2025-11-19'),
(744, 15, 744, 0.00, 0.00, 0.00, '2025-11-19'),
(745, 21, 745, 0.00, 0.00, 0.00, '2025-11-19'),
(746, 20, 746, 0.00, 0.00, 0.00, '2025-11-19'),
(747, 13, 747, 0.00, 0.00, 0.00, '2025-11-19'),
(748, 14, 748, 0.00, 0.00, 0.00, '2025-11-19'),
(749, 11, 749, 0.00, 0.00, 0.00, '2025-11-19'),
(750, 22, 750, 0.00, 0.00, 0.00, '2025-11-19'),
(751, 6, 751, 0.00, 0.00, 0.00, '2025-11-19'),
(752, 12, 752, 0.00, 0.00, 0.00, '2025-11-19'),
(753, 19, 753, 0.00, 0.00, 0.00, '2025-11-19'),
(754, 23, 754, 0.00, 0.00, 0.00, '2025-11-19'),
(755, 18, 755, 0.00, 0.00, 0.00, '2025-11-19'),
(756, 16, 756, 0.00, 0.00, 0.00, '2025-11-19'),
(757, 15, 757, 0.00, 0.00, 0.00, '2025-11-19'),
(758, 21, 758, 0.00, 0.00, 0.00, '2025-11-19'),
(759, 20, 759, 0.00, 0.00, 0.00, '2025-11-19'),
(760, 13, 760, 0.00, 0.00, 0.00, '2025-11-19'),
(761, 14, 761, 0.00, 0.00, 0.00, '2025-11-19'),
(762, 11, 762, 0.00, 0.00, 0.00, '2025-11-19'),
(763, 22, 763, 0.00, 0.00, 0.00, '2025-11-19'),
(764, 6, 764, 0.00, 0.00, 0.00, '2025-11-19'),
(765, 12, 765, 0.00, 0.00, 0.00, '2025-11-19'),
(766, 19, 766, 0.00, 0.00, 0.00, '2025-11-19'),
(767, 23, 767, 0.00, 0.00, 0.00, '2025-11-19'),
(768, 18, 768, 0.00, 0.00, 0.00, '2025-11-19'),
(769, 16, 769, 0.00, 0.00, 0.00, '2025-11-19'),
(770, 15, 770, 0.00, 0.00, 0.00, '2025-11-19'),
(771, 21, 771, 0.00, 0.00, 0.00, '2025-11-19'),
(772, 20, 772, 0.00, 0.00, 0.00, '2025-11-19'),
(773, 13, 773, 0.00, 0.00, 0.00, '2025-11-19'),
(774, 14, 774, 0.00, 0.00, 0.00, '2025-11-19'),
(775, 11, 775, 0.00, 0.00, 0.00, '2025-11-19'),
(776, 22, 776, 0.00, 0.00, 0.00, '2025-11-19'),
(777, 6, 777, 0.00, 0.00, 0.00, '2025-11-19'),
(778, 12, 778, 0.00, 0.00, 0.00, '2025-11-19'),
(779, 19, 779, 0.00, 0.00, 0.00, '2025-11-19'),
(780, 23, 780, 0.00, 0.00, 0.00, '2025-11-19'),
(781, 18, 781, 0.00, 0.00, 0.00, '2025-11-19'),
(782, 16, 782, 0.00, 0.00, 0.00, '2025-11-19'),
(783, 15, 783, 0.00, 0.00, 0.00, '2025-11-19'),
(784, 24, 784, 0.00, 0.00, 0.00, '2025-11-19'),
(785, 21, 785, 0.00, 0.00, 0.00, '2025-11-19'),
(786, 20, 786, 0.00, 0.00, 0.00, '2025-11-19'),
(787, 13, 787, 0.00, 0.00, 0.00, '2025-11-19'),
(788, 14, 788, 0.00, 0.00, 0.00, '2025-11-19'),
(789, 11, 789, 0.00, 0.00, 0.00, '2025-11-19'),
(790, 22, 790, 0.00, 0.00, 0.00, '2025-11-19'),
(791, 6, 791, 0.00, 0.00, 0.00, '2025-11-19'),
(792, 12, 792, 0.00, 0.00, 0.00, '2025-11-19'),
(793, 19, 793, 0.00, 0.00, 0.00, '2025-11-19'),
(794, 23, 794, 0.00, 0.00, 0.00, '2025-11-19'),
(795, 18, 795, 0.00, 0.00, 0.00, '2025-11-19'),
(796, 16, 796, 0.00, 0.00, 0.00, '2025-11-19'),
(797, 15, 797, 0.00, 0.00, 0.00, '2025-11-19'),
(798, 24, 798, 0.00, 0.00, 0.00, '2025-11-19'),
(799, 21, 799, 0.00, 0.00, 0.00, '2025-11-19'),
(800, 20, 800, 0.00, 0.00, 0.00, '2025-11-19'),
(801, 13, 801, 0.00, 0.00, 0.00, '2025-11-19'),
(802, 14, 802, 0.00, 0.00, 0.00, '2025-11-19'),
(803, 11, 803, 0.00, 0.00, 0.00, '2025-11-19'),
(804, 22, 804, 0.00, 0.00, 0.00, '2025-11-19'),
(805, 6, 805, 0.00, 0.00, 0.00, '2025-11-19'),
(806, 12, 806, 0.00, 0.00, 0.00, '2025-11-19'),
(807, 19, 807, 0.00, 0.00, 0.00, '2025-11-19'),
(808, 23, 808, 0.00, 0.00, 0.00, '2025-11-19'),
(809, 18, 809, 0.00, 0.00, 0.00, '2025-11-19'),
(810, 16, 810, 0.00, 0.00, 0.00, '2025-11-19'),
(811, 15, 811, 0.00, 0.00, 0.00, '2025-11-19'),
(812, 24, 812, 0.00, 0.00, 0.00, '2025-11-19'),
(813, 21, 813, 0.00, 0.00, 0.00, '2025-11-19'),
(814, 20, 814, 0.00, 0.00, 0.00, '2025-11-19'),
(815, 13, 815, 0.00, 0.00, 0.00, '2025-11-19'),
(816, 14, 816, 0.00, 0.00, 0.00, '2025-11-19'),
(817, 11, 817, 0.00, 0.00, 0.00, '2025-11-19'),
(818, 22, 818, 0.00, 0.00, 0.00, '2025-11-19'),
(819, 6, 819, 0.00, 0.00, 0.00, '2025-11-19'),
(820, 12, 820, 0.00, 0.00, 0.00, '2025-11-19'),
(821, 19, 821, 0.00, 0.00, 0.00, '2025-11-19'),
(822, 23, 822, 0.00, 0.00, 0.00, '2025-11-19'),
(823, 18, 823, 0.00, 0.00, 0.00, '2025-11-19'),
(839, 10, 839, 0.00, 0.00, 0.00, '2025-11-19'),
(840, 9, 840, 0.00, 0.00, 0.00, '2025-11-19'),
(844, 10, 844, 0.00, 0.00, 0.00, '2025-11-19'),
(845, 9, 845, 0.00, 0.00, 0.00, '2025-11-19'),
(849, 10, 849, 0.00, 0.00, 0.00, '2025-11-19'),
(850, 9, 850, 0.00, 0.00, 0.00, '2025-11-19'),
(864, 3, 864, 0.00, 0.00, 0.00, '2025-11-24'),
(865, 17, 865, 0.00, 0.00, 0.00, '2025-11-24'),
(866, 1, 866, 0.00, 0.00, 0.00, '2025-11-24'),
(867, 4, 867, 0.00, 0.00, 0.00, '2025-11-24'),
(868, 16, 868, 0.00, 0.00, 0.00, '2025-12-08'),
(869, 15, 869, 0.00, 0.00, 0.00, '2025-12-08'),
(870, 24, 870, 0.00, 0.00, 0.00, '2025-12-08'),
(871, 21, 871, 0.00, 0.00, 0.00, '2025-12-08'),
(872, 20, 872, 0.00, 0.00, 0.00, '2025-12-08'),
(873, 13, 873, 0.00, 0.00, 0.00, '2025-12-08'),
(874, 14, 874, 0.00, 0.00, 0.00, '2025-12-08'),
(875, 11, 875, 0.00, 0.00, 0.00, '2025-12-08'),
(876, 6, 876, 0.00, 0.00, 0.00, '2025-12-08'),
(877, 12, 877, 0.00, 0.00, 0.00, '2025-12-08'),
(878, 19, 878, 0.00, 0.00, 0.00, '2025-12-08'),
(879, 26, 879, 0.00, 0.00, 0.00, '2025-12-08'),
(880, 18, 880, 0.00, 0.00, 0.00, '2025-12-08'),
(881, 10, 881, 0.00, 0.00, 0.00, '2025-12-08'),
(882, 9, 882, 0.00, 0.00, 0.00, '2025-12-08'),
(883, 3, 883, 0.00, 0.00, 0.00, '2025-12-08'),
(884, 17, 884, 0.00, 0.00, 0.00, '2025-12-08'),
(885, 3, 885, 0.00, 0.00, 0.00, '2025-12-08'),
(886, 17, 886, 0.00, 0.00, 0.00, '2025-12-08'),
(887, 3, 887, 0.00, 0.00, 0.00, '2025-12-08'),
(888, 17, 888, 0.00, 0.00, 0.00, '2025-12-08'),
(889, 25, 889, 0.00, 0.00, 0.00, '2025-12-08'),
(890, 16, 890, 0.00, 0.00, 0.00, '2026-01-03'),
(891, 15, 891, 0.00, 0.00, 0.00, '2026-01-03'),
(892, 24, 892, 0.00, 0.00, 0.00, '2026-01-03'),
(893, 21, 893, 0.00, 0.00, 0.00, '2026-01-03'),
(894, 20, 894, 0.00, 0.00, 0.00, '2026-01-03'),
(895, 13, 895, 0.00, 0.00, 0.00, '2026-01-03'),
(896, 14, 896, 0.00, 0.00, 0.00, '2026-01-03'),
(897, 11, 897, 0.00, 0.00, 0.00, '2026-01-03'),
(898, 6, 898, 0.00, 0.00, 0.00, '2026-01-03'),
(899, 12, 899, 0.00, 0.00, 0.00, '2026-01-03'),
(900, 19, 900, 0.00, 0.00, 0.00, '2026-01-03'),
(901, 26, 901, 0.00, 0.00, 0.00, '2026-01-03'),
(902, 18, 902, 0.00, 0.00, 0.00, '2026-01-03'),
(903, 10, 903, 0.00, 0.00, 0.00, '2026-01-03'),
(904, 9, 904, 0.00, 0.00, 0.00, '2026-01-03'),
(905, 25, 905, 0.00, 0.00, 0.00, '2026-01-03'),
(906, 3, 906, 0.00, 0.00, 0.00, '2026-01-03'),
(907, 17, 907, 0.00, 0.00, 0.00, '2026-01-03');

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

--
-- Table structure for table `erp_hr_employee_purchase`
--

CREATE TABLE `erp_hr_employee_purchase` (
  `id` int(11) NOT NULL,
  `function_type` int(11) NOT NULL DEFAULT 0 COMMENT 'For Product Request Approval Procedure',
  `last_approved_level` int(11) NOT NULL,
  `apply_date` date NOT NULL,
  `employee_id` int(11) NOT NULL,
  `payment_mode` tinyint(4) NOT NULL COMMENT '1-Cash,2-From Salary',
  `grand_total` decimal(15,2) NOT NULL,
  `status` int(11) 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,
  `apply_by` int(11) NOT NULL,
  `lm_view_status` int(11) NOT NULL DEFAULT 0,
  `view_status` int(11) NOT NULL DEFAULT 0 COMMENT '0-Not viewed,1-Viewed',
  `cancel_reason` 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=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_purchase_detail`
--

CREATE TABLE `erp_hr_employee_purchase_detail` (
  `id` int(11) NOT NULL,
  `purchase_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `quantity` decimal(15,2) NOT NULL,
  `cost` decimal(15,2) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `total_amount` 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=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_qualification`
--

CREATE TABLE `erp_hr_employee_qualification` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `qualification` varchar(500) NOT NULL,
  `certificate_validity` date NOT NULL,
  `certificate_document` 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
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_qualification`
--

INSERT INTO `erp_hr_employee_qualification` (`id`, `employee_id`, `qualification`, `certificate_validity`, `certificate_document`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 1, 'Tawjeeh Center', '2023-09-05', 'tawjeeh training48.jpeg', 1, '2023-10-14 10:20:57', 1, '2024-08-27 14:12:46'),
(2, 2, 'Tawjeeh Class', '2023-10-18', 'TAWJEEH.pdf', 1, '2023-10-20 11:44:12', 1, '2024-08-27 14:13:56'),
(3, 6, 'Master of business administration', '2023-11-07', '', 1, '2023-10-23 16:25:17', 2, '2025-12-18 12:49:30'),
(4, 26, 'BBM', '0000-00-00', '', 5, '2025-10-27 16:37:02', 2, '2025-12-18 12:01:23');

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

--
-- Table structure for table `erp_hr_employee_resignation`
--

CREATE TABLE `erp_hr_employee_resignation` (
  `id` int(11) NOT NULL,
  `function_type` int(11) NOT NULL,
  `last_approved_level` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `reason` text NOT NULL,
  `apply_date` date NOT NULL,
  `last_date` date NOT NULL,
  `notice_type` int(11) 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,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `lm_view_status` int(11) NOT NULL DEFAULT 0,
  `view_status` 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
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_resignation`
--

INSERT INTO `erp_hr_employee_resignation` (`id`, `function_type`, `last_approved_level`, `employee_id`, `reason`, `apply_date`, `last_date`, `notice_type`, `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`, `status`, `lm_view_status`, `view_status`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 15, 1, 2, '11', '2023-12-11', '0000-00-00', 1, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 8, '2023-12-11', 'Auto Approval', 12, 0, 0, 5, '2023-12-11 13:41:22', 0, '0000-00-00 00:00:00'),
(2, 31, 1, 1, 'go home ', '2025-11-12', '2025-09-13', 1, 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 12, '2025-11-12', 'Late Applied', 12, 0, 0, 9, '2025-11-12 04:01:10', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_hr_employee_salary`
--

CREATE TABLE `erp_hr_employee_salary` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `salary_type` int(11) NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `valid_from` date NOT NULL,
  `valid_to` date NOT NULL,
  `consider_for_leave_payment` enum('Y','N') NOT NULL DEFAULT 'Y' COMMENT 'Y->yes,N->no',
  `notes` 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_employee_salary`
--

INSERT INTO `erp_hr_employee_salary` (`id`, `employee_id`, `salary_type`, `amount`, `valid_from`, `valid_to`, `consider_for_leave_payment`, `notes`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`, `isActive`) VALUES
(1, 1, 1, 1280.00, '2023-08-09', '0000-00-00', 'Y', '', 1, '2023-10-23 12:10:05', 0, '0000-00-00 00:00:00', 'Y'),
(2, 1, 5, 1920.00, '2023-08-09', '0000-00-00', 'N', '', 1, '2023-10-23 12:10:05', 0, '0000-00-00 00:00:00', 'Y'),
(3, 2, 1, 2000.00, '2023-08-06', '0000-00-00', 'Y', '', 1, '2023-10-23 12:10:35', 0, '0000-00-00 00:00:00', 'Y'),
(4, 2, 5, 3000.00, '2023-08-06', '0000-00-00', 'N', '', 1, '2023-10-23 12:10:35', 0, '0000-00-00 00:00:00', 'Y'),
(5, 3, 1, 1600.00, '2023-07-24', '0000-00-00', 'Y', '', 1, '2023-10-23 12:11:07', 0, '0000-00-00 00:00:00', 'Y'),
(6, 3, 5, 2400.00, '2023-07-24', '0000-00-00', 'N', '', 1, '2023-10-23 12:11:07', 0, '0000-00-00 00:00:00', 'Y'),
(7, 4, 1, 4000.00, '2023-07-24', '0000-00-00', 'Y', '', 1, '2023-10-23 12:12:09', 0, '0000-00-00 00:00:00', 'Y'),
(8, 4, 4, 2000.00, '2023-07-24', '0000-00-00', 'N', '', 1, '2023-10-23 12:12:09', 0, '0000-00-00 00:00:00', 'Y'),
(9, 4, 3, 2000.00, '2023-07-24', '0000-00-00', 'N', '', 1, '2023-10-23 12:12:09', 0, '0000-00-00 00:00:00', 'Y'),
(10, 6, 1, 1600.00, '1991-09-04', '0000-00-00', 'Y', '', 1, '2023-10-23 12:13:02', 0, '0000-00-00 00:00:00', 'Y'),
(11, 6, 5, 2400.00, '1991-09-04', '0000-00-00', 'N', '', 1, '2023-10-23 12:13:02', 0, '0000-00-00 00:00:00', 'Y'),
(12, 7, 1, 3000.00, '1990-01-01', '0000-00-00', 'Y', '', 1, '2023-10-23 12:13:24', 0, '0000-00-00 00:00:00', 'Y'),
(13, 9, 1, 880.00, '1996-01-01', '0000-00-00', 'Y', '', 1, '2023-10-23 12:14:13', 0, '0000-00-00 00:00:00', 'Y'),
(14, 9, 5, 1280.00, '1996-01-01', '0000-00-00', 'N', '', 1, '2023-10-23 12:14:13', 0, '0000-00-00 00:00:00', 'Y'),
(15, 10, 1, 1400.00, '1990-01-10', '0000-00-00', 'Y', '', 1, '2023-10-23 12:14:46', 0, '0000-00-00 00:00:00', 'Y'),
(16, 10, 5, 2100.00, '1990-01-10', '0000-00-00', 'N', '', 1, '2023-10-23 12:14:46', 0, '0000-00-00 00:00:00', 'Y'),
(19, 5, 1, 3500.00, '2023-07-24', '0000-00-00', 'Y', '', 1, '2023-11-10 12:25:31', 0, '0000-00-00 00:00:00', 'Y'),
(20, 8, 1, 3500.00, '2023-08-03', '0000-00-00', 'Y', '', 1, '2023-11-10 12:28:41', 0, '0000-00-00 00:00:00', 'Y'),
(21, 9, 3, 40.00, '2023-09-04', '0000-00-00', 'Y', '', 1, '2023-11-10 12:29:10', 0, '0000-00-00 00:00:00', 'Y'),
(22, 12, 1, 2400.00, '2023-10-09', '0000-00-00', 'Y', '', 1, '2023-11-10 12:35:50', 0, '0000-00-00 00:00:00', 'Y'),
(23, 12, 5, 3600.00, '2023-10-09', '0000-00-00', 'Y', '', 1, '2023-11-10 12:36:06', 0, '0000-00-00 00:00:00', 'Y'),
(24, 13, 1, 3600.00, '2023-11-06', '0000-00-00', 'Y', '', 1, '2023-11-10 12:55:15', 0, '0000-00-00 00:00:00', 'Y'),
(25, 13, 3, 1600.00, '2023-11-06', '0000-00-00', 'Y', '', 1, '2023-11-10 12:55:36', 0, '0000-00-00 00:00:00', 'Y'),
(26, 13, 4, 800.00, '2023-11-06', '0000-00-00', 'Y', '', 1, '2023-11-10 12:55:51', 0, '0000-00-00 00:00:00', 'Y'),
(27, 14, 1, 3000.00, '2023-11-15', '0000-00-00', 'Y', '', 5, '2023-11-25 11:23:33', 0, '0000-00-00 00:00:00', 'Y'),
(28, 14, 5, 4500.00, '2023-11-15', '0000-00-00', 'Y', '', 5, '2023-11-25 11:23:49', 0, '0000-00-00 00:00:00', 'Y'),
(29, 15, 1, 1120.00, '2024-01-02', '0000-00-00', 'Y', '', 5, '2024-01-24 12:01:47', 0, '0000-00-00 00:00:00', 'Y'),
(30, 15, 5, 1680.00, '2024-01-02', '0000-00-00', 'Y', '', 5, '2024-01-24 12:02:24', 0, '0000-00-00 00:00:00', 'Y'),
(31, 16, 1, 1440.00, '2024-02-19', '0000-00-00', 'Y', '', 5, '2024-03-28 12:59:54', 0, '0000-00-00 00:00:00', 'Y'),
(32, 16, 4, 1160.00, '2024-02-19', '0000-00-00', 'Y', '', 5, '2024-03-28 13:00:15', 0, '0000-00-00 00:00:00', 'Y'),
(33, 16, 3, 1000.00, '2024-02-19', '0000-00-00', 'Y', '', 5, '2024-03-28 13:00:33', 0, '0000-00-00 00:00:00', 'Y'),
(34, 17, 1, 1400.00, '2024-02-19', '0000-00-00', 'Y', '', 5, '2024-03-28 13:08:05', 0, '0000-00-00 00:00:00', 'Y'),
(35, 17, 3, 1000.00, '2024-02-19', '0000-00-00', 'Y', '', 5, '2024-03-28 13:08:20', 0, '0000-00-00 00:00:00', 'Y'),
(36, 17, 4, 1100.00, '2024-02-19', '0000-00-00', 'Y', '', 5, '2024-03-28 13:08:34', 0, '0000-00-00 00:00:00', 'Y'),
(37, 18, 1, 6000.00, '2023-07-28', '0000-00-00', 'Y', '', 5, '2024-08-02 12:16:57', 0, '0000-00-00 00:00:00', 'Y'),
(38, 18, 3, 1000.00, '2023-07-28', '0000-00-00', 'Y', '', 5, '2024-08-02 12:22:13', 0, '0000-00-00 00:00:00', 'Y'),
(39, 18, 4, 1000.00, '2023-07-28', '0000-00-00', 'Y', '', 5, '2024-08-02 12:22:46', 0, '0000-00-00 00:00:00', 'Y'),
(40, 19, 1, 4000.00, '2024-09-25', '0000-00-00', 'Y', '', 5, '2025-02-08 11:31:04', 0, '0000-00-00 00:00:00', 'Y'),
(41, 19, 5, 6000.00, '2024-09-25', '0000-00-00', 'N', '', 5, '2025-02-08 11:31:04', 0, '0000-00-00 00:00:00', 'Y'),
(42, 22, 1, 3080.00, '2024-10-25', '0000-00-00', 'Y', '', 5, '2025-02-08 12:39:25', 0, '0000-00-00 00:00:00', 'Y'),
(43, 22, 5, 4620.00, '2024-10-25', '0000-00-00', 'N', '', 5, '2025-02-08 12:39:25', 0, '0000-00-00 00:00:00', 'Y'),
(44, 21, 1, 2400.00, '2024-12-11', '2024-12-24', 'Y', '', 5, '2025-02-08 13:43:58', 5, '2025-02-08 15:31:06', 'N'),
(45, 21, 5, 3600.00, '2024-12-11', '2024-12-24', 'N', '', 5, '2025-02-08 13:43:58', 5, '2025-02-08 15:31:06', 'N'),
(46, 20, 1, 1500.00, '2024-11-25', '0000-00-00', 'Y', '', 5, '2025-02-08 14:53:27', 0, '0000-00-00 00:00:00', 'Y'),
(47, 20, 5, 2000.00, '2024-11-25', '0000-00-00', 'N', '', 5, '2025-02-08 14:53:27', 0, '0000-00-00 00:00:00', 'Y'),
(48, 21, 1, 500.00, '2024-12-25', '0000-00-00', 'Y', '', 5, '2025-02-08 15:31:06', 0, '0000-00-00 00:00:00', 'Y'),
(49, 21, 5, 800.00, '2024-12-25', '0000-00-00', 'N', '', 5, '2025-02-08 15:31:06', 0, '0000-00-00 00:00:00', 'Y'),
(50, 23, 1, 2400.00, '2025-01-25', '0000-00-00', 'Y', '', 5, '2025-02-28 12:16:51', 0, '0000-00-00 00:00:00', 'Y'),
(51, 23, 5, 3600.00, '2025-01-25', '0000-00-00', 'N', '', 5, '2025-02-28 12:16:51', 0, '0000-00-00 00:00:00', 'Y'),
(52, 24, 1, 1500.00, '2025-08-12', '0000-00-00', 'Y', '', 5, '2025-09-19 14:05:47', 0, '0000-00-00 00:00:00', 'Y'),
(53, 24, 5, 200.00, '2025-08-12', '0000-00-00', 'N', '', 5, '2025-09-19 14:05:47', 0, '0000-00-00 00:00:00', 'Y'),
(54, 26, 1, 2400.00, '2025-10-27', '0000-00-00', 'Y', '', 5, '2025-10-27 16:37:35', 0, '0000-00-00 00:00:00', 'Y'),
(55, 26, 5, 3600.00, '2025-10-27', '0000-00-00', 'N', '', 5, '2025-10-27 16:37:35', 0, '0000-00-00 00:00:00', 'Y'),
(56, 25, 1, 1200.00, '2025-09-30', '0000-00-00', 'Y', '', 5, '2025-11-13 15:07:06', 0, '0000-00-00 00:00:00', 'Y'),
(57, 25, 5, 1800.00, '2025-09-30', '0000-00-00', 'N', '', 5, '2025-11-13 15:07:06', 0, '0000-00-00 00:00:00', 'Y'),
(58, 17, 5, 300.00, '2025-11-25', '0000-00-00', 'Y', '', 5, '2025-12-11 14:46:21', 0, '0000-00-00 00:00:00', 'Y');

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

--
-- Table structure for table `erp_hr_employee_salary_advance`
--

CREATE TABLE `erp_hr_employee_salary_advance` (
  `id` int(11) NOT NULL,
  `function_type` int(11) NOT NULL,
  `last_approved_level` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `amount_paid` decimal(15,2) NOT NULL,
  `apply_date` date 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,
  `advance_payment_date` date NOT NULL,
  `payment_mode` int(11) NOT NULL COMMENT '1-Cash,2-Cheque,3-Bank Tranfer',
  `credit_account` int(11) NOT NULL,
  `cheque_no` varchar(30) NOT NULL,
  `cheque_date` date NOT NULL,
  `remarks` text NOT NULL,
  `payment_note` text NOT NULL,
  `approval_document` varchar(500) NOT NULL,
  `advance_payment_status` int(11) NOT NULL DEFAULT 0,
  `view_status` int(11) NOT NULL DEFAULT 0,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `paid` enum('Y','N') NOT NULL DEFAULT 'N',
  `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_salary_advance`
--

INSERT INTO `erp_hr_employee_salary_advance` (`id`, `function_type`, `last_approved_level`, `employee_id`, `amount`, `amount_paid`, `apply_date`, `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`, `advance_payment_date`, `payment_mode`, `credit_account`, `cheque_no`, `cheque_date`, `remarks`, `payment_note`, `approval_document`, `advance_payment_status`, `view_status`, `isActive`, `paid`, `posted`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 68, 2, 13, 500.00, 500.00, '2023-11-22', 8, '2023-11-22', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 0, '0000-00-00', '', 11, '2023-11-22', '', '2023-11-25', 1, 0, '', '0000-00-00', '', 'Need advance salary for basic needs.', '', 16, 1, 'Y', 'N', 'N', 5, '2025-11-05 01:58:13', 26, '2023-11-23 16:43:04');

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

--
-- Table structure for table `erp_hr_employee_salary_advance_payment`
--

CREATE TABLE `erp_hr_employee_salary_advance_payment` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `advance_id` int(11) NOT NULL,
  `advance_amount` decimal(10,2) NOT NULL,
  `payment_date` date NOT NULL,
  `added_from` int(11) NOT NULL DEFAULT 1 COMMENT '1-payment form,2-Salary lock',
  `salary_lock_id` int(11) NOT NULL,
  `posted` enum('N','Y') NOT NULL DEFAULT 'N',
  `voucher_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_salary_advance_payment`
--

INSERT INTO `erp_hr_employee_salary_advance_payment` (`id`, `employee_id`, `advance_id`, `advance_amount`, `payment_date`, `added_from`, `salary_lock_id`, `posted`, `voucher_id`) VALUES
(5, 13, 1, 500.00, '2025-11-05', 1, 0, 'N', 0);

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

--
-- Table structure for table `erp_hr_employee_salary_deduction_leave`
--

CREATE TABLE `erp_hr_employee_salary_deduction_leave` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `leave_id` int(11) NOT NULL,
  `leave_type_id` int(11) NOT NULL,
  `leave_date` date NOT NULL,
  `salary_deduction_type` enum('Y','H') NOT NULL COMMENT 'Y-Full,H-Half',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_salary_deduction_leave`
--

INSERT INTO `erp_hr_employee_salary_deduction_leave` (`id`, `employee_id`, `leave_id`, `leave_type_id`, `leave_date`, `salary_deduction_type`, `created_by`, `created_date_time`) VALUES
(1, 12, 54, 14, '2024-08-13', 'Y', 5, '2024-08-27 16:17:30'),
(2, 20, 68, 13, '2025-04-15', 'Y', 5, '2025-11-05 00:38:07'),
(3, 20, 68, 13, '2025-04-16', 'Y', 5, '2025-11-05 00:38:07'),
(4, 20, 68, 13, '2025-04-17', 'Y', 5, '2025-11-05 00:38:07'),
(5, 20, 107, 13, '2025-05-12', 'Y', 5, '2025-11-19 02:56:37'),
(6, 20, 107, 13, '2025-05-13', 'Y', 5, '2025-11-19 02:56:37');

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

--
-- Table structure for table `erp_hr_employee_shift`
--

CREATE TABLE `erp_hr_employee_shift` (
  `id` int(11) NOT NULL,
  `branch_id` int(11) NOT NULL,
  `employee_id` varchar(200) NOT NULL,
  `shift_id` int(11) NOT NULL,
  `from_date` date NOT NULL,
  `to_date` date NOT NULL,
  `shift_group_identify` int(11) NOT NULL DEFAULT 0,
  `allowance_amount` decimal(10,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_employee_shift`
--

INSERT INTO `erp_hr_employee_shift` (`id`, `branch_id`, `employee_id`, `shift_id`, `from_date`, `to_date`, `shift_group_identify`, `allowance_amount`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(21, 4, '9', 7, '2023-07-01', '2024-07-01', 4, 0.00, 1, '2023-10-24 20:27:32', 0, '0000-00-00 00:00:00'),
(20, 4, '3', 7, '2023-07-01', '2024-07-01', 4, 0.00, 1, '2023-10-24 20:27:32', 0, '0000-00-00 00:00:00'),
(19, 3, '10', 9, '2023-07-01', '2024-07-01', 3, 0.00, 1, '2023-10-24 20:26:56', 0, '0000-00-00 00:00:00'),
(18, 1, '11', 8, '2023-07-01', '2024-07-01', 2, 0.00, 1, '2023-10-24 20:26:22', 0, '0000-00-00 00:00:00'),
(17, 1, '6', 8, '2023-07-01', '2024-07-01', 2, 0.00, 1, '2023-10-24 20:26:22', 0, '0000-00-00 00:00:00'),
(16, 1, '7', 8, '2023-07-01', '2024-07-01', 2, 0.00, 1, '2023-10-24 20:26:22', 0, '0000-00-00 00:00:00'),
(15, 1, '8', 8, '2023-07-01', '2024-07-01', 2, 0.00, 1, '2023-10-24 20:26:20', 0, '0000-00-00 00:00:00'),
(14, 2, '2', 6, '2023-07-01', '2024-07-01', 1, 0.00, 1, '2023-10-24 20:23:54', 0, '0000-00-00 00:00:00'),
(27, 1, '5', 8, '2023-07-01', '2024-07-01', 2, 0.00, 5, '2023-12-06 12:03:04', 0, '0000-00-00 00:00:00'),
(22, 4, '1', 7, '2023-07-01', '2024-07-01', 4, 0.00, 1, '2023-10-24 20:27:33', 0, '0000-00-00 00:00:00'),
(23, 4, '4', 7, '2023-07-01', '2024-07-01', 4, 0.00, 1, '2023-10-24 20:27:34', 0, '0000-00-00 00:00:00'),
(24, 1, '13', 8, '2023-11-01', '2024-11-01', 5, 0.00, 5, '2023-11-25 11:28:55', 0, '0000-00-00 00:00:00'),
(25, 1, '14', 8, '2023-11-01', '2024-11-01', 5, 0.00, 5, '2023-11-25 11:28:55', 0, '0000-00-00 00:00:00'),
(26, 1, '12', 8, '2023-11-01', '2024-11-01', 5, 0.00, 5, '2023-11-25 11:28:55', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_hr_employee_target`
--

CREATE TABLE `erp_hr_employee_target` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `target_type` enum('B','C') NOT NULL DEFAULT 'C',
  `target_amount` decimal(10,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;

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

--
-- Table structure for table `erp_hr_employee_team`
--

CREATE TABLE `erp_hr_employee_team` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `team_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_team`
--

INSERT INTO `erp_hr_employee_team` (`id`, `employee_id`, `team_id`, `from_date`, `to_date`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 20, 3, '2024-10-17', '0000-00-00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_hr_employee_ticket`
--

CREATE TABLE `erp_hr_employee_ticket` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `family_member` text NOT NULL,
  `leave_id` int(11) NOT NULL COMMENT 'if applied by an employee/admin along with the leave',
  `leave_type` int(11) NOT NULL,
  `date_apply` date NOT NULL,
  `travel_date` date NOT NULL,
  `travel_destination` varchar(700) NOT NULL,
  `return_date` date DEFAULT NULL,
  `return_destination` varchar(700) DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT 1 COMMENT '1-Applied,2-Approved',
  `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,
  `approval_comment` text NOT NULL,
  `date_approved` date NOT NULL,
  `payment_date` date NOT NULL,
  `ticket_amt` decimal(15,2) NOT NULL,
  `approval_document` varchar(500) NOT NULL,
  `notes` text NOT NULL,
  `payment_mode` int(11) NOT NULL,
  `year` int(11) NOT NULL,
  `ticket_type` enum('E','F') NOT NULL DEFAULT 'E' COMMENT 'E-Employee,F-Family Ticket',
  `created_date_time` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_date_time` datetime NOT NULL,
  `updated_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_employee_ticket_encashment`
--

CREATE TABLE `erp_hr_employee_ticket_encashment` (
  `id` int(11) NOT NULL,
  `function_type` int(11) NOT NULL,
  `last_approved_level` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `leave_id` int(11) NOT NULL,
  `date_apply` date NOT NULL,
  `ticket_amt` decimal(15,2) NOT NULL,
  `year` int(11) NOT NULL,
  `approval_document` varchar(500) NOT NULL,
  `notes` text NOT NULL,
  `status` int(11) NOT NULL DEFAULT 1,
  `payment_mode` int(11) NOT NULL,
  `payment_date` date NOT NULL,
  `credit_account` int(11) NOT NULL,
  `cheque_date` date NOT NULL,
  `cheque_no` varchar(100) NOT NULL,
  `remarks` 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,
  `view_status` int(11) NOT NULL,
  `payment_status` enum('Y','N') NOT NULL DEFAULT 'N',
  `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;

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

--
-- Table structure for table `erp_hr_employee_ticket_entitlement`
--

CREATE TABLE `erp_hr_employee_ticket_entitlement` (
  `id` int(11) NOT NULL,
  `branch_id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `ticket_year` int(11) NOT NULL,
  `ticket_balance` decimal(10,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_employee_ticket_entitlement`
--

INSERT INTO `erp_hr_employee_ticket_entitlement` (`id`, `branch_id`, `employee_id`, `ticket_year`, `ticket_balance`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 0, 25, 2025, 16.66, 5, '2025-11-13 16:16:04', 5, '2026-01-03 12:27:48'),
(2, 0, 17, 2025, 0.00, 5, '2025-11-13 16:16:04', 5, '2025-11-19 06:22:53');

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

--
-- Table structure for table `erp_hr_employee_ticket_setting`
--

CREATE TABLE `erp_hr_employee_ticket_setting` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `first_intialized_date` date NOT NULL,
  `ticket_available` decimal(10,2) NOT NULL,
  `ticket_given` decimal(10,2) NOT NULL,
  `ticket_pending` decimal(10,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;

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

--
-- Table structure for table `erp_hr_employee_wps_company`
--

CREATE TABLE `erp_hr_employee_wps_company` (
  `id` int(11) NOT NULL,
  `wps_company_id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_employee_wps_company`
--

INSERT INTO `erp_hr_employee_wps_company` (`id`, `wps_company_id`, `employee_id`, `created_by`, `created_datetime`, `updated_by`, `updated_datetime`) VALUES
(1, 1, 6, 1, '2023-10-13 10:44:46', 0, '0000-00-00 00:00:00'),
(2, 1, 7, 1, '2023-10-13 10:44:46', 0, '0000-00-00 00:00:00'),
(3, 1, 8, 1, '2023-10-13 10:44:46', 0, '0000-00-00 00:00:00'),
(4, 1, 11, 1, '2023-10-13 10:44:46', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_hr_eos_gratuity_details`
--

CREATE TABLE `erp_hr_eos_gratuity_details` (
  `id` int(11) NOT NULL,
  `eos_id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `gratuity_mas_id` int(11) NOT NULL,
  `payment_period` varchar(500) NOT NULL,
  `amount` decimal(10,2) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_expense`
--

CREATE TABLE `erp_hr_expense` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `expense_description` varchar(700) NOT NULL,
  `duration` tinyint(4) NOT NULL,
  `expense_month` int(11) NOT NULL,
  `expense_year` 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;

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

--
-- Table structure for table `erp_hr_expense_detail`
--

CREATE TABLE `erp_hr_expense_detail` (
  `id` int(11) NOT NULL,
  `expense_id` int(11) NOT NULL,
  `expense_type_id` int(11) NOT NULL,
  `amount` decimal(10,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=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_expense_master`
--

CREATE TABLE `erp_hr_expense_master` (
  `id` int(11) NOT NULL,
  `expense_name` varchar(700) 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_expense_master`
--

INSERT INTO `erp_hr_expense_master` (`id`, `expense_name`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`, `isActive`) VALUES
(1, 'Emirates ID', 1, '2023-09-25 03:02:33', 1, '2023-09-25 03:02:45', 'Y'),
(2, 'Visa Typing', 1, '2023-09-25 03:02:53', 0, '0000-00-00 00:00:00', 'Y'),
(3, 'Medical', 1, '2023-09-25 03:03:06', 0, '0000-00-00 00:00:00', 'Y');

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

--
-- Table structure for table `erp_hr_holiday_allowance`
--

CREATE TABLE `erp_hr_holiday_allowance` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `allowance_amount` decimal(10,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;

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

--
-- Table structure for table `erp_hr_initial_password_reset`
--

CREATE TABLE `erp_hr_initial_password_reset` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `username` varchar(700) NOT NULL,
  `encrypted_password` varchar(700) NOT NULL,
  `normal_password` varchar(700) NOT NULL,
  `mail_status` enum('N','Y','') NOT NULL DEFAULT 'N',
  `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_leavesettlement`
--

CREATE TABLE `erp_hr_leavesettlement` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `date_rejoin` date NOT NULL,
  `date_leave` date NOT NULL,
  `employee_service_days` int(11) NOT NULL,
  `employee_service_period` varchar(255) NOT NULL,
  `settlement_amount` decimal(10,2) NOT NULL,
  `prepared_by` int(11) NOT NULL COMMENT 'Primarykey from employee',
  `checked_by` int(11) NOT NULL COMMENT 'Primarykey from employee',
  `checked_finance_manger` int(11) NOT NULL COMMENT 'Primarykey from employee',
  `checked_gm` int(11) NOT NULL COMMENT 'Primarykey from employee',
  `available_leaves` decimal(10,2) NOT NULL,
  `added_leaves` decimal(10,2) NOT NULL,
  `total_leaves` decimal(10,2) NOT NULL,
  `leaves_taken` decimal(10,2) NOT NULL,
  `balance_leave` decimal(10,2) NOT NULL,
  `actual_leave` decimal(10,2) NOT NULL,
  `remaining_salary` int(11) NOT NULL,
  `leave_salary` decimal(10,2) NOT NULL,
  `status` int(11) NOT NULL DEFAULT 0 COMMENT '0-not used in salary calculation,1-used in salary calculation',
  `posted` enum('Y','N') NOT NULL DEFAULT 'N'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_mail_settings`
--

CREATE TABLE `erp_hr_mail_settings` (
  `id` int(11) NOT NULL,
  `mail_function` int(11) NOT NULL,
  `from_mail_id` varchar(750) NOT NULL,
  `self_mail` enum('Y','N') NOT NULL DEFAULT 'Y',
  `reporting_manager` enum('Y','N') NOT NULL DEFAULT 'N',
  `attendance_manager` enum('Y','N') NOT NULL DEFAULT 'N',
  `approval_authority` enum('Y','N') NOT NULL DEFAULT 'N',
  `notifying_employee` varchar(750) NOT NULL,
  `custom_mail_id` varchar(750) 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_mail_status`
--

CREATE TABLE `erp_hr_mail_status` (
  `id` int(11) NOT NULL,
  `type` int(11) NOT NULL,
  `from_mail` varchar(500) NOT NULL,
  `sent_mail_id` text NOT NULL,
  `content` text 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_hr_master_function`
--

CREATE TABLE `erp_hr_master_function` (
  `id` int(11) NOT NULL,
  `functionality` varchar(700) 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_master_function`
--

INSERT INTO `erp_hr_master_function` (`id`, `functionality`, `isActive`) VALUES
(1, 'Leave', 'Y'),
(2, 'Loan', 'Y'),
(3, 'Salary Advance', 'Y'),
(4, 'Document Request', 'Y'),
(5, 'Resignation', 'Y'),
(6, 'Appraisal', 'Y'),
(7, 'Expense', 'Y'),
(8, 'Purchase Request', 'N'),
(9, 'Leave Encashment', 'Y'),
(10, 'Ticket Encashment', 'Y'),
(11, 'Ticket', 'N'),
(12, 'Meeting/Flexi Time Request ', 'Y'),
(13, 'Business Trip', 'N');

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

--
-- Table structure for table `erp_hr_master_mail_detail`
--

CREATE TABLE `erp_hr_master_mail_detail` (
  `id` int(11) NOT NULL,
  `mail_function_type` varchar(500) 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_master_mail_detail`
--

INSERT INTO `erp_hr_master_mail_detail` (`id`, `mail_function_type`, `isActive`) VALUES
(1, 'Leave Application by Employee', 'Y'),
(2, 'Leave Approval/Rejection', 'Y'),
(3, 'Leave Cancel Request From Employee', 'Y'),
(4, 'Leave Cancellation Approval/Rejection', 'Y'),
(5, 'Leave Encashment Application by Employee', 'Y'),
(6, 'Leave Encashment Approval/Rejection', 'Y'),
(7, 'Ticket Encashment Request From Employee', 'Y'),
(8, 'Ticket Encashment Approval/Rejection', 'Y'),
(13, 'Complaint/Suggestion', 'Y'),
(14, 'Loan Request by Employee', 'Y'),
(15, 'Loan Approval', 'Y'),
(16, 'Salary Advance Request by Employee', 'Y'),
(17, 'Salary Advance Approval', 'Y'),
(18, 'Document Request by Employee', 'Y'),
(19, 'Document Request Approval', 'Y'),
(20, 'Excuse/Meeting Request', 'Y'),
(21, 'Indoor Circular', 'Y'),
(22, 'Outdoor Circular', 'Y'),
(11, 'Resignation Request by Employee', 'Y'),
(23, 'Appraisal', 'Y'),
(12, 'Resignation Approval/Rejection', 'Y'),
(26, 'Employee Document Expiry', 'Y'),
(27, 'Company Document Expiry', 'Y'),
(25, 'Birthday/Anniversary Greetings', 'Y'),
(9, 'Expense Request by Employee', 'Y'),
(10, 'Expense Request Approval/Rejection', 'Y'),
(30, 'Staff Board Notification', 'Y'),
(28, 'Purchase Request', 'Y'),
(29, 'Purchase Request Approval', 'Y'),
(24, 'Appraisal Review', 'Y'),
(31, 'Morning Late', 'Y'),
(32, 'Meeting / Flexi Time Request', 'Y'),
(33, 'Meeting / Flexi Time Request Approval', 'Y');

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

--
-- Table structure for table `erp_hr_master_salary_lock`
--

CREATE TABLE `erp_hr_master_salary_lock` (
  `id` int(11) NOT NULL,
  `payroll_branch` int(11) NOT NULL,
  `payroll_month` varchar(25) NOT NULL,
  `payroll_year` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_master_salary_lock`
--

INSERT INTO `erp_hr_master_salary_lock` (`id`, `payroll_branch`, `payroll_month`, `payroll_year`) VALUES
(1, 0, '09', 2023),
(2, 7, '10', 2025);

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

--
-- Table structure for table `erp_hr_master_salary_procedure`
--

CREATE TABLE `erp_hr_master_salary_procedure` (
  `id` int(11) NOT NULL,
  `payroll_branch` int(11) NOT NULL,
  `payroll_start_day` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_master_salary_procedure`
--

INSERT INTO `erp_hr_master_salary_procedure` (`id`, `payroll_branch`, `payroll_start_day`) VALUES
(1, 0, 25);

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

--
-- Table structure for table `erp_hr_mas_appraisal`
--

CREATE TABLE `erp_hr_mas_appraisal` (
  `id` int(11) NOT NULL,
  `period_name` varchar(255) NOT NULL,
  `approval_period` varchar(255) 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_mas_appraisal_type`
--

CREATE TABLE `erp_hr_mas_appraisal_type` (
  `id` int(11) NOT NULL,
  `appraisal_type` varchar(500) NOT NULL,
  `default_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_mas_appraisal_type`
--

INSERT INTO `erp_hr_mas_appraisal_type` (`id`, `appraisal_type`, `default_weightage`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 'Learning & Growth Objectives', 100.00, 1, '2023-09-25 04:18:11', 2, '2023-10-06 09:33:20'),
(2, 'Performance Objectives', 0.00, 1, '2023-09-25 04:18:26', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_hr_mas_approve_setting`
--

CREATE TABLE `erp_hr_mas_approve_setting` (
  `id` int(11) NOT NULL,
  `functionality_name` varchar(500) NOT NULL,
  `branch_id` int(11) NOT NULL,
  `max_level` set('1','2','3','4') NOT NULL DEFAULT '2',
  `level_1` enum('L','S','N','H') NOT NULL COMMENT 'L-Line Manager,S-Supervisor,N-Other Employee,H-HR Department',
  `level_2` enum('L','S','N','H') NOT NULL COMMENT 'L-Line Manager,S-Supervisor,N-Other Employee,H-HR Department',
  `level_3` enum('L','S','N','H') NOT NULL COMMENT 'L-Line Manager,S-Supervisor,N-Other Employee,H-HR Department',
  `level_4` enum('L','S','N','H') NOT NULL COMMENT 'L-Line Manager,S-Supervisor,N-Other Employee,H-HR Department',
  `employee_level_1` text NOT NULL,
  `employee_level_2` text NOT NULL,
  `employee_level_3` text NOT NULL,
  `employee_level_4` 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=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_mas_asset`
--

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

--
-- Dumping data for table `erp_hr_mas_asset`
--

INSERT INTO `erp_hr_mas_asset` (`id`, `asset_name`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`, `isActive`) VALUES
(1, 'Laptop', 1, '2023-09-25 15:36:20', 5, '2023-11-23 12:37:15', 'Y'),
(2, 'Computer', 1, '2023-09-25 15:38:39', NULL, NULL, 'Y'),
(3, 'SIM', 1, '2023-09-25 15:38:39', NULL, NULL, 'Y'),
(4, 'CAR', 2, '2023-10-06 11:38:50', NULL, NULL, 'Y'),
(5, 'Mobile ', 5, '2023-12-12 15:33:43', NULL, NULL, 'Y');

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

--
-- Table structure for table `erp_hr_mas_asset_details`
--

CREATE TABLE `erp_hr_mas_asset_details` (
  `id` int(11) NOT NULL,
  `asset_id` int(11) NOT NULL,
  `asset_detail` varchar(500) NOT NULL,
  `asset_value` decimal(10,2) NOT NULL,
  `repair_cost_extra` decimal(10,2) NOT NULL,
  `asset_status` enum('G','D','R') NOT NULL DEFAULT 'G',
  `availability_status` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `created_date_time` datetime NOT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `updated_date_time` datetime DEFAULT NULL,
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_mas_asset_details`
--

INSERT INTO `erp_hr_mas_asset_details` (`id`, `asset_id`, `asset_detail`, `asset_value`, `repair_cost_extra`, `asset_status`, `availability_status`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`, `isActive`) VALUES
(1, 1, '00342-21058-38785-AAOEM', 1600.00, 0.00, 'G', 'N', 5, '2023-12-12 14:56:49', 5, '2023-12-12 15:38:05', 'Y'),
(2, 3, '8997112212758054979', 341.00, 0.00, 'G', 'N', 5, '2023-12-12 15:30:24', 5, '2023-12-12 15:38:05', 'Y'),
(3, 5, '806094821055', 1600.00, 0.00, 'G', 'N', 5, '2023-12-12 15:37:01', 5, '2023-12-12 15:38:05', 'Y');

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

--
-- Table structure for table `erp_hr_mas_business_unit`
--

CREATE TABLE `erp_hr_mas_business_unit` (
  `id` int(11) NOT NULL,
  `business_unit_name` varchar(700) NOT NULL,
  `document_name` varchar(700) 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_mas_certificate_authorization`
--

CREATE TABLE `erp_hr_mas_certificate_authorization` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `designation` varchar(255) NOT NULL,
  `authority_signature` 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
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `erp_hr_mas_certificate_name`
--

CREATE TABLE `erp_hr_mas_certificate_name` (
  `id` int(11) NOT NULL,
  `certificate_name` varchar(500) NOT NULL,
  `reference_no` int(11) NOT NULL,
  `code` varchar(6) NOT NULL,
  `apply_from` enum('A','N') NOT NULL DEFAULT 'N' COMMENT 'A-''Admin'',N-''From All'' ',
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y',
  `created_by` int(11) NOT NULL,
  `created_datetime` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  `updated_datetime` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_mas_certificate_name`
--

INSERT INTO `erp_hr_mas_certificate_name` (`id`, `certificate_name`, `reference_no`, `code`, `apply_from`, `isActive`, `created_by`, `created_datetime`, `updated_by`, `updated_datetime`) VALUES
(1, 'Salary Certificate', 1000, 'SC', 'N', 'Y', 0, '0000-00-00 00:00:00', 516, '2021-01-19 09:31:13'),
(2, 'Salary Transfer Letter', 1000, 'STL', 'N', 'Y', 0, '0000-00-00 00:00:00', 516, '2021-01-18 02:39:45'),
(3, 'Passport Release', 1, 'PR', 'A', 'Y', 0, '0000-00-00 00:00:00', 1, '2023-03-09 02:24:21'),
(4, 'Retrenchment Letter', 1, 'RL', 'A', 'Y', 1, '2021-03-12 14:48:19', 1, '2021-03-12 14:48:19'),
(5, 'Confirmation Letter', 1, 'CL', 'A', 'Y', 1, '2021-03-12 14:48:19', 1, '2022-02-14 10:19:52'),
(6, 'Business Trip', 1, 'BT', 'N', 'Y', 1, '2021-03-12 14:48:19', 1, '2023-03-09 02:22:58'),
(7, 'Warning Letter', 1, 'WL', 'A', 'N', 1, '2021-03-17 10:18:58', 1, '2021-03-17 10:18:58'),
(8, 'Salary Increment Letter', 1, 'IL', 'A', 'Y', 0, '0000-00-00 00:00:00', 1, '2023-03-09 02:23:46'),
(9, 'Offer Letter', 1, 'OL', 'N', 'N', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(10, 'Salary Slip', 1000, 'SS', 'N', 'N', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00'),
(11, 'Liquor License', 1, 'LL', 'N', 'Y', 386, '2021-05-09 06:34:32', 1, '2023-03-09 02:22:08'),
(12, 'NOC for Driving Licence', 1, 'NDL', 'N', 'Y', 1, '2023-03-09 02:24:45', 0, '0000-00-00 00:00:00'),
(13, 'Personal Trip', 1, 'PT', 'N', 'Y', 1, '2023-03-09 02:25:15', 0, '0000-00-00 00:00:00');

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

--
-- Table structure for table `erp_hr_mas_color_code`
--

CREATE TABLE `erp_hr_mas_color_code` (
  `id` int(11) NOT NULL,
  `functionality` varchar(500) NOT NULL,
  `color_code` 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=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_mas_color_code`
--

INSERT INTO `erp_hr_mas_color_code` (`id`, `functionality`, `color_code`, `created_by`, `created_date_time`, `updated_by`, `updated_date_time`) VALUES
(1, 'Leave Apply', '#ffff80', 0, '0000-00-00 00:00:00', 1, '2023-09-13 13:20:14'),
(2, 'Leave Approval', '#60cf3a', 0, '0000-00-00 00:00:00', 1, '2023-09-13 13:20:14'),
(3, 'Holiday', '#bdb76b', 0, '0000-00-00 00:00:00', 1, '2023-09-13 13:20:14'),
(4, 'Variance/Time Loss', '#ffaeae', 0, '0000-00-00 00:00:00', 1, '2023-09-13 13:20:14'),
(5, 'Normal Time', '#fbb677', 0, '0000-00-00 00:00:00', 1, '2023-09-13 13:20:14'),
(6, 'Excess Time', '#b4edb4', 0, '0000-00-00 00:00:00', 1, '2023-09-13 13:20:14'),
(7, 'Weekend', '#c9a5a5', 0, '0000-00-00 00:00:00', 1, '2023-09-13 13:20:14'),
(8, 'Absent', '#ce0d0d', 0, '0000-00-00 00:00:00', 1, '2023-09-13 13:20:14');

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

--
-- Table structure for table `erp_hr_mas_company_branch_sponsor`
--

CREATE TABLE `erp_hr_mas_company_branch_sponsor` (
  `id` bigint(20) NOT NULL,
  `hr_code` varchar(100) NOT NULL,
  `branch_or_sponsor_logo` varchar(255) NOT NULL,
  `slip_header_name` text NOT NULL,
  `footer_logo` varchar(700) NOT NULL,
  `watermark_logo` varchar(700) NOT NULL,
  `certificate_seal` varchar(700) NOT NULL,
  `branch_or_sponsor_name` varchar(255) NOT NULL,
  `branch_or_sponsor_code` varchar(15) NOT NULL,
  `branch_or_sponsor_address` text NOT NULL,
  `branch_or_sponsor_city` varchar(255) NOT NULL,
  `branch_or_sponsor_state` varchar(255) NOT NULL,
  `branch_or_sponsor_country` int(11) NOT NULL,
  `branch_or_sponsor_postalcode` varchar(255) NOT NULL,
  `branch_or_sponsor_phno` varchar(255) NOT NULL,
  `branch_or_sponsor_email` varchar(255) NOT NULL,
  `branch_or_sponsor_location` varchar(255) NOT NULL,
  `branch_or_sponsor_fax` varchar(255) NOT NULL,
  `branch_or_sponsor_web` varchar(255) NOT NULL,
  `branch_or_sponsor_currency_id` int(11) NOT NULL,
  `organization_chart_name` text NOT NULL,
  `exclude_holiday` tinyint(4) NOT NULL COMMENT '1-No,1-Yes',
  `exclude_weekend` int(11) NOT NULL DEFAULT 0 COMMENT '0-No,1-Yes',
  `workstart_time` time NOT NULL,
  `workend_time` time NOT NULL,
  `weekend_work_starttime` time NOT NULL,
  `weekend_work_endtime` time NOT NULL,
  `branch_working_hours` time NOT NULL,
  `lunch_break_time` time NOT NULL,
  `ticket_provided` enum('Y','N') NOT NULL DEFAULT 'Y',
  `ticket_monthly_incremented` enum('Y','N') NOT NULL DEFAULT 'Y',
  `ticket_carry_forward` enum('Y','N') NOT NULL DEFAULT 'N',
  `leave_encashment_provided` enum('Y','N') NOT NULL DEFAULT 'Y',
  `leave_settlement_provided` enum('Y','N') NOT NULL DEFAULT 'Y',
  `salary_calculation_format` tinyint(4) NOT NULL,
  `salary_slip_view_ess` enum('Y','N') NOT NULL DEFAULT 'Y',
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `erp_hr_mas_company_branch_sponsor`
--

INSERT INTO `erp_hr_mas_company_branch_sponsor` (`id`, `hr_code`, `branch_or_sponsor_logo`, `slip_header_name`, `footer_logo`, `watermark_logo`, `certificate_seal`, `branch_or_sponsor_name`, `branch_or_sponsor_code`, `branch_or_sponsor_address`, `branch_or_sponsor_city`, `branch_or_sponsor_state`, `branch_or_sponsor_country`, `branch_or_sponsor_postalcode`, `branch_or_sponsor_phno`, `branch_or_sponsor_email`, `branch_or_sponsor_location`, `branch_or_sponsor_fax`, `branch_or_sponsor_web`, `branch_or_sponsor_currency_id`, `organization_chart_name`, `exclude_holiday`, `exclude_weekend`, `workstart_time`, `workend_time`, `weekend_work_starttime`, `weekend_work_endtime`, `branch_working_hours`, `lunch_break_time`, `ticket_provided`, `ticket_monthly_incremented`, `ticket_carry_forward`, `leave_encashment_provided`, `leave_settlement_provided`, `salary_calculation_format`, `salary_slip_view_ess`, `isActive`) VALUES
(1, 'IFM', 'logo branch.jpg', 'FMTS Technical Services LLC', '', '', '', 'Head Office', 'IFM', 'Regal Tower-14 Floor-Unit 1414-A', '', '', 143, '', '+971509727673', '', '', '', '', 1, '', 0, 0, '09:00:00', '18:00:00', '00:00:00', '00:00:00', '09:00:00', '01:00:00', 'N', 'N', 'N', 'N', 'N', 0, 'Y', 'Y'),
(2, 'FMTS', 'logo branch53.jpg', 'FMTS Technical Services LLC', '', '', '', 'Bay Square', 'FMTS', 'Regal Tower-14 Floor-Unit 1414-A', '', '', 143, '', '+971509727673', '', '', '', '', 1, '', 0, 0, '09:00:00', '18:00:00', '00:00:00', '00:00:00', '09:00:00', '01:00:00', 'N', 'Y', 'N', 'N', 'N', 0, 'Y', 'Y'),
(3, 'FMTS', 'logo branch62.jpg', 'FMTS Technical Services LLC', '', '', '', 'JVC', 'FMTS', 'Regal Tower-14 Floor-Unit 1414-A', '', '', 143, '', '+971509727673', '', '', '', '', 1, '', 0, 0, '09:00:00', '18:00:00', '00:00:00', '00:00:00', '09:00:00', '01:00:00', 'N', 'Y', 'N', 'N', 'N', 0, 'Y', 'Y'),
(4, 'FMTS', 'logo branch12.jpg', 'FMTS Technical Services LLC', '', '', '', 'VIP', 'FMTS', 'Regal Tower-14 Floor-Unit 1414-A', '', '', 143, '', '+971509727673', '', '', '', '', 1, '', 0, 0, '09:00:00', '18:00:00', '00:00:00', '00:00:00', '09:00:00', '01:00:00', 'N', 'Y', 'N', 'N', 'N', 0, 'Y', 'Y'),
(5, '05', 'Capture.PNG', 'Americana', '', '', '', 'Americana', '05', 'Bay Square Bldg No. 08 ', 'Business Bay ', 'Dubai', 143, '', '+971 50 197 5866', '', 'Bay Square ', '', '', 1, '', 0, 0, '08:00:00', '17:00:00', '00:00:00', '00:00:00', '09:00:00', '01:00:00', 'Y', 'Y', 'N', 'Y', 'Y', 0, 'Y', 'Y'),
(6, '06', 'Capture50.PNG', 'Hamptons International', '', '', '', 'Hamptons International', '06', 'Bay Square', 'Dubai', 'Dubai', 143, '', '+971 50 197 5866', '', 'Business bay', '', '', 1, '', 0, 0, '09:00:00', '18:00:00', '00:00:00', '00:00:00', '00:00:00', '01:00:00', 'Y', 'Y', 'N', 'Y', 'Y', 0, 'Y', 'Y'),
(7, '07', 'Capture54.PNG', 'National Bond - Jewel ', '', '', '', 'National Bond - Jewel ', '07', 'National Bond - Jewel  Dubai Land', 'Dubai', 'Dubai', 143, '', '+971 50 197 5866', '', 'Dubai Land', '', '', 1, '', 0, 0, '09:00:00', '18:00:00', '00:00:00', '00:00:00', '09:00:00', '01:00:00', 'Y', 'Y', 'N', 'Y', 'Y', 0, 'Y', 'Y');

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

--
-- Table structure for table `erp_hr_mas_company_wps_details`
--

CREATE TABLE `erp_hr_mas_company_wps_details` (
  `id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `company_name` varchar(500) NOT NULL,
  `company_code` varchar(255) NOT NULL,
  `company_bank_code` 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_mas_company_wps_details`
--

INSERT INTO `erp_hr_mas_company_wps_details` (`id`, `company_id`, `company_name`, `company_code`, `company_bank_code`, `isActive`) VALUES
(1, 1, 'IFM', '0000000000000', '000000000', 'Y');

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

--
-- Table structure for table `erp_hr_mas_document`
--

CREATE TABLE `erp_hr_mas_document` (
  `id` int(11) NOT NULL,
  `document_name` varchar(255) NOT NULL,
  `renewal_remainder` int(11) NOT NULL,
  `document_type` int(11) NOT NULL COMMENT '1-With date,2-Without date',
  `master_type` int(11) NOT NULL COMMENT '1-Employee Document, 2 - Company Document',
  `view_in_employee` enum('Y','N') NOT NULL DEFAULT 'N',
  `dashboard_view` enum('Y','N') NOT NULL DEFAULT 'Y',
  `isActive` enum('Y','N') NOT NULL DEFAULT 'Y'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
