1 [%- USE HTML %][%- USE L %][%- USE LxERP %]
3 <div class="filter_toggle">
4 <a href="#" onClick="javascript:$('.filter_toggle').toggle()">[% LxERP.t8("Show Filter") %]</a>
7 <div class="filter_toggle" style="display:none">
8 <a href="#" onClick="javascript:$('.filter_toggle').toggle()">[% LxERP.t8("Hide Filter") %]</a>
10 <form method="post" action="controller.pl">
11 [%- L.hidden_tag("is_template", is_template) %]
14 <table class="rs_input_field">
16 <th align="right">[% LxERP.t8("Title") %]</th>
17 <td>[% L.input_tag('filter.title:substr::ilike', filter.title_substr__ilike) %]</td>
20 [%- UNLESS is_template %]
22 <th align="right">[% LxERP.t8("Customer") %]</th>
23 <td>[% L.input_tag('filter.customer.name:substr::ilike', filter.customer.name_substr__ilike) %]</td>
27 <th align="right">[% LxERP.t8("Customer Number") %]</th>
28 <td>[% L.input_tag('filter.customer.customernumber:substr::ilike', filter.customer.customernumber_substr__ilike) %]</td>
32 <th align="right">[% LxERP.t8("Requirement Spec Type") %]</th>
33 <td>[% L.select_tag('filter.type_id', SELF.types, default=filter.type_id, title_key="description", with_empty=1) %]</td>
37 <th align="right">[% LxERP.t8("Requirement Spec Status") %]</th>
38 <td>[% L.select_tag('filter.status_id', SELF.statuses, default=filter.status_id, title_key="description", with_empty=1) %]</td>
42 <th align="right">[% LxERP.t8("Project") %]</th>
43 <td>[% L.select_tag('filter.project_id', SELF.projects, default=filter.project_id, title_key="full_description", with_empty=1) %]</td>
49 [% L.hidden_tag("action", "RequirementSpec/list") %]
51 <p>[% L.submit_tag("dummy", LxERP.t8("Continue")) %]</p>