3bd19805207e373da1055f79167a9eef3da47d90
[kivitendo-erp.git] / templates / webpages / project / _filter.html
1 [%- USE T8 %]
2 [%- USE HTML %]
3 [%- USE L %]
4 [%- USE LxERP %]
5
6 <table>
7  <tr>
8   <th align="right">[% 'Number' | $T8 %]</th>
9   <td>[% L.input_tag('filter.projectnumber:substr::ilike', filter.projectnumber_substr__ilike, size=60) %]</td>
10  </tr>
11
12  <tr>
13   <th align="right">[% 'Description' | $T8 %]</th>
14   <td>[% L.input_tag('filter.description:substr::ilike', filter.description_substr__ilike, size=60, class='initial_focus') %]</td>
15  </tr>
16
17  <tr>
18   <th align="right">[% 'Customer' | $T8 %]</th>
19   <td>[% L.input_tag('filter.customer.name:substr::ilike', filter.customer.name_substr__ilike, size=60) %]</td>
20  </tr>
21
22  <tr>
23   <th align="right">[% 'Project Type' | $T8 %]</th>
24   <td>[% L.select_tag('filter.project_type_id', SELF.project_types, default=filter.project_type_id, title_key='description', with_empty=1, style="width: 200px") %]</td>
25  </tr>
26
27  <tr>
28   <th align="right">[% 'Project Status' | $T8 %]</th>
29   <td>[% L.select_tag('filter.project_status_id', SELF.project_statuses, default=filter.project_status_id, title_key='description', with_empty=1, style="width: 200px") %]</td>
30  </tr>
31
32  [% CUSTOM_VARIABLES_FILTER_CODE %]
33
34  <tr>
35   <th>[% 'Include in Report' | $T8 %]</th>
36   <td>
37    <table>
38     <tr>
39      <td>[% L.select_tag('filter.active', [ [ 'active', LxERP.t8('Active') ], [ 'inactive', LxERP.t8('Inactive') ], [ 'both', LxERP.t8('Both') ] ], default=filter.active, style="width: 200px") %]</td>
40     </tr>
41
42     <tr>
43      <td>[% L.select_tag('filter.valid', [ [ 'valid', LxERP.t8('Valid') ], [ 'invalid', LxERP.t8('Invalid') ], [ 'both', LxERP.t8('Both') ] ], default=filter.valid, style="width: 200px") %]</td>
44     </tr>
45
46     <tr>
47      <td>[% L.select_tag('filter.status', [ [ 'all', LxERP.t8('All') ], [ 'orphaned', LxERP.t8('Orphaned') ] ], default=filter.status, style="width: 200px") %]</td>
48     </tr>
49
50     [% CUSTOM_VARIABLES_INCLUSION_CODE %]
51
52    </table>
53   </td>
54  </tr>
55 </table>