+ [% UNLESS conf_vertreter %]
+ [% IF is_customer %]Kundentyp[% ELSE %]Lieferantentyp[%- END %] |
+
+ [%- INCLUDE generic/multibox.html
+ name = 'business',
+ DATA = all_business,
+ show_empty = 1,
+ id_key = 'id',
+ label_key = 'description',
+ -%]
+ |
+ [%- END %]
Sprache |
[%- INCLUDE generic/multibox.html
@@ -199,7 +244,7 @@
label_key = 'description',
-%]
|
- [%- IF is_customer %]
+ [%- IF is_customer && !conf_vertreter %]
Verkäufer/in |
[%- INCLUDE generic/multibox.html
@@ -237,7 +282,7 @@
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])",
+ 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',
@@ -318,26 +363,23 @@
name = 'cp_id',
id = 'cp_id',
DATA = CONTACTS,
- onChange = "get_contact(['cp_id__'+this.value],['cp_name','cp_greeting','cp_title','cp_givenname','cp_phone1','cp_phone2','cp_email','cp_abteilung','cp_fax','cp_mobile1','cp_mobile2','cp_satphone','cp_satfax','cp_project','cp_privatphone','cp_privatemail','cp_birthday',enable_delete_contact])",
+ onChange = "on_contact_changed()",
id_key = 'cp_id',
label_sub = 'contacts_label',
-%]
|
-