Appointment status is not getting updated accordingly, when service is edited

Description

Prerequisite: enableEditOfAppointmentService is enabled for appointments module

Steps to reproduce:
1. Create a service, which has initial appointment status as ‘Requested’
2. Create an appointment with that service.Once the appointment is created, it will in awaiting approval from the provider.
3. Now modify the appointment service to some service which has initial appointment status as ‘Scheduled’

Actual Result: Appointment status is still shown as ‘Requested’, but there is a green tick for the provider now.

Expected Result: Appointment should be updated to "Scheduled"

Environment

None

Assignee

Unassigned

Reporter

Rajani Thakkellapati

Labels

None

Priority

Minor
Configure