1d906e138020f462ed706e6b894fabed037c2397
[kivitendo-erp.git] / templates / webpages / mass_invoice_create_print_from_do / _filter.html
1 [%- USE L %][%- USE LxERP %][%- USE HTML %]
2 <div>
3  <form action="controller.pl" method="post">
4   <div class="filter_toggle" [% IF noshow == 0 %]style="display:none"[% END %]>
5    <a href="#" onClick="javascript:$('.filter_toggle').toggle()">[% LxERP.t8('Show Filter') %]</a>
6       [% SELF.filter_summary %]
7   </div>
8
9   <div class="filter_toggle" [% IF noshow  == 1 %]style="display:none"[% END %]>
10    <a href="#" onClick="javascript:$('.filter_toggle').toggle()">[% LxERP.t8('Hide Filter') %]</a>
11    <table id="filter_table">
12     <tr>
13      <th align="right">[% LxERP.t8('Customer') %]</th>
14      <td>[% L.input_tag('filter.customer.name:substr::ilike', filter.customer.name_substr__ilike, size = 20) %]</td>
15     </tr>
16      <th align="right">[% LxERP.t8('Transdate') %] [% LxERP.t8('From Date') %]</th>
17      <td>[% L.date_tag('filter.transdate:date::ge', filter.transdate_date__ge) %]</td>
18     </tr>
19     <tr>
20      <th align="right">[% LxERP.t8('Transdate') %] [% LxERP.t8('To Date') %]</th>
21      <td>[% L.date_tag('filter.transdate:date::le', filter.transdate_date__le) %]</td>
22     </tr>
23   </table>
24
25    [% L.hidden_tag('action', 'MassInvoiceCreatePrint/dispatch') %]
26    [% L.hidden_tag('sort_by', FORM.sort_by) %]
27    [% L.hidden_tag('sort_dir', FORM.sort_dir) %]
28    [% L.hidden_tag('page', FORM.page) %]
29    [% L.submit_tag(LIST_ACTION, LxERP.t8('Continue'))%]
30
31    <a href="#" onClick="javascript:$('#filter_table input,#filter_table select').val('');">[% LxERP.t8('Reset') %]</a>
32
33   </div>
34
35  </form>
36 </div>