I have a very typical scenario wherein for any leave taken by the employee he needs to earn his weekly off also, pls refer to example below:
Mr X takes 8 days leave
Starting from Monday he takes leaves, as he has not worked any day in the week he has not earned his weekly off so when deducting leave balance even his weekly off that falls in between the leave is to be deducted from leave quota or to be made leave without pay if no leave quota available
Leave (IT 2001) from 4 Apr 11 - 11 Apr 11 (now with 6 days working 10 apr being weekly off)
Total leave quota deducted = 8 days and not 7 days
Really appreciate any help extended on the same.