Service time going past staff working hours
-
This has been posted before but here is what fixed it for me.
example a service takes 8hours and staff working hours are 8am-5pm. A customer can still make bookings up until 4:30pm which meant the service didnt finish until 12:30am
the file is found in classes/bookingultra.service.php
i put “new code” after this code just below//is All Day event? if($service->service_duration==86400) { $time_from = '00:00'; $time_to = '23:59'; }
new code
$hourly = $this->get_hourly_for_staf($staff_id, $day_num_of_week); if($time_to>$hourly->avail_to) { $display_unavailable = 'no'; $is_slot_available = false; } $hourly = $this->get_hourly_for_staf($staff_id, $day_num_of_week); if($time_to<$hourly->avail_from) { $display_unavailable = 'no'; $is_slot_available = false; }
The Devs at booking ultra pro have told me that this problem will be fixed in the next version but I hope this helps in the mean time ??
https://www.ads-software.com/plugins/booking-ultra-pro/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Service time going past staff working hours’ is closed to new replies.