From 6050e6eb71c59986b02db3304685c5c7669a54bd Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Thu, 4 May 2023 11:32:40 +0200 Subject: [PATCH] Add missing API fields --- application/models/Appointments_model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/models/Appointments_model.php b/application/models/Appointments_model.php index 9b84cc74..4a96eb3b 100644 --- a/application/models/Appointments_model.php +++ b/application/models/Appointments_model.php @@ -564,6 +564,8 @@ class Appointments_model extends EA_Model { 'start' => $appointment['start_datetime'], 'end' => $appointment['end_datetime'], 'hash' => $appointment['hash'], + 'color' => $appointment['color'], + 'status' => $appointment['status'], 'location' => $appointment['location'], 'notes' => $appointment['notes'], 'customerId' => $appointment['id_users_customer'] !== NULL ? (int)$appointment['id_users_customer'] : NULL,