To manually calculate unpaid leave, you should ensure that Record Unpaid Leave in Payroll is not ticked under Settings > Payment Settings.
To calculate the daily rate you can divide the monthly salary by either of:
Fixed Number of Days
Working days in Current Calendar Month (including public holidays)
All Days in Current Calendar Month
Example for Working days in Current Calendar Month:
Jim earns RM4,000 a month and takes 3 days' unpaid leave in March 2021. How much should be deducted?
There are 23 working days in March 2021.
As Jim took 3 days off, the total deduction should be RM521.74 (4,000/23*3).