X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/245b032241e70470b1d392b5fe055a2dfd6333c6..c8c6d6d:/templates/webpages/ct/form_header_master.html diff --git a/templates/webpages/ct/form_header_master.html b/templates/webpages/ct/form_header_master.html index b79d19a64..ec9a62a85 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', @@ -302,7 +349,7 @@ |