- [% IF conf_vertreter %]
+ [% IF INSTANCE_CONF.get_vertreter %]
[% IF is_customer %][% 'Type of Customer' | $T8 %][%- ELSE %][% 'Type of Vendor' | $T8 %][%- END %]
@@ -82,7 +80,7 @@
[% 'Greeting' | $T8 %]
-
+
[%- INCLUDE generic/multibox.html
name = 'selected_company_greeting',
DATA = MB_COMPANY_GREETINGS,
@@ -108,7 +106,16 @@
[% 'Street' | $T8 %]
-
+
+
+
+
+
+
@@ -131,7 +138,7 @@
[% 'Phone' | $T8 %]
-
+
@@ -144,13 +151,24 @@
+
+ [% 'Cc E-mail' | $T8 %]
+
+
+
+
+ [% 'Bcc E-mail' | $T8 %]
+
+
+
+
[% IF homepage %][% 'Homepage' | $T8 %]
[% ELSE %][% 'Homepage' | $T8 %]
[% END %]
-
+
@@ -189,38 +207,38 @@
[% 'sales tax identification number' | $T8 %]
-
+ [% L.input_tag('ustid', ustid, maxlength=14, size=30) %]
[%- IF is_customer %]
[% 'our vendor number at customer' | $T8 %]
-
+ [% L.input_tag('c_vendor_id', c_vendor_id, size=30) %]
[%- ELSE %]
[% 'Customer Number' | $T8 %]
-
+ [% L.input_tag('v_customer_id', v_customer_id, size=30) %]
[%- END %]
[% 'Account Number' | $T8 %]
-
+ [% L.input_tag('account_number', account_number, size=30) %]
[% 'Bank Code Number' | $T8 %]
-
+ [% L.input_tag('bank_code', bank_code, size=30) %]
[% 'Bank' | $T8 %]
-
+ [% L.input_tag('bank', bank, size=30) %]
[% 'IBAN' | $T8 %]
-
+ [% L.input_tag('iban', iban, maxlength=100, size=30) %]
[% 'BIC' | $T8 %]
-
+ [% L.input_tag('bic', bic, maxlength=100, size=30) %]
[%- IF ALL_CURRENCIES.size %]
[% 'Currency' | $T8 %]
- [% L.select_tag('currency', L.options_for_select(ALL_CURRENCIES, default=currency, with_empty=1)) %]
+ [% L.select_tag('currency', ALL_CURRENCIES, default = currency) %]
[%- END %]
- [% UNLESS conf_vertreter %]
+ [% UNLESS INSTANCE_CONF.get_vertreter %]
[% IF is_customer %][% 'Type of Customer' | $T8 %][% ELSE %][% 'Type of Vendor' | $T8 %][%- END %]
[%- INCLUDE generic/multibox.html
@@ -259,10 +277,10 @@
- [% 'Obsolete' | $T8 %]
-
- [% 'direct debit' | $T8 %]
-
+ [% 'Obsolete' | $T8 %]
+
+ [% 'direct debit' | $T8 %]
+
@@ -277,10 +295,13 @@
label_key = 'description',
-%]
- [%- IF is_customer && !conf_vertreter %]
+ [%- IF is_customer && !INSTANCE_CONF.get_vertreter %]
[% 'Salesman' | $T8 %]
- [% L.select_tag('salesman_id', L.options_for_select(ALL_SALESMEN, default=salesman_id, show_empty=1, title='safe_name')) %]
+ [% L.select_tag('salesman_id', ALL_SALESMEN, default = salesman_id, with_empty = 1, title_key = 'safe_name') %]
[%- END %]
+
+ [% 'taxincluded checked' | $T8 %]
+ [% L.select_tag('taxincluded_checked', [[undef, LxERP.t8('use user config')], ['1', LxERP.t8('Yes')], ['0', LxERP.t8('No')]], default = taxincluded_checked) %]