- [% IF ( conf_vertreter ) %]
+ [% IF ( INSTANCE_CONF.get_vertreter ) %]
[% IF SELF.is_vendor() %]
@@ -76,8 +77,8 @@
| [% 'Department' | $T8 %] |
- [% L.input_tag('cv.department_1', SELF.cv.department_1, size = 16, maxlength = 75) %]
- [% L.input_tag('cv.department_2', SELF.cv.department_2, size = 16, maxlength = 75) %]
+ [% L.input_tag('cv.department_1', SELF.cv.department_1, size = 16) %]
+ [% L.input_tag('cv.department_2', SELF.cv.department_2, size = 16) %]
|
@@ -85,10 +86,13 @@
[% 'Street' | $T8 %] |
- [% L.input_tag('cv.street', SELF.cv.street, size = 35, maxlength = 75) %]
+ [% L.input_tag('cv.street', SELF.cv.street, size = 35) %]
|
@@ -97,8 +101,8 @@
[% 'Zipcode' | $T8 %]/[% 'City' | $T8 %] |
- [% L.input_tag('cv.zipcode', SELF.cv.zipcode, size = 5 maxlength = 10) %]
- [% L.input_tag('cv.city', SELF.cv.city, size = 30 maxlength = 75) %]
+ [% L.input_tag('cv.zipcode', SELF.cv.zipcode, size = 5) %]
+ [% L.input_tag('cv.city', SELF.cv.city, size = 30) %]
|
@@ -106,7 +110,15 @@
[% 'Country' | $T8 %] |
- [% L.input_tag('cv.country', SELF.cv.country, size = 30 maxlength = 75) %]
+ [% L.input_tag('cv.country', SELF.cv.country, size = 30) %]
+ |
+
+
+
+ [% 'GLN' | $T8 %] |
+
+
+ [% L.input_tag('cv.gln', SELF.cv.gln, size = 30) %]
|
@@ -114,7 +126,7 @@
[% 'Contact' | $T8 %] |
- [% L.input_tag('cv.contact', SELF.cv.contact, size = 28 maxlength = 75) %]
+ [% L.input_tag('cv.contact', SELF.cv.contact, size = 28) %]
|
@@ -130,7 +142,7 @@
[% 'Fax' | $T8 %] |
- [% L.input_tag('cv.fax', SELF.cv.fax, size = 30 maxlength = 30) %]
+ [% L.input_tag('cv.fax', SELF.cv.fax, size = 30) %]
|
@@ -146,7 +158,7 @@
[% 'Cc E-mail' | $T8 %] |
- [% L.input_tag('cv.cc', SELF.cv.bcc, size = 45) %]
+ [% L.input_tag('cv.cc', SELF.cv.cc, size = 45) %]
|
@@ -157,10 +169,19 @@
[% L.input_tag('cv.bcc', SELF.cv.bcc, size = 45) %]
-
+ [% IF ( SELF.is_customer() ) %]
+
+ [% 'Email of the invoice recipient' | $T8 %] |
+ [% L.input_tag('cv.invoice_mail', SELF.cv.invoice_mail, size = 45) %] |
+
+
+ [% 'Email of the delivery order recipient' | $T8 %] |
+ [% L.input_tag('cv.delivery_order_mail', SELF.cv.delivery_order_mail, size = 45) %] |
+
+ [% END %]
- [% IF homepage %]
+ [% IF SELF.cv.homepage %]
[% 'Homepage' | $T8 %]
[% ELSE %]
[% 'Homepage' | $T8 %]
@@ -210,7 +231,7 @@
| [% 'Discount' | $T8 %] |
- [% L.input_tag('cv.discount_as_percent', SELF.cv.discount_as_percent, size = 4) %]
+ [% L.input_tag('cv.discount_as_percent', SELF.cv.discount_as_percent, size = 4) %]%
|
@@ -226,7 +247,7 @@
[% 'sales tax identification number' | $T8 %] |
- [% L.input_tag('cv.ustid', SELF.cv.ustid, maxlength = 14 size = 20 ) %]
+ [% L.input_tag('cv.ustid', SELF.cv.ustid, size = 20 ) %]
|
@@ -244,52 +265,21 @@
- [% 'Account Number' | $T8 %] |
-
-
- [% L.input_tag('cv.account_number', SELF.cv.account_number, size = 10, maxlength = 100) %]
- |
-
-
- [% 'Bank Code Number' | $T8 %] |
-
-
- [% L.input_tag('cv.bank_code', SELF.cv.bank_code, size = 10, maxlength = 100) %]
- |
-
-
- [% 'Bank' | $T8 %] |
-
-
- [% L.input_tag('cv.bank', SELF.cv.bank, size = 20) %]
- |
-
-
-
- [% 'IBAN' | $T8 %] |
-
-
- [% L.input_tag('cv.iban', SELF.cv.iban, size = 10, maxlength = 100) %]
- |
-
-
- [% 'BIC' | $T8 %] |
-
- [% L.input_tag('cv.bic', SELF.cv.bic, size = 10, maxlength = 100) %]
- |
-
-
+ [% IF ( SELF.is_customer() ) %]
+ [% 'Commercial court' | $T8 %] |
+
+ [% L.input_tag('cv.commercial_court', SELF.cv.commercial_court, size = 20) %]
+ |
+ [% END %]
[% IF ( SELF.all_currencies.size ) %]
[% 'Currency' | $T8 %] |
-
- [% L.select_tag('cv.currency_id', SELF.all_currencies, title_key = 'name', value_key = 'id', default = SELF.cv.currency_id, with_empty = 1) %]
+ [% L.select_tag('cv.currency_id', SELF.all_currencies, title_key = 'name', value_key = 'id', default = SELF.cv.currency_id) %]
|
[% END %]
-
- [% IF ( !conf_vertreter ) %]
+ [% IF ( !INSTANCE_CONF.get_vertreter ) %]
[% IF ( SELF.is_vendor() ) %]
[% 'Type of Vendor' | $T8 %]
@@ -310,13 +300,12 @@
[% L.select_tag('cv.language_id', SELF.all_languages, default = SELF.cv.language_id, value_key = 'id', title_key = 'description', with_empty = 1) %]
- [% IF ( SELF.is_customer() ) %]
- | [% 'Preisklasse' | $T8 %] |
+ [% 'Delivery Terms' | $T8 %] |
+
+
+ [% L.select_tag('cv.delivery_term_id', SELF.all_delivery_terms, default = SELF.cv.delivery_term_id, value_key = 'id', title_key = 'description', with_empty = 1) %]
+ |
-
- [% L.select_tag('cv.klass', SELF.all_pricegroups, default = SELF.cv.klass, value_key = 'id', title_key = 'pricegroup', with_empty = 1) %]
- |
- [% END %]
@@ -325,7 +314,7 @@
- [% L.checkbox_tag('cv.obsolete', checked = SELF.cv.obsolete) %]
+ [% L.checkbox_tag('cv.obsolete', checked = SELF.cv.obsolete, for_submit=1) %]
|
@@ -334,19 +323,28 @@
- [% L.checkbox_tag('cv.direct_debit', checked = SELF.cv.direct_debit) %]
+ [% L.checkbox_tag('cv.direct_debit', checked = SELF.cv.direct_debit, for_submit=1) %]
|
+
+ [% IF ( SELF.is_customer() ) %]
+ [% 'Price group' | $T8 %] |
+
+
+ [% L.select_tag('cv.pricegroup_id', SELF.all_pricegroups, default = SELF.cv.pricegroup_id, value_key = 'id', title_key = 'pricegroup', with_empty = 1) %]
+ |
+ [% END %]
+
- [% 'Steuersatz' | $T8 %] |
+ [% 'Tax rate' | $T8 %] |
[% L.select_tag('cv.taxzone_id', SELF.all_taxzones, default = SELF.cv.taxzone_id, value_key = 'id', title_key = 'description') %]
|
- [% IF ( SELF.is_customer() && !conf_vertreter ) %]
+ [% IF ( SELF.is_customer() && !INSTANCE_CONF.get_vertreter ) %]
[% 'Salesman' | $T8 %] |
@@ -354,24 +352,44 @@
|
[%- END %]
- [% 'taxincluded checked' | $T8 %] |
+ [% IF ( SELF.is_customer() ) %]
+ [% 'taxincluded checked' | $T8 %] |
-
- [% L.select_tag('cv.taxincluded_checked', [[undef, LxERP.t8('use user config')], ['1', LxERP.t8('Yes')], ['0', LxERP.t8('No')]], default = SELF.cv.taxincluded_checked) %]
- |
+
+ [% L.select_tag('cv.taxincluded_checked', [[undef, LxERP.t8('use user config')], ['1', LxERP.t8('Yes')], ['0', LxERP.t8('No')]], default = SELF.cv.taxincluded_checked) %]
+ |
+ [% END %]
+
+ [% IF ( SELF.is_customer() ) %]
+
+ [%- LxERP.t8("Hourly rate") %] |
+ [% L.input_tag("cv.hourly_rate_as_number", SELF.cv.hourly_rate_as_number) %] |
+ [% 'Shoporderlock' | $T8 %] |
+
+ [% L.checkbox_tag('cv.order_lock', checked = SELF.cv.order_lock, for_submit=1) %]
+ |
+
+ [% END %]