Time slots in 15 min increments

154 views
Skip to first unread message

Thomas McShane

unread,
Nov 28, 2017, 3:56:39 PM11/28/17
to Easy!Appointments - Support Group
All of a sudden, my time slots are given in 15 minute increments. I need 30 minute time slots. How do I fix this? I cant find anything in the menus.

Craig Tucker

unread,
Jan 8, 2018, 1:36:59 AM1/8/18
to Easy!Appointments - Support Group
Hello Thomas,

It does not seem to be working at all now.  I see an ajax error.  Sometimes that is due to something missing in your javascript.  Did you try to make any modifications to the code?

Regarding the 15 min increments that is set in the settings page.

Gerard Guerin

unread,
May 17, 2018, 1:05:13 PM5/17/18
to Easy!Appointments - Support Group
I setup mine for 30 minutes increment, I change in the "\application\controllers\Appointments.php"

change value 15 to 30 in this function:   _calculate_available_hours

$interval = $availabilities_type === AVAILABILITIES_TYPE_FIXED ? (int)$service_duration : 30;


AND this: _get_multiple_attendants_hours

$interval_value = $service['availabilities_type'] == AVAILABILITIES_TYPE_FIXED ? $service['duration'] : '30';

Reply all
Reply to author
Forward
0 new messages