Page 1 of 1

Help - How to add a company name to "client data"?

Posted: Wed May 04, 2011 1:27 pm
by deedee
Heyho,

as i know, if i click on "client", i can add some details (surname, name, nickname, gender, nationality... ). how can i add a company name + company adress ? a lot of ppl, that book some nights in a hotel are paid by their companies.therefore the bill has to include the company name and adress.

if it isn't possible, can tell me someone how/where to change the issues, that i don't need:

Nation of birth: -> shall be changed to "Company Name"
Region of birth: -> shall be changed to "Company Adress"
City of birth: -> shall be changed to "Company City"

i got a bit experience in html, but i don't want to kill the dynamic features

Re: Help - How to add a company name to "client data"?

Posted: Thu May 05, 2011 9:12 am
by deedee
update: i changed the terms as i wanted:
Nation of birth: -> now changed to "Company Name"
Region of birth: -> now changed to "Company Adress"
City of birth: -> now changed to "Company City"

but can anyone tell me the variables for "Nation of birth" "Region of birth" "City of birth"? i don't talk about these [variables]... i want to add these 3 Information to the guest-table (visualizza_tabelle.php).

first part would be
echo "<td>".mex("Company Name",$pag)."</td>
<td class=\"smallfont\">".mex("Company Adress",$pag)."</td>
<td>".mex("Company City",$pag)."</td>";

for the second part i need the variables:

echo "<td>$variable_for_"Nation of birth"</td>
<td>$variable_for_"Region of birth"</td>
<td>$variable_for_"City of birth"</td>";

Re: Help - How to add a company name to "client data"?

Posted: Tue Dec 11, 2012 6:00 pm
by marco
The clients table can't be customized for now, but you can create your own hoteldruid document to display the information you need.

Regards,
Marco