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?
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | sito7.zip | 424.22 KB | drupaljunior |
| #5 | Book This - error 200.JPG | 24.63 KB | drupaljunior |
Comments
Comment #2
drupaljunior commentedComment #3
acrollet commentedThere is now a bat_booking module available in the latest dev release of bat - you probably want to start there
Comment #4
acrollet commentedComment #5
drupaljunior commentedI 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.
Comment #6
acrollet commentedComment #7
acrollet commented@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.
Comment #8
drupaljunior commentedHi 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.
Comment #9
drupaljunior commentedComment #11
acrollet commented