I want to force a service if a room is booked during specific seasons. I don’t think this is possible right now, so my idea was to force the click on this service and prevent the unchecking of it. But for this I need to detect to search season from CheckIn/CheckOut dates.
I’ve seen in the code that the plugin is trying to calculate the rate for every season within the dates and show the min price for them. But I can’t get a snippet of code to search those seasons …
Can you show me the path to what I want to achieve ? It don’t have to be a full code, just if you can explain me which class /function should i use.
Thank you !
This topic was modified 2 years ago by Julien Verhaeghe.