4 <script type="text/javascript">
6 function submit_report_generator_form(nextsub) {
7 document.report_generator_form.report_generator_dispatch_to.value = nextsub;
8 document.report_generator_form.submit();
14 <style type="text/css">
17 border-top: solid black;
21 border-bottom: solid black;
31 <div class="listtop" width="100%">[% 'Summen- und Saldenliste' | $T8 %] [% template_fromto %]</div>
33 [% IF TOP_INFO_TEXT %]
34 <p>[% TOP_INFO_TEXT %]</p>
37 [% RAW_TOP_INFO_TEXT %]
43 <th class="listheading" rowspan=2>[% 'Account' | $T8 %]</th>
44 <th class="listheading" rowspan=2>[% 'Description' | $T8 %]</th>
45 <th class="listheading" rowspan=2>[% 'Last Transaction' | $T8 %]</th>
46 <th class="listheading" colspan=2>[% 'Starting Balance' | $T8 %]</th>
47 <th class="listheading" colspan=2>[% 'Sum for' | $T8 %] [% template_fromto %]</th>
48 <th class="listheading" colspan=2>[% 'Sum per' | $T8 %] [% template_to %]</th>
49 <th class="listheading" colspan=2>[% 'Saldo per' | $T8 %] [% template_to %]</th>
52 <th class="listheading">[% 'Assets' | $T8 %]</th>
53 <th class="listheading">[% 'Equity' | $T8 %]</th>
54 <th class="listheading">[% 'Debit' | $T8 %]</th>
55 <th class="listheading">[% 'Credit' | $T8 %]</th>
56 <th class="listheading">[% 'Debit' | $T8 %]</th>
57 <th class="listheading">[% 'Credit' | $T8 %]</th>
58 <th class="listheading">[% 'Debit' | $T8 %]</th>
59 <th class="listheading">[% 'Credit' | $T8 %]</th>
61 [% FOREACH row = ROWS %]
62 [% IF row.IS_CONTROL %]
63 [% IF row.IS_COLSPAN_DATA %]<tr><td colspan="[% row.NUM_COLUMNS %]">[% row.data %]</td></tr>[% END %]
65 <tr class="listrow[% row.outer_idx_odd %]">
66 [%- FOREACH col = row.COLUMNS %]
67 <td[% IF col.align %] align="[% col.align %]"[% END %]
68 [%- IF col.valign %] valign="[% col.valign %]"[%- END %]
69 [%- SET tdclass = '' %]
70 [%- IF row.BORDER_TOP %][%- SET tdclass = "$tdclass top_border" %][%- END %]
71 [%- IF row.BORDER_BOTTOM %][%- SET tdclass = "$tdclass bottom_border" %][%- END %]
72 [%- IF col.class %][%- SET tdclass = "$tdclass $col.class" %][%- END %]
73 [%- IF tdclass %] class="[% tdclass %]"[%- END %]>
74 [%- IF col.raw_data %][%- col.raw_data %][%- END %]
75 [%- USE iterator(col.CELL_ROWS) %][%- FOREACH cell_row = iterator %]
76 [%- IF cell_row.data != '' %]
77 [%- IF cell_row.link %]<a href="[% cell_row.link %]">[%- END %]
79 [%- IF cell_row.link %]</a>[%- END %]
81 [%- UNLESS iterator.last %]<br>[%- END %]
89 <tr><td colspan="[% NUM_COLUMNS %]"><hr size="3" noshade></td></tr>
94 <p class="message_hint">[% 'No data was found.' | $T8 %]</p>
97 [% RAW_BOTTOM_INFO_TEXT %]
99 [% IF BOTTOM_INFO_TEXT %]
100 <p>[% BOTTOM_INFO_TEXT %]</p>
103 [% IF SHOW_EXPORT_BUTTONS %]
104 <form action="[% HTML.escape(script) %]" name="report_generator_form" method="post">
105 [% FOREACH var = EXPORT_VARIABLES %]<input type="hidden" name="report_generator_hidden_[% var.key %]" value="[% HTML.escape(var.value) %]">
108 <input type="hidden" name="report_generator_nextsub" value="[% HTML.escape(EXPORT_NEXTSUB) %]">
109 <input type="hidden" name="report_generator_variable_list" value="[% HTML.escape(EXPORT_VARIABLE_LIST) %]">
110 <input type="hidden" name="report_generator_dispatch_to" value="">
111 <input type="hidden" name="action" value="report_generator_dispatcher">
115 [% IF ALLOW_PDF_EXPORT %]<button type="button" class="submit" onclick="submit_report_generator_form('report_generator_export_as_pdf')">Als PDF exportieren</button>[% END %]
116 [% IF ALLOW_CSV_EXPORT %]<button type="button" class="submit" onclick="submit_report_generator_form('report_generator_export_as_csv')">Als CSV exportieren</button>[% END %]