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

Leave: Invalid Date Leave Request Raised by Admin and Accepted by Team Lead #307

Open
Adnan-shariff opened this issue Oct 21, 2024 · 1 comment
Assignees
Labels
Medium Priority Should fix within week

Comments

@Adnan-shariff
Copy link
Collaborator

Adnan-shariff commented Oct 21, 2024

Describe the bug:
A leave request with an invalid date (01/01/2021) was raised by the admin and accepted by the team lead without validation.

Scope of the bug:
admin raise request type in calendar field > 01012021 > login to team lead account accept request

Steps to reproduce:

Admin
Navigate to the leave request section.
Raise a leave request with the date 01/01/2021.(type in calendar field )
The team lead accepts the invalid leave request.

Expected Behavior:
The system should reject the leave request with an invalid date and display an error message.

Actual Behavior:
The leave request with the invalid date (01/01/2021) is accepted by the team lead without any validation errors.

Screenshots:
WhatsApp Image 2024-10-21 at 12 19 08 PM (1)
image

@Adnan-shariff Adnan-shariff added the High Priority Should fix this in 24 hrs label Oct 21, 2024
@Adnan-shariff Adnan-shariff changed the title Invalid Date (01/01/2021) Leave Request Raised by Admin and Accepted by Team Lead Leave: Leave Request Raised by Admin and Accepted by Team Lead Oct 21, 2024
@Adnan-shariff Adnan-shariff changed the title Leave: Leave Request Raised by Admin and Accepted by Team Lead Leave: Invalid Leave Request Raised by Admin and Accepted by Team Lead Oct 21, 2024
@Adnan-shariff Adnan-shariff changed the title Leave: Invalid Leave Request Raised by Admin and Accepted by Team Lead Leave: Invalid Date Leave Request Raised by Admin and Accepted by Team Lead Oct 22, 2024
@MSGlobalShala MSGlobalShala added Medium Priority Should fix within week and removed High Priority Should fix this in 24 hrs labels Oct 30, 2024
@MSGlobalShala
Copy link
Collaborator

Need to validate the dates in FE and BE both. If the user writing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Medium Priority Should fix within week
Projects
None yet
Development

No branches or pull requests

2 participants