=== Ultimate Appointment Booking & Scheduling ===
Contributors: Rustaurius, EtoileWebDesign
Tags: booking calendar, appointment, appointments, appointment booking, appointment scheduling, booking, meeting booking, reservation, calendar, consultation, dates, session, quote, woocommerce appointments, scheduling, woocommerce services
Requires at least: 3.9
Tested up to: 6.2
Stable tag: 2.2.4
License: GPLv3
License URI:http://www.gnu.org/licenses/gpl-3.0.html

Appointment booking calendar and scheduling plugin that lets you set up different services, service providers, locations and availability

== Description == 

<a href='https://www.etoilewebdesign.com/ultimate-appointment-scheduling-demo/'>Ultimate Appointment Scheduling Demo</a>

Appointment booking platform that lets your customers schedule appointments directly on your website with an easy-to-use calendar and booking form. Set up locations, services, and providers for those services, and let your clients start booking their appointment reservations online today! 

<strong>Includes Gutenberg block for displaying appointment booking forms!</strong>

= Key Appointment Booking Features =

* Create appointment locations with different opening hours
* Create appointment services that cost different amounts and take different amounts of time
* Dynamically updated booking calendar and appointment schedules, so it's impossible to double book
* Optional multi-step booking form
* Set required information, such as name or phone number
* Set up automated reminder emails that will go out to your clients a certain number of days or hours before their appointments

Great for businesses that need to set up one-on-one or one-to-many services, such as mechanics, medical professionals, event venues, exercise classes, corporate training sessions, etc. Also works to schedule meetings, for scheduling phone calls and for other situations in which a booking form and reservation system are required.

<strong>Appointment Booking Form</strong>

Adding your booking form to a page is as simple as inserting the above shortcode. You can search for it by name or find it in the <strong>Ultimate Appointment Scheduling</strong> block section. With the block, you can also insert your booking form into any widget area in your theme. Ultimate appointment booking flexibility!

`
[ultimate-appointment-calendar]
[ultimate-appointment-dropdown]
`

Alternatively, you can simply insert either of the appointment booking shortcodes above into any page to display a responsive booking form. The first will display a booking calendar, from which you can select and reserve an appointment time. The second will allow you choose a date and then display available appointment booking times that are available for you to book a reservation.

Allow your visitors and customers to book reservations for a wide array of services and appointment types. With options to create an unlimited amount of unique appointment services, to specify multiple different appointment locations, and to create service providers and specify the services they do, the booking locations they work at and their hours, all with an easy-to-use reservation form on the front end, Ultimate Appointment Scheduling provides the most simple and effecting booking solution and reservation system that is perfect for both you the admin as well as your site visitors.

= Email Notifications and Reminders =

The plugin comes with a flexible array of email notification and reminder options. You can configure it to automatically send a notification to the admin and to the customer when a new booking is made.

You can create an unlimited number of custom email messages, which you can assign to your different notifications.

You can also create an unlimited number of reservations reminder notifications, which will allow you to send out emails to your customers at the exact time intervals you need, to help remind them of their upcoming appointments.

Notification and email features include:

* Send an automatic email to the admin when a new booking is made
* Send automatic emails to clients when a reservation is placed and an appointment is successfully created
* Create unique email messages that you can assign to your different notifications.
* Set up automated reminder emails that will go out to your clients a certain number of days or hours before their appointments

= Additional Appointment Reservation Features =

Ultimate Appointment Scheduling comes with many more features that make it the most advanced and versatile booking form solution for accepting reservations on your WordPress site, including options to make your appointment services, locations and providers as specific or broad as you require, and a mobile booking form for the ultimate responsive reservation system.

* Options to set a minimum and maximum number of days before an appointment that a reservation for a service can be booked
* Set the amount of time between appointments. This, combined with the duration set for a service, will decide when appointment reservations can made.
* Set the date format and hours format
* Set a calendar offset to specify how far ahead the default opening date of the calendar will be

= Premium Appointment Features =

The premium version of Ultimate Appointment Scheduling comes with even more features, which will allow you to customize the form both to your exact needs and to your website. Some of the great premium features are:

* Accept mandatory or optional payments for appointments either via PayPal or WooCommerce
* Add reCAPTACHA to your form, to help prevent spam
* Option to require login to WordPress before being able to create an appointment
* Additional booking form layout option
* Labelling options
* Customize the look of your form with an array of styling options to help you fit it in seamlessly with the rest of your site

= Shortcodes =

* [ultimate-appointment-calendar]: display a calendar that with available appointment times that users can click to select an appointment
* [ultimate-appointment-dropdown]: display a set of dropdown menus to find appointment times and schedule an appointment

= Translations =

* German (Thanks to <a href='http://wordpress.org/support/profile/bkleine'>bkleine</a>)

