unpaid leave and showing that amt in payslip as deduction


Please let me know, how i can configure unpaid leave so that it will deduct based on basic pay and hra wage types amount.....

and the deducted amount i want to show in payslip..... plz. help me with this.

how can i convert the no. of unpaid days into amount and show it in payslip.... please help



Any help..... thanks