Revision 47dbae62
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
templates/webpages/project/search.html | ||
---|---|---|
10 | 10 |
<div class="listtop">[% 'Search projects' | $T8 %]</div> |
11 | 11 |
|
12 | 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', SELF.ALL_PROJECT_TYPES, default=filter.project_type_id, title_key='description', with_empty=1) %]</td> |
|
32 |
</tr> |
|
33 |
|
|
34 |
<tr> |
|
35 |
<th align="right">[% 'Project Status' | $T8 %]</th> |
|
36 |
<td>[% L.select_tag('filter.project_status_id', SELF.ALL_PROJECT_STATUS, default=filter.project_status_id, title_key='description', with_empty=1) %]</td> |
|
37 |
</tr> |
|
38 |
|
|
39 |
[% CUSTOM_VARIABLES_FILTER_CODE %] |
|
40 |
|
|
41 |
<tr> |
|
42 |
<th>[% 'Include in Report' | $T8 %]</th> |
|
43 |
<td> |
|
44 |
<table> |
|
45 |
<tr> |
|
46 |
<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> |
|
47 |
</tr> |
|
48 |
|
|
49 |
<tr> |
|
50 |
<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> |
|
51 |
</tr> |
|
52 |
|
|
53 |
<tr> |
|
54 |
<td>[% L.select_tag('filter.status', [ [ 'all', LxERP.t8('All') ], [ 'orphaned', LxERP.t8('Orphaned') ] ], default=filter.status, style="width: 200px") %]</td> |
|
55 |
</tr> |
|
56 |
|
|
57 |
[% CUSTOM_VARIABLES_INCLUSION_CODE %] |
|
58 |
|
|
59 |
</table> |
|
60 |
</td> |
|
61 |
</tr> |
|
62 |
</table> |
|
13 |
[%- INCLUDE 'project/_filter.html' %] |
|
63 | 14 |
</p> |
64 | 15 |
|
65 | 16 |
<hr size="3" noshade> |
Auch abrufbar als: Unified diff
Projektverwaltung: Fixes nach Rebase; Refactoring