=== HRMpilot Room Manager ===
Contributors: spprthrm
Tags: hotel, booking, room management, reservation, availability calendar
Requires at least: 5.8
Tested up to: 7.0
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Complete hotel room management for WordPress: rooms, bookings, availability calendar, seasonal pricing, supplements and email notifications.

== Description ==

**HRMpilot Room Manager** is a comprehensive hotel and accommodation management solution for WordPress. Perfect for hotels, B&Bs, vacation rentals, and any accommodation business.

= 🏨 Main Features =

**Room Management**
* Custom post type for rooms with full WordPress integration
* Room gallery with lightbox and slideshow
* Capacity settings (adults/children)
* Custom room categories and attributes

**Booking System**
* Frontend booking form with date picker
* Real-time availability checking
* Guest information collection
* Special requests and notes
* Booking status management (Pending, Confirmed, Cancelled, Completed, etc.)

**Pricing**
* Base price per room
* Seasonal pricing with unlimited periods
* Weekend pricing
* Children discount (percentage-based)
* VAT/Tax support
* Optional supplements (per night, per person, per stay, one-time)

**Availability Management**
* Visual availability calendar
* Bulk availability settings
* Automatic sync with bookings
* Frontend calendar display

**Email Notifications**
* Customizable email templates
* Admin notifications for new bookings
* Customer confirmation emails
* Status change notifications
* HTML email with logo support

**Export & Reports**
* Export bookings to CSV
* Export bookings to Excel
* Filter by date, room, status

= 📋 Available Shortcodes =

* `[hrmrm_booking_form]` - Display the booking form
* `[hrmrm_booking_form room_id="123"]` - Booking form for specific room
* `[hrmrm_room_listing]` - Display all rooms in grid layout
* `[hrmrm_room_listing columns="3" show_price="yes"]` - Customized room grid
* `[hrmrm_availability_calendar room_id="123"]` - Availability calendar for a room
* `[hrmrm_room_grid]` - Interactive room selection grid
* `[shortbook url="/booking-page/"]` - Mini booking form with check-in/check-out dates and room selector

= 🌍 Internationalization =

* Fully translatable
* Italian translation included
* Ready for translation in any language
* Compatible with WPML and Polylang

= 💻 Developer Friendly =

* Clean, well-documented code
* WordPress coding standards
* Hooks and filters for customization
* Template override system

== Installation ==

= Automatic Installation =
1. Go to Plugins > Add New in your WordPress admin
2. Search for "HRMpilot Room Manager"
3. Click "Install Now" and then "Activate"

= Manual Installation =
1. Download the plugin zip file
2. Go to Plugins > Add New > Upload Plugin
3. Upload the zip file and click "Install Now"
4. Activate the plugin

= Initial Setup =
1. Go to **Rooms > Add New** to create your first room
2. Set room details, price, gallery, and capacity
3. Go to **HRM Settings** to configure general options
4. Create a page and add the shortcode `[hrmrm_booking_form]`
5. Optionally configure email templates in **Bookings > Email Templates**

== Frequently Asked Questions ==

= Does this plugin support multiple rooms? =
Yes, you can create unlimited rooms, each with its own pricing, availability, and settings.

= Can I set different prices for different seasons? =
Yes, the plugin supports unlimited seasonal pricing periods. You can also set different weekend prices.

= Does it work with my theme? =
HRMpilot Room Manager is designed to work with any properly coded WordPress theme. It uses standard WordPress practices and minimal styling.

**Known compatibility note:** room galleries may not render correctly with **Twenty Twenty-Five** and other Full Site Editing (block) themes. For best results, we recommend a classic theme such as **Astra**, **OceanWP**, **GeneratePress**, or **Kadence**. Improved block theme support is planned for a future release.

= Can customers book multiple rooms? =
The current version supports single room bookings. Multiple room bookings are planned for a future release.

= Is the booking form customizable? =
Yes, you can customize colors, fields, and behavior through the settings panel. Advanced customization is possible via CSS and filters.

= Does it send confirmation emails? =
Yes, the plugin sends customizable HTML emails to both customers and administrators when bookings are created or status changes.

= Can I export bookings? =
Yes, you can export bookings to CSV or Excel format with filters for date range, room, and status.

= Is it compatible with page builders? =
Yes, the shortcodes work with Elementor, Gutenberg, WPBakery, Divi, and other page builders.

= Does it support RTL languages? =
Yes, the plugin is RTL compatible.

== Screenshots ==

1. Frontend booking form: customers select a room, pick dates, and submit their booking — all on a single page.
2. Frontend availability calendar showing daily room availability over a month.
3. Bookings list in the WordPress admin, with color-coded legend for imminent check-ins (red) and past stays (black).
4. Built-in export of bookings to CSV or Excel, with filters by date range, room, and status.
5. Room editor with custom post type and shortcode support in the page content.
6. Booking Manager general settings (VAT, currency, redirect page, privacy).
7. Frontend appearance customization: buttons, calendar colors, selection state.
8. Room slideshow settings: autoplay, navigation, colors.
9. Price summary table and shortbook colors customization.
10. Email settings: sender name, sender email, admin notifications.
11. Email branding: header/footer colors, logo, footer text.

== Changelog ==

= 1.0.0 =
Release Date: May 2026

* Initial public release
* Room management with custom post type
* Booking system with frontend form
* Availability calendar and management
* Seasonal and weekend pricing
* Children discount support
* Room supplements (per night, per person, per stay, one-time)
* Email notifications with customizable templates
* CSV and Excel export
* Italian translation included
* Responsive design
* Setup wizard for easy configuration

== Upgrade Notice ==

= 1.0.0 =
Initial release. Welcome to HRMpilot Room Manager!

== Additional Information ==

= Requirements =
* WordPress 5.8 or higher
* PHP 7.4 or higher
* MySQL 5.6 or higher

= Support =
For support questions, please use the [WordPress.org support forum](https://wordpress.org/support/plugin/hrmpilot-room-manager/).

= Documentation =
Full documentation, including module guides, shortcode reference, workflow examples and customization tips, is available at [hotelplugin.eu/doc/docs_english/index.html](https://hotelplugin.eu/doc/docs_english/index.html).

= Privacy =
This plugin stores booking information including customer names, emails, and phone numbers in your WordPress database. No data is sent to external servers. You are responsible for compliance with privacy laws (GDPR, etc.) in your jurisdiction.
