How to calculate Unpaid Leave, it is not reducing in the Net salary, i also tried in the salary rule for the following formula
result=(contract.wage/31)*worked_days.Unpaid.number_of_days
I put this calculation but I get server error. anybody help me.
Thanks & Regards Sridharan G Chennai