@@ -227,6 +235,7 @@
|
[%- INCLUDE generic/multibox.html
name = 'language_id',
+ default = default_language_id,
DATA = languages,
show_empty = 1,
id_key = 'id',
@@ -249,10 +258,10 @@
|
@@ -260,6 +269,7 @@
|
[%- INCLUDE generic/multibox.html
name = 'taxzone_id',
+ id = 'taxzone_id',
DATA = ALL_TAXZONES,
show_empty = 0,
id_key = 'id',
@@ -268,16 +278,11 @@
|
[%- IF is_customer && !conf_vertreter %]
[% 'Salesman' | $T8 %] |
-
- [%- INCLUDE generic/multibox.html
- name = 'salesman_id',
- DATA = ALL_SALESMEN,
- show_empty = 1,
- id_key = 'id',
- label_sub = 'salesman_label',
- -%]
- |
+ [% 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) %] |
@@ -295,254 +300,37 @@
-
-
-
- | [% 'Shipping Address' | $T8 %] |
-
- [%- INCLUDE generic/multibox.html
- name = 'shipto_id',
- id = 'shipto_id',
- DATA = SHIPTO,
- onChange = "get_shipto(['shipto_id__' + this.value], ['shiptoname','shiptodepartment_1', 'shiptodepartment_2','shiptostreet','shiptozipcode','shiptocity','shiptocountry','shiptocontact','shiptophone','shiptofax','shiptoemail',enable_delete_shipto,set_gender])",
- id_key = 'shipto_id',
- label_sub = 'shipto_label',
- label_key = 'shipto_label',
- -%]
- |
-
-
-
- | [% 'Company Name' | $T8 %] |
- |
-
-
-
- | [% 'Abteilung' | $T8 %] |
-
-
-
- |
-
-
-
- | [% 'Street' | $T8 %] |
- |
-
-
-
- | [% 'Zipcode' | $T8 %]/[% 'City' | $T8 %] |
-
-
-
- |
-
-
-
- | [% 'Country' | $T8 %] |
- |
-
-
-
- | [% 'Contact' | $T8 %] |
- |
-
-
-
- | [% 'Phone' | $T8 %] |
- |
-
-
-
- | [% 'Fax' | $T8 %] |
- |
-
-
-
- | [% 'E-mail' | $T8 %] |
- |
-
-
-
- | |
-
-
- | |
-
-
-
-
-
+ [% INCLUDE 'ct/_shipto.html' %]