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.

CommentFileSizeAuthor
set-rates.jpg86.55 KBhacmx
set-availability.jpg108.17 KBhacmx
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

larowlan’s picture

Version: 6.x-2.x-dev » 7.x-1.x-dev

Yes 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.

hacmx’s picture

Hi, 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!

larowlan’s picture

the forms are built in hotel_booking.admin.inc and themed in hotel_booking.theme.inc