1f3e33b3d3091fdefd86869504af8df2e3cd29f2
[kivitendo-erp.git] / templates / webpages / project / search.html
1 [%- USE T8 %]
2 [%- USE HTML %]
3 [%- USE L %]
4 [%- USE LxERP %]
5
6 [%- INCLUDE 'common/flash.html' %]
7
8  <form method="post" action="controller.pl">
9
10   <div class="listtop">[% 'Search projects' | $T8 %]</div>
11
12   <p>
13    <table>
14     <tr>
15      <th align="right">[% 'Number' | $T8 %]</th>
16      <td>[% L.input_tag('filter.projectnumber:substr::ilike', filter.projectnumber_substr__ilike, size=60) %]</td>
17     </tr>
18
19     <tr>
20      <th align="right">[% 'Description' | $T8 %]</th>
21      <td>[% L.input_tag('filter.description:substr::ilike', filter.description_substr__ilike, size=60, class='initial_focus') %]</td>
22     </tr>
23
24     <tr>
25      <th align="right">[% 'Customer' | $T8 %]</th>
26      <td>[% L.input_tag('filter.customer.name:substr::ilike', filter.customer.name_substr__ilike, size=60) %]</td>
27     </tr>
28
29     <tr>
30      <th align="right">[% 'Project Type' | $T8 %]</th>
31      <td>[% L.select_tag('filter.project_type_id', ALL_PROJECT_TYPES, default=filter.project_type_id, title_key='description', with_empty=1) %]</td>
32     </tr>
33
34     [% CUSTOM_VARIABLES_FILTER_CODE %]
35
36     <tr>
37      <th>[% 'Include in Report' | $T8 %]</th>
38      <td>
39       <table>
40        <tr>
41         <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>
42        </tr>
43
44        <tr>
45         <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>
46        </tr>
47
48        <tr>
49         <td>[% L.select_tag('filter.status', [ [ 'all', LxERP.t8('All') ], [ 'orphaned', LxERP.t8('Orphaned') ] ], default=filter.status, style="width: 200px") %]</td>
50        </tr>
51
52        [% CUSTOM_VARIABLES_INCLUSION_CODE %]
53
54       </table>
55      </td>
56     </tr>
57    </table>
58   </p>
59
60   <hr size="3" noshade>
61
62   [% L.hidden_tag('action', 'Project/list') %]
63
64   <p>[% L.submit_tag('dummy', LxERP.t8('Continue')) %]</p>
65  </form>