Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Work End Date Can Be Set Before Work Start Date #8566

Open
anuj-ever opened this issue Dec 3, 2024 · 2 comments · Fixed by #8593
Open

[Bug] Work End Date Can Be Set Before Work Start Date #8566

anuj-ever opened this issue Dec 3, 2024 · 2 comments · Fixed by #8593
Assignees
Labels

Comments

@anuj-ever
Copy link

Issue:

On the employee screen, the user is able to set the work end date as 28 Nov, which is before the work start date of 29 Nov.

Expected Condition:

The system should prevent the user from setting a work end date that is before the work start date and display an error message indicating the date conflict.

Supporting Document:

image

@anuj-ever anuj-ever added the bug label Dec 6, 2024
@samuelmbabhazi samuelmbabhazi self-assigned this Dec 17, 2024
@samuelmbabhazi samuelmbabhazi linked a pull request Dec 17, 2024 that will close this issue
2 tasks
rahul-rocket added a commit that referenced this issue Dec 18, 2024
 [Fix] Work End Date Can Be Set Before Work Start Date
@anuj-ever
Copy link
Author

@samuelmbabhazi - We can show error message such as - "The end date must be later than the start date."

Gauzy - Google Chrome 2024-12-24 at 10 19 55 PM

@evereq
Copy link
Member

evereq commented Dec 24, 2024

@anuj-ever important note: the same person can be hired again. So for example, when the person quits or was fired, someone from HR Staff may forgot to put the end date and next when hire the same person again you will not be able to set "end date" to be less than start date etc. So needs to test this in the future for more possible scenarios related to "re-hire" etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants