Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

** What is the release?

It’s the number of days from today to the first possible check-in date.

For example:

  • Today is 16/09/2021.

  • I have an apartment available, but it has release=1.

  • This means that I can’t make a reservation with check-in 16/09/2021. The apartment will be available for check-in 17/09/2021 onwards.

The most normal values for release are 0 (accepts check-ins for today) or 1 (accepts check-ins starting tomorrow), but there can be others.

When should we read this value?

If the Property Manager uses the same release for all the catalogue (let’s say release=1), the easiest way to deal with this is to put this restriction directly in the calendar datepicker.

If the user can’t pick today in the calendar, then they can’t make a reservation for today.

But, if the Property Manager has different release values for each property, then we can’t use this solution.

In this case, we must read the “release” value in DailyAvailability.

If the arrival_date is 16/09/2021, and today is 16/09/2021, and the property has release=1, then we show a message with something like:

“This apartment is not available for a check-in. Contact us to ask more information”information.”

or we don’t show the property at all, since it can’t be booked.

This is up to the developer and the client.

Option 2: Show all properties:

...