Appartment number

Discuss here how to configure hoteldruid and better use its features.

Moderator: marco

Post Reply
adam
Posts: 14
Joined: Fri Sep 02, 2005 2:34 pm

Appartment number

Post 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
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Post 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
adam
Posts: 14
Joined: Fri Sep 02, 2005 2:34 pm

Post 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.
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Post 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
adam
Posts: 14
Joined: Fri Sep 02, 2005 2:34 pm

Post by adam »

thanks marco... That works fine!!
Post Reply