Fix: issue with dates imported from external calendars when the timezone offset of the future date is different from the current one, due to daylight saving time
Fix: do type cast after checking if product data tab class exists
Tweak: Prevent fatal error if the cart does not pass validation and resources are enabled
5.12.0 - Released on 15 April 2024
New: support for WooCommerce 8.8
Update: YITH plugin framework
Update: language files
Fix: default selected value in time-select fields, i.e. when creating a new price rule including a time range
Tweak: showing only the useful fields when creating availability and price rules, depending on the options of the bookable product
5.11.0 - Released on 19 March 2024
New: support for WordPress 6.5
New: support for WooCommerce 8.7
Update: YITH plugin framework
Update: language files
Fix: issue when updating the plugin via WP-CLI
Fix: order url not working with HPOS enabled
5.10.0 - Released on 20 February 2024
New: support for WooCommerce 8.6
Update: YITH plugin framework
Update: language files
Fix: duplicate booking creation in combination with YITH WooCommerce Multi Vendor and HPOS feature
Tweak: possibility to easily reset filters in 'All Bookings' and 'Bookings Calendar' panel tabs
Tweak: show booking details in orders in combination with YITH WooCommerce Multi Vendor
5.9.0 - Released on 18 January 2024
New: support for WooCommerce 8.5
Update: YITH plugin framework
Update: language files
Fix: fatal error creating a new booking by admin side
Fix: issue when duplicating a bookable product having resources
Dev: new filter 'yith_wcbk_admin_query_filters_vars'
Dev: new filter 'yith_wcbk_rest_capability_for_manage_availability_rules'
Dev: new filter 'yith_wcbk_rest_capability_for_manage_price_rules'
5.1.0 - Released on 15 May 2023
New: support for WooCommerce 7.7
Update: YITH plugin framework
Update: language files
Fix: availability issue when creating bookings on backend by using translated products in combination with WPML
Tweak: redirect to booking or order when creating booking in Bookings' list page on admin side
Tweak: prevent saving order item meta related to Booking when saving orders
5.0.3 - Released on 28 April 2023
Update: YITH plugin framework
Update: language files
Fix: trigger plugin installation actions only when installing a new plugin version
Fix: style when creating booking on admin side by using a mobile device
Tweak: parse the number of people to integer when updating data for person types on bookings
Tweak: improved support for YITH Deposits, by setting fully-paid booking to paid also when the same order contains other bookable products with deposit
5.0.2 - Released on 13 April 2023
Update: language files
5.0.1 - Released on 12 April 2023
Update: YITH plugin framework
Update: language files
Fix: load correct js files for global availability and price rules
5.0.0 - Released on 11 April 2023
New: support for WooCommerce 7.6
New: support for PHP 8.1
New: admin panel UI
New: create bookings from the calendar in the panel
New: panel UI for vendor dashboard in combination with YITH Multi Vendor
New: set emails in plugin panel
New: use text editor in email messages
New: email notification to be sent XX days before the booking start date
New: email notification to be sent XX days after the booking start date
New: email notification to be sent XX days before the booking end date
New: email notification to be sent XX days after the booking end date
New: option to block dates for pending bookings
New: Gutenberg block for search forms
New: option to show booking data in order items
New: possibility to exclude bookable products in global price rules
New: possibility to exclude products in global availability rules
New: possibility to automatically select resources in booking forms by using the 'resources' parameter in query string
Update: YITH plugin framework
Update: language files
Fix: order bookings by 'from' date in admin calendar
Fix: support to YITH Multi Vendor
Fix: search order results when creating a new booking
Tweak: improved 'request a quote' button style in booking form in combination with YITH Request a Quote
Tweak: improved style of booking notes
Tweak: allow admins to create bookings for past and future dates and without checking for minimum/maximum duration and for allowed start days
Tweak: improved support for YITH Multi Vendor
Tweak: improved Gutenberg blocks
Tweak: improved email settings
Tweak: improved cache by using cache invalidation
Tweak: added legend of statuses in backend calendar
Fix: issue when saving default availability of bookable products in combination with PHP 8
Fix: support for WPML
4.2.2 - Released on 12 October 2022
Fix: Google Calendar synchronization on booking update
Fix: issue when changing vendor in booking services in combination with YITH WooCommerce Multi Vendor
Tweak: improved booking objects saving
4.2.1 - Released on 11 October 2022
Update: YITH plugin framework
Update: language files
Fix: undefined variable issue
4.2.0 - Released on 10 October 2022
New: support for WooCommerce 7.0
New: choose to show all available time-slots either in a dropdown menu or by listing them in the booking form
New: choose to show the resources either in a dropdown menu or by listing them all in the booking form
Update: YITH plugin framework
Update: language files
Fix: issue with resources' selector initialization in combination with YITH WooCommerce Quick View
Fix: issue when setting external calendar URL including encoded chars
Tweak: improved first available date calculation
4.1.0 - Released on 9 September 2022
New: support for WooCommerce 6.9
Update: YITH plugin framework
Update: language files
Fix: no booking found message in search form results
Fix: deposit form issue when using the booking widget on mobile
Tweak: improved Google Calendar background synchronization when synchronizing all bookings
4.0.3 - Released on 11 August 2022
Update: YITH plugin framework
Update: language files
Fix: price shown in services in combination with WPML Multicurrency
Fix: price conversion of totals in bookable product page in combination with WPML Multicurrency
Fix: support for PHP 8.1, due to changes to static variables in inherited methods
Tweak: fixed number of people in CSV export
4.0.2 - Released on 8 August 2022
Update: YITH plugin framework
Update: language files
Tweak: improved integration with YITH WooCommerce Deposits and Down Payments
4.0.1 - Released on 5 August 2022
Update: YITH plugin framework
Update: language files
Fix: missing minified version of JS files of modules
Fix: issue with unavailable dates on first loading in Bookable products, when the 'Update non-available dates on loading (AJAX)' option is enabled
Tweak: fixed double arrow shown in time select in combination with Proteo theme
4.0.0 - Released on 2 August 2022
New: use modules to enable or disable features based on your needs
New: use resources and share them among multiple bookable products
New: option to set fields' font size
New: support for WooCommerce 6.8
New: bookable product form block, to allow showing the booking form on the single product page by using blocks for themes with full-site editing
New: set border and border-radius in 'Booking form' block
Update: YITH plugin framework
Update: language files
Fix: support to YITH WooCommerce Deposits & Down Payments
Fix: time-to-start shown in bookings list takes into account the site timezone now
Tweak: show price in booking form also when the product is not available
Tweak: improved layout bookable product options
Tweak: improved bookable product tabs
Tweak: support to themes using theme.json file to load fonts when previewing Booking Gutenberg blocks
Tweak: improved booking form block
Tweak: show fields based on actual settings on the bookable product edit page
Tweak: improved booking form style
Tweak: improved info shown in orders containing bookable products
Tweak: improved Gutenberg blocks' style
3.8.0 - Released on 18 July 2022
New: support for WooCommerce 6.7
Update: YITH plugin framework
Update: language files
3.7.0 - Released on 21 June 2022
New: support for WooCommerce 6.6
Update: YITH plugin framework
Update: language files
Tweak: improved support for YITH WooCommerce Request a Quote by disabling request a quote button in bookable products that require confirmation
Dev: new filter 'yith_wcbk_min_date'
3.6.0 - Released on 17 May 2022
New: support for WordPress 6.0
New: support for WooCommerce 6.5
New: support to YITH WooCommerce Multi Vendor 4.0
Update: YITH plugin framework
Update: language files
Fix: issue when updating default availability in bookable products translated with WPML
Fix: availability rule issue when using 'generic dates' and 'from date' is greater than 'to date'
Tweak: applying no cache getting available dates
Dev: new filter 'yith_wcbk_args_for_get_bookings_in_time_range'
Dev: added new parameter to 'yith_wcbk_searched_categories' filter
3.5.0 - Released on 7 April 2022
New: support for WooCommerce 6.4
New: send booking emails based on the order language in combination with WPML
Update: YITH plugin framework
Update: language files
Update: Dompdf
Fix: issue with utf-8 special characters when creating PDF files
Fix: search form issue in results when searching for specific people in combination with WPML
Fix: issue in search result links with 'full day' bookable products when duration is greater than one
Tweak: include Email settings to let translation
Dev: new filter 'yith_wcbk_get_product_not_available_date_ajax_referer'
Dev: new filter 'yith_wcbk_admin_user_info_html'
3.4.0 - Released on 8 March 2022
New: support for WooCommerce 6.3
Update: YITH plugin framework
Update: language files
Fix: service issue with Bookable products that require confirmation
Fix: date-picker issue with time zones with negative offset
Tweak: hide tooltip in services if the description is empty
Tweak: shop/hide 'Service info layout' option in panel based on the above options for showing prices and descriptions for services
Tweak: improved integration with YITH WooCommerce Deposits and Down Payments, by calculating total amount in bookings by summing deposit and balance amount
Fix: issue with scheduled actions, checking pending and completed bookings
Fix: issue with time increment based on duration when a minimum duration is set
Fix: date issue in 'end date' when 'Check min/max duration' option is disabled and 'Update non-available dates on loading' is enabled
Tweak: message when services list table is empty
Dev: new filter 'yith_wcbk_before_set_search_products_query'
Dev: new filter 'yith_wcbk_email_placeholders'
Dev: new filter 'yith_wcbk_booking_service_get_pricing_show_duration_period'
Dev: new filter 'yith_wcbk_check_ajax_referer_on_get_booking_data'
3.2.0 - Released on 18 January 2022
New: support for WordPress 5.9
New: support for WooCommerce 6.1
Update: YITH plugin framework
Update: language files
Update: plugin framework
Fix: avoid date issue when genereting lookup tables with databases with timezone different from UTC
Fix: fatal error ( Argument 1 passed to YITH_WCBK_Availability_Rule::map_from_old_version() must be of the type array, object given )
Fix: wrong booking total shown on product pages (compatibility issue with WPML Multi Currency)
Fix: fatal error "Call to a member function update_status() on bool"
Fix: WPML integration
Tweak: fixed warning with PHP 8 for 'wakeup' magic method visibility
Dev: New filter 'yith_wcbk_ics_event_rows' to customize ICS event rows
Dev: new filter 'yith_wcbk_booking_form_totals_list'
3.1.2 - Released on 7 December 2021
Update: YITH plugin framework
Update: language files
Fix: enable days in calendar if time-slots are set through availability rules, for bookable products with time
3.1.1 - Released on 2 December 2021
Update: YITH plugin framework
Update: language files
Fix: 'Booking form' block functionality on frontend
Fix: vendor name shown in 'New booking' email for vendors
Tweak: delete events on Google Calendar when trashing bookings if the 'on booking deletion' sync is enabled; re-sync them when untrashed
Tweak: calculate price based on Search Form params also when results are shown in the Shop page
3.1.0 - Released on 1 December 2021
New: support for WooCommerce 6.0
New: 'Booking form' Gutenberg block
Update: YITH plugin framework
Update: language files
Tweak: improved service quantity style
Tweak: added 'counters' in statuses shown in Bookings' List
Tweak: avoid issues due to line separator when parsing iCal files
Tweak: fixed time-zone issue with time shown in Booking details on admin side
Dev: added 'yith_wcbk_admin_booking_status_actions_show_complete_action_if_paid' filter, to allow showing the 'complete' action button when the booking is paid in Bookings' List
3.0.2 - Released on 24 November 2021
Update: YITH plugin framework
Update: language files
Fix: order search when creating booking on admin side
Fix: issue when selecting service quantity and duration in mobile, using the bookable product form widget
Fix: availability calculation when using default availability in combination with availability rules
Fix: price conversion in search form results in combination with YITH Multi Currency Switcher for WooCommerce
Tweak: fixed redirection after confirming/rejecting booking through actions in emails
Tweak: fixed calendar redirection in Vendor's calendar in combination with YITH WooCommerce Multi Vendor
Tweak: fixed dates set by default after clicking on search form results
Tweak: improved link in search form results to include parameters also when dates are not selected
Tweak: fixed date-picker initialization when adding a new date range to Availability rules
3.0.1 - Released on 10 November 2021
Update: language files
Tweak: prevent widget issues on mobile with different themes using z-index in sidebar
Tweak: improved date-picker style
Dev: added filter 'yith_wcbk_product_form_widget_mobile_move_to_footer', to allow disabling the feature that moves the 'Bookable product form' widget to the footer in mobile
3.0.0 - Released on 9 November 2021
New: plugin restyling
New: speed and performance improvements, especially in stores with several hundreds/thousands of bookings
New: easy way to set default availability for bookable products
New: easy way to set specific time-slots for hourly and per-minute bookable products
New: assign availability rule to more than one date
New: use generic dates in availability rules
New: easy way to set availability rules, including multiple time-slots in the same rule
New: choose if setting the booking as paid when the deposit or the balance order is paid in combination with YITH WooCommerce Deposits and Down Payments
New: choose what to show as name of the synchronized event in Google Calendar
New: added 'attendee' email in Google Calendar sync events, so events will be automatically added to the customer's Google Calendar
New: choose what to show as booking name in the plugin calendar
New: integration with YITH Multi Currency Switcher for WooCommerce (this allows automatic price conversion through Multi Currency exchange rates)
New: choose the time format to be used in "Time Pickers"
New: choose if showing service information (price and descriptions) in a tooltip or inline
New: option to choose which costs will be included in prices shown on the Shop page
New: 'Upcoming' view in bookings list (this allows seeing the future bookings)
New: time to start info in bookings list
New: booking price shown in bookings list (the price is taken from the order)
New: show sold price in booking data on admin side
New: show calculated price in booking data and in bookings' list for pending and confirmed bookings on admin side
New: option to redirect users to checkout after adding a bookable product to the cart
New: option to show a 'booking of' label in Cart and Checkout for bookable products
New: option to show unit in booking prices
New: option to choose how to handle error messages in booking forms
New: possibility to set decimal values for discounts
New: choose if showing totals in Cart and Checkout
New: filter bookings by dates in bookings list
New: option to hide 'Read more' button in shop pages for bookable products
New: 'Bookable Products' Gutenberg block
New: option to use the 'week' formula for booking units that are a multiple of 7 days in prices
New: services selector in search forms
New: horizontal layout for Search Forms
New: set default distance range for 'location' field in Search Forms
New: choose to show or hide distance range for 'location' field in Search Form
New: use date range picker selector in Search Forms
New: use people selector in Search Forms
New: choose colors used by the plugin for frontend styles
New: possibility to set custom messages for each booking email
New: support to YITH Proteo theme with 3 specific skins: Apartments, Hotels, Travel
Update: YITH plugin framework
Update: language files
Fix: avoid direct add-to-cart for bookable products when using WooCommerce 'All Products' Gutenberg block
Fix: price calculation in search form results if the bookable product has people types and no people type is set in the Search Form
Fix: issue when storing label for 'Search' field in search forms
Fix: fixed displayed prices of services and bookable products when prices include taxes
Tweak: moved duration after dates in booking forms
Tweak: show time field after selecting date
Tweak: disable dates after non-available ones in the date-picker of the End Date
Tweak: improved style of Google Calendar settings
Tweak: improved description style in Google Calendar event description
Tweak: improved 'Logs' tab style
Tweak: improved search form style
Tweak: improved booking form style
Tweak: improved date picker style
Tweak: improved field style in Booking Form and Booking Search Form
Tweak: improved calendar range picker style
Tweak: improved service creation panels
Tweak: improved calendar style
Tweak: improved style of booking details page
Tweak: improved booking emails
Tweak: improved booking calendar on admin side
Tweak: set the previous status when restoring bookings from trash
Tweak: disabled browser autocompletion on bookable product panel fields
Tweak: customize border-radius for search button in Search Forms
Tweak: added Help tab
Dev: data_query param for querying bookings
Dev: added 'yith_wcbk_after_add_to_cart_validation' action, to allow handling actions after add-to-cart valid
Dev: added 'yith_wcbk_booking_product_single_person_type_{cost_type}' filter, to allow filtering person type specific costs
Remove: YITH Booking theme
2.4.0 - Released on 4 November 2021
New: support for WooCommerce 5.9
Update: YITH plugin framework
Dev: new filter 'yith_wcbk_product_tabs_service_name'
2.3.0 - Released on 15 October 2021
New: support for WooCommerce 5.8
Update: YITH plugin framework
Dev: new filter 'yith_wcbk_pdf_font_family'
2.2.1 - Released on 27 September 2021
Update: YITH plugin framework
Update: language files
Fix: debug info feature removed for all logged in users
Dev: added 'yith_wcbk_shortcode_services_info_html' filter, to allow filtering service info for services shown through booking_services shortcode
2.2.0 - Released on 10 September 2021
New: support for WooCommerce 5.7
Update: YITH plugin framework
Update: language files
Dev: added 'yith_wcbk_booking_is_available_data' filter to manipulate is_available check data results
2.1.28 - Released on 9 August 2021
New: support for WooCommerce 5.6
Update: YITH plugin framework
Update: language files
Fix: availability issue when requesting confirmation for a booking product in combination with WPML
Tweak: fixed issue with quotes in global rules
Tweak: added responsive style for 'Create booking' page
Tweak: show vendor products only when searching for booking products in calendar in combination with YITH WooCommerce Multi Vendor
Tweak: hide booking products when searching for a person type that is not enabled in those products
Tweak: fixed default duration set in daily bookings form after opening it through Search Form results
Dev: new filter yith_wcbk_people_label to customize "People" label
2.1.27 - Released on 1 July 2021
New: support for WordPress 5.8
New: support for WooCommerce 5.5
New: Norwegian (Bokmål) translation
Update: YITH plugin framework
Update: language files
Tweak: added WPML translation to person types
Tweak: added 'notranslate' class to date-pickers to prevent issues with dates when translating pages through Google Translate
Tweak: improved service description shown in tooltip
Tweak: store Google Maps coordinates retrieved by address in transient to reduce external calls to Google Maps API
Dev: added yith_wcbk_maps_pre_get_location_by_address filter, to allow retrieving coordinates by address
Dev: added yith_wcbk_maps_get_location_by_address_use_transients filter, to allow disabling transients when retrieving coordinates by address through Google Maps
Dev: added yith_wcbk_maps_get_location_by_address_success filter, to allow custom action after retrieving coordinates by Google Maps
Dev: added yith_wcbk_maps_get_location_by_address filter, to allow filtering location coordinates retrieved by Google Maps
Dev: added yith_wcbk_check_for_monthly_discount filter used to apply the monthly discount conditionally
Dev: added yith_wcbk_search_form_submit_label filter used to change the Search Form submit button label
2.1.26 - Released on 3 June 2021
New: support for WooCommerce 5.4
Update: YITH plugin framework
Update: language files
Fix: date-picker minimum date issue with negative timezone offsets
Fix: re-initialize Search Form fields after filtering products through YITH Ajax Product Filters
Fix: issue when selecting the 'End Date' and using inline datepickers
Fix: timezone offset in iCal files when the offset is greater than 9
Tweak: force updating coordinates (retrieved by location) when saving booking products if they are not set
Tweak: fixed double arrows shown in selects
Tweak: disable Request a Quote button if the booking product fields are not filled
Tweak: prevent notice for trying to get property of non-object
Tweak: services with min quantity set to zero will be considered as optional if the customer choose set the quantity to zero, so they will be not added to the booking
Dev: new filter 'yith_wcbk_time_select_edit_booking_minute_step'
Dev: new filter 'yith_wcbk_plugin_panel_args'
2.1.15 - Released on 03 Jul 2020
New: support for WooCommerce 4.3
Update: plugin framework
Update: language files
Fix: issue with Google Calendar sync when creating bookings through the Create Booking page on backend
Tweak: prevent issue when booking product form is shown in products shown in the WP Customizer
Tweak: prevent calendar style issues in combination with some themes
Tweak: localized missing strings in Logs tab
Dev: added yith_wcbk_searched_categories filter
Dev: added yith_wcbk_related_booking_title filter
Dev: added yith_wcbk_totals filter
2.1.14 - Released on 18 May 2020
New: support for WooCommerce 4.2
Update: plugin framework
Update: language files
Fix: issue when 'cancelled term' is set to 1 month
Dev: added yith_wcbk_service_free_text filter
2.1.13 - Released on 23 April 2020
New: support for WooCommerce 4.1
New: support for YITH Proteo theme
New: pagination for bookings in My Account > Bookings endpoint
Update: plugin framework
Update: language files
Update: YITH Booking theme 1.2.0 includes option to enable/disable sticky header and options to change header and footer colors
Fix: add-to-cart URL in search results now includes searched parameters
Tweak: prevent 'get property of non-object' issue
Dev: fixed object type for Availability Rule and Price Rule objects
Fix: issue with price for bookings created through the Create Booking page if prices include taxes in WooCommerce
2.1.5 - Released on 11 October 2019
Fix: next month issue on calendar
Fix: frontend styles for RTL languages
Fix: update lookup table when syncing the booking price to avoid issues when sorting and filtering booking products by price
Update: plugin framework
Update: language files
Tweak: fixed people label in search forms
Tweak: specific CSS class for services in booking_services shortcode
Dev: new filter 'yith_wcbk_notice_for_request_confirmation_login_required'
Dev: new filter 'yith_wcbk_button_text_for_request_confirmation_login_required'
Dev: new filter 'yith_wcbk_apply_weekly_discount' to prevent applying to of quickly discount in combination with monthly discount
Dev: new filter 'yith_wcbk_ajax_booking_available_times_formatted_time' to let third party code filter time labels
Dev: new action 'yith_wcbk_after_request_confirmation_action'
Dev: new filter 'yith_wcbk_redirect_after_request_confirmation_action'
2.1.4 - Released on 5 August 2019
New: set date format for date pickers
New: display Date Picker inline
New: option to delete event on Google Calendar when the booking is deleted
New: RTL support for admin side
New: support to WooCommerce 3.7
Update: plugin framework
Update: language files
Fix: only the customer assigned to the booking can view it
Fix: non-available message issue in case the selected start date is not allowed
Fix: add to cart validation when Max bookings per unit is greater than 1
Fix: including iCal file only in booking emails, not WooCommerce ones
Fix: Google Calendar sync on booking status update
Fix: allow booking on same date for 'Full day' booking products
Fix: set min date for 'End date' field when the 'Start date' field is filled by default
Fix: whole disabled day issue when an hourly booking product is booked on midnight
Fix: service prices shown in tooltip in combination with WPML Multi Currency
Fix: support to YITH WooCommerce Multi Vendor: show externals in calendar to the related vendor only
Fix: support to YITH WooCommerce Multi Vendor: admin can create Vendor services with the same name of the admin ones
Fix: support to YITH WooCommerce Multi Vendor: issue with 'Booking status (Vendor)' email
Fix: support to YITH WooCommerce Multi Vendor 3.3.7: suppress filters for booking post type to avoid issues when retrieving booking product availability through AJAX
Fix: integration with YITH WooCommerce Catalog Mode
Fix: booking form style in combination with Elementor plugin
Fix: calendar style
Tweak: display order status in Bookings list
Tweak: set default email type to HTML for booking emails
Tweak: prevent issues in Edge browser by disabling autocompletion in search forms
Tweak: added 'bk-to-date' and 'bk-from-date' CSS classes to date-pickers
Tweak: store timestamp in booking note through current_time instead of using MySQL timestamp, to prevent issues with different server timezones
Tweak: prevent issues with duration field
Tweak: improved support to YITH Deposits: booking is automatically set to cancelled if the balance order is set to cancelled
Dev: added yith_wcbk_booking_services_html function
2.0.8 - Released on 5 December 2018
New: support to WordPress 5
New: search form results include booking products with time if there is at least one slot available in the selected dates
New: possibility to hide services in Search Forms only
New: set Geocode API key different by Google Maps API key to allow different restriction settings for the API keys
Update: YITH Booking theme 1.1.0: support to WordPress 5 and Gutenberg, option to enable/disable product gallery in header through WP Customizer, improved style and so on...
Update: language files
Fix: YITH WooCommerce Request a Quote integration: display quantity for services in quotes
Fix: issue when showing Booking Map in Quick View
Fix: save _booking_id meta data in order items to prevent creation of multiple booking from the same order item
Fix: display quantity for services in order item meta
Fix: default value for timeselect
Fix: service quantity issue for booking with 'request confirmation' option enabled
Fix: add to cart validation for all day bookings
Fix: error message in cart validation for max bookings per unit reached
Fix: messages for non-available reasons
Fix: check for bookings and booking product in cart when validating add-to-cart for max bookings per unit
Fix: YITH Deposits integration: hide deposit form in widget when it's closed in mobile
Fix: cache availability issue when saving global availability
Fix: check for minimum people when checking for availability
Fix: regenerate booking product data when booking status changes, if needed
Fix: availability issue on translated booking products in combination with WPML
Tweak: set order_item_id meta in bookings after creating orders for 'request confirmation' bookings
Tweak: prevent warning with PHP 7
Tweak: improved calendar when showing End Dates for booking with min duration set
Tweak: fixed js issue with ECMAScript < 6
Tweak: fixed minor issue when getting location by address with empty address
Tweak: removed Search Form Results popup from the DOM when it's closed
Tweak: added CSS class to duration fields based on duration type of the booking product
Tweak: improved style
Dev: PHPUnit Test - check for minimum people when checking for availability if 'count_persons_as_bookings' enabled