X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fct%2Fform_header_master.html;h=4c2db99d3b2a66d305266b56c94038035c4e9926;hb=2e8ce008611246347f9682d81e8fabf015765bf5;hp=fdb122bbf9504e152b10f24a06869ee50a8e8d9e;hpb=eeb07c164e0c3398f14372308b404fb07e2102cf;p=kivitendo-erp.git diff --git a/templates/webpages/ct/form_header_master.html b/templates/webpages/ct/form_header_master.html index fdb122bbf..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'])", + 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', @@ -302,6 +349,7 @@ |