--------------------------------------------------------------

== Frequently Asked Questions ==

= How do I get an appointment scheduler to show up on my page? =

Try adding the shortcode [ultimate-appointment-dropdown] to whatever page you'd like to display it on. 

= What are the current UASP shortcodes? =

* [ultimate-appointment-dropdown]: display a set of dropdown menus to find appointment times and schedule an appointment
* [ultimate-appointment-calendar]: display a calendar-based booking form

= How do I add custom CSS? =
In the plugin admin, please do the following:

* Click on Options and then choose the Basic area
* Write down your CSS code in the Custom CSS text area
* Click "Save Changes" to save your changes

= How do I add new fields to the booking form? =

To create custom fields, you need to go to the Custom Fields tab and simply add a new field. Do not forgot to set their options (slug, type and input values) properly in order to prevent confusion.

= Can I redirect to another page after the booking form is submitted? = 

You can do this in the shortcode. For example: [ultimate-appointment-dropdown redirect_page="http://google.com/"]

= Can I limit booking to a certain number of days before the appointment = 

To do this, you can use the "Minimum Days in Advance" and "Maximum Days in Advance" settings in the "Basic" area of the "Options" tab.

= Can I send email reminders to people about their appointments? =

You definitely can. First go to the "Emails" area of the "Options" tab and create your email. Then go to the "Reminders" area of the "Options" tab, create your reminder and choose the email you want to be sent out for the reminder.


== Screenshots ==

1. Sample appointment scheduling start page
2. Sample appointment scheduling appointment selected
3. The "Locations" admin tab
4. The "Services" admin tab
5. The "Service Providers" admin tab
6. The "Options" admin tab

== Changelog ==

= 2.2.4 (2023-04-13) =
- Added reCAPTCHA as an alternative captcha option.
- Reorganized a few options on the settings pages. 
- Fix for an error that would happen if using the calendar type booking form and having your WordPress timezone set to one of the UTC options (i.e. instead of using a city).

= 2.2.3 (2023-03-30) =
- Updated block for compatibility with WordPress 6.2.

= 2.2.2 (2023-01-04) =
- Fixes a potential fatal error on the settings page.

= 2.2.1 (2023-01-03) =
- Update to the settings page to correct an issue that could cause an error to display for checkbox options.

= 2.2.0 (2022-12-19) =
- Added quick links to the admin about page to re-run the walk-through, view tutorial videos and suggest a feature.
- Fixed an issue with email styles not being displayed in Gmail.
- Fixed an issue with email button styling not being applied. 
- Fixed validation errors when payments were enabled.
- Tested with PHP 8.1, updated deprecated function use and corrected an issue in which it wasn't possible to delete an appointment using the "Delete" quick link. 

= 2.1.1 (2022-05-20) =
- Adding a default for the localized PHP data used in the JS.
- Removing an unnecessary folder. 
- Tested with WordPress 6.0.

= 2.1.0 (2022-02-02) =
- Updated escaping and sanitizing.
- Updated nonces and capability checks.
- Changed how premium settings areas are previewed.
- Fixed compatibility issue when using block-based themes.
- Updated the time interval setting to have a default and to prevent an issue if you happened to set it to <= 0.
- Styling updates in the admin.

= 2.0.4 (2022-01-07) =
- Updated nonces in the admin.
- Added a notice pertaining to the requirement of the premium helper plugin to access premium settings and content.
- Styling updates for the walk-through.

= 2.0.3 (2021-11-03) =
- Updates to SAP 2.6.1 library
- Makes the display of a number of settings conditional on the value of other settings

= 2.0.2 (2021-08-12) =
- Fixed Gutenberg block
- Updated deprecated block_categories

= 2.0.1 (2021-05-25) =
- Removing Main.php, which was there to help the automatic reactivation during the migration to version 2.0.0, and which is no longer needed.

= 2.0.0 (2021-05-04) =
- <strong>This update includes quite a big change to the construction of the plugin, so please take caution and test before updating on a live site (or wait a few days before updating in case some minor corrective updates need to be released).</strong>
- Rebuilt the plugin, from the ground up, to be object oriented.
- Updated the structure of the settings pages.
- CSS/styling updates.
- Added an option for displaying the edit appointment feature on the booking form page.
- Easier to use admin options for emails and reminders.
- Simplified the process for creating/editing custom fields.
- Tweaked the calendar settings to fix any discrepancies/inconsistencies with the offset and minimum/maximum settings.
- Added a guided walk-through that runs on plugin activation to help you set up your first service, location, provider, appointment page and key settings.
- Added a "Confirmed" column to the admin appointments table.
- Added a "Paid" column to the admin appointments table that displays if you are using one of the payment options.
- Updates to several styling options.
- Updates to the conditional enqueuing of assets.
- Cleaning up/removing unnecessary code and files.
- Eliminating notices.
- New .pot file. (If you have created a translation based on the old version, you might need to update your .po file for this new version.)

