=== ITMAROON Booking Block ===
Contributors:      itmaroon
Tags:              booking, reservation, block
Requires at least: 6.4
Tested up to:      7.1
Stable tag:        1.1.1
Requires PHP:      8.2
License:           GPL-2.0-or-later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html

A Gutenberg block for creating reservation calendars, managing capacity, and letting logged-in users book, change, or cancel reservations.

== Description ==

ITMAROON BOOKING BLOCK provides a reservation calendar block backed by dedicated WordPress database tables.

Site administrators can:

* Define reservable resource units and their capacity.
* Generate daily and time-based reservation slots.
* Open, close, edit, and remove reservation slots.
* Review and delete booking records.

Logged-in users can:

* View current availability.
* Create a reservation.
* Change the number of guests.
* Cancel their own reservation.

The plugin stores reservation data in the site's WordPress database. It does not send reservation data to an external service.


== Screenshots ==

1. Enter a reservation using the calendar and timetable.
2. List of completed reservations
3. Reservation entry form
4. Reservation Confirmation Form
5. Notification of reservation confirmation. An email will be sent.


== Changelog ==
= 1.1.1 =
* Fixed: the reservation calendar now draws as soon as the page is shown. Before, it stayed inactive on sites without a Google Calendar API key, because the first drawing waited for the holiday data.
* The confirmation step of the ready-made reservation patterns now shows a real message instead of the placeholder text.

= 1.1.0 =
* New admin menu "Reservation Management": manage slots, resource units and bookings in the admin screen instead of the block editor.
* Slots can be deleted a month at a time. The request is refused, with the dates that are the cause, when any slot is already booked.
* Added ready-made block patterns: a reservation calendar with time slots and a reservation calendar by day.
* Improved the Reservation block: the calendar, the time-slot panel and the confirmation dialog (a day-based reservation no longer shows a time).
* Updated the Japanese translation.

= 0.1.0 =
* Initial release.

== Upgrade Notice ==
= 1.1.1 =
Fixes the reservation calendar not responding on sites without a Google Calendar API key. Update recommended; no configuration changes are required.

= 1.1.0 =
Adds the "Reservation Management" admin screen and ready-made reservation patterns. No configuration changes are required.

= 0.1.0 =
Initial release.

== Related Links ==
* ec-relate-blocks: GitHub
  https://github.com/itmaroon/itmaroon-booking-block
* block-class-package: GitHub
  https://github.com/itmaroon/block-class-package
* block-class-package: Packagist
  https://packagist.org/packages/itmar/block-class-package
* itmar-block-packages: npm
  https://www.npmjs.com/package/itmar-block-packages
* itmar-block-packages: GitHub
  https://github.com/itmaroon/itmar-block-packages

== Developer Notes ==

The unminified TypeScript and SCSS source is available at:
https://github.com/itmaroon/itmaroon-booking-block

Build the production assets with `npm install` followed by `npm run build`.

== External Services ==

This plugin does not connect to external services.
