How to Deduct Leave balances?

How to Deduct Leave balances?