X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fcommon%2Fshow_vc_details_master.html;h=d172ecb00e1c1a83261bdd30498d736c64aeaf0f;hb=588772c3c02c44d67cb8672749bac5f2689c2c3c;hp=ca6fca25fbc9f3d5c1ed3fbabb89e869a7f48270;hpb=1a39394f99bd1a1870fe148cadfe52942096a802;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 ca6fca25f..d172ecb00 100644
--- a/templates/webpages/common/show_vc_details_master.html
+++ b/templates/webpages/common/show_vc_details_master.html
@@ -1,14 +1,34 @@
-[% USE HTML %]
+[% 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 %]
+
+
[% 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 %]
-
-
+ [%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %]
Billing Address
@@ -135,19 +155,11 @@
-
-
-
-
[% 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 %]
-
-
+ [%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %]
Shipping Address "[% HTML.escape(row.shiptoname) %]"
@@ -213,11 +225,7 @@
- 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 %]
-
-
+ [%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %]
Contact Person "[% HTML.escape(row.cp_name) %]"