Revision b568872b
Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt
templates/webpages/project/_filter.html | ||
---|---|---|
1 |
[%- USE T8 %] |
|
2 |
[%- USE HTML %] |
|
3 |
[%- USE L %] |
|
4 |
[%- USE LxERP %] |
|
5 |
|
|
6 |
<table id="filter_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> |
|
1 |
[% USE T8 %] |
|
2 |
[% USE HTML %] |
|
3 |
[% USE L %] |
|
4 |
[% USE LxERP %] |
|
5 |
|
|
6 |
[% BLOCK filter_toggle_panel %] |
|
7 |
<table id="filter_table" class="tbl-horizontal"> |
|
8 |
<caption>[% 'Project' | $T8 %]</caption> |
|
9 |
<tbody> |
|
38 | 10 |
<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> |
|
11 |
<th>[% 'Number' | $T8 %]</th> |
|
12 |
<td>[% L.input_tag('filter.projectnumber:substr::ilike', filter.projectnumber_substr__ilike, class='wi-normal') %]</td> |
|
40 | 13 |
</tr> |
41 |
|
|
42 | 14 |
<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> |
|
15 |
<th>[% 'Description' | $T8 %]</th> |
|
16 |
<td>[% L.input_tag('filter.description:substr::ilike', filter.description_substr__ilike, class='wi-normal initial_focus') %]</td> |
|
17 |
</tr> |
|
18 |
<tr> |
|
19 |
<th>[% 'Customer' | $T8 %]</th> |
|
20 |
<td>[% L.input_tag('filter.customer.name:substr::ilike', filter.customer.name_substr__ilike, class='wi-normal') %]</td> |
|
44 | 21 |
</tr> |
45 |
|
|
46 | 22 |
<tr> |
47 |
<td>[% L.select_tag('filter.status', [ [ 'all', LxERP.t8('All') ], [ 'orphaned', LxERP.t8('Orphaned') ] ], default=filter.status, style="width: 200px") %]</td> |
|
23 |
<th>[% '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, class='wi-normal') %]</td> |
|
48 | 25 |
</tr> |
26 |
<tr> |
|
27 |
<th>[% 'Project Status' | $T8 %]</th> |
|
28 |
<td>[% L.select_tag('filter.project_status_id', SELF.project_statuses, default=filter.project_status_id, title_key='description', with_empty=1, class='wi-normal') %]</td> |
|
29 |
</tr> |
|
30 |
[% CUSTOM_VARIABLES_FILTER_CODE %] |
|
31 |
</tbody> |
|
32 |
</table> |
|
49 | 33 |
|
34 |
<table class="tbl-horizontal"> |
|
35 |
<caption>[% 'Include in Report' | $T8 %]</caption> |
|
36 |
<tbody> |
|
37 |
<tr> |
|
38 |
<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> |
|
39 |
</tr> |
|
40 |
<tr> |
|
41 |
<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> |
|
42 |
</tr> |
|
43 |
<tr> |
|
44 |
<td>[% L.select_tag('filter.status', [ [ 'all', LxERP.t8('All') ], [ 'orphaned', LxERP.t8('Orphaned') ] ], default=filter.status, style="width: 200px") %]</td> |
|
45 |
</tr> |
|
50 | 46 |
[% CUSTOM_VARIABLES_INCLUSION_CODE %] |
51 |
|
|
52 |
</table> |
|
53 |
</td> |
|
54 |
</tr> |
|
47 |
</tbody> |
|
55 | 48 |
</table> |
56 | 49 |
|
57 |
[% L.button_tag('$("#search_form").resetForm()', LxERP.t8('Reset')) %] |
|
50 |
<div class="buttons"> |
|
51 |
[% L.button_tag('$("#search_form").resetForm()', LxERP.t8('Reset'), class="neutral") %] |
|
52 |
</div> |
|
53 |
[% END # /BLOCK filter_toggle_panel %] |
|
54 |
|
|
55 |
[% INCLUDE 'common/toggle_panel.html' %] |
Auch abrufbar als: Unified diff
Neues kivitendo Design Aenderungen in templates/webpages/project/..