epic-ts
[kivitendo-erp.git] / templates / webpages / financial_controlling_report / _filter.html
1 [%- USE T8 %]
2 [%- USE L %]
3 [%- USE LxERP %]
4 [%- USE HTML %]
5 [%- SET style='width: 400px' %]
6 <form action='controller.pl' method='post'>
7 <div class='filter_toggle'>
8 <a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Show Filter' | $T8 %]</a>
9   [% SELF.filter_summary %]
10 </div>
11 <div class='filter_toggle' style='display:none'>
12 <a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Hide Filter' | $T8 %]</a>
13  <table id='filter_table'>
14   <tr>
15    <th align="right">[% 'Customer' | $T8 %]</th>
16    <td>[% L.input_tag('filter.customer.name:substr::ilike', filter.customer.name_substr__ilike, style=style) %]</td>
17   </tr>
18   <tr>
19    <th align="right">[% 'Customer Number' | $T8 %]</th>
20    <td>[% L.input_tag('filter.customer.customernumber:substr::ilike', filter.customer.customernumber_substr__ilike, style=style) %]</td>
21   </tr>
22   <tr>
23    <th align="right">[% 'Order Number' | $T8 %]</th>
24    <td>[% L.input_tag('filter.ordnumber:substr::ilike', filter.ordnumber_substr__ilike, style=style) %]</td>
25   </tr>
26   <tr>
27    <th align="right">[% 'Project Number' | $T8 %]</th>
28    <td>[% L.input_tag('filter.globalproject.projectnumber:substr::ilike', filter.globalproject.projectnumber_substr__ilike, style=style) %]</td>
29   </tr>
30   <tr>
31    <th align="right">[% 'Project Type' | $T8 %]</th>
32    <td>[% L.select_tag('filter.globalproject.project_type_id', SELF.project_types, default=filter.globalproject.project_type_id, title_key='description', with_empty=1, style=style) %]</td>
33   </tr>
34   <tr>
35    <th align="right">[% LxERP.t8('Transaction description') %]</th>
36    <td>[% L.input_tag('filter.transaction_description:substr::ilike', filter.transaction_description_substr__ilike, style=style) %]</td>
37   </tr>
38   <tr>
39    <th align="right">[% 'Order Date' | $T8 %] [% 'From Date' | $T8 %]</th>
40    <td>[% L.date_tag('filter.transdate:date::ge', filter.transdate_date__ge, cal_align = 'BR') %]</td>
41   </tr>
42   <tr>
43    <th align="right">[% 'Order Date' | $T8 %] [% 'To Date' | $T8 %]</th>
44    <td>[% L.date_tag('filter.transdate:date::le', filter.transdate_date__le, cal_align = 'BR') %]</td>
45   </tr>
46  </table>
47
48 [% L.hidden_tag('action', 'FinancialControllingReport/dispatch') %]
49 [% L.hidden_tag('sort_by', FORM.sort_by) %]
50 [% L.hidden_tag('sort_dir', FORM.sort_dir) %]
51 [% L.hidden_tag('page', FORM.page) %]
52 [% L.input_tag('action_list', LxERP.t8('Continue'), type = 'submit', class='submit')%]
53
54
55 <a href='#' onClick='javascript:$("#filter_table input").val("");$("#filter_table option").prop("selected",0)'>[% 'Reset' | $T8 %]</a>
56
57 </div>
58
59 </form>