In the attached picture, I need to click on the lane of John MD after "test3" appointment, and on the modal that opens, I need to have "start time" prefilled with the last appointment's end time.
I know that I need to define $lastAppointmentEndTime, that is closer to the "clicked time", on the timeline. and have it pre-fill the end time on the modal. But I don't how to define the "clicked time" to make the calculations.
Is it even possible?
I know that I need to define $lastAppointmentEndTime, that is closer to the "clicked time", on the timeline. and have it pre-fill the end time on the modal. But I don't how to define the "clicked time" to make the calculations.
Is it even possible?
Comment