Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / chart / report_configuration_overview.html
1 [%- USE HTML -%][%- USE LxERP -%][%- USE L -%]<h1>[% LxERP.t8("Chart configuration overview regarding reports") %]</h1>
2
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) %]
10     [% END %]
11    [% END %]
12   </div>
13  [% END %]
14
15  <h2>[% HTML.escape(data.heading) %]</h2>
16
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>
20
21   [%- SET charts = data.charts.$pos %]
22   <table>
23    <thead>
24     <tr class="listheading">
25      <th>[% LxERP.t8("Account") %]</th>
26      <th>[% LxERP.t8("Description") %]</th>
27     </tr>
28    </thead>
29
30    <tbody>
31     [% FOREACH chart = charts %]
32     <tr>
33      <td>[% L.link("am.pl?action=edit_account&id=" _ chart.id, chart.accno) %]</td>
34      <td>[% HTML.escape(chart.description) %]</td>
35     </tr>
36     [% END %]
37    </tbody>
38   </table>
39  [% END %]
40 [% END %]