The current code has covered three basic points where these 2 fields 'leaves taken' and 'max leaves allowed' should take an effect.
1. Validation of leave.
2. Cancellation of leave.
3. Deletion of Leave.
Let me know if you find a case when you can get the max. leaves fooled (Except where the status of holidays has 'Allow to override limit' set True).
Hello Niels,
I have seen this issue.
The current code has covered three basic points where these 2 fields 'leaves taken' and 'max leaves allowed' should take an effect.
1. Validation of leave.
2. Cancellation of leave.
3. Deletion of Leave.
Let me know if you find a case when you can get the max. leaves fooled (Except where the status of holidays has 'Allow to override limit' set True).
Thanks.