X-Git-Url: http://wagnertech.de/git?p=kivitendo-erp.git;a=blobdiff_plain;f=templates%2Fwebpages%2Fcommon%2Fshow_vc_details.html;fp=templates%2Fwebpages%2Fcommon%2Fshow_vc_details.html;h=cd9d4b3a4bf2fb36eeff8d3e0835636af7755c70;hp=f3749803372c6fec2e00180a391857de70f2358a;hb=b293ff8ad52fc76ba0c44783e3982418114d6b08;hpb=d4925a8b60f04674885e30d9316dc0263f8b9a84 diff --git a/templates/webpages/common/show_vc_details.html b/templates/webpages/common/show_vc_details.html index f37498033..cd9d4b3a4 100644 --- a/templates/webpages/common/show_vc_details.html +++ b/templates/webpages/common/show_vc_details.html @@ -1,11 +1,18 @@ [%- USE T8 %] -[% USE HTML %] +[% USE HTML %][%- USE LxERP -%]

[% IF is_customer %][% 'Customer details' | $T8 %][% ELSE %][% 'Vendor details' | $T8 %][% END %] "[% HTML.escape(name) %]"

[% BLOCK jump_block %] [%- IF SHIPTO.size || CONTACTS.size %]

[% 'Jump to' | $T8 %] [% 'Billing Address' | $T8 %] + [%- FOREACH additional_billing_addresses = ADDITIONAL_BILLING_ADDRESSES %] + , + + [% 'Additional Billing Address' | $T8 %] + "[% HTML.escape(additional_billing_addresses.name) %]" + + [%- END %] [%- FOREACH shipto = SHIPTO %] , @@ -26,7 +33,7 @@ [%- END %] [% END %] - [%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %] + [%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO, ADDITIONAL_BILLING_ADDRESSES = ADDITIONAL_BILLING_ADDRESSES %]

[% 'Billing Address' | $T8 %]

@@ -182,13 +189,79 @@ + [% FOREACH row = ADDITIONAL_BILLING_ADDRESSES %] + +
+ + [%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO, ADDITIONAL_BILLING_ADDRESSES = ADDITIONAL_BILLING_ADDRESSES %] + +

[% 'Additional Billing Address' | $T8 %] "[% HTML.escape(row.name) %]"

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
[% 'Default Billing Address' | $T8 %][% row.default_address ? LxERP.t8('yes') : LxERP.t8('no') %]
[% 'Name' | $T8 %][% HTML.escape(row.name) %]
[% 'Department' | $T8 %][% HTML.escape(row.department_1) %][% IF row.department_2 %][% IF row.department_1 %]; [% END %][% HTML.escape(row.department_2) %][% END %]
[% 'Street' | $T8 %][% HTML.escape(row.street) %]
[% 'Zip, City' | $T8 %][% HTML.escape(row.zipcode) %] [% HTML.escape(row.city) %]
[% 'Country' | $T8 %][% HTML.escape(row.country) %]
[% 'GLN' | $T8 %][% HTML.escape(row.gln) %]
[% 'Contact' | $T8 %][% HTML.escape(row.contact) %]
[% 'Phone' | $T8 %][% HTML.escape(row.phone) %]
[% 'Fax' | $T8 %][% HTML.escape(row.fax) %]
[% 'E-mail' | $T8 %][% HTML.escape(row.email) %]
+ [% END %] [% FOREACH row = SHIPTO %]
- [%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %] + [%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO, ADDITIONAL_BILLING_ADDRESSES = ADDITIONAL_BILLING_ADDRESSES %]

[% 'Shipping Address' | $T8 %] "[% HTML.escape(row.shiptoname) %]"

@@ -259,7 +332,7 @@
- [%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %] + [%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO, ADDITIONAL_BILLING_ADDRESSES = ADDITIONAL_BILLING_ADDRESSES %]

[% 'Contact Person' | $T8 %] "[% HTML.escape(row.cp_name) %]"