I want to implement attendance tracking for the logged-in user. When the user clicks on the ‘Check-In’ button, the system should record the current time as the check-in time. Additionally, when the user clicks on the ‘Check-Out’ button, the system should record the check-out time. The ‘Check-Out’ field should only be visible after the user has clicked the ‘Check-In’ button and should be hidden again after the ‘Check-Out’ button is clicked.
Hi @neha,
Where should we put the check-in and checkout buttons?
And in which type of document (doctype) should we store the entry – should it be in the ‘Employee Checkin’ doctype?
I want these two buttons in the dashboard workspace and store the data for new attendance
Is it possible to implement using a custom HTML block?
A similar function would be to hook into the login of the operation system.
So that, if you log into your Linux, Windows, Mac, OpenBSD, etc., the system will create an entry on the Framework.
Or, the other way round, a cronjob could grab this kind of data from the logs once a day or so.
This needs some knowledge and some tinkering on the OS level.
The result would be, just like your idea, a rather simple and straightforward replacement for biometric devices or similar contraptions,
if the work of a (self-)employee happens (or: regularly starts and ends) in front of a screen.
Some data aggregation might be necessary to allow for breaks, screensaver intervention, etc.