[% USE HTML %]
[% IF is_customer %]Customer details[% ELSE %]Vendor details[% END %] "[% HTML.escape(name) %]"

Jump to Billing Address [% FOREACH shipto = SHIPTO %], Shipping Address "[% HTML.escape(shipto.shiptoname) %]"[% END %] [% FOREACH contact = CONTACTS %], Contact Person "[% HTML.escape(contact.cp_name) %]"[% END %]


Billing Address
[% IF is_customer %] [% END %]
Customer Number [% HTML.escape(customernumber) %]
Company Name [% HTML.escape(name) %]
Department [% HTML.escape(department_1) %][% IF department_2 %][% IF department_1 %]; [% END %][% HTML.escape(department_2) %][% END %]
Street [% HTML.escape(street) %]
Zip, City [% HTML.escape(zipcode) %] [% HTML.escape(city) %]
Country [% HTML.escape(country) %]
Contact Person [% IF greeting %][% HTML.escape(greeting) %] [% END %][% HTML.escape(contact) %]
Phone [% HTML.escape(phone) %]
Fax [% HTML.escape(fax) %]
E-mail [% HTML.escape(email) %]
Homepage [% HTML.escape(homepage) %]
Credit Limit [% HTML.escape(creditlimit) %]
Discount [% HTML.escape(discount) %]%
Payment Terms [% HTML.escape(payment_terms) %]
Tax Number [% HTML.escape(taxnumber) %]
USt-IdNr. [% HTML.escape(ustid) %]
KNr. beim Kunden [% HTML.escape(c_vendor_id) %]
Account Number [% HTML.escape(account_number) %]
Bank Code [% HTML.escape(bank_code) %]
Bank [% HTML.escape(bank) %]
[% IF is_customer %]Customer type[% ELSE %]Vendor type[% END %] [% HTML.escape(business) %]
Language [% HTML.escape(language) %]
Notes [% HTML.escape(notes) %]
[% FOREACH row = SHIPTO %]

Jump to Billing Address [% FOREACH shipto = SHIPTO %], Shipping Address "[% HTML.escape(shipto.shiptoname) %]"[% END %] [% FOREACH contact = CONTACTS %], Contact Person "[% HTML.escape(contact.cp_name) %]"[% END %]


Shipping Address "[% HTML.escape(row.shiptoname) %]"
Company Name [% HTML.escape(row.shiptoname) %]
Department [% HTML.escape(row.shiptodepartment_1) %][% IF row.shiptodepartment_2 %][% IF row.shiptodepartment_1 %]; [% END %][% HTML.escape(row.shiptodepartment_2) %][% END %]
Street [% HTML.escape(row.shiptostreet) %]
Zip, City [% HTML.escape(row.shiptozipcode) %] [% HTML.escape(row.shiptocity) %]
Country [% HTML.escape(row.shiptocountry) %]
Contact Person [% HTML.escape(row.shiptocontact) %]
Phone [% HTML.escape(row.shiptophone) %]
Fax [% HTML.escape(row.shiptofax) %]
E-mail [% HTML.escape(row.shiptoemail) %]
[% END %] [% FOREACH row = CONTACTS %]

Jump to Billing Address [% FOREACH shipto = SHIPTO %], Shipping Address "[% HTML.escape(shipto.shiptoname) %]"[% END %] [% FOREACH contact = CONTACTS %], Contact Person "[% HTML.escape(contact.cp_name) %]"[% END %]


Contact Person "[% HTML.escape(row.cp_name) %]"
Greeting [% HTML.escape(row.cp_greeting) %]
Title [% HTML.escape(row.cp_title) %]
Given Name [% HTML.escape(row.cp_givenname) %]
Name [% HTML.escape(row.cp_name) %]
Department [% HTML.escape(row.cp_abteilung) %]
Phone1 [% HTML.escape(row.cp_phone1) %]
Phone2 [% HTML.escape(row.cp_phone2) %]
Fax [% HTML.escape(row.cp_fax) %]
Mobile1 [% HTML.escape(row.cp_mobile1) %]
Mobile2 [% HTML.escape(row.cp_mobile2) %]
Sat. Phone [% HTML.escape(row.cp_satphone) %]
Sat. Fax [% HTML.escape(row.cp_satfax) %]
Project [% HTML.escape(row.cp_project) %]
E-mail [% HTML.escape(row.cp_email) %]
Private Phone [% HTML.escape(row.cp_privatphone) %]
Private E-mail [% HTML.escape(row.cp_privatemail) %]
Birthday [% HTML.escape(row.cp_birthday) %]
[% END %]