I need calculate leave days * 2 in payroll entry if they take leave for one day

Hi Community,
in salary slip i need for example: Employee James is taking 1 day leave but it should calculate for 2days deduction in salary slip i need solution i had also add new salary component “Double Deduction for Absence” and use formula “(gross_pay / total_working_days) * absent_days * 2”



Thanks in Advance

Looks like the formula is proper, now you have to test from your end.

“Double Deduction for Absence” salary component is deduction component i had assigned to their concerned employee but it is not working

I tested and it’s worked properly, i set on the leave_without_pay for quick setup.

1 Like