5 <form action='controller.pl' method='post' id='filter_form'>
6 <div class='filter_toggle'>
7 <a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Show Filter' | $T8 %]</a>
8 [% SELF.filter_summary | html %]
10 <div class='filter_toggle' style='display:none'>
11 <a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Hide Filter' | $T8 %]</a>
12 <table id='filter_table'>
14 <th align="right">[% 'Bank account' | $T8 %]</th>
15 <td>[% L.select_tag('filter.local_bank_account_id', BANK_ACCOUNTS, default=filter.local_bank_account_id, title_key='displayable_name', with_empty=1, style='width:500px') %]</td>
19 <th align="right">[% 'Transdate from' | $T8 %]</th>
20 <td>[% L.date_tag('filter.transdate:date::ge', filter.transdate_date__ge) %]</td>
24 <th align="right">[% 'Transdate to' | $T8 %]</th>
25 <td>[% L.date_tag('filter.transdate:date::le', filter.transdate_date__le) %]</td>
29 <th align="right">[% 'Valutadate from' | $T8 %]</th>
30 <td>[% L.date_tag('filter.valutadate:date::ge', filter.valutadate_date__ge) %]</td>
34 <th align="right">[% 'Valutadate to' | $T8 %]</th>
35 <td>[% L.date_tag('filter.valutadate:date::le', filter.valutadate_date__le) %]</td>
39 <th align="right">[% 'Remote name' | $T8 %]</th>
40 <td>[% L.input_tag('filter.remote_name:substr::ilike', filter.remote_name_substr__ilike, size=60, class='initial_focus') %]</td>
44 <th align="right">[% 'Remote account number' | $T8 %]</th>
45 <td>[% L.input_tag('filter.remote_account_number:substr::ilike', filter.remote_account_number_substr__ilike, size=60, class='initial_focus') %]</td>
49 <th align="right">[% 'Remote bank code' | $T8 %]</th>
50 <td>[% L.input_tag('filter.remote_bank_code:substr::ilike', filter.remote_bank_code_substr__ilike, size=60, class='initial_focus') %]</td>
54 <th align="right">[% 'Amount' | $T8 %]</th>
55 <td>[% L.input_tag('filter.amount:number', filter.amount_number, size = 20) %]</td>
59 <th align="right">[% 'Purpose' | $T8 %]</th>
60 <td>[% L.input_tag('filter.purpose:substr::ilike', filter.purpose_substr__ilike, size=60, class='initial_focus') %]</td>
64 [% L.hidden_tag('sort_by', FORM.sort_by) %]
65 [% L.hidden_tag('sort_dir', FORM.sort_dir) %]
66 [% L.hidden_tag('page', FORM.page) %]
68 [% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset')) %]