Combining availability rules doesn't work ok.

Issue #192 resolved
Valentina R created an issue

Concrete example for staff Meri2: http://fable.valentina-rakar.com/product/meri/?date=2017-07-27&time=15%3A00

Rule1: Time range (all week) 08:00 - 16:00 YES.

Rule2: Thursday 16:00 - 19:00 YES.

A slot at 15:30 is missing. Also One can't book at 15:00 with addons +2h.


Another example (staff Meri2):

Time range (all week) 08:00 - 16:00 YES.

Range of days Saturday - Sunday NO.

Saturday 19:00 - 00:00 YES.

Time range (date range) 2017-07-02 00:00 - 01:00 YES.

In this case on the 02.07.2017 at 23:00 I can't book a 2 h appointment.


Same example as one above, but different issue:

On every other Saturday staff should be available from 19:00 to 00:00, but he has only 1 slot: 23:00.

The only way to fix this, is to turn that Range of days Saturday - Sunday NO to

Saturday 08:00 - 19:00 NO Sunday 08:00 - 16:00 NO

Comments (8)

  1. Željan Topić

    See your point here, but rules are not set to glue together different availability times as a whole. Workaround would be to only check starting times, but that would allow additional duration to go over allowed time. Solutions for your cases:

    Example 1: set Thursday to 8:00-19:00. Example 2: set Time range (date range) 2017-07-01 19:00 - 01:00. Example 3: same as above, although all slots will now show up from version 3.1.7

  2. Valentina R reporter

    I actually thought that this is how it worked. Ok, I'll try to set them up like that. Thanks

  3. Željan Topić

    It works this way the other way around - select all times as available and glue together unavailable rules. I understand the advantages, but this is very rarely the case, because user would need to know all the rules structure to build the glued together version, so it's much easier to define availability rules (available = Yes) in full duration length.

  4. Log in to comment