From 1967b595a33f1ac4436d7bef70e0b8f23813ce04 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 5 Aug 2008 12:50:56 +0000 Subject: [PATCH] =?utf8?q?Kunden-/Lieferantendetails-Popup-Fenster:=20Schl?= =?utf8?q?eifen=20f=C3=BCr=20die=20Sprung-Links=20in=20eigenen=20Block=20a?= =?utf8?q?usgelagert,=20damit=20die=20Schleifenvariable=20"contact"=20nich?= =?utf8?q?t=20den=20Wert=20aus=20$form=20=C3=BCberschreibt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../webpages/common/show_vc_details_de.html | 48 +++++++++++-------- .../common/show_vc_details_master.html | 48 +++++++++++-------- 2 files changed, 56 insertions(+), 40 deletions(-) diff --git a/templates/webpages/common/show_vc_details_de.html b/templates/webpages/common/show_vc_details_de.html index 8896c97d6..2e2e54544 100644 --- a/templates/webpages/common/show_vc_details_de.html +++ b/templates/webpages/common/show_vc_details_de.html @@ -1,14 +1,34 @@ -[% USE HTML %] +[% USE HTML %] + +[% BLOCK jump_block %] +

+ Springe zu Rechnungsadresse + [%- FOREACH shipto = SHIPTO %] + , + + Lieferadresse + "[% HTML.escape(shipto.shiptoname) %]" + + [%- END %] + [%- FOREACH contact = CONTACTS %] + , + + Ansprechpartner + "[% HTML.escape(contact.cp_name) %]" + + [%- END %] +

+ +
+[% END %] + +
[% IF is_customer %]Kundendetails[% ELSE %]Lieferantendetails[% END %] "[% HTML.escape(name) %]"
-

Springe zu Rechnungsadresse - [% FOREACH shipto = SHIPTO %], Lieferadresse "[% HTML.escape(shipto.shiptoname) %]"[% END %] - [% FOREACH contact = CONTACTS %], Ansprechpartner "[% HTML.escape(contact.cp_name) %]"[% END %]

- -
+ [%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %]
Rechnungsadresse
@@ -135,19 +155,11 @@ - - - - [% FOREACH row = SHIPTO %]
-

Springe zu Rechnungsadresse - [% FOREACH shipto = SHIPTO %], Lieferadresse "[% HTML.escape(shipto.shiptoname) %]"[% END %] - [% FOREACH contact = CONTACTS %], Ansprechpartner "[% HTML.escape(contact.cp_name) %]"[% END %]

- -
+ [%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %]
Lieferadresse "[% HTML.escape(row.shiptoname) %]"
@@ -213,11 +225,7 @@
-

Springe zu Rechnungsadresse - [% FOREACH shipto = SHIPTO %], Lieferadresse "[% HTML.escape(shipto.shiptoname) %]"[% END %] - [% FOREACH contact = CONTACTS %], Ansprechpartner "[% HTML.escape(contact.cp_name) %]"[% END %]

- -
+ [%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %]
Ansprechpartner "[% HTML.escape(row.cp_name) %]"
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) %]"
-- 2.20.1