X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fcommon%2Fshow_vc_details_master.html;h=d172ecb00e1c1a83261bdd30498d736c64aeaf0f;hb=8cd27a4864bc76580ed0d9884694c833a616e8eb;hp=8264712fdfe50a70f99c7a0f4ede27d57949d1a2;hpb=fb4d2ffa6aae03b36e4db77be10c3d9dce4413f8;p=kivitendo-erp.git
diff --git a/templates/webpages/common/show_vc_details_master.html b/templates/webpages/common/show_vc_details_master.html
index 8264712fd..d172ecb00 100644
--- a/templates/webpages/common/show_vc_details_master.html
+++ b/templates/webpages/common/show_vc_details_master.html
@@ -1,133 +1,153 @@
+[% USE HTML %]
+
+[% BLOCK jump_block %]
+
+ 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 %]
+
+
+
+[% END %]
+
- Customer detailsVendor details ""
+ [% IF is_customer %]Customer details[% ELSE %]Vendor details[% END %] "[% HTML.escape(name) %]"
- Jump to Billing Address
- , Shipping Address ""
- , Contact Person ""
-
-
+ [%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %]
Billing Address
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) %] |
-
+ [% IF is_customer %]
KNr. beim Kunden |
- |
+ [% HTML.escape(c_vendor_id) %] |
-
+ [% END %]
Account Number |
- |
+ [% HTML.escape(account_number) %] |
Bank Code |
- |
+ [% HTML.escape(bank_code) %] |
Bank |
- |
+ [% HTML.escape(bank) %] |
- Customer typeVendor type |
- |
+ [% IF is_customer %]Customer type[% ELSE %]Vendor type[% END %] |
+ [% HTML.escape(business) %] |
Language |
- |
+ [% HTML.escape(language) %] |
Notes |
- |
+ [% HTML.escape(notes) %] |
@@ -135,70 +155,62 @@
-
-
-
-
-
+ [% FOREACH row = SHIPTO %]
- Jump to Billing Address
- , Shipping Address ""
- , Contact Person ""
-
-
+ [%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %]
- Shipping Address ""
+ 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 %]
@@ -209,107 +221,103 @@
-
+ [% FOREACH row = CONTACTS %]
- Jump to Billing Address
- , Shipping Address ""
- , Contact Person ""
-
-
+ [%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %]
- Contact Person ""
+ 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 %]