Leave Before Days Alert
Some leaves can be applicable before some specific days. For ex. hajj leave applicable before 15 days. now if some one try to apply leave for hajj before 1 day than it will give error message. so this module restrict user to apply leave before specific time duration. Very easy to configured days in leave type.
-
Easy to configured in leave type
-
Enable/Disable for specific leave type
-
Restrict user on specific leaves
For any leave type if it is required to inform prior before few days, than for that leave type set "Leave before day alert" to True. If it is set to true it will ask for "Leave before days". Leave start from date will be compare with today's date and will check that if we inform prior to that specified date.

One Employee created.

Now when that employee takes leave and that required prior to be inform, e.g. legal leave that required 3 days prior to inform. If difference between current date and leave from date is not as per requirement.

He will not allow to request for that leave and will be warned with warning message.

Create an Hr Manager also have access to leaves.

Now Hr Manager have rights to create or edit leave request for that employee without checking any condition. Hr manager can create or edit for other employee without any restriction. But when he create leave request for self than all condition will apply as per leave type selected.
