Revision 7701b0dd
Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/reconciliation/form.html | ||
---|---|---|
3 | 3 |
[%- USE LxERP %] |
4 | 4 |
[%- USE L %] |
5 | 5 |
|
6 |
<style type="text/css"> |
|
7 |
<!-- |
|
8 |
html, body { |
|
9 |
height: 100%; |
|
10 |
} |
|
11 |
.top_border { |
|
12 |
border-top: solid black; |
|
13 |
border-width: 4px; |
|
14 |
} |
|
15 |
.bottom_border { |
|
16 |
border-bottom: solid black; |
|
17 |
border-width: 4px; |
|
18 |
} |
|
19 |
#content.html-menu { height: 100%; } |
|
20 |
.out_of_balance { |
|
21 |
color: #888888; |
|
22 |
} |
|
23 |
--> |
|
24 |
</style> |
|
6 |
<h1>[% title %]</h1> |
|
25 | 7 |
|
26 |
<div class="listtop">[% title %]</div> |
|
27 | 8 |
[%- INCLUDE 'common/flash.html' %] |
28 | 9 |
|
29 |
<form id="reconciliation_form" method="post" action="controller.pl" style="height:100%" id="filter_form"> |
|
30 |
<table> |
|
10 |
<form id="reconciliation_form" method="post" action="controller.pl" id="filter_form"> |
|
11 |
|
|
12 |
<table class="tbl-horizontal test"> |
|
13 |
<tbody> |
|
31 | 14 |
<tr> |
32 |
<th align="right">[% 'Bank account' | $T8 %]</th>
|
|
15 |
<th>[% 'Bank account' | $T8 %]</th> |
|
33 | 16 |
<td>[% L.select_tag('filter.local_bank_account_id:number', |
34 | 17 |
SELF.BANK_ACCOUNTS, |
35 | 18 |
default=FORM.filter.local_bank_account_id_number, |
... | ... | |
40 | 23 |
</tr> |
41 | 24 |
|
42 | 25 |
<tr> |
43 |
<th align="right">[% 'From' | $T8 %]</th>
|
|
26 |
<th>[% 'From' | $T8 %]</th> |
|
44 | 27 |
<td>[% L.date_tag('filter.fromdate:date::ge', FORM.filter.fromdate_date__ge, onchange='filter_table();') %]</td> |
45 |
<th align="right">[% 'to (date)' | $T8 %]</th>
|
|
28 |
<th>[% 'to (date)' | $T8 %]</th> |
|
46 | 29 |
<td>[% L.date_tag('filter.todate:date::le', FORM.filter.todate_date__le, onchange='filter_table();') %]</td> |
47 | 30 |
</tr> |
48 | 31 |
|
49 | 32 |
<tr> |
50 |
<th align="right">[% 'Cleared/uncleared only' | $T8 %]</th>
|
|
33 |
<th>[% 'Cleared/uncleared only' | $T8 %]</th> |
|
51 | 34 |
<td>[% L.select_tag('filter.cleared:eq_ignore_empty', SELF.cleared, value_key = 'value', title_key = 'title', default=FORM.filter.cleared_eq_ignore_empty, onchange='filter_table();') %]</td> |
52 | 35 |
</tr> |
53 | 36 |
|
54 | 37 |
<tr> |
55 |
<th align="right">[% 'Show Stornos' | $T8 %]</th>
|
|
38 |
<th>[% 'Show Stornos' | $T8 %]</th> |
|
56 | 39 |
<td>[% L.checkbox_tag('filter.show_stornos', checked=FORM.filter.show_stornos, value='1', onchange='filter_table();') %]</td> |
57 | 40 |
</tr> |
58 | 41 |
|
59 | 42 |
<tr> |
60 |
<th align="right">[% 'Absolute BT Balance' | $T8 %]</th>
|
|
61 |
<td class='absolut_bt_balance'>[% LxERP.format_amount(SELF.absolut_bt_balance, 2) %]</td>
|
|
43 |
<th>[% 'Absolute BT Balance' | $T8 %]</th> |
|
44 |
<td class="absolut_bt_balance">[% LxERP.format_amount(SELF.absolut_bt_balance, 2) %]</td>
|
|
62 | 45 |
</tr> |
63 | 46 |
|
64 | 47 |
<tr> |
65 |
<th align="right">[% 'Absolute BB Balance' | $T8 %]</th>
|
|
66 |
<td class='absolut_bb_balance'>[% LxERP.format_amount(-1 * SELF.absolut_bb_balance, 2) %]</td>
|
|
48 |
<th>[% 'Absolute BB Balance' | $T8 %]</th> |
|
49 |
<td class="absolut_bb_balance">[% LxERP.format_amount(-1 * SELF.absolut_bb_balance, 2) %]</td>
|
|
67 | 50 |
</tr> |
68 | 51 |
|
69 | 52 |
<tr> |
70 |
<th align="right">[% 'BT Balance' | $T8 %]</th>
|
|
71 |
<td class='bt_balance'>[% LxERP.format_amount(SELF.bt_balance, 2) %]</td>
|
|
53 |
<th>[% 'BT Balance' | $T8 %]</th> |
|
54 |
<td class="bt_balance">[% LxERP.format_amount(SELF.bt_balance, 2) %]</td>
|
|
72 | 55 |
</tr> |
73 | 56 |
|
74 | 57 |
<tr> |
75 |
<th align="right">[% 'BB Balance' | $T8 %]</th>
|
|
76 |
<td class='bb_balance'>[% LxERP.format_amount(-1 * SELF.bb_balance, 2) %]</td>
|
|
58 |
<th>[% 'BB Balance' | $T8 %]</th> |
|
59 |
<td class="bb_balance">[% LxERP.format_amount(-1 * SELF.bb_balance, 2) %]</td>
|
|
77 | 60 |
</tr> |
61 |
</tbody> |
|
78 | 62 |
</table> |
79 | 63 |
|
80 | 64 |
<div id="reconc_tabs" class="tabwidget" style="height:100%"> |
81 | 65 |
<ul> |
82 |
<li><a href="#overview" onclick="load_overview();">[% 'Overview' | $T8 %]</a></li>
|
|
83 |
<li><a href="#automatic" onclick="load_proposals();">[% 'Proposals' | $T8 %]</a></li>
|
|
66 |
<li><a href="#overview" onclick='load_overview();'>[% 'Overview' | $T8 %]</a></li>
|
|
67 |
<li><a href="#automatic" onclick='load_proposals();'>[% 'Proposals' | $T8 %]</a></li>
|
|
84 | 68 |
</ul> |
85 | 69 |
|
86 | 70 |
<div id="overview" style="height:calc(100% - 60px);overflow: auto;"> |
87 | 71 |
[%- IF ui_tab == 0 %] |
88 |
[% PROCESS "reconciliation/tabs/overview.html" %] |
|
72 |
[% PROCESS "reconciliation/tabs/overview.html" %]
|
|
89 | 73 |
[%- END %]</div> |
90 | 74 |
<div id="automatic" style="height:calc(100% - 60px);overflow: auto;"> |
91 | 75 |
[%- IF ui_tab == 1 %] |
92 |
[% PROCESS "reconciliation/tabs/automatic.html" %] |
|
93 |
[%- END %] </div>
|
|
76 |
[% PROCESS "reconciliation/tabs/automatic.html" %]
|
|
77 |
[%- END %]</div> |
|
94 | 78 |
</div> |
95 | 79 |
|
96 | 80 |
</form> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/reconciliation/form.html\n\nInkl. Entfernung eines Style-Containers.