Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, first of all, I want to thank you for the excellent work in this module. Now my question, is whether it is possible to include a date picker for the implementation of changes in availability and prices. Attached image of what I intend to do. I would like to help me where to start and if it is possible to do what I'm asking.
Thank you.
Comment | File | Size | Author |
---|---|---|---|
set-rates.jpg | 86.55 KB | hacmx | |
set-availability.jpg | 108.17 KB | hacmx |
Comments
Comment #1
larowlanYes this is do-able.
Are you proposing to do it with javascript (like the 'Set all in January to') or via submitting the form?
Really the feature should go into the D7 version then get backported.
Comment #2
hacmx CreditAttribution: hacmx commentedHi, thanks for your reply. I think in my case it is better to use the form to make changes to the availability / price. Reviewing the code of your module, I have not found where to start. Which files I have to change to make these changes?
Thanks!
Comment #3
larowlanthe forms are built in hotel_booking.admin.inc and themed in hotel_booking.theme.inc