7 <form action="controller.pl" method="post" name="Form" id="search_form">
10 [% BLOCK filter_toggle_panel %]
11 <table id='filter_table' class="tbl-horizontal">
14 <th>[% 'Letternumber' | $T8 %]</th>
15 <td>[% L.input_tag('filter.letternumber:substr::ilike', filter.letternumber_substr__ilike, class='wi-lightwide') %]</td>
17 [% IF SELF.is_sales %]
19 <th>[% 'Customer' | $T8 %]</th>
20 <td class="wi-lightwide">[% P.customer_vendor.picker('filter.customer_id', filter.customer_id, type='customer') %]</td>
24 <th>[% 'Vendor' | $T8 %]</th>
25 <td class="wi-lightwide">[% P.customer_vendor.picker('filter.vendor_id', filter.vendor_id, type='vendor') %]</td>
29 <th>[% 'Contact' | $T8 %]</th>
30 <td>[% L.input_tag('filter.contact.cp_name:substr::ilike', filter.contact.cp_name_substr__ilike, class='wi-lightwide') %]</td>
33 <th>[% 'Subject' | $T8 %]</th>
34 <td>[% L.input_tag('filter.subject:substr::ilike', filter.subject_substr__ilike, class='wi-lightwide') %]</td>
37 <th>[% 'Body' | $T8 %]</th>
38 <td>[% L.input_tag('filter.body:substr::ilike', filter.body_substr__ilike, class='wi-lightwide') %]</td>
41 <th>[% 'Date' | $T8 %]</th>
42 <td>[% L.date_tag('filter.date:date::ge', filter.date_date__ge, class='wi-date') %] [% 'To (time)' | $T8 %] [% L.date_tag('filter.date:date::le', filter.date_date__le, class='wi-date') %]</td>
47 [% L.hidden_tag('is_sales', SELF.is_sales) %]
48 [% L.hidden_tag('sort_by', FORM.sort_by) %]
49 [% L.hidden_tag('sort_dir', FORM.sort_dir) %]
50 [% L.hidden_tag('page', FORM.page) %]
52 [% L.button_tag("\$('#search_form').resetForm()", LxERP.t8("Reset"), class='neutral') %]
54 [% END # /BLOCK filter_toggle_panel %]
56 [% INCLUDE 'common/toggle_panel.html' %]