X-Git-Url: http://wagnertech.de/git?p=kivitendo-erp.git;a=blobdiff_plain;f=templates%2Fwebpages%2Fletter%2Fsearch.html;fp=templates%2Fwebpages%2Fletter%2Fsearch.html;h=3fd32dd7ca189fe06b4af8c47c2f1987948720a4;hp=e8ce72f117034ee07aeea8cd109c55f81487a194;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hpb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44 diff --git a/templates/webpages/letter/search.html b/templates/webpages/letter/search.html index e8ce72f11..3fd32dd7c 100644 --- a/templates/webpages/letter/search.html +++ b/templates/webpages/letter/search.html @@ -1,92 +1,61 @@ [% USE HTML %] [% USE T8 %] - - - - -
[% title %]
- -
- - -

- - - - - - - + + + + + + + + + + + + + + + +
[% 'Letternumber' | $T8 %] -
[% 'Customer' | $T8 %] - [%- INCLUDE 'generic/multibox.html' - name = 'customer', - style = 'width:250px', - DATA = ALL_CUSTOMERS, - id_key = 'id', - label_key = 'name', - select = vc_select, - limit = myconfig_vclimit, - allow_textbox = 1, - show_empty = 1, - force_textbox = limit_exceeded_all_customer - onChange = "document.getElementById('update_button').click();" -%] -[%- IF myconfig_vclimit > ALL_CUSTOMERS.size %] - +[% USE L %] +[% USE P %] +[% USE LxERP %] + + +
+[% 'Show Filter' | $T8 %] + [% SELF.filter_summary | html %] +
+
[% 'Contact' | $T8 %][% L.input_tag('filter.contact.cp_name:substr::ilike', filter.contact.cp_name_substr__ilike, style='width:250px') %] +
[% 'Subject' | $T8 %][% L.input_tag('filter.subject:substr::ilike', filter.subject_substr__ilike, style='width:250px') %] +
[% 'Body' | $T8 %][% L.input_tag('filter.body:substr::ilike', filter.body_substr__ilike, style='width:250px') %] +
[% 'From' | $T8 %] [% L.date_tag('filter.date:date::ge', filter.date_date__ge) %] + [% 'To (time)' | $T8 %] + [% L.date_tag('filter.date:date::le', filter.date_date__le) %]
+ + [% L.hidden_tag('is_sales', SELF.is_sales) %] + [% L.hidden_tag('sort_by', FORM.sort_by) %] + [% L.hidden_tag('sort_dir', FORM.sort_dir) %] + [% L.hidden_tag('page', FORM.page) %] + [% L.button_tag("\$('#search_form').resetForm()", LxERP.t8("Reset")) %] + +