Closed ghassenbenzahra123 closed 3 months ago
This PR fixes #1036 & #972
Fix flash message display logic to handle all cases for start & end date.
๐ฌ Description:
Only Startdate selected the flash message should display starting that date until the user cancel it .
Only Enddate selected the flash message should display immediately until passing the endDate .
Both start & end date selected the flash message should display between the selected values.
Neither start or end date is selected the flash message should always display until the user cancel it.
๐ Summary
This PR fixes #1036 & #972
Description
Fix flash message display logic to handle all cases for start & end date.
Tests
๐งช Use case 1
๐ฌ Description:
Only Startdate selected the flash message should display starting that date until the user cancel it .
๐งช Use case 2
๐ฌ Description:
Only Enddate selected the flash message should display immediately until passing the endDate .
๐งช Use case 3
๐ฌ Description:
Both start & end date selected the flash message should display between the selected values.
๐งช Use case 4
๐ฌ Description:
Neither start or end date is selected the flash message should always display until the user cancel it.
Checklist: