Commit Graph

16 Commits

Author SHA1 Message Date
c3f9afc61e Add date filtering to attendance queries in LogController 2025-06-30 15:06:12 +07:00
a90441e9fd Add update query for attendance list in LogController 2025-06-30 14:59:06 +07:00
a61d246486 Uncomment attendance list update query execution in LogController 2025-06-30 14:53:57 +07:00
bb2c95c2b6 Comment out debug echo statement for query logging in LogController 2025-06-30 07:17:46 +07:00
6b1e3c979e Enable query logging for attendance processing by uncommenting the echo statement 2025-06-30 06:36:21 +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
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
822c2e8af9 Enhance attendance logging: add shift code handling and update duration calculations for specific departments 2025-06-27 08:06:49 +07:00
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