=== TailDesk ===
Contributors: EyeSeeT
Tags: pet sitter, booking form, pets, booking calendar, appointment booking
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Website: https://eyeseet.nl/en/taildesk-2/

Booking form and availability calendar for pet sitters. Accept day based booking requests and manage availability in WordPress.

== Description ==

TailDesk is a booking plugin for pet sitters who manage bookings by day instead of by time slot.

It helps you accept pet sitting requests directly from your WordPress website, show availability based on daily capacity, and manage bookings from the WordPress admin area.

TailDesk is built for solo pet sitters, dog sitters, cat sitters, small pet care businesses, dog daycares, home boarding services and other pet care services that need a focused day based booking workflow.

Use TailDesk when you want visitors to request one or more days, while you stay in control of availability, capacity, booking status and invoices.

Key features:

* Add a booking request form with a dedicated Gutenberg block or shortcode.
* Add an availability calendar with a dedicated Gutenberg block or shortcode.
* Create multiple services, each with its own daily rate and daily capacity.
* Limit booking forms to selected services.
* Control the order of booking form fields in the block editor.
* Manage day based availability instead of time slots.
* Show clear day states for available, limited and fully booked dates.
* Let visitors submit booking requests without creating an account.
* Receive booking requests directly on your WordPress website.
* Receive email notifications when a new booking request is submitted.
* Manage bookings, statuses and internal notes in WordPress.
* Generate and print invoices from the booking admin screen.
* Configure global date format, pricing format and notification settings.
* Configure invoice company details, tax settings and yearly invoice numbering.
* View upcoming capacity and new booking requests in the WordPress Dashboard.

TailDesk works well for:

* solo pet sitters
* dog sitters and cat sitters
* dog daycare requests
* holiday pet care
* home boarding
* small pet care businesses
* other day based (pet care) services

Both frontend tools can be added in two ways:

* Block editor: use the `TailDesk Booking Form` block and the `TailDesk Availability Calendar` block.
* Shortcodes: use `[taildesk_booking_form]` and `[taildesk_availability service_id="123"]`.

== TailDesk Pro ==

TailDesk Pro is an optional extension for pet sitters who need more control over bookings, pricing and workflows.

With TailDesk Pro you can:

* add service extras and advanced pricing rules
* set minimum booking days per service
* use more flexible capacity rules per service
* add custom booking fields per service
* sync website bookings with Google Calendar
* use other Google Calendar events as capacity blocking overlays
* customize customer emails per service
* use multiple invoice templates and more advanced invoice layouts

== Blocks ==

= TailDesk Booking Form =

Insert a pet sitting booking request form anywhere with the block editor.

Visitors can select a service, choose a date range, enter their details and submit a booking request without creating an account.

Site owners can choose which services are available in each form and control the order of customer fields.

= TailDesk Availability Calendar =

Insert a service availability calendar anywhere with the block editor.

Choose the service in the block settings and show month by month availability on the frontend.

The calendar shows clear availability states, so visitors can see which days are available, limited or fully booked before they send a request.

You can also send visitors to a custom page or form when they click an available date.

== Shortcodes ==

You can also use shortcodes if you are working with classic themes, widgets, templates or page builders.

Booking form:

`[taildesk_booking_form]`

Availability calendar:

`[taildesk_availability service_id="123"]`

== Installation ==

1. Upload the plugin to `/wp-content/plugins/` or install it through the WordPress Plugins screen.
2. Activate the plugin.
3. Go to `TailDesk > Services` and create at least one active service.
4. Add the `TailDesk Booking Form` block or the `[taildesk_booking_form]` shortcode to a page.
5. Add the `TailDesk Availability Calendar` block or the `[taildesk_availability service_id="123"]` shortcode to a page.
6. Submit a test booking to verify your setup.

== Frequently Asked Questions ==

= Can I add the form and calendar with Gutenberg blocks? =

Yes. TailDesk includes a dedicated booking form block and a dedicated availability calendar block.

= Can I still use shortcodes? =

Yes. Both frontend tools are available as shortcodes.

= Is there a Pro version of TailDesk? =

Yes. TailDesk Pro is available as an optional extension with advanced pricing, custom booking fields, Google Calendar Sync and expanded invoice options.

= Can visitors send a booking request without creating an account? =

Yes. TailDesk is designed for direct booking requests from public visitors.

= Can I create multiple pet sitting services? =

Yes. You can create multiple services and manage pricing and daily capacity per service.

= Can I control pricing, date formatting and notification addresses globally? =

Yes. In `TailDesk > Settings` you can configure the global price format, date format and one or multiple booking notification email addresses.

= Can I generate invoices for bookings? =

Yes. TailDesk 1.0.4 adds invoice generation and print preview from the booking admin screen.

= Does TailDesk process payments? =

No. TailDesk focuses on booking requests, availability, booking management and invoices. It does not process online payments.

= Can I set a custom email address for booking notifications? =

Yes. In `TailDesk > Settings` you can set one or multiple notification addresses. Separate multiple addresses with `;`.

== Screenshots ==

1. Manage pet sitting services, rates and daily capacity.
2. Add a booking request form with the block editor.
3. Show visitors clear availability by month.
4. Review and manage booking requests in WordPress.

== Changelog ==

= 1.0.4 =
* Added invoice generation and print preview for bookings in the WordPress admin.
* Added invoice settings for company details, tax label, tax rate and yearly invoice numbering.
* Added invoice actions in the booking list and booking detail screens.
* Added a default invoice layout based on stored booking pricing.

= 1.0.3 =
* Added WordPress Dashboard widgets for upcoming capacity and pending booking requests.
* Added a service filter in dashboard widgets with quick links to filtered booking and calendar views.
* Allowed booking start dates in the past for admin-created and admin-updated bookings.
* Removed built-in Pro extras and Pro booking field payload handling from core booking flows.
* Added new booking hooks for integrations and updated translation files.
* Added PHP 7.4 support by aligning runtime requirement checks with code requirements.

= 1.0.2 =
* Added centralized date format handling across admin and frontend.
* Improved booking and calendar admin workflows, including date validation and filtering.
* Added `click_url` support for availability calendar interactions.
* Updated booking email output and translation files.

= 1.0.1 =
* First public release of TailDesk.
* Addressed plugin review team feedback.

= 1.0.0 =
* Initial version.

== Upgrade Notice ==

= 1.0.4 =

TailDesk 1.0.4 adds invoice generation, print preview and invoice settings in the WordPress admin.
