X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Foe%2Fsearch.html;h=b7161ee8dc967d618f72de4b8f4c604a6af9e70d;hb=fbbfd3ce7bdc893ac30638cce1427938276b659b;hp=71b22a96208671c8c59b4850de8ea943d0a6332f;hpb=24cdf9e915da3c67ffaee1c321b937e1f88f0417;p=kivitendo-erp.git diff --git a/templates/webpages/oe/search.html b/templates/webpages/oe/search.html index 71b22a962..b7161ee8d 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 %] @@ -42,7 +46,7 @@ DATA = ALL_DEPARTMENTS, id_key = 'id', label_key = 'description', - limit = vclimit, + limit = MYCONFIG.vclimit, show_empty = 1, allow_textbox = 1, -%] @@ -77,22 +81,28 @@ - + + + + - + + + [%- UNLESS ALL_BUSINESS_TYPES.size == 0 %] @@ -122,6 +132,48 @@ [% L.date_tag('reqdateto') %] + + [%- IF type == 'sales_order' %] + + + + + + + [%- END %] + +[%- IF type == 'sales_quotation' %] + + + + + + + + + + +[%- END %] + +[%- IF CT_CUSTOM_VARIABLES.size %] + + + + + [% CT_CUSTOM_VARIABLES_FILTER_CODE %] +[%- END %] + [%- END %] @@ -183,6 +235,12 @@ + [%- IF type == 'sales_order' %] + + [%- END %] + +[% IF type == 'sales_quotation' %] + + + +[%- END %] + + [% CT_CUSTOM_VARIABLES_INCLUSION_CODE %] + [%- IF type == 'sales_order' %] [%- END %]
@@ -25,13 +25,17 @@ 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 %]
[% '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 %] + [% L.date_tag('expected_billing_date_from', '' 'BL') %] + [% 'Expected billing date' | $T8 %] [% 'Bis' | $T8 %] + [% L.date_tag('expected_billing_date_to', '' 'BL') %] +
[% 'Order probability' | $T8 %] + [% L.select_tag('order_probability_op', [[ 'ge', '>=' ], [ 'le', '<=' ]]) %] + [% L.select_tag('order_probability_value', ORDER_PROBABILITIES, title='title', with_empty=1) %] +
[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]
[% 'Include in Report' | $T8 %] @@ -144,7 +196,7 @@ - +
+ + +
@@ -229,6 +287,10 @@ + + +
@@ -250,6 +312,14 @@
+ + +
@@ -277,6 +347,9 @@