Skip to content

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

@5hraddha

Description

@5hraddha

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions