Globalshala / Eval-Bridge-bugs

In the Repository, we will add the bugs related to eval bridge system
0 stars 1 forks source link

Apply for leave: Calendar: Past Dates should not be selectable in calendar #123

Closed Adnan-shariff closed 3 months ago

Adnan-shariff commented 4 months ago

Description: Users can select past dates in the leave application calendar, which should not be allowed. This can lead to incorrect leave requests.

Steps to Reproduce: Log in to the application. Click on My profile icon Go to the 'Apply for Leave' section. Open the calendar to select a leave start date. Notice that past dates are selectable. and leave request can be raised and accepted successfully by logging into team lead account for past dates.

Expected Behavior: Past dates should be disabled and not selectable. Only current and future dates should be selectable.

Actual Behavior: Past dates are selectable, allowing users to apply for leave on past dates.

Screenshots 2024-05-29 11_30_55-Window

2024-05-29 11_29_35-Window

2024-05-29 11_28_27-Window

2024-05-29 11_47_10-Window

2024-05-29 11_50_05-Window

Adnan-shariff commented 3 months ago

working as intended. 2024-06-20 16_40_32-Cred Eval Bridge 2024-06-20 16_39_46-Cred Eval Bridge