Unpaid leave calculation in payslip
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
Any Help Please ........