Forum


Unavailable dates can be selected in the Departure calendar

More
4 months 3 weeks 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:

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

More
4 months 2 weeks 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 ?

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

More
4 months 1 week 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:

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

More
4 months 1 week 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:

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

More
4 months 1 week 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.

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

More
4 months 1 week ago #47400 by Ally
Your right.

Perhaps there is a logic issue that someone else can assist you

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

More
4 months 1 week 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

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

More
4 months 1 week 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.

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

More
4 months 1 week 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

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

More
4 months 5 days 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

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

More
2 months 2 days ago #47452 by b3studio
Thank you for accepting my feauture request ( github.com/WoollyinWalesIT/jomres/issues/391 )
I have made changes to j05000bookingobject.class.php.

There is one more "bug" affecting the the booking mechanism, i will try to explain it with an example, referring to our site:

Let's consider Maestrale apartment ( www.turistasiciliano.it/appartamenti/mae...ni-struttura?lang=it ),
in July it is reserved from 20 to 28


Note that day 20 can be the checkout date for a new booking.
So if you make a search in the apartments listing page, for ex. from July 6 to July 20, you will see Maestrale in search result (even if day 20 is marked in red)


At this point clicking on "Maestrale" title will bring you to the details page, with the booking module on the right, which has already selected July 6 as arrival date and July 20 as departure date


...but if you visit the details page in any other way you will be not able to select 20 as departure date !


So, beside the fact that the calendar showed in the listing page could be misleading, there is an incongruence with bookings that can be made starting form the result of a search, as i described, and bookings that can be made selecting dates directly on the details page.
Attachments:

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

More
2 months 1 day ago #47453 by Mirko
Same problem here: Without changing the j05000bookingobject.class.php the departure calendar don't shows the blocked days (I did not recognized this before). After applying the changes the departure calendar shows the behavior as described by b3studio: The arrival day of the next guests can not be selected as departure day of the current booking (example: the accommodation is booked from 20.06. -> for a new booking it's not possible to select the 20.06. in the calendar as departure day, last possible day is 19.06.).

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

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.