Revision d25334c6
Von Hans Peter Schlaepfer vor mehr als 6 Jahren hinzugefügt
templates/webpages/rc/step2.html | ||
---|---|---|
1 |
[%- USE HTML %]
|
|
2 |
[%- USE L %]
|
|
3 |
[%- USE T8 %]
|
|
4 |
[%- USE LxERP %]
|
|
1 |
[% USE HTML %] |
|
2 |
[% USE L %] |
|
3 |
[% USE T8 %] |
|
4 |
[% USE LxERP %] |
|
5 | 5 |
|
6 | 6 |
<h1>[% accno | html %]--[% account | html %]</h1> |
7 | 7 |
|
8 | 8 |
<p>[% FOREACH row IN option %][% row %][% ', ' UNLESS loop.last %][% END %]</p> |
9 | 9 |
|
10 | 10 |
<form method="post" action="rc.pl" id="form"> |
11 |
<div class="wrapper"> |
|
11 | 12 |
|
12 |
<table width=100%> |
|
13 |
<tr class=listheading> |
|
14 |
<th>[% L.checkbox_tag('checkall_checkboxes', checkall='input.checkall') %]</th> |
|
15 |
<th>[% 'Date' | $T8 %]</th> |
|
16 |
<th>[% 'Source' | $T8 %]</th> |
|
17 |
<th>[% 'Description' | $T8 %]</th> |
|
18 |
[%- IF is_asset %] |
|
19 |
<th>[% 'Payment' | $T8 %]</th> |
|
20 |
<th>[% 'Deposit' | $T8 %]</th> |
|
21 |
[%- ELSE %] |
|
22 |
<th>[% 'Decrease' | $T8 %]</th> |
|
23 |
<th>[% 'Increase' | $T8 %]</th> |
|
24 |
[%- END %] |
|
25 |
<th>[% 'Balance' | $T8 %]</th> |
|
26 |
</tr> |
|
27 |
<tr class="listrow[% row.j %]"> |
|
28 |
<td></td> |
|
29 |
<td></td> |
|
30 |
<td></td> |
|
31 |
<td></td> |
|
32 |
<td class='numeric'></td> |
|
33 |
<td class='numeric'></td> |
|
34 |
<td class='numeric'>[% LxERP.format_amount(balance.beginning, 2, 0) %]</td> |
|
35 |
</tr> |
|
36 |
[% FOREACH row = DATA %] |
|
37 |
<tr class="listrow[% loop.count % 2 %]"> |
|
38 |
<td> |
|
39 |
[%- IF row.fx_transaction %] |
|
40 |
[% L.hidden_tag('fxoid_' _ row.i, row.oid) %] |
|
41 |
[%- ELSE %] |
|
42 |
[% L.checkbox_tag('cleared_' _ row.i, class='checkall', checked=row.cleared) %] |
|
43 |
[% L.hidden_tag('oid_' _ row.i, row.oid) %] |
|
44 |
[%- END %] |
|
45 |
</td> |
|
46 |
<td>[% row.transdate %]</td> |
|
47 |
<td>[% row.source %]</td> |
|
48 |
<td>[% row.name %]</td> |
|
49 |
<td class='numeric'>[% LxERP.format_amount(row.amount, 2) IF row.amount > 0 %]</td> |
|
50 |
<td class='numeric'>[% LxERP.format_amount(row.amount * -1, 2) IF row.amount < 0 %]</td> |
|
51 |
<td class='numeric'>[% LxERP.format_amount(row.balance, 2, 0) %]</td> |
|
52 |
</tr> |
|
53 |
[% END %] |
|
54 |
<tr class=listtotal> |
|
55 |
<td></td> |
|
56 |
<td></td> |
|
57 |
<td></td> |
|
58 |
<td></td> |
|
59 |
<td class='numeric'>[% LxERP.format_amount(total.credit, 2, 0) %]</td> |
|
60 |
<td class='numeric'>[% LxERP.format_amount(total.debit, 2, 0) %]</td> |
|
61 |
<td class='numeric'></td> |
|
62 |
</tr> |
|
13 |
<table class="tbl-list wi-moderate"> |
|
14 |
<thead> |
|
15 |
<tr> |
|
16 |
<th>[% L.checkbox_tag('checkall_checkboxes', checkall='input.checkall') %]</th> |
|
17 |
<th>[% 'Date' | $T8 %]</th> |
|
18 |
<th>[% 'Source' | $T8 %]</th> |
|
19 |
<th>[% 'Description' | $T8 %]</th> |
|
20 |
[% IF is_asset %] |
|
21 |
<th>[% 'Payment' | $T8 %]</th> |
|
22 |
<th>[% 'Deposit' | $T8 %]</th> |
|
23 |
[% ELSE %] |
|
24 |
<th>[% 'Decrease' | $T8 %]</th> |
|
25 |
<th>[% 'Increase' | $T8 %]</th> |
|
26 |
[% END %] |
|
27 |
<th>[% 'Balance' | $T8 %]</th> |
|
28 |
</tr> |
|
29 |
</thead> |
|
30 |
<tbody> |
|
31 |
<tr> |
|
32 |
<td></td> |
|
33 |
<td></td> |
|
34 |
<td></td> |
|
35 |
<td></td> |
|
36 |
<td class='numeric'></td> |
|
37 |
<td class='numeric'></td> |
|
38 |
<td class='numeric'>[% LxERP.format_amount(balance.beginning, 2, 0) %]</td> |
|
39 |
</tr> |
|
40 |
[% FOREACH row = DATA %] |
|
41 |
<tr> |
|
42 |
<td> [% IF row.fx_transaction %] [% L.hidden_tag('fxoid_' _ row.i, row.oid) %] [% ELSE %] [% L.checkbox_tag('cleared_' _ row.i, class='checkall', checked=row.cleared) %] [% L.hidden_tag('oid_' _ row.i, row.oid) %] [% END %] </td> |
|
43 |
<td>[% row.transdate %]</td> |
|
44 |
<td>[% row.source %]</td> |
|
45 |
<td>[% row.name %]</td> |
|
46 |
<td class='numeric'>[% LxERP.format_amount(row.amount, 2) IF row.amount > 0 %]</td> |
|
47 |
<td class='numeric'>[% LxERP.format_amount(row.amount * -1, 2) IF row.amount < 0 %]</td> |
|
48 |
<td class='numeric'>[% LxERP.format_amount(row.balance, 2, 0) %]</td> |
|
49 |
</tr> |
|
50 |
[% END %] |
|
51 |
</tbody> |
|
52 |
<tfoot> |
|
53 |
<tr> |
|
54 |
<td></td> |
|
55 |
<td></td> |
|
56 |
<td></td> |
|
57 |
<td></td> |
|
58 |
<td class='numeric'>[% LxERP.format_amount(total.credit, 2, 0) %]</td> |
|
59 |
<td class='numeric'>[% LxERP.format_amount(total.debit, 2, 0) %]</td> |
|
60 |
<td class='numeric'></td> |
|
61 |
</tr> |
|
62 |
</tfoot> |
|
63 | 63 |
</table> |
64 | 64 |
|
65 |
<table width=100%> |
|
66 |
<tr valign=top> |
|
67 |
<td> |
|
68 |
<table> |
|
69 |
<tr> |
|
70 |
<th align=right nowrap>[% 'Cleared Balance' | $T8 %]</th> |
|
71 |
<td width=10%></td> |
|
72 |
<td align=right>[% LxERP.format_amount(balance.cleared, 2, 0) %]</td> |
|
73 |
</tr> |
|
74 |
<tr> |
|
75 |
[%- IF fx %] |
|
76 |
<th align=right nowrap>[% 'Exchangerate Difference' | $T8 %]</th> |
|
77 |
<td width=10%></td> |
|
78 |
<td align=right>[% LxERP.format_amount(fx, 2, 0) %]</td> |
|
79 |
[%- END %] |
|
80 |
</tr> |
|
81 |
</table> |
|
82 |
</td> |
|
83 |
<td align=right> |
|
84 |
<table> |
|
85 |
<tr> |
|
86 |
<th align=right nowrap>[% 'Statement Balance' | $T8 %]</th> |
|
87 |
<td width=10%></td> |
|
88 |
<td align=right><input name="statementbalance" size=11 value="[% LxERP.format_amount(balance.statement, 2, 0) %]"></td> |
|
89 |
</tr> |
|
90 |
<tr> |
|
91 |
<th align=right nowrap>[% 'Difference' | $T8 %]</th> |
|
92 |
<td width=10%></td> |
|
93 |
<td align=right><input name=null size=11 value="[% LxERP.format_amount(difference, 2, 0) %]" readonly></td> |
|
94 |
<input type=hidden name=difference value="[% LxERP.format_amount(difference, 2, 0) %]"> |
|
95 |
</tr> |
|
96 |
</table> |
|
97 |
</td> |
|
98 |
</tr> |
|
99 |
</table> |
|
65 |
|
|
66 |
<table class="tbl-horizontal"> |
|
67 |
<tr> |
|
68 |
<th>[% 'Cleared Balance' | $T8 %]</th> |
|
69 |
<td>[% LxERP.format_amount(balance.cleared, 2, 0) %]</td> |
|
70 |
</tr> |
|
71 |
<tr> |
|
72 |
<th>[% 'Statement Balance' | $T8 %]</th> |
|
73 |
<td><input type="text" name="statementbalance" size=11 value="[% LxERP.format_amount(balance.statement, 2, 0) %]"> |
|
74 |
</td> |
|
75 |
</tr> |
|
76 |
[% IF fx %] |
|
77 |
<tr> |
|
78 |
<th>[% 'Exchangerate Difference' | $T8 %]</th> |
|
79 |
<td>[% LxERP.format_amount(fx, 2, 0) %]</td> |
|
80 |
</tr> |
|
81 |
[% END %] |
|
82 |
<tr> |
|
83 |
<th>[% 'Difference' | $T8 %]</th> |
|
84 |
<td> |
|
85 |
<input type="text" name="null" size=11 value="[% LxERP.format_amount(difference, 2, 0) %]" readonly> |
|
86 |
<input type=hidden name="difference" value="[% LxERP.format_amount(difference, 2, 0) %]"> |
|
87 |
</td> |
|
88 |
</tr> |
|
89 |
</table> |
|
90 |
|
|
91 |
|
|
100 | 92 |
|
101 | 93 |
<input type=hidden name=rowcount value="[% rowcount %]"> |
102 | 94 |
<input type=hidden name=accno value="[% accno %]"> |
... | ... | |
105 | 97 |
<input type=hidden name=fromdate value="[% fromdate %]"> |
106 | 98 |
<input type=hidden name=todate value="[% todate %]"> |
107 | 99 |
|
100 |
</div> |
|
108 | 101 |
</form> |
Auch abrufbar als: Unified diff
Aenderungen hpschlaepfer