X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/47eb3e455046c41ba2ad1c14bee85bb98ffb3244..d3897394b6547332743ef7a0c984d391f872373c:/SL/ReportGenerator.pm diff --git a/SL/ReportGenerator.pm b/SL/ReportGenerator.pm index 4a76a6c15..ef20879c6 100644 --- a/SL/ReportGenerator.pm +++ b/SL/ReportGenerator.pm @@ -4,6 +4,7 @@ use IO::Wrap; use List::Util qw(max); use Text::CSV_XS; use Text::Iconv; +use PDF::Table; use SL::Form; @@ -453,8 +454,9 @@ sub render_pdf_with_pdf_api2 { push @cell_props, $cell_props_row; foreach (0 .. $num_columns - 1) { - push @{ $cell_props_row }, { 'background_color' => '#000000', - 'font_color' => '#ffffff', }; + push @{ $cell_props_row }, { 'background_color' => '#666666', + 'font_color' => '#ffffff', + 'colspan' => $_ == 0 ? -1 : undef, }; } } next;