Forum


Unavailable dates can be selected in the Departure calendar

More
1 month 1 day ago #47385 by b3studio
Hello,
i'm making some customization and today i found a strange behaviour in the details page:
when i select the Arrival date the unavailable days are marked with a different style and they cannot be selected, this is correct,
but when i select the Departure date those days are selectable !
Of course if i select one of those days the component will telll me that the selected interval is not available for booking
For example in one property days from 1 to 5 and from 25 to 30 in June are not available
this is what happen for Arrival

and this for Departure


You can check by yourself on this page
Attachments:
More
3 weeks 6 days ago #47388 by b3studio
I am not able to understand why this is affecting the Departure calendar only.

Is there someone who can give a suggestion please ?
More
3 weeks 6 hours ago #47396 by b3studio
I am on Jomres 9.9.19 and i'm using j06000ui_availability_calendar.class.php and j06000viewproperty.class.php form version 9.16 because of the new feature in the UI calendar
I applied to j01010listpropertys.class.php a similar change for passing start day/month/year as variables to the calendar..

I have not modified other minicomponents.

Please i need a suggestion to understand why Departure calendar has this issue :unsure: :unsure:
More
2 weeks 6 days ago #47397 by Ally
I wonder if this is your browser or maybe you have fixed it already.

I followed your link and saw 2 calendars.

Please see 4 screenshots attached

Attachments:
More
2 weeks 6 days ago #47398 by b3studio

Ally wrote: I wonder if this is your browser or maybe you have fixed it already.

I followed your link and saw 2 calendars.

Please see 4 screenshots attached


Hello,
thank you for your answer but your screenshots don't show the problem.
You showed that if you select for ex. the 13 of March as arrival date than the system will disable all dates up to 13 in Departure calendar,
this is correct but the problem i described is related with days which are already unavailable such as from 1 to 5 and from 25 to 30 in June, as i showed in my screenshots.
More
2 weeks 5 days ago #47400 by Ally
Your right.

Perhaps there is a logic issue that someone else can assist you
More
2 weeks 5 days ago #47402 by Vince Wooll
It's down to expediency. Every time you build data, computation power is used. More power = slower responses. In my mind the important calendar is the arrival calendar therefore we spend time blocking off dates in the arrival calendar. I don't believe that the departure calendar is as important in this respect therefore we don't waste time building the same blocking for the departure dates.

Follow me on twitter
Do not send me PMs, if you need to contact me use the ticket system.
Read this before you customise Jomres files
More
2 weeks 4 days ago #47404 by b3studio

Vince Wooll wrote: It's down to expediency. Every time you build data, computation power is used. More power = slower responses. In my mind the important calendar is the arrival calendar therefore we spend time blocking off dates in the arrival calendar. I don't believe that the departure calendar is as important in this respect therefore we don't waste time building the same blocking for the departure dates.


Hello Vince,
are you telling to me that this is the normal behaviour in Jomres ?
I've never noticed this before.

Please tell me : If i would need to enable the blocking feature also for Departure dates, a ticket would be enough or a custom work would be required ?
In the latter case please give me a quotation.
More
2 weeks 4 days ago #47405 by Vince Wooll
Unfortunately I'm tied up with other, Jomres related projects and I can't take on any more work at all.

Feel free to raise a feature request here so that I don't lose it, however.

github.com/WoollyinWalesIT/jomres/issues

Follow me on twitter
Do not send me PMs, if you need to contact me use the ticket system.
Read this before you customise Jomres files
More
2 weeks 1 day ago #47406 by b3studio

Vince Wooll wrote: Unfortunately I'm tied up with other, Jomres related projects and I can't take on any more work at all.

Feel free to raise a feature request here so that I don't lose it, however.

github.com/WoollyinWalesIT/jomres/issues


I've raised a feature request : https://github.com/WoollyinWalesIT/jomres/issues/391

ABOUT US

Vince portrait smallaladar

Developed and maintained by Vince Wooll and Aladar Barthi, Jomres was initially conceived in early 2005 as a Mambo based solution to a client’s hotel management needs. While it wasn't originally expected to be an online booking system it quickly morphed into one as users requested more and more features.

As the number of feature requests grew Vince knew that he would need to dedicate more time to the project and in July 2005 Jomres was formally released as a commercial project. Since then, Jomres has become one of Mambo’s, and now Joomla’s, longest running projects. It has survived various versions of Mambo, then Joomla 1.0, 1.5, 1.6, 1.7, 2.5 and 3.

Aladar joined the project in 2010 after using Jomres for his own projects. He was active on the forum, helping other members of the community and eventually Vince invited him to join the team. He has since become an integral part of the project and has contributed significantly to it's development over the years.

Whilst not formally part of the Jomres project, Rodrigo Rocco and the team have become firm friends. Rod is a freelancer who specialises in doing custom work for Jomres users and developing custom plugins for the system that take advantage of it's modular design. He has built many useful extensions including his fabulous new Valentina Template Package.

 

Jomres and the Jomres Logo is trademarked and can't be used without written consent from the owner.

www.jomres.net is not affiliated with or endorsed by the Joomla! Project, Open Source Matters or the WordPress project. The Joomla! & WordPress names and logos are used under a limited license granted by Open Source Matters and the WordPress Projects.

© Copyright 2005 - 2018 Woollyinwales IT.