From 25f533df39937b43f2e4b271dc6bd179268b0025 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Tue, 18 Jan 2022 18:22:24 +0100 Subject: [PATCH] The service and appointment models support color API encoding/decoding. --- application/models/Appointments_model.php | 1 + application/models/Services_model.php | 1 + 2 files changed, 2 insertions(+) diff --git a/application/models/Appointments_model.php b/application/models/Appointments_model.php index aa768b12..be345e63 100644 --- a/application/models/Appointments_model.php +++ b/application/models/Appointments_model.php @@ -37,6 +37,7 @@ class Appointments_model extends EA_Model { 'start' => 'start_datetime', 'end' => 'end_datetime', 'location' => 'location', + 'color' => 'color', 'notes' => 'notes', 'hash' => 'hash', 'providerId' => 'id_users_provider', diff --git a/application/models/Services_model.php b/application/models/Services_model.php index 819d5814..0c8ec56a 100644 --- a/application/models/Services_model.php +++ b/application/models/Services_model.php @@ -40,6 +40,7 @@ class Services_model extends EA_Model { 'currency' => 'currency', 'description' => 'description', 'location' => 'location', + 'color' => 'color', 'availabilitiesType' => 'availabilities_type', 'attendantsNumber' => 'attendants_number', 'categoryId' => 'id_categories',