Add missing API fields

This commit is contained in:
Alex Tselegidis 2023-05-04 11:32:40 +02:00
parent fa8b8459d4
commit 6050e6eb71
1 changed files with 2 additions and 0 deletions

View File

@ -564,6 +564,8 @@ class Appointments_model extends EA_Model {
'start' => $appointment['start_datetime'], 'start' => $appointment['start_datetime'],
'end' => $appointment['end_datetime'], 'end' => $appointment['end_datetime'],
'hash' => $appointment['hash'], 'hash' => $appointment['hash'],
'color' => $appointment['color'],
'status' => $appointment['status'],
'location' => $appointment['location'], 'location' => $appointment['location'],
'notes' => $appointment['notes'], 'notes' => $appointment['notes'],
'customerId' => $appointment['id_users_customer'] !== NULL ? (int)$appointment['id_users_customer'] : NULL, 'customerId' => $appointment['id_users_customer'] !== NULL ? (int)$appointment['id_users_customer'] : NULL,