[%- USE T8 %] [% USE HTML %] [% BLOCK jump_block %]

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


[% END %]
[% IF is_customer %][% 'Customer details' | $T8 %][% ELSE %][% 'Vendor details' | $T8 %][% END %] "[% HTML.escape(name) %]"
[%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %]
[% 'Billing Address' | $T8 %]
[% IF is_customer %] [% ELSE %] [% END %] [% IF is_customer %] [% END %]
[% 'Customer Number' | $T8 %] [% HTML.escape(customernumber) %][% 'Vendor Number' | $T8 %] [% HTML.escape(vendornumber) %]
[% 'Company Name' | $T8 %] [% HTML.escape(name) %]
[% 'Department' | $T8 %] [% HTML.escape(department_1) %][% IF department_2 %][% IF department_1 %]; [% END %][% HTML.escape(department_2) %][% END %]
[% 'Street' | $T8 %] [% HTML.escape(street) %]
[% 'Zip, City' | $T8 %] [% HTML.escape(zipcode) %] [% HTML.escape(city) %]
[% 'Country' | $T8 %] [% HTML.escape(country) %]
[% 'Contact Person' | $T8 %] [% IF greeting %][% HTML.escape(greeting) %] [% END %][% HTML.escape(contact) %]
[% 'Phone' | $T8 %] [% HTML.escape(phone) %]
[% 'Fax' | $T8 %] [% HTML.escape(fax) %]
[% 'E-mail' | $T8 %] [% HTML.escape(email) %]
[% 'Homepage' | $T8 %] [% HTML.escape(homepage) %]
[% 'Credit Limit' | $T8 %] [% HTML.escape(creditlimit) %]
[% 'Discount' | $T8 %] [% HTML.escape(discount) %]%
[% 'Payment Terms' | $T8 %] [% HTML.escape(payment_terms) %]
[% 'Tax Number' | $T8 %] [% HTML.escape(taxnumber) %]
[% 'USt-IdNr.' | $T8 %] [% HTML.escape(ustid) %]
[% 'KNr. beim Kunden' | $T8 %] [% HTML.escape(c_vendor_id) %]
[% 'Account Number' | $T8 %] [% HTML.escape(account_number) %]
[% 'Bank Code' | $T8 %] [% HTML.escape(bank_code) %]
[% 'Bank' | $T8 %] [% HTML.escape(bank) %]
[% IF is_customer %][% 'Customer type' | $T8 %][% ELSE %][% 'Vendor type' | $T8 %][% END %] [% HTML.escape(business) %]
[% 'Language' | $T8 %] [% HTML.escape(language) %]
[% 'Notes' | $T8 %] [% HTML.escape(notes) %]
[% FOREACH row = SHIPTO %]
[%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %]
[% 'Shipping Address' | $T8 %] "[% HTML.escape(row.shiptoname) %]"
[% 'Company Name' | $T8 %] [% HTML.escape(row.shiptoname) %]
[% 'Department' | $T8 %] [% HTML.escape(row.shiptodepartment_1) %][% IF row.shiptodepartment_2 %][% IF row.shiptodepartment_1 %]; [% END %][% HTML.escape(row.shiptodepartment_2) %][% END %]
[% 'Street' | $T8 %] [% HTML.escape(row.shiptostreet) %]
[% 'Zip, City' | $T8 %] [% HTML.escape(row.shiptozipcode) %] [% HTML.escape(row.shiptocity) %]
[% 'Country' | $T8 %] [% HTML.escape(row.shiptocountry) %]
[% 'Contact Person' | $T8 %] [% HTML.escape(row.shiptocontact) %]
[% 'Phone' | $T8 %] [% HTML.escape(row.shiptophone) %]
[% 'Fax' | $T8 %] [% HTML.escape(row.shiptofax) %]
[% 'E-mail' | $T8 %] [% HTML.escape(row.shiptoemail) %]
[% END %] [% FOREACH row = CONTACTS %]
[%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %]
[% 'Contact Person' | $T8 %] "[% HTML.escape(row.cp_name) %]"
[% 'Greeting' | $T8 %] [% HTML.escape(row.cp_greeting) %]
[% 'Title' | $T8 %] [% HTML.escape(row.cp_title) %]
[% 'Given Name' | $T8 %] [% HTML.escape(row.cp_givenname) %]
[% 'Name' | $T8 %] [% HTML.escape(row.cp_name) %]
[% 'Department' | $T8 %] [% HTML.escape(row.cp_abteilung) %]
[% 'Phone1' | $T8 %] [% HTML.escape(row.cp_phone1) %]
[% 'Phone2' | $T8 %] [% HTML.escape(row.cp_phone2) %]
[% 'Fax' | $T8 %] [% HTML.escape(row.cp_fax) %]
[% 'Mobile1' | $T8 %] [% HTML.escape(row.cp_mobile1) %]
[% 'Mobile2' | $T8 %] [% HTML.escape(row.cp_mobile2) %]
[% 'Sat. Phone' | $T8 %] [% HTML.escape(row.cp_satphone) %]
[% 'Sat. Fax' | $T8 %] [% HTML.escape(row.cp_satfax) %]
[% 'Project' | $T8 %] [% HTML.escape(row.cp_project) %]
[% 'E-mail' | $T8 %] [% HTML.escape(row.cp_email) %]
[% 'Private Phone' | $T8 %] [% HTML.escape(row.cp_privatphone) %]
[% 'Private E-mail' | $T8 %] [% HTML.escape(row.cp_privatemail) %]
[% 'Birthday' | $T8 %] [% HTML.escape(row.cp_birthday) %]
[% END %]