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 %]
19 <h1>[% title %] [% SET tax_report__accno_title = accno _ '_description' %][% GET $tax_report__accno_title %]</h1>
22 [% FOREACH option IN options %][% option %][% '<br>' UNLESS loop.last %][% END %]
26 <tr class=listheading>
27 [%- FOREACH col IN column_index %]
29 [%- IF column_sorted.$col %]<a href="[% sort_base %]&sort=[% col %]">[% END %]
30 [%- column_header.$col %]
31 [%- IF column_sorted.$col %]</a>[% END %]
36 [%- FOREACH row IN DATA %]
38 [% PROCESS sub_total class='listsubtotal' %]
40 [% PROCESS sub_total class='listtotal' %]
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 %]
49 [%- row.$col.data | html %]
51 [%- IF row.$col.link %]</a>[% END %]