X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fsearch.html;h=1b9d615f68274d7e835452acc4b867a556907215;hb=b592435b709841b65441d5fef5c41e3ad2c91413;hp=323fd2383fd4b647537b44d69b9a990dcaf87f09;hpb=7e19c2165ee3b934f4e685b256bb3a261d59a915;p=kivitendo-erp.git diff --git a/templates/webpages/oe/search.html b/templates/webpages/oe/search.html index 323fd2383..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 %] @@ -281,6 +276,10 @@ + + + +