X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/a809ab0a8e5c2f991ebbad1ccda9f31f1c009c7c..ed11f8c7cbf055eee2a32328b09189fcf6f29b53:/templates/webpages/oe/search.html diff --git a/templates/webpages/oe/search.html b/templates/webpages/oe/search.html index c88121162..1b9d615f6 100644 --- a/templates/webpages/oe/search.html +++ b/templates/webpages/oe/search.html @@ -25,7 +25,7 @@ id_sub = 'vc_keys', label_key = 'name', select = vc_select, - limit = vclimit, + limit = MYCONFIG.vclimit, show_empty = 1, allow_textbox = 1, class = 'initial_focus', @@ -39,18 +39,7 @@ [%- IF ALL_DEPARTMENTS.size %] [% 'Department' | $T8 %] - - [%- INCLUDE 'generic/multibox.html' - name = 'department_id', - style = 'width: 250px', - DATA = ALL_DEPARTMENTS, - id_key = 'id', - label_key = 'description', - limit = vclimit, - show_empty = 1, - allow_textbox = 1, - -%] - + [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style="width: 250px") %] [%- END %] @@ -81,22 +70,28 @@ [% 'Transaction description' | $T8 %] - + + + [% 'Part Description' | $T8 %] + [% 'Project Number' | $T8 %] - + [%- INCLUDE 'generic/multibox.html' - name = vclimit < ALL_PROJECTS.size ? 'projectnumber' : 'project_id', + name = MYCONFIG.vclimit < ALL_PROJECTS.size ? 'projectnumber' : 'project_id', style = "width: 250px", DATA = ALL_PROJECTS, id_key = 'id', label_key = 'projectnumber', - limit = vclimit, + limit = MYCONFIG.vclimit, show_empty = 1, allow_textbox = 1, -%] + + [% 'Part Number' | $T8 %] + [%- UNLESS ALL_BUSINESS_TYPES.size == 0 %] @@ -159,6 +154,15 @@ [%- END %] + +[%- IF CT_CUSTOM_VARIABLES.size %] + + + [% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %] + + [% CT_CUSTOM_VARIABLES_FILTER_CODE %] +[%- END %] + [% 'Include in Report' | $T8 %] @@ -272,6 +276,10 @@ + + + + @@ -328,6 +336,9 @@ + + [% CT_CUSTOM_VARIABLES_INCLUSION_CODE %] + [%- IF type == 'sales_order' %]
[%- END %]