=== Booking Calendar Schedule Form ===
Contributors: ayeshatariq1
Tags: booking, calendar, hotel booking, schedule, reservation
Requires at least: 5.6
Tested up to: 6.9
Stable tag: 1.1.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Customizable booking calendar and schedule form for hotels, rentals, and appointments. Shortcode [qbwdgt_booking].

== Description ==
Booking Calendar Schedule Form adds a two-step booking calendar to any page. Visitors pick check-in/check-out (or arrival/return) dates and times, then submit their details.

Customize colors, fonts, layout, popup mode, and calendar labels (hotel, car rental, appointment, rental) under **Booking Calendar → Form Style** — no coding required.

Bookings are saved in your WordPress database. Approve or reject from the admin dashboard; optional emails go to you and the customer.

== Installation ==

= Step 1 — Install and activate =
1. In WordPress admin go to **Plugins → Add New**.
2. Search for **Booking Calendar Schedule Form** (plugin slug: quick-booking-widget).
3. Click **Install Now**, then **Activate**.

= Step 2 — Customize the form (optional) =
1. Go to **Booking Calendar → Form Style**.
2. Set form title, colors, style preset, popup or inline mode, and max width.
3. Click **Save form design**.

= Step 3 — Add the booking form to a page =
1. Go to **Pages → Add New** (or edit an existing page).
2. Add a **Shortcode** block.
3. Paste: `[qbwdgt_booking]`
4. Click **Update** or **Publish**.
5. View the page — you will see the booking form (or **Book Now** button if popup mode is enabled).

= Step 4 — Manage bookings =
1. Open **Booking Calendar → All Bookings**.
2. View customer details, arrival/return dates, and status.
3. Use **Approve**, **Reject**, or edit and **Save & Send Email**.

== Screenshots ==

1. Front-end booking form with date/time fields and Check Availability button.
2. Shortcode `[qbwdgt_booking]` in the block editor.
3. Admin bookings list — approve, reject, and email customers.
4. Form Style settings — colors, presets, layout, and popup options (no code).

== Features ==
* 2-step booking form: Date/Time then Customer Details
* Form Style admin: colors, fonts, presets, popup/inline, layout, max width
* AJAX submission (no page reload)
* Custom database table for bookings
* Admin and customer email notifications
* Approve / reject from dashboard

== Shortcode ==
[qbwdgt_booking]

Optional attributes: mode="popup" trigger="Book Now" layout="horizontal|stacked|compact" columns="4|2|1" align="center" max_width="800px"

Default styling: **Booking Calendar → Form Style**.

== Frequently Asked Questions ==

= Where do I customize colors and layout? =
**Booking Calendar → Form Style** (see screenshot 4).

= Where do I add the booking form? =
Add `[qbwdgt_booking]` to any page using a Shortcode block (see screenshot 2).

= Where are bookings stored? =
In the custom table `wp_quick_bookings`.

= How do I approve a booking? =
**Booking Calendar → All Bookings** → Approve or Reject (see screenshot 3).

== Changelog ==

= 1.1.7 =
* Rebranded as Booking Calendar Schedule Form
* Form Style screen: colors, fonts, presets, hotel/rental/appointment labels
* Popup and inline display modes, flex layout, columns, max width, custom CSS
* Shortcode [qbwdgt_booking] with optional attributes
* Booking list with approve/reject and email notifications
* Timezone-safe booked-on display in admin

= 1.1.6 =
* Resolved Plugin Check nonce warnings on admin list query args

= 1.1.5 =
* Fixed admin filter/pagination nonce verification
* Hardened AJAX nonce validation

= 1.1.4 =
* SMTP compatibility and delete booking fix

= 1.1.3 =
* WordPress 6.9 compatibility

= 1.0.0 =
* Initial release
