X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Fgrid-report.html;h=b1e5430125a309a94dded0f3e10d0404be125b4b;hp=98e81785f3b4f40f49fb47cac2643e57eb00b02e;hb=697515200e6e405272bd2d1cdf9784a990057334;hpb=7668262421ea253ffaf95e0233e037f2857f7071 diff --git a/httemplate/search/elements/grid-report.html b/httemplate/search/elements/grid-report.html index 98e81785f..b1e543012 100644 --- a/httemplate/search/elements/grid-report.html +++ b/httemplate/search/elements/grid-report.html @@ -161,7 +161,7 @@ as ">Excel spreadsheet
.shaded { background-color: #c8c8c8; } .totalshaded { background-color: #bfc094; } - +
% foreach my $rowinfo (@rows) { {class} ? ' class="'.$rowinfo->{class}.'"' : ''%>> % my $thisrow = shift @cells; @@ -172,7 +172,11 @@ as ">Excel spreadsheet
% $style .= " rowspan=".$cell->{rowspan} if $cell->{rowspan} > 1; % $style .= " colspan=".$cell->{colspan} if $cell->{colspan} > 1; % $style .= ' class="' . $cell->{class} . '"' if $cell->{class}; +% if ($cell->{bypass_filter}) { + <<%$td%><%$style%>><% $cell->{value} %>> +% } else { <<%$td%><%$style%>><% $cell->{value} |h %>> +% } % } % } @@ -186,4 +190,6 @@ $title @cells $head => '' $foot => '' +$table_width => "100%" +$table_class => "report"