Auto Attendance stopped creating absent records for employees with no checkins

My auto attendance function was working without any problems but since yesterday it is not marked people with no check-in records as absent. It is not making any attendance records for them.

It works without problem for employees who have a check-in record.

How can I find the cause of this?
any tips would be helpful.

Thanks

I figured it out, nothing was broken. the script just doesn’t mark anyone absent for the day of the the last check-in.
it subtracts 1 day and only marks those absent.