]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/chart/report_configuration_overview.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / chart / report_configuration_overview.html
1 [% USE HTML %]
2 [% USE LxERP %]
3 [% USE L %]
4
5 <h1>[% LxERP.t8("Chart configuration overview regarding reports") %]</h1>
6
7 <div class="wrapper">
8
9 [% FOREACH data = DATA %]
10
11   [% UNLESS data.size == 1 %]
12     <div id="[% HTML.escape(data.type) %]" style="clear:left;float:none;" class="select-item control-panel">
13      [% LxERP.t8("Jump to") %]:
14      [% FOREACH jump = DATA %]
15        [% IF jump.type != data.type %] [% L.link("#" _ jump.type, jump.heading) %][% END %]
16      [% END %]
17     </div>
18   [% END %]
19
20  <h2 style="clear:left;">[% HTML.escape(data.heading) %]</h2>
21
22   [% FOREACH pos = data.positions %]
23     [% SET name = data.names.item(pos) %]
24     [% SET charts = data.charts.$pos %]
25     <table class="tbl-plain" style="clear:left;float:none;">
26       <caption>[% IF name %][% LxERP.t8("Position #1: #2", pos, name) %][% ELSE %][% LxERP.t8("Position #1", pos) %][% END %]</caption>
27       <colgroup><col class="wi-verysmall"><col class="wi-lightwide"></colgroup>
28         <thead>
29           <tr>
30             <th>[% LxERP.t8("Account") %]</th>
31             <th>[% LxERP.t8("Description") %]</th>
32           </tr>
33         </thead>
34      <tbody>
35     [% FOREACH chart = charts %]
36       <tr>
37        <td>[% L.link("am.pl?action=edit_account&id=" _ chart.id, chart.accno) %]</td>
38        <td>[% HTML.escape(chart.description) %]</td>
39       </tr>
40       [% END %]
41      </tbody>
42     </table>
43   [% END %]
44
45 [% END %]
46
47 </div><!-- /.wrapper -->