Add ID to the allowed appointments fields (this will fix the rescheduling flow)

This commit is contained in:
Alex Tselegidis 2023-01-18 10:59:57 +01:00
parent 50ec06b29c
commit 8449d5454c
1 changed files with 3 additions and 2 deletions

View File

@ -543,6 +543,7 @@ class Booking extends EA_Controller {
$appointment['status'] = $appointment_status_options[0] ?? NULL; $appointment['status'] = $appointment_status_options[0] ?? NULL;
$this->appointments_model->only($appointment, [ $this->appointments_model->only($appointment, [
'id',
'start_datetime', 'start_datetime',
'end_datetime', 'end_datetime',
'location', 'location',