1 [%- USE L %][%- USE LxERP %][%- USE HTML %]
3 <form action="controller.pl" method="post" id="search_form">
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 %]
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">
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>
17 <th align="right">[% LxERP.t8('Customer type') %]</th>
19 [% L.select_tag('filter.customer.business_id', SELF.all_businesses,
20 default => filter.customer.business_id
21 title_key => 'description',
24 style => 'width: 200px') %]
28 <th align="right">[% LxERP.t8('Delivery Order Date') %] [% LxERP.t8('From Date') %]</th>
29 <td>[% L.date_tag('filter.transdate:date::ge', filter.transdate_date__ge) %]</td>
32 <th align="right">[% LxERP.t8('Delivery Order Date') %] [% LxERP.t8('To Date') %]</th>
33 <td>[% L.date_tag('filter.transdate:date::le', filter.transdate_date__le) %]</td>
37 [% L.hidden_tag('action', 'MassInvoiceCreatePrint/' _ LIST_ACTION, id='filter_action') %]
38 [% L.hidden_tag('sort_by', FORM.sort_by) %]
39 [% L.hidden_tag('sort_dir', FORM.sort_dir) %]
40 [% L.hidden_tag('page', FORM.page) %]
41 [% L.button_tag('$("#search_form").resetForm()', LxERP.t8('Reset')) %]