i create unpaid leave for 0.23 days
put when i compute the payslip it calculate as 1 day.
and when i set any number in leave less than day still payslip compute as a day?
this is my salary rules for unpaid leave:
Condition: result=worked_days.Unpaid and worked_days.Unpaid.number_of_days or False
Computation: result=-(contract.wage/30)*worked_days.Unpaid.number_of_days
Any Help Please ........
can you share the salary rule please ?
same salary rule you have used.