33fc8631cc744e536d0db16c8f1a493d3b7d6c55
[kivitendo-erp.git] / templates / webpages / requirement_spec / _filter.html
1 [%- USE HTML %][%- USE L %][%- USE LxERP %]
2
3 <div class="filter_toggle">
4  <a href="#" onClick="javascript:$('.filter_toggle').toggle()">[% LxERP.t8("Show Filter") %]</a>
5 </div>
6
7 <div class="filter_toggle" style="display:none">
8  <a href="#" onClick="javascript:$('.filter_toggle').toggle()">[% LxERP.t8("Hide Filter") %]</a>
9
10  <form method="post" action="controller.pl">
11
12   <p>
13    <table class="rs_input_field">
14     <tr>
15      <th align="right">[% LxERP.t8("Title") %]</th>
16      <td>[% L.input_tag('filter.title:substr::ilike', filter.title_substr__ilike) %]</td>
17     </tr>
18
19     <tr>
20      <th align="right">[% LxERP.t8("Customer") %]</th>
21      <td>[% L.input_tag('filter.customer.name:substr::ilike', filter.customer.name_substr__ilike) %]</td>
22     </tr>
23
24     <tr>
25      <th align="right">[% LxERP.t8("Customer Number") %]</th>
26      <td>[% L.input_tag('filter.customer.customernumber:substr::ilike', filter.customer.customernumber_substr__ilike) %]</td>
27     </tr>
28
29     <tr>
30      <th align="right">[% LxERP.t8("Requirement Spec Type") %]</th>
31      <td>[% L.select_tag('filter.type_id', SELF.types, default=filter.type_id, title_key="description", with_empty=1) %]</td>
32     </tr>
33
34     <tr>
35      <th align="right">[% LxERP.t8("Requirement Spec Status") %]</th>
36      <td>[% L.select_tag('filter.status_id', SELF.statuses, default=filter.status_id, title_key="description", with_empty=1) %]</td>
37     </tr>
38
39     <tr>
40      <th align="right">[% LxERP.t8("Project") %]</th>
41      <td>[% L.select_tag('filter.project_id', SELF.projects, default=filter.project_id, title_key="full_description", with_empty=1) %]</td>
42     </tr>
43    </table>
44   </p>
45
46   [% L.hidden_tag("action", "RequirementSpec/list") %]
47
48   <p>[% L.submit_tag("dummy", LxERP.t8("Continue")) %]</p>
49  </form>
50 </div>