Leave allocation error


I am getting this error message and don’t understand why. Would really appreciate some help with this.

thanks very much,

Sorry for the late reply.

This error comes when the number of leaves you are allocating are more than the date window you have set. For example:

I’ve set the dates as (DD-MM-YYYY): 1-4-2015 to 4-4-2015. That is four days of leave time, if you try to give 5 leaves in that period of time, it will give that error.

Related : We recently released a fix to allow the last day to be included as well, previously if you picked the dates as 1-4-2015 to 4-4-201, it would consider that as 3 days. So if that’s the same issue you’re facing, please update your ERPNext (If you’re not on our cloud servers).

thank you!