Machan. for payroll system data should come from two other modules, Time and attendance module and Leave module.
If the staff is executive category there is no many rules, but employees are in shop and office act ordinance these requirements might be changed.
Example :- if employee works on Sunday, day off should be given, but it should not take as leave,
Like wise there are lot of requirements.