forked from mirrors/easyappointments
Add missing API fields to Unavailabilities_model.php (#1323)
This commit is contained in:
parent
eb863ea044
commit
c7371090ba
1 changed files with 17 additions and 0 deletions
|
@ -28,6 +28,23 @@ class Unavailabilities_model extends EA_Model {
|
||||||
'id_services' => 'integer',
|
'id_services' => 'integer',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $api_resource = [
|
||||||
|
'id' => 'id',
|
||||||
|
'book' => 'book_datetime',
|
||||||
|
'start' => 'start_datetime',
|
||||||
|
'end' => 'end_datetime',
|
||||||
|
'location' => 'location',
|
||||||
|
'color' => 'color',
|
||||||
|
'status' => 'status',
|
||||||
|
'notes' => 'notes',
|
||||||
|
'hash' => 'hash',
|
||||||
|
'providerId' => 'id_users_provider',
|
||||||
|
'googleCalendarId' => 'id_google_calendar',
|
||||||
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Save (insert or update) an unavailability.
|
* Save (insert or update) an unavailability.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue