=== DABL Restaurant Reservations ===
Contributors: dablsoftware
Tags: restaurant, reservations, booking, calendar, table booking
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accept restaurant reservations with a simple, fast form. Works immediately once you set your opening hours.

== Description ==

DABL Restaurant Reservations adds a booking form and a basic admin calendar so restaurants can receive reservation requests.

**Simple Setup**

1. Set your opening hours
2. Add a shortcode to any page
3. Start receiving reservations

**Features**

* Clean, accessible reservation form (two layouts: tall or wide)
* Weekly hours of operation with per-day open/close times
* Manual confirmation workflow (new reservations are saved as pending)
* Email notification sent to the site admin when reservations are submitted
* Staff portal for viewing and managing reservations
* Month view calendar for administrators
* Custom "Restaurant Staff" user role for delegation
* Fully translatable with complete internationalization support

**Shortcodes**

* `[dabl_rr_form]` - Public reservation form
* `[dabl_rr_staff_login]` - Staff login form
* `[dabl_rr_portal]` - Staff reservation list
* `[dabl_rr_admin_calendar]` - Admin month view calendar

**Customization Options**

* Restaurant name
* Form layout (tall/skinny or short/wide)
* Maximum party size
* Time slot intervals (5, 10, 15, 20, 30, or 60 minutes)
* Minimum notice required for bookings
* Maximum days in advance for bookings
* Default reservation duration
* Required fields (name, email, phone)
* Cancellation instructions

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory, or install via the Plugins screen in WordPress.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to Reservations > Settings > Availability and set your opening hours.
4. Go to Reservations > Setup to optionally create pages with the shortcodes.
5. Add the `[dabl_rr_form]` shortcode to any page or post.

== Frequently Asked Questions ==

= Where are notification emails sent? =

Notification emails are sent to the WordPress site Admin Email Address (Settings > General).

= Can customers receive automatic confirmations? =

The free version uses manual confirmation only. When a customer submits a reservation, it is saved as "pending" and an email is sent to the admin. Staff can then confirm or cancel the reservation from the portal.

= How do I change the form colors? =

The free version includes two fixed black and white layouts (tall and wide). Custom colors and styling are available in the Pro version.

= Can I have multiple reservation forms? =

Yes, you can add the `[dabl_rr_form]` shortcode to multiple pages. All reservations will appear in the same admin portal.

= How do I give staff access without admin privileges? =

The plugin creates a "Restaurant Staff" user role. Users with this role can access the staff portal to view and manage reservations without having full admin access.

= Is the plugin translation ready? =

Yes, the plugin is fully internationalized and ready for translation. All user-facing strings use WordPress translation functions with the text domain 'dabl-restaurant-reservations'.

== Screenshots ==

1. The public reservation form
2. Admin settings page
3. Staff portal with reservation list
4. Admin calendar view

== Changelog ==

= 1.0.0 =
* Initial release
* Reservation form with date picker
* Weekly hours of operation
* Email notifications to admin
* Staff portal for managing reservations
* Admin calendar month view
* Restaurant Staff user role

== Upgrade Notice ==

= 1.0.0 =
Initial release.

== External services ==

This plugin includes a link to the DABL Software Solutions website on the plugin's admin "Go Pro" page. This link directs administrators to information about the Pro version of the plugin.

* **Service:** DABL Software Solutions website
* **URL:** [https://software.dabl.ca/restaurant-reservation-wordpress-plugin/](https://software.dabl.ca/restaurant-reservation-wordpress-plugin/)
* **Purpose:** Provides information about the premium version of the plugin. The link is only displayed on the plugin's admin settings pages and is never shown to site visitors.
* **Data sent:** No data is transmitted to DABL Software Solutions. The link is a standard outbound hyperlink that administrators can choose to click.
* **Terms of use:** [https://software.dabl.ca/terms/](https://software.dabl.ca/terms/)
* **Privacy policy:** [https://software.dabl.ca/privacy/](https://software.dabl.ca/privacy/)

== Privacy ==

This plugin stores customer data (name, email, phone, reservation details) in your WordPress database. This data is:

* Stored locally in your database
* Not shared with any third parties
* Only accessible to administrators and users with the Restaurant Staff role
* Subject to your site's privacy policy

You should update your privacy policy to inform users about the data collected through reservation forms.
