Discuss here how to configure hoteldruid and better use its features.
Moderator: marco
adam
Posts: 14 Joined: Fri Sep 02, 2005 2:34 pm
Post
by adam » Wed Nov 16, 2005 3:12 pm
Hi
Is there any way I can get the appartment number when a customer check on availability_template.php ?
i.e If there is space available I want to tell them what room they will have.
Thanks
A
marco
Posts: 1332 Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia
Post
by marco » Thu Nov 17, 2005 11:47 pm
If you want your customers to choose the apartment you can make a rate for each one, otherwise even if you tell them it could get changed later.
Marco
adam
Posts: 14 Joined: Fri Sep 02, 2005 2:34 pm
Post
by adam » Fri Nov 18, 2005 5:16 pm
Hi Marco
Thanks for the reply... I dont really want them to choose...
I am putting the avalibility requests in to a database. Like I mentioned before. And I what to know what appartment the system had free.
If it is sucessful I will let you have the code.
marco
Posts: 1332 Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia
Post
by marco » Fri Nov 18, 2005 5:37 pm
The name of freed apartment is contained in the variable $app_liberato. If more than 1 apartment was requested $app_liberato is an array with apartments names as values.
Marco
adam
Posts: 14 Joined: Fri Sep 02, 2005 2:34 pm
Post
by adam » Fri Nov 18, 2005 5:42 pm
thanks marco... That works fine!!