36 Commits

Author SHA1 Message Date
aa2e02beac fixing idxdept 2025-08-28 13:09:05 +07:00
a74010325f Remove unnecessary condition from attendance log query 2025-07-07 13:46:17 +07:00
e9e2b81cf0 Merge branch 'dev1.0.0' into main 2025-07-01 07:38:29 +07:00
ba9a8c4a4a Add functionality to fix late attendance records for R2 employees by date 2025-07-01 07:38:17 +07:00
b3ae073d01 Update file permissions for multiple PHP scripts 2025-06-30 15:07:28 +07:00
92c069d852 Merge branch 'dev1.0.0' 2025-06-30 15:06:47 +07:00
c3f9afc61e Add date filtering to attendance queries in LogController 2025-06-30 15:06:12 +07:00
4b1b65b38b Merge branch 'dev1.0.0' 2025-06-30 14:59:13 +07:00
a90441e9fd Add update query for attendance list in LogController 2025-06-30 14:59:06 +07:00
5d9fe2757d Merge branch 'dev1.0.0' 2025-06-30 14:54:05 +07:00
a61d246486 Uncomment attendance list update query execution in LogController 2025-06-30 14:53:57 +07:00
f9648cd682 Merge branch 'dev1.0.0' 2025-06-30 07:18:04 +07:00
bb2c95c2b6 Comment out debug echo statement for query logging in LogController 2025-06-30 07:17:46 +07:00
6893788bd2 Merge branch 'dev1.0.0' 2025-06-30 06:36:29 +07:00
6b1e3c979e Enable query logging for attendance processing by uncommenting the echo statement 2025-06-30 06:36:21 +07:00
e96358d652 Merge branch 'dev1.0.0' 2025-06-27 15:59:40 +07:00
27492fc088 Add detailed logging for attendance processing: include start time and process details, and comment out end time log 2025-06-27 15:59:20 +07:00
ca530ec17c Merge branch 'dev1.0.0' 2025-06-27 15:51:12 +07:00
72f311aaff Refactor attendance log insertion query: remove redundant field 'lateperemployeer2' and comment out previous query for clarity 2025-06-27 15:50:55 +07:00
0923f5e0e0 Merge branch 'dev1.0.0' 2025-06-27 08:07:03 +07:00
822c2e8af9 Enhance attendance logging: add shift code handling and update duration calculations for specific departments 2025-06-27 08:06:49 +07:00
c830d3f90c Merge branch 'dev1.0.0' 2025-06-27 08:03:07 +07:00
9315a92fce Implement LogController for attendance checkout processing and update duration calculations 2025-06-27 08:02:42 +07:00
b3185f966c Implement LogController for attendance checkout processing and duration calculation 2025-06-27 08:01:39 +07:00
420873584e Merge branch 'dev1.0.0' 2025-06-25 21:19:54 +07:00
5be3e83f66 Add processing flag to attendance log queries and update status after processing 2025-06-25 21:19:46 +07:00
7f5bf9acdc Remove redundant field 'lateperemployeer2' from attendance log insertion query 2025-06-25 21:17:10 +07:00
f69ef32f84 Update database connection to use localhost for consistency 2025-06-25 20:59:37 +07:00
cc58529145 Merge branch 'dev1.0.0' 2025-06-25 20:47:22 +07:00
b6cdc09849 Refactor attendance logging: comment out attendance function calls and add timestamps for debugging 2025-06-25 20:47:06 +07:00
29180b036c Implement new feature for user authentication and improve error handling 2025-06-25 19:56:26 +07:00
8b2bc5229b Update database host configuration to use localhost 2025-06-25 19:52:25 +07:00
8955aa5701 Update database host configuration to use a static IP address 2025-06-25 19:51:51 +07:00
35e4aabf04 Add LogController class for attendance log processing
- Implemented methods for database connection, query execution, and attendance record handling.
- Added functionality to retrieve attendance logs based on date and process attendance records.
- Integrated logic for handling different employee departments and attendance types (IN, OUT, R1, R2).
- Included synchronization of attendance records with the attendance list.
- Utilized PDO for database interactions to enhance security and performance.
2025-06-25 19:49:42 +07:00
4a406ee19f Update database host configuration to use localhost 2025-06-25 17:26:23 +07:00
5bec63d9cd Add ZK library classes for device interaction and user management
- Implemented Os class for retrieving OS information.
- Added Pin class for getting PIN width.
- Created Platform class for fetching platform details and version.
- Developed SerialNumber class to retrieve device serial number.
- Introduced Ssr class for SSR information retrieval.
- Implemented Time class for setting and getting device time.
- Added User class for user management including setting, getting, clearing, and removing users.
- Created Util class with various utility functions for command handling and data processing.
- Implemented Version class for fetching device version.
- Added WorkCode class for retrieving work code information.
- Set up Composer autoloading for the ZK library.
2025-06-25 17:25:23 +07:00