1 [%- USE HTML -%][%- USE LxERP -%][%- USE L -%]<h1>[% LxERP.t8("Chart configuration overview regarding reports") %]</h1>
 
   3 [% FOREACH data = DATA %]
 
   4  [% UNLESS data.size == 1 %]
 
   5   <div id="[% HTML.escape(data.type) %]">
 
   6    [% LxERP.t8("Jump to") %]:
 
   7    [% FOREACH jump = DATA %]
 
   8     [% IF jump.type != data.type %]
 
   9      [% L.link("#" _ jump.type, jump.heading) %]
 
  15  <h2>[% HTML.escape(data.heading) %]</h2>
 
  17  [% FOREACH pos = data.positions %]
 
  18   [%- SET name = data.names.item(pos) %]
 
  19   <h3>[% IF name %][% LxERP.t8("Position #1: #2", pos, name) %][% ELSE %][% LxERP.t8("Position #1", pos) %][% END %]</h3>
 
  21   [%- SET charts = data.charts.$pos %]
 
  24     <tr class="listheading">
 
  25      <th>[% LxERP.t8("Account") %]</th>
 
  26      <th>[% LxERP.t8("Description") %]</th>
 
  31     [% FOREACH chart = charts %]
 
  33      <td>[% L.link("am.pl?action=edit_account&id=" _ chart.id, chart.accno) %]</td>
 
  34      <td>[% HTML.escape(chart.description) %]</td>