Week Off & Holiday Handling
Source:
AttendanceProcessingBO.cs— day-type detection at lines 893–899
Day Type Detection
Credit Earning for Holiday/WeekOff Work
When an employee works on a holiday or week off, they earn positive credits based on minutes worked:
Credits = DurationInMinutes ÷ 10
If DurationInMinutes % 10 >= 7 then round up
Example: Worked 4 hours 38 minutes = 278 minutes
Credits = 278 ÷ 10 = 27 credits
Remainder = 278 % 10 = 8 >= 7 then round up
Final = 28 credits
MF = +1 positive, since it's earned