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

Appointment Dashboard Details Popup: Show the time dropdown filled with the default value #123

Open
1 task
5hraddha opened this issue Sep 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@5hraddha
Copy link
Collaborator

This was working before as intended but broke somewhere with other changes. As part of this

  • Make sure that time dropdown in the Schedule Tab is pre-filled with the default values:
  1. In case the appointment has not been scheduled yet, the time dropdown should be filled with something like either the first time slot of the business for the day or some word like - Select or something. What we had before was the first time slot of the business for the day.
  2. In case the appointment has been scheduled before, the time dropdown should be filled with the last scheduled time.
image image

This feature is not working now because in the Frontend code, we've changed the time format from 24 to 12 hours but the backend has the data in 24 hours format. So, the possible solution could be:

  1. In Frontend code, before assigning the default time value, convert it first back to 24 hours format so that it matches with the DB values.
  2. Or change the format of the time stored in DB to 12 hours format.
@5hraddha 5hraddha added the bug Something isn't working label Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant