HR Payslip Attendance Work Days
This module calculates the WORK100 (Normal Working Days) based on: 1. Actual attendance data (check-in/check-out records) 2. Resource calendar configuration (full-time/part-time schedules)
Features:
- Calculate worked days only for days with actual attendance
- Respect resource calendar working hours (8h = 1 day, 4h = 0.5 day)
- Support for part-time employees and flexible schedules
- Automatic integration with existing payroll workflow
- No UI changes - works transparently with standard payslip
How it works:
- Checks which days the employee actually attended (has check-in + check-out)
- For each attendance day, gets expected working hours from resource calendar
- Converts hours to days (default: 8 hours = 1 day)
- Sums up the total worked days for WORK100 calculation
Example:
Resource Calendar: Mon-Fri (8h), Sat (4h) Attendance: Mon, Wed, Thu, Fri, Sat attended Result: WORK100 = 1+1+1+1+0.5 = 4.5 days
Please log in to comment on this module