Page 1 of 1
Appartment number
Posted: Wed Nov 16, 2005 3:12 pm
by adam
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
Posted: Thu Nov 17, 2005 11:47 pm
by marco
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
Posted: Fri Nov 18, 2005 5:16 pm
by adam
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.
Posted: Fri Nov 18, 2005 5:37 pm
by marco
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
Posted: Fri Nov 18, 2005 5:42 pm
by adam
thanks marco... That works fine!!