Install
Works with Drupal: ^9.4 || ^10.2 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
## 2.28.6 (2026-11-05)
### Summary
This release includes bug fixes for guest message tokens, the availability toggle in `beehotel_vertical`, the ConsecutiveNights calculation, and introduces the new `beehotel_receipt` submodule.
### Changes
* **Guest message tokens** (`7180cd0`): Fixed `guest_name`/`guest_surname` tokens to read from the billing profile address (previously anonymous orders returned "Ospite"), with title-case normalization. Implemented `balance_cash_currencies` via `currencyapi.service` with a fallback to `total_price` when the balance is zero. The `GuestMessages` controller now delegates to `beehotel.guest_message_tokens`. Declared `logger.channel.bee_hotel` and `guest_message_tokens` aliases in `bee_hotel.services.yml`. Registered the `guest_surname` token.
* **Availability toggle** (`6d6b1d8`): Fixed the availability state toggle in `beehotel_vertical`. In JS, only state `'2'` toggles back to `'1'`; states `0`, `1`, `3`, and `''` go to `'2'`. In Twig, normalized the state to `state_value` so that `0` and `3` are distinguishable. Removed the unused `EntityTypeManagerInterface` from `BeeHotelPermissions`.
* **New `beehotel_receipt` module** (`9d6d7c5`): Added a custom HTML receipt email for Commerce orders. Sends a personalized receipt when an order is placed, using a bundled Twig template. Reads property data, check-in/out times, bank details, and cancellation policy from `beehotel.settings`.
* **ConsecutiveNights** (`fbe0ea0`): Fixed the per-night increase calculation.
### Notes
* The `beehotel_receipt` submodule is new and must be enabled to use the custom receipt email.
* No database updates or disruptive changes are required for this release.