Revision 5d2e89ae
Von Hans Peter Schlaepfer vor mehr als 3 Jahren hinzugefügt
templates/webpages/rp/tax_report.html | ||
---|---|---|
15 | 15 |
</tr> |
16 | 16 |
[% END %] |
17 | 17 |
|
18 |
|
|
18 |
<!-- PENDENT: Ueberpruefen, wie sich H1 an dieser Stelle auswirkt --> |
|
19 | 19 |
<h1>[% title %] [% SET tax_report__accno_title = accno _ '_description' %][% GET $tax_report__accno_title %]</h1> |
20 | 20 |
|
21 | 21 |
<p> |
22 | 22 |
[% FOREACH option IN options %][% option %][% '<br>' UNLESS loop.last %][% END %] |
23 | 23 |
</p> |
24 | 24 |
|
25 |
<table width=100%> |
|
26 |
<tr class=listheading> |
|
27 |
[%- FOREACH col IN column_index %] |
|
28 |
<th> |
|
29 |
[%- IF column_sorted.$col %]<a href="[% sort_base %]&sort=[% col %]">[% END %] |
|
30 |
[%- column_header.$col %] |
|
31 |
[%- IF column_sorted.$col %]</a>[% END %] |
|
32 |
</th> |
|
33 |
[%- END %] |
|
34 |
</tr> |
|
35 |
|
|
36 |
[%- FOREACH row IN DATA %] |
|
37 |
[% IF row.subtotal %] |
|
38 |
[% PROCESS sub_total class='listsubtotal' %] |
|
39 |
[% ELSIF row.total %] |
|
40 |
[% PROCESS sub_total class='listtotal' %] |
|
41 |
[% ELSE %] |
|
42 |
<tr class='listrow[% loop.count % 2 %]'> |
|
43 |
[%- FOREACH col IN column_index %] |
|
44 |
<td[% IF row.$col.numeric %] class="numeric"[% END %]> |
|
45 |
[%- IF row.$col.link %]<a href="[% row.$col.link %]">[% END %] |
|
46 |
[%- IF row.$col.numeric %] |
|
47 |
[%- LxERP.format_amount(row.$col.data, 2) | html %] |
|
48 |
[%- ELSE %] |
|
49 |
[%- row.$col.data | html %] |
|
50 |
[%- END %] |
|
51 |
[%- IF row.$col.link %]</a>[% END %] |
|
52 |
</td> |
|
53 |
[%- END %] |
|
54 |
</tr> |
|
55 |
[% END %] |
|
56 |
[%- END %] |
|
25 |
<table class="tbl-list"> |
|
26 |
<thead> |
|
27 |
<tr> |
|
28 |
[% FOREACH col IN column_index %] |
|
29 |
<th> |
|
30 |
[% IF column_sorted.$col %]<a href="[% sort_base %]&sort=[% col %]">[% END %] |
|
31 |
[% column_header.$col %] |
|
32 |
[% IF column_sorted.$col %]</a>[% END %] |
|
33 |
</th> |
|
34 |
[% END %] |
|
35 |
</tr> |
|
36 |
</thead> |
|
37 |
<tbody> |
|
38 |
[% FOREACH row IN DATA %] |
|
39 |
[% IF row.subtotal %] |
|
40 |
[% PROCESS sub_total class='listsubtotal' %] |
|
41 |
[% ELSIF row.total %] |
|
42 |
[% PROCESS sub_total class='listtotal' %] |
|
43 |
[% ELSE %] |
|
44 |
<tr> |
|
45 |
[% FOREACH col IN column_index %] |
|
46 |
<td[% IF row.$col.numeric %] class="numeric"[% END %]> |
|
47 |
[% IF row.$col.link %]<a href="[% row.$col.link %]">[% END %] |
|
48 |
[% IF row.$col.numeric %] |
|
49 |
[% LxERP.format_amount(row.$col.data, 2) | html %] |
|
50 |
[% ELSE %] |
|
51 |
[% row.$col.data | html %] |
|
52 |
[% END %] |
|
53 |
[% IF row.$col.link %]</a>[% END %] |
|
54 |
</td> |
|
55 |
[% END %] |
|
56 |
</tr> |
|
57 |
[% END %] |
|
58 |
[% END %] |
|
59 |
</tbody> |
|
57 | 60 |
</table> |
58 |
<hr size=3 noshade> |
|
61 |
|
|
59 | 62 |
|
Auch abrufbar als: Unified diff
Design 4.0: Anpassungen neues kivitendo Design in templates/webpages/rp/..