Complex tariff filter

More
9 years 3 months ago #5061 by trux
Complex tariff filter was created by trux
Hi, I have a question for you:
I have many complex tariff for each room ( each tariff is valid for a period of the year )
When I click on BOOK NOW from main menu', in every room is displayed all the complex tariff publshed, but i need to visualize only the complex tariff of this actual period. Is it possible to apply a fliter date for this kind of layout ?

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #5063 by vietvh
Replied by vietvh on topic Complex tariff filter
Hi,

Yes it is possible but require code modification.

You can see how available tariffs are prepared in this file:

/administrator/components/com_solidres/models/reservationasset.php (method getItem)

Then you can apply your custom filter there.

Regards,

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #5065 by trux
Replied by trux on topic Complex tariff filter
Hi, thanks for this informatiom.
I tryed to modify this file but without results...
Please can you help me for this?
If no check-in and check-out are inserted, I need to visualize only complex tariffs active for that period.
I have to open a support ticket ?
Thanks a lot and regards from Italy.

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #5067 by vietvh
Replied by vietvh on topic Complex tariff filter
Hi,

Nice week to you.

Please open a new support ticket and attach your modified file(s) so that we can check your modified code. You need to provide your Solidres version as well.

Regards,

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?