/
Business Hours

Business Hours

The Business Hours module adds a utility page for configuring business hours and exposes methods for checking the current business hours status

Dependencies

The Business Hours module is dependent on the following modules:

Methods

getCurrent

Gets the current business hours configuration, populated with defaults if nothing is currently configured.

Parameters: None

Returns: The current business hours configuration, including the current configured timezone.

isDuring

Using the current time, checks whether or not we are currently inside of business hours based on the current configuration.

Parameters: None

Returns: True if we are currently in business hours, false if outside of them.

Configuration Page

The utility page allows for the configuration of the open/closed status for each day of the week, as well as the opening and closing hours for days when the business is open.

The exceptions section allows for date-based overrides of the main day of the week configuration.

Clicking “Save Configuration” will update the business hours in the settings content and immediately update the project context with the new settings.

Related content

How do I use time zone?
How do I use time zone?
More like this
Referral Scheduling
Referral Scheduling
More like this