Okay
  Public Ticket #2475785
Why am I able to book appointments outside company working hours?
Closed

Comments

  •  3
    Daniel started the conversation

    As a test, in the Working Hours & Days Off settings which apply to the entire company, I set working hours for Monday to 1pm - 4pm. Then, for the company's only employee's Work Hours, I set 4pm - 8pm.


    I then refreshed the booking calendar and checked to see what appointment slots were available for booking on Monday. What I was expecting to see was no slots available, as there was no overlap between times when the company is open and times when the employee is available.


    However, what actually happened was that the booking scheduler allowed me to book time any time slots where the employee was listed as available, regardless of whether or not this fell within times the company was open.


    Shouldn't it be impossible to book appointments outside company hours, even if an employee is available - or am I missing something here? If bookable time slots aren't limited by company business hours, then what purpose does that field serve?

  •  3
    Daniel replied

    Apparently, this is expected behaviour: https://wpamelia.com/global-working-hours/

    "Please note that changes in global working hours will not be applied for previously created employees since they already have unique schedule. Instead, those changes will be applied for all new employees that you create afterwards."

    If anyone knows any way to prevent an individual employee's personal schedule from overriding the global company one, so that the company global working hours can apply to them once again, please let me know.

  •  2,572
    Aleksandar replied

    Hello Daniel

    I'm glad you were able to locate the information in our documentation.

    That is how the plugin works, and you cannot override employee's working hours by changing global working hours.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables