mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-25 08:03:01 +03:00
Condier unavailable time periods that span into multiple days (#880).
This commit is contained in:
parent
cbd9e9e41b
commit
cf19ea717c
1 changed files with 2 additions and 1 deletions
|
@ -341,7 +341,8 @@ class Availability {
|
|||
{
|
||||
$unavailability_events = $this->CI->appointments_model->get_batch([
|
||||
'is_unavailable' => TRUE,
|
||||
'DATE(start_datetime)' => $date,
|
||||
'DATE(start_datetime) <=' => $date,
|
||||
'DATE(end_datetime) >=' => $date,
|
||||
'id_users_provider' => $provider['id']
|
||||
]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue