Decode the status prop

This commit is contained in:
Alex Tselegidis 2024-03-08 14:10:37 +01:00
parent 105e522973
commit 492a49f2b3

View file

@ -583,6 +583,10 @@ class Appointments_model extends EA_Model
$decoded_request['location'] = $appointment['location']; $decoded_request['location'] = $appointment['location'];
} }
if (array_key_exists('status', $appointment)) {
$decoded_request['status'] = $appointment['status'];
}
if (array_key_exists('notes', $appointment)) { if (array_key_exists('notes', $appointment)) {
$decoded_request['notes'] = $appointment['notes']; $decoded_request['notes'] = $appointment['notes'];
} }