Closed amarradi closed 11 months ago
I am not sure how Vacation Days should handle this behaviour. 🤔
It is possible to schedule more vacation days than are available. These will then be deducted in the next year. It is not a standard, but when an employee needs more vacation days most employers allow this.
We will keep the behaviour as is.
Maybe an if condition would be good, comparing whether the selected number is less than or equal to the vacation days. And then show an info box saying that the maximum number has been reached. If you do not check the vacation days entered somehow, you can also remove the vacation days entry.
I'll try to implement it and give you a pull requests
Maybe an if condition would be good, comparing whether the selected number is less than or equal to the vacation days. And then show an info box saying that the maximum number has been reached. If you do not check the vacation days entered somehow, you can also remove the vacation days entry.
I would be fine with an info box. 👍 But it should be possible to go over the quota and see something like -4.
I can currently allocate more days than I have available.