Commit Graph

8 Commits

Author SHA1 Message Date
9315a92fce Implement LogController for attendance checkout processing and update duration calculations 2025-06-27 08:02:42 +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
b6cdc09849 Refactor attendance logging: comment out attendance function calls and add timestamps for debugging 2025-06-25 20:47:06 +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