I'm following the documentation and I'm now making some tests regarding the booking process.
I have installed the latest dev version of BAT so I have now a BAT Booking Entity which is also available in Rules and has Start Date and End Date defined.
I'm stuck at the point of checking availability through Rules.

In other words, I'm trying to accomplish the point 1 that I can read in
http://docs.roomify.us/bat/drupal/take_bookings.html#booking-form
"
The booking form can have any fields our use case requires - in this case we just add a “Confirm Booking” button that will:
1) Re-check availability
2) Create an event that sets the availability of a meeting room to booking
3) Create a booking entity
"

Do you have any hint?

CommentFileSizeAuthor
#9 sito7.zip424.22 KBdrupaljunior
#5 Book This - error 200.JPG24.63 KBdrupaljunior

Comments

drupaljunior created an issue. See original summary.

drupaljunior’s picture

Title: How to check » How to check Availability using Rules
acrollet’s picture

There is now a bat_booking module available in the latest dev release of bat - you probably want to start there

acrollet’s picture

Status: Active » Fixed
drupaljunior’s picture

Category: Support request » Bug report
Status: Fixed » Active
StatusFileSize
new24.63 KB

I have installed and enabled all the modules following the instructions in the guide, I have also enable the "BAT Booking" and "BAT Booking Example".

In the View that is used to Search for Availability I try to to add the field called:
"Indexed Type: Book this
Display links to create a new booking."

After selecting it, I'm getting an error, which makes the view unusable.
The printout of the error is attached.

acrollet’s picture

Title: How to check Availability using Rules » Views booking link handler not working
Component: Documentation » Code
acrollet’s picture

@drupaljunior - can you post a db dump if there is not private information on your site? This would make things a lot quicker to debug.

drupaljunior’s picture

Hi Acrollet, there is no private information, actually there is no information at all (it is a clean installation just to try BAT).
It is the first time that I'm doing a DB dump, I generated the file attached, hope it is correct.

drupaljunior’s picture

StatusFileSize
new424.22 KB

  • nicola85 committed e92a9d8 on 7.x-1.x
    Issue #2789423: Improve 'BAT Booking Example'
    
acrollet’s picture

Status: Active » Closed (fixed)