[% UNLESS conf_vertreter %]
[% IF is_customer %][% 'Type of Customer' | $T8 %][% ELSE %][% 'Type of Vendor' | $T8 %][%- END %] |
@@ -226,6 +236,7 @@
[%- INCLUDE generic/multibox.html
name = 'language_id',
+ default = default_language_id,
DATA = languages,
show_empty = 1,
id_key = 'id',
@@ -259,23 +270,16 @@
|
[%- INCLUDE generic/multibox.html
name = 'taxzone_id',
+ id = 'taxzone_id',
DATA = ALL_TAXZONES,
- show_empty = 1,
+ show_empty = 0,
id_key = 'id',
label_key = 'description',
-%]
|
[%- 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 %]
@@ -294,254 +298,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' %]