I would like your help on creation of a payslip based on the leaves allocated. I am detailing what I have done so far and what I would like to do.
Created an employee.
Assigned the number of paid leaves for the employee as 14 in year.
Created a salary structure for the employee.
Created an attendance list for the employee which says that the employee has been absent for 18 days in the month.
Created a Payslip.
According to my HR rules, 14 days are paid leaves. But the employee has been absent for 18 days, therefore the remaining 4 days salary should be deducted from the employee's Basic salary which is not getting reflected in the salary slip. Also the number of working days is shown as the number of days in the month even though I have updated all the holidays list. Request your help on this issue.
Thanks and Regards,