How to calculate Unpaid Leave, it is not reducing in the Net salary, i also tried in the salary rule for the following formula
I put this calculation but I get server error. anybody help me.
Thanks & Regards Sridharan G Chennai
In additional to '@Mustufa Rangwala' solution you need to add condition to avoid error when employee do not have any unpaid leave I was explain that at this link:
for Basic LWP I have set condition "result=worked_days.Unpaid and worked_days.Unpaid.number_of_days or False" and computation "result = -(contract.wage *.4)/((worked_days.Unpaid.number_of_days+worked_days.WORK100.number_of_days) * worked_days.Unpaid.number_of_days)"...its works fine in Payslip...but through Batch its reflect nothing...any suggestion ?
Hi...My requirement is result = total wage will be divided into total working days of month * total present days of employee of this month..I have a own modules and it contains total working day and total present of month for each employee..Kindly tell me the solution to achieve my result
First of all you have to create Leave type called "Unpaid" and then create Leave request for employee and approve it.
After creating leave type and leave request you have to create salary rule and add that rule on employee salary structure..
Now create Payslip it will come overthere.
Regards, Mustufa Rangwala
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/26/13, 3:02 AM|
|Seen: 6317 times|
|Last updated: 3/16/15, 8:10 AM|