= 1.1.15 =
- Removing an unnecessary error recording file.

= 1.1.14 =
- Corrects small JS issue related to the feedback notice

= 1.1.13 =
- Corrects recent issue causing the feedback notice to not dismiss correctly

= 1.1.12 =
- Fixes the 'Required Information' option not saving
- Fix for issue causing the import feature to not work correctly

= 1.1.11 =
- Security updates to correct vulnerabilities found during a review of the plugin

= 1.1.10 =
- Correcting minor XSS vulnerability

= 1.1.9 =
- Added extra security to the import feature.

= 1.1.8 =
- Added in an option to specify a minimum number of hours for in-advance booking.
- Fixed an issue where the time select in the calendar layout was showing the timezone of the user (if it was different) instead of the timezone set in the plugin.
- Fixed issue that was letting you book with no provider selected, which was voiding the capacity for a certain service.
- Added a Spanish translation.

= 1.1.7 =
- Update for the admin dashboard

= 1.1.6 =
- Removing placeholder text in the admin

= 1.1.5 =
- Correcting notices

= 1.1.4 =
- Removing deprecated create_function

= 1.1.3 =
- Updated the review ask pop-up

= 1.1.2 =
- Added in a missing image in the plugin admin area
- Corrected issue that was causing the review request to pop back up even after a review had been left or feedback sent

= 1.1.1 =
- Corrected issue with Gutenberg block not displaying in new WordPress 5.0

= 1.1.0 =
- <strong>This is a big update with many new features, corrections, revised admin styling, etc., so please take caution and test before updating on a live site (or wait a few days before updating in case some minor corrective updates need to be put out)</strong>
- Added in easy-to-use Gutenberg block for the appointment booking form
- The options pages have a brand new and easy-to-use design!
- Completely redesigned appointment create/edit screen. More intuitive, allowing you to more quickly and efficiently create and edit appointments.
- Added in an option for multi-step booking
- Added in the ability to export appointments
- Added in the ability to import appointments
- Added in new labelling options
- Added in a new calendar view to the Appointments (overview) tab in the plugin admin
- Cleaned up the layout of the Appointments tab
- Added in an option to specify the PHP date format used when the date is included (e.g. in emails)
- Added in an option to display custom fields (as a new column) in the table in the Appointments tab
- Added in an option to specify the admin email address
- Added in the ability for customers to cancel an appointment/booking from the email
- Added a tag to put the admin appointment link in the email notifications the admin receives
- All font size options now automatically apply a unit of 'px' if you do not specify a unit
- Switched from using PHPExcel to the new PHPSpreadsheet for importing and exporting
- Corrected a few issues with the jQuery UI datepicker, including some styling elements
- Corrected issue in which the incorrect time was showing in the booking calendar when the timezone in the plugin was changed and/or different from the timezone in the WordPress Settings > General 
- Corrected issue in which 24-hour times weren't showing in the calendar
- Corrected issue in which the number of items count was incorrect in the Appointments tab in the admin 
- Minor styling updates to front-end forms
- Added version numbers to enqueued files
- Generated new .pot file


= 1.0.6 =
- Corrected issue that was causing warnings about email reminders when an appointment was created

= 1.0.5 =
- Added in the ability to put custom field values into reminder emails that were typed in the "Emails" tab
- Fixed an issue where the "Hour Format" option wouldn't apply to the time selector in calendar mode
- Fixed an issue where reminder emails would send repeatedly if an appointment was booked within the reminder timeframe

= 1.0.4 =
- Fixed an issue where the calendar mode wasn't taking the appointment length into consideration when displaying available slots for next appointments

= 1.0.3 =
- Fixed an error that would come up when reminder emails were being sent out

= 1.0.2 =
- Fixed a couple of console errors

= 1.0.1 =
- Styling updates
- Corrected issue with premium upgrade process

= 1.0.0 =
- Premium version release
- New admin dashboard and updated admin styling
- Added in new labelling options
- Fixed issue with the options for setting the minimum and maximum number of days from the appointment date that it can be booked
- Fixed issue with exceptions not correctly being applied
- Fixed "cart empty" issue when paying for appointment via PayPal

= 0.30 =
- Added in a option to change to 12h or 24h time format instead of the default 
- Added in the WooCommerce order number when an appointment is booked through WooCommerce appointment booking
- Fixed an error where custom fields couldn't be deleted

