How to mark attendance as “Present” on holidays automatically in Frappe even when employee check-ins are not recorded…?
Below setting will mark attendance on holidays if employee check-ins are exist.
How to mark attendance as “Present” on holidays automatically in Frappe even when employee check-ins are not recorded…?
Below setting will mark attendance on holidays if employee check-ins are exist.
Override this file code, and instead of marking absent, write your logic to mark present.
Sorry about that. By default, ERPNext does not mark attendance on holidays(unless you have check-ins), so you will need to write your own script. You can create a cron job that runs daily and checks if the current date is a holiday, then marks the attendance as present for that day.
https://frappeframework.com/docs/user/en/api/background_jobs#scheduler-events
Is there any possibility except this??