X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Freport_generator%2Fhtml_report.html;h=bd9ac7a514a2da6028ec96351df499e8d7822b56;hb=bd3ddb3abf7d621a428b2da42e378324ac417acc;hp=1430969dd940b3d882550cb33f4995693d95a62d;hpb=1e987ead5875777bdc8517d27ca03a0e638bbe74;p=kivitendo-erp.git diff --git a/templates/webpages/report_generator/html_report.html b/templates/webpages/report_generator/html_report.html index 1430969dd..bd9ac7a51 100644 --- a/templates/webpages/report_generator/html_report.html +++ b/templates/webpages/report_generator/html_report.html @@ -19,6 +19,8 @@

[% TITLE %]

+ [%- INCLUDE 'common/flash.html' %] + [% IF TOP_INFO_TEXT %]

[% TOP_INFO_TEXT %]

[% END %] @@ -27,7 +29,8 @@ [% IF DATA_PRESENT %]

- +
+ [%- FOREACH row = HEADER_ROWS %] [% FOREACH col = row %] @@ -35,15 +38,21 @@ [%- IF col.align %] align="[% HTML.escape(col.align) %]" style="text-align: [% HTML.escape(col.align) %]"[% END -%] [%- IF col.colspan && col.colspan > 1 %] colspan="[% HTML.escape(col.colspan) %]"[% END -%] > - [%- IF col.link -%][%- END -%] - [%- col.text -%] - [%- IF col.show_sort_indicator -%][%- END -%] - [%- IF col.link -%][%- END -%] + [%- IF col.raw_header_data %] + [% col.raw_header_data %] + [% ELSE %] + [%- IF col.link -%][%- END -%] + [%- col.text -%] + [%- IF col.show_sort_indicator -%][%- END -%] + [%- IF col.link -%][%- END -%] + [%- END %] [% END %] [%- END %] + + [% FOREACH row = ROWS %] [% IF row.IS_CONTROL %] [% IF row.IS_COLSPAN_DATA %][% END %] @@ -76,6 +85,7 @@ [% END %] [% END %] +
[% row.data %]


@@ -90,27 +100,32 @@ [% END %] [% IF SHOW_EXPORT_BUTTONS %] -
+ [% FOREACH var = EXPORT_VARIABLES %] [% END %] [%- IF CONTROLLER_DISPATCH %] +[% IF !SKIP_BUTTONS %] +[%- END %][%# !SKIP_BUTTONS %] +[% IF !SKIP_BUTTONS %]

[% 'List export' | $T8 %]
[% IF ALLOW_PDF_EXPORT %][% END %] [% IF ALLOW_CSV_EXPORT %][% END %]

+[%- END %][%# !SKIP_BUTTONS %] [%- ELSE %] +[% IF !SKIP_BUTTONS %]

[% 'List export' | $T8 %]
[% IF ALLOW_PDF_EXPORT %][% END %] @@ -122,6 +137,7 @@ document.report_generator_form.submit(); } // --> +[%- END %][%# !SKIP_BUTTONS %] [%- END %]