= 0.29 =
- This is a big update with quite a few corrections/additions, so please use caution when updating if using this on a live site
- Added half-hour options for location open/close times and provider start/finish times
- Added option to choose the language for the calendar appointment format
- Added redirect_page attribute to the ultimate-appointment-calendar shortcode
- Added ability to filter the "Appointments" tab in the admin by location, service and/or provider
- Added appointment statistics to the "Dashboard" tab
- Added option to choose an offset for the default/starting calendar date
- Added ability to select number of appointments that show per page in the admin
- Corrected issue that was causing appointment blocks to still show in the calendar even if the duration of the appointment went beyond a provider's finish time for that day
- Corrected issue that was sometimes showing HTML in subject line of automatic emails
- Corrected issue that was making the appointment picking calendar not appear sometimes when manually creating an appointment in the back end

= 0.28 =
- Added in custom fields, which lets you know add additional fields to your booking form
- Added in a new booking form style
- Corrected an issue that was causing a booking time offset when using the calendar format
- Set a default timezone, to correct the issue with the blank screen on plugin activation

= 0.27 =
- Minor styling updates

= 0.26 =
- For sites where payment is set to "Required", appointments that aren't paid within the next 20 minutes will be automatically deleted
- Fixed an error where PayPal payments weren't working on some sites

= 0.25 =
- Fixed an error where some styling options weren't saving or weren't being applied

= 0.24 =
- Added nonces to a few forms that were missing them
- Fixed a number of deleting/saving errors

= 0.23 =
- Added in option to set the default location, service, service provider and date via URL parameters
- Added in 2 new labelling options

= 0.22 =
- Added in an optional captcha field to the tracking form

= 0.21 =
- HUGE update, so please be careful updating if you use the plugin on a live site
- Added in a new shortcode, 'ultimate-appointment-calendar', which displays a calendar with free appointment times that visitors can select by clicking
- Added in WooCommerce integration as a payment option, where users will be taken to the WC checkout page to pay after selecting their appointment
- Added in an 'Emails' tab on the 'Settings' page, where you can now customize all of the emails sent out by the plugin (when appointments are booked, for admins, appointment reminders)
- Improved the look of the email sent out, allowing the use of section breaks, appointment information and buttons with links attached to them
- Fixed a number of small bugs

= 0.20 =
- Fixed an error with client and service provider emails not being sent out
- Fixed a typo on the options page

= 0.19 =
- Updated the text domain of the plugin, to use the improved WordPress standard

= 0.18 =
- Fixed an error where exceptions couldn't be created

= 0.17 =
- Fixed an error where some new appointments weren't being saved

= 0.16 =
- Added in an appointment's details to the reminder emails

= 0.15 =
- Added in an "edit-appointment" shortcode
- Added options to specify the minimum and maximum numbers of days in advance an appointment can be scheduled
- You can now click anywhere in the appointment date box to bring up the date selector
- Clarified the "Service Provider" hour field instructions in the back-end
- Added an attribute, redirect_page, to specify a page to redirect visitors to after they successfully book an appointment

= 0.14 =
- Replaced "Client" with the client's name in client notification emails
- Fixed an error where appointments with no scheduled time could still be created in the back-end

= 0.13 =
- Added an option to require certain information on the sign up form
- Appointment sign up form can no longer be submitted without a time being selected
- Added an option to specify how far apart the appointments should be (in minutes) on the sign up form
- Fixed an error where the "Set Access Role" option was disabled

= 0.12 =
- Added an option to send an appointment email to a client on sign up
- Added an option to send a notification email to the service provider on sign up
- Added an option to set what user role should have access to the "Appointments" menu

= 0.11 =
- Fixed a problem where service providers would show up for locations where they weren't working

= 0.10 =
- Fixed a couple of errors, including one where service providers weren't updated based on the service selected

= 0.9 =
- Added in an option, "Login Required", that forces visitors to log in through one of the selected services before being able to schedule an appointment
- Added in the login options necessary for the "Login Required" option to work smoothly
- Fixed an error where service providers couldn't be edited after they were created

= 0.8 =
- Fixed a bug where the "Services" dropdown wasn't activiated until there was more than 1 location

= 0.7 =
- Some small CSS changes

= 0.6 =
- Big overhaul of the CSS to display the appointment scheduler, so that there's no text overlap any more
- Added in a number of labelling and styling options, to make it easier to customize the plugin

= 0.5 =
- Fixed a couple of UI elements in the back-end, to make it easier to create appointments from the admin interface

= 0.4 =
- Small visual fixes, let us know in the support forum if there are other features you'd like to see or if there are features that aren't working for you!

= 0.3 =
- Added a tonne of new features and fixed many little errors including:
- PayPal integration so that appointments can be paid for online
- Email reminders and appointment confirmation
- Fixed bugs with creating exceptions, editing appointments and more

= 0.2 =
- Big styling update so that the dropdowns look much more acceptable

= 0.1 =
- Initial beta version. Please make comments/suggestions in the "Support" forum.

== Upgrade Notice ==

