Revision d43c4c73
Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/bank_transactions/_filter.html | ||
---|---|---|
4 | 4 |
[% USE HTML %] |
5 | 5 |
|
6 | 6 |
<form action='controller.pl' method='post' id='filter_form'> |
7 |
<div class='filter_toggle'> |
|
8 |
<a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Show Filter' | $T8 %]</a> |
|
9 |
[% SELF.filter_summary | html %] |
|
10 |
</div> |
|
11 |
<div class='filter_toggle' style='display:none'> |
|
12 |
<a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Hide Filter' | $T8 %]</a> |
|
13 |
<table id='filter_table'> |
|
7 |
<div class="wrapper"> |
|
8 |
|
|
9 |
[% BLOCK filter_toggle_panel %] |
|
10 |
<table id='filter_table' class="tbl-horizontal"> |
|
11 |
<tbody> |
|
14 | 12 |
<tr> |
15 |
<th align="right">[% 'Bank account' | $T8 %]</th>
|
|
16 |
<td>[% L.select_tag('filter.local_bank_account_id', BANK_ACCOUNTS, default=filter.local_bank_account_id, title_key='displayable_name', with_empty=1, style='width:500px') %]</td>
|
|
13 |
<th>[% 'Bank account' | $T8 %]</th>
|
|
14 |
<td>[% L.select_tag('filter.local_bank_account_id', BANK_ACCOUNTS, default=filter.local_bank_account_id, title_key='displayable_name', with_empty=1, class='wi-verywide') %]</td>
|
|
17 | 15 |
</tr> |
18 |
|
|
19 | 16 |
<tr> |
20 |
<th align="right">[% 'Transdate from' | $T8 %]</th>
|
|
21 |
<td>[% L.date_tag('filter.transdate:date::ge', filter.transdate_date__ge) %]</td>
|
|
17 |
<th>[% 'Transdate from' | $T8 %]</th>
|
|
18 |
<td><span class="wi-date">[% L.date_tag('filter.transdate:date::ge', filter.transdate_date__ge) %]</span></td>
|
|
22 | 19 |
</tr> |
23 |
|
|
24 | 20 |
<tr> |
25 |
<th align="right">[% 'Transdate to' | $T8 %]</th>
|
|
26 |
<td>[% L.date_tag('filter.transdate:date::le', filter.transdate_date__le) %]</td>
|
|
21 |
<th>[% 'Transdate to' | $T8 %]</th>
|
|
22 |
<td><span class="wi-date">[% L.date_tag('filter.transdate:date::le', filter.transdate_date__le) %]</span></td>
|
|
27 | 23 |
</tr> |
28 |
|
|
29 | 24 |
<tr> |
30 |
<th align="right">[% 'Valutadate from' | $T8 %]</th>
|
|
31 |
<td>[% L.date_tag('filter.valutadate:date::ge', filter.valutadate_date__ge) %]</td>
|
|
25 |
<th>[% 'Valutadate from' | $T8 %]</th>
|
|
26 |
<td><span class="wi-date">[% L.date_tag('filter.valutadate:date::ge', filter.valutadate_date__ge) %]</span></td>
|
|
32 | 27 |
</tr> |
33 |
|
|
34 | 28 |
<tr> |
35 |
<th align="right">[% 'Valutadate to' | $T8 %]</th>
|
|
36 |
<td>[% L.date_tag('filter.valutadate:date::le', filter.valutadate_date__le) %]</td>
|
|
29 |
<th>[% 'Valutadate to' | $T8 %]</th>
|
|
30 |
<td><span class="wi-date">[% L.date_tag('filter.valutadate:date::le', filter.valutadate_date__le) %]</span></td>
|
|
37 | 31 |
</tr> |
38 |
|
|
39 | 32 |
<tr> |
40 |
<th align="right">[% 'Remote name' | $T8 %]</th>
|
|
41 |
<td>[% L.input_tag('filter.remote_name:substr::ilike', filter.remote_name_substr__ilike, size=60, class='initial_focus') %]</td>
|
|
33 |
<th>[% 'Remote name' | $T8 %]</th>
|
|
34 |
<td>[% L.input_tag('filter.remote_name:substr::ilike', filter.remote_name_substr__ilike, class='initial_focus wi-verywide') %]</td>
|
|
42 | 35 |
</tr> |
43 |
|
|
44 | 36 |
<tr> |
45 |
<th align="right">[% 'Remote account number' | $T8 %]</th>
|
|
46 |
<td>[% L.input_tag('filter.remote_account_number:substr::ilike', filter.remote_account_number_substr__ilike, size=60, class='initial_focus') %]</td>
|
|
37 |
<th>[% 'Remote account number' | $T8 %]</th>
|
|
38 |
<td>[% L.input_tag('filter.remote_account_number:substr::ilike', filter.remote_account_number_substr__ilike, class='initial_focus wi-verywide') %]</td>
|
|
47 | 39 |
</tr> |
48 |
|
|
49 | 40 |
<tr> |
50 |
<th align="right">[% 'Remote bank code' | $T8 %]</th>
|
|
51 |
<td>[% L.input_tag('filter.remote_bank_code:substr::ilike', filter.remote_bank_code_substr__ilike, size=60, class='initial_focus') %]</td>
|
|
41 |
<th>[% 'Remote bank code' | $T8 %]</th>
|
|
42 |
<td>[% L.input_tag('filter.remote_bank_code:substr::ilike', filter.remote_bank_code_substr__ilike, size=60, class='initial_focus wi-small') %]</td>
|
|
52 | 43 |
</tr> |
53 |
|
|
54 | 44 |
<tr> |
55 |
<th align="right">[% 'Amount' | $T8 %]</th>
|
|
56 |
<td>[% L.input_tag('filter.amount:number', filter.amount_number, size = 20) %]</td>
|
|
45 |
<th>[% 'Amount' | $T8 %]</th>
|
|
46 |
<td>[% L.input_tag('filter.amount:number', filter.amount_number, class="wi-small") %]</td>
|
|
57 | 47 |
</tr> |
58 |
|
|
59 | 48 |
<tr> |
60 |
<th align="right">[% 'Purpose' | $T8 %]</th>
|
|
61 |
<td>[% L.input_tag('filter.purpose:substr::ilike', filter.purpose_substr__ilike, size=60, class='initial_focus') %]</td>
|
|
49 |
<th>[% 'Purpose' | $T8 %]</th>
|
|
50 |
<td>[% L.input_tag('filter.purpose:substr::ilike', filter.purpose_substr__ilike, size=60, class='initial_focus wi-verywide') %]</td>
|
|
62 | 51 |
</tr> |
63 |
</table> |
|
52 |
</tbody> |
|
53 |
</table> |
|
64 | 54 |
|
65 | 55 |
[% L.hidden_tag('sort_by', FORM.sort_by) %] |
66 | 56 |
[% L.hidden_tag('sort_dir', FORM.sort_dir) %] |
67 | 57 |
[% L.hidden_tag('page', FORM.page) %] |
68 |
|
|
69 |
[% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset')) %]
|
|
58 |
<div class="buttons"> |
|
59 |
[% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset'), class='neutral') %]
|
|
70 | 60 |
</div> |
61 |
[% END %] |
|
62 |
|
|
63 |
|
|
64 |
[% INCLUDE 'common/toggle_panel.html'%] |
|
65 |
|
|
66 |
</div><!-- /.wrapper --> |
|
71 | 67 |
|
72 | 68 |
</form> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/bank_transactions/_filter.html