7 <tr class='[% class %]'>
8 [% FOREACH col IN column_index %]
9 <td class='[% class %] numeric'>
11 [%- CASE [ 'netamount', 'tax', 'amount' ] %][% LxERP.format_amount(row.$col, 2) %]
12 [%- CASE %] [% END %]
20 <h1>[% title %] [% SET tax_report__accno_title = accno _ '_description' %][% GET $tax_report__accno_title %]</h1>
23 [% FOREACH option IN options %][% option %][% '<br>' UNLESS loop.last %][% END %]
27 <tr class=listheading>
28 [%- FOREACH col IN column_index %]
30 [%- IF column_sorted.$col %]<a href="[% sort_base %]&sort=[% col %]">[% END %]
31 [%- column_header.$col %]
32 [%- IF column_sorted.$col %]</a>[% END %]
37 [%- FOREACH row IN DATA %]
39 [% PROCESS sub_total class='listsubtotal' %]
41 [% PROCESS sub_total class='listtotal' %]
43 <tr class='listrow[% loop.count % 2 %]'>
44 [%- FOREACH col IN column_index %]
45 <td[% IF row.$col.numeric %] class="numeric"[% END %]>
46 [%- IF row.$col.link %]<a href="[% row.$col.link %]">[% END %]
47 [%- IF row.$col.numeric %]
48 [%- LxERP.format_amount(row.$col.data, 2) | html %]
50 [%- row.$col.data | html %]
52 [%- IF row.$col.link %]</a>[% END %]