X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fsearch.html;h=1b9d615f68274d7e835452acc4b867a556907215;hb=529e6bf96e1ad74ae2e770a9e74f29f26a28d3c8;hp=b651bf035eb5bc965e6231fa173422f732835fa3;hpb=fa7fc7eeb3ca718914affee06c0629a08d571288;p=kivitendo-erp.git diff --git a/templates/webpages/oe/search.html b/templates/webpages/oe/search.html index b651bf035..1b9d615f6 100644 --- a/templates/webpages/oe/search.html +++ b/templates/webpages/oe/search.html @@ -2,14 +2,14 @@ [%- USE T8 %] [%- USE LxERP %] [%- USE L %] +

[% HTML.escape(title) %]

+ [%- SET vclabel = vc == 'customer' ? LxERP.t8('Customer') : LxERP.t8('Vendor') %] [%- SET vcnumberlabel = vc == 'customer' ? LxERP.t8('Customer Number') : LxERP.t8('Vendor Number') %] [%- SET vctypelabel = vc == 'customer' ? LxERP.t8('Customer type') : LxERP.t8('Vendor type') %]
-

[% HTML.escape(title) %]

- + + + + [%- IF ALL_DEPARTMENTS.size %] - + [%- END %] @@ -77,22 +70,28 @@ - + + + + - + + + [%- UNLESS ALL_BUSINESS_TYPES.size == 0 %] @@ -122,6 +121,20 @@ [% L.date_tag('reqdateto') %] + + [%- IF type == 'sales_order' %] + + + + + + + [%- END %] + [%- IF type == 'sales_quotation' %] @@ -141,6 +154,15 @@ [%- END %] + +[%- IF CT_CUSTOM_VARIABLES.size %] + + + + + [% CT_CUSTOM_VARIABLES_FILTER_CODE %] +[%- END %] + [%- END %] @@ -202,6 +224,12 @@ + [%- IF type == 'sales_order' %] + + [%- END %] + + + [% CT_CUSTOM_VARIABLES_INCLUSION_CODE %] + [%- IF type == 'sales_order' %] [%- END %]
@@ -25,28 +25,21 @@ id_sub = 'vc_keys', label_key = 'name', select = vc_select, - limit = vclimit, + limit = MYCONFIG.vclimit, show_empty = 1, allow_textbox = 1, class = 'initial_focus', -%]
[% 'Contact Person' | $T8 %][% L.input_tag("cp_name", '', style="width: 250px") %]
[% '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") %]
[% '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 %]
[% 'Insert Date' | $T8 %] [% 'From' | $T8 %] + [% L.date_tag('insertdatefrom') %] + [% 'Bis' | $T8 %] + [% L.date_tag('insertdateto') %] +
[% 'Expected billing date' | $T8 %] [% 'From' | $T8 %]
[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]
[% 'Include in Report' | $T8 %] @@ -163,7 +185,7 @@ - +
+ + +
@@ -248,6 +276,10 @@ + + +
@@ -304,6 +336,9 @@