X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fct%2Fform_header_master.html;h=4c2db99d3b2a66d305266b56c94038035c4e9926;hb=2e8ce008611246347f9682d81e8fabf015765bf5;hp=f5b5551cf6235722224689d627877a4315ffe444;hpb=256c879b9614b9e0c7254e448fda6805da743db8;p=kivitendo-erp.git diff --git a/templates/webpages/ct/form_header_master.html b/templates/webpages/ct/form_header_master.html index f5b5551cf..4c2db99d3 100644 --- a/templates/webpages/ct/form_header_master.html +++ b/templates/webpages/ct/form_header_master.html @@ -1,4 +1,5 @@ -[% USE HTML %][% USE LxERP %]
+[% USE HTML %][% USE LxERP %] +[% IF is_customer %] |
+ + [%- INCLUDE generic/multibox.html + name = 'business', + DATA = all_business, + show_empty = 1, + id_key = 'id', + label_key = 'description', + -%] + | +|||||||||
---|---|---|---|---|---|---|---|---|---|---|
+ [%- INCLUDE generic/multibox.html + name = 'salesman_id', + DATA = ALL_SALESMAN_CUSTOMERS, + id_key = 'id', + label_key = 'name', + -%] + | +||||||||||
+ | [% IF is_customer %] |
+ |||||||||
- | - [%- IF is_sustomer %] - | [%- ELSE %] - | [%- END %] | |||||||
+ | + | + | ||||||||
- [%- INCLUDE generic/multibox.html - name = 'business', - DATA = all_business, - show_empty = 1, - id_key = 'id', - label_key = 'description', - -%] - | ++ | + | ||||||||
+ | + | |||||||||
[% IF is_customer %] |
+ + [%- INCLUDE generic/multibox.html + name = 'business', + DATA = all_business, + show_empty = 1, + id_key = 'id', + label_key = 'description', + -%] + | + [%- END %][%- INCLUDE generic/multibox.html @@ -184,6 +229,8 @@ | ||||||||
+ | ||||||||||
[%- INCLUDE generic/multibox.html @@ -235,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', @@ -316,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 = "get_contact(['cp_id__'+this.value],['cp_name','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,set_gender])", id_key = 'cp_id', label_sub = 'contacts_label', -%] | ||||||||||
- - [%- INCLUDE generic/multibox.html - name = 'selected_cp_greeting', - DATA = MB_GREETINGS, - show_empty = 1, - id_key = 'id', - label_key = 'description', - -%] - | -||||||||||
+ + | +||||||||||
- + | -- + |