Install

Works with Drupal: ^9.4 || ^10.2 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 454.4 KB
MD5: f4c471293fd683c31bf241d2d328ca55
SHA-1: 614e31d038ed2f542df597055b467683f7179f12
SHA-256: b6a6b2c6901008b46bf0e056d2fb8d7c7ab4b8aa3627c2ca2a5c9fd987ed3be5
Download zip 631.15 KB
MD5: 8c50bfad7526d63ce0997b189adb4499
SHA-1: 8e56a170a77717accb172da1847ff8a904276957
SHA-256: 18aa4fc5c714676624e54d87d3b2ef14e94c3bae2d80441d9d1d6db1e7b25931

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.

Created by: afagioli
Created on: 5 Nov 2026 at 10:45 UTC
Last updated: 5 Nov 2026 at 10:45 UTC
Bug fixes
New features

Other releases