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