You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user attempts to request leave that overlaps two leave periods they should be informed that they cannot do that and should not be able to request it.
Actual behavior
There are two different observed behaviour, these are:
If the first day of the leave request is the Month / End and Day / End of the contract then there is no warning/error for going between 2 leave periods
Otherwise, a holiday request that goes between 2 leave periods has an pop-up that tells the user they cannot do that, however, if the user clicks Ok they can then Request the holiday (pictured below)
When this is requested it is suggested to the manager as a regular holiday and, if approved by the manager, the days are taken from neither period making it possible for a user to obtain holiday that isn't taken from their entitlement.
Steps to reproduce the behavior
Install Jorani
Login as default user
Update Global Contract
Month / Start: August
Day / Start: 1
Month / End: July
Month / End: 31
Add entitled days for Global contract
08/01/22 -> 31/07/23: 10 days
08/01/23 -> 31/07/24: 10 days
08/01/24 -> 31/07/25: 10 days
Set weekends as days off in the Global contract
Add a test user on the Global contract
Login as test user and request leave
31/07/24 -> 06/08/24 - This will result in Actual behaviour 1
30/07/24 -> 06/08/24 - This will result in Actual behaviour 2
Have tried both of those without the other one existing and the observed behaviour is as reported
The text was updated successfully, but these errors were encountered:
What is the version of Jorani?
1.0.0
Expected behavior
When a user attempts to request leave that overlaps two leave periods they should be informed that they cannot do that and should not be able to request it.
Actual behavior
There are two different observed behaviour, these are:
Month / End
andDay / End
of the contract then there is no warning/error for going between 2 leave periodsOk
they can thenRequest
the holiday (pictured below)When this is requested it is suggested to the manager as a regular holiday and, if approved by the manager, the days are taken from neither period making it possible for a user to obtain holiday that isn't taken from their entitlement.
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: