X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/2d3f862b7af94f31860dd264eef7c1bc7de7eae2..549f187d3a2b1d15f96c4556714666ed954447bb:/templates/webpages/common/show_vc_details.html
diff --git a/templates/webpages/common/show_vc_details.html b/templates/webpages/common/show_vc_details.html
index 49363ea01..cd9d4b3a4 100644
--- a/templates/webpages/common/show_vc_details.html
+++ b/templates/webpages/common/show_vc_details.html
@@ -1,9 +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 %]
,
@@ -21,17 +30,12 @@
+[%- END %]
[% END %]
-
-
-
- [% IF is_customer %][% 'Customer details' | $T8 %][% ELSE %][% 'Vendor details' | $T8 %][% END %] "[% HTML.escape(name) %]"
-
-
- [%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %]
+ [%- INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO, ADDITIONAL_BILLING_ADDRESSES = ADDITIONAL_BILLING_ADDRESSES %]
- [% 'Billing Address' | $T8 %]
+ [% 'Billing Address' | $T8 %]
@@ -69,6 +73,11 @@
| [% HTML.escape(country) %] |
+
+ | [% 'GLN' | $T8 %] |
+ [% HTML.escape(gln) %] |
+
+
| [% 'Contact Person' | $T8 %] |
[% IF greeting %][% HTML.escape(greeting) %] [% END %][% HTML.escape(contact) %] |
@@ -101,14 +110,26 @@
| [% 'Discount' | $T8 %] |
- [% HTML.escape(discount) %]% |
+ [% HTML.escape(discount_as_percent) %]% |
+ [% IF is_customer %]
+
+ | [% 'Pricegroup' | $T8 %] |
+ [% HTML.escape(pricegroup) %] |
+
+ [% END %]
+
| [% 'Payment Terms' | $T8 %] |
[% HTML.escape(payment_terms) %] |
+
+ | [% 'Delivery Terms' | $T8 %] |
+ [% HTML.escape(delivery_terms) %] |
+
+
| [% 'Tax Number' | $T8 %] |
[% HTML.escape(taxnumber) %] |
@@ -141,6 +162,15 @@
[% HTML.escape(bank) %] |
+
+ | [% 'IBAN' | $T8 %] |
+ [% HTML.escape(iban) %] |
+
+
+
+ | [% 'BIC' | $T8 %] |
+ [% HTML.escape(bic) %] |
+
| [% IF is_customer %][% 'Customer type' | $T8 %][% ELSE %][% 'Vendor type' | $T8 %][% END %] |
[% HTML.escape(business) %] |
@@ -159,15 +189,81 @@
+ [% 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) %]"
+ [% 'Shipping Address' | $T8 %] "[% HTML.escape(row.shiptoname) %]"