X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Fgrouped-search%2Fhtml;h=2ecb688152001083156aed12aeee462edafc6891;hb=66eb3662102dbf92ac40fb8889c9c5051fd1ed29;hp=aff17cea0b6b91940132ee8c770298b6f7875db4;hpb=09b6319a486ae60d2f86b2e46acce96bf5aa5ffb;p=freeside.git diff --git a/httemplate/search/elements/grouped-search/html b/httemplate/search/elements/grouped-search/html index aff17cea0..2ecb68815 100644 --- a/httemplate/search/elements/grouped-search/html +++ b/httemplate/search/elements/grouped-search/html @@ -71,6 +71,23 @@ for (my $i = 0; $i < $group_info->{num}; $i++) { push @menubar, $group_info->{group_labels}[$i], ";group=$i"; } +# not enabled yet; if we need this at some point, enable it on a per-report +# basis and then disable it for search/cust_pay.html, because it's redundant +# to see "Check Check #130108", "Credit card Card #401...", etc. + +## if this is the combined view, add a column for the group key +#if ( $curr_group == 0 and $opt{'show_combined'} ) { +# unshift @{$opt{'header'}}, ''; +# unshift @{$opt{'fields'}}, $opt{group_label}; +# unshift @{$opt{'sort_fields'}}, $opt{group_column} if $opt{'sort_fields'}; +# $opt{'align'} = 'c'.$opt{'align'}; +# foreach (qw(header2 links link_onclicks color size style cell_style xls_format)) { +# if ( $opt{$_} ) { +# unshift @{$opt{$_}}, ''; +# } +# } +#} + <& /elements/header.html, $opt{title} &> @@ -93,6 +110,7 @@ for (my $i = 0; $i < $group_info->{num}; $i++) { <% emt('as Excel spreadsheet') %>
% $cgi->param('type', 'html-print'); <% emt('as printable copy') %>
+% $cgi->delete('type');

<% $pager %> @@ -102,7 +120,7 @@ for (my $i = 0; $i < $group_info->{num}; $i++) { border-spacing: 0; } - +
<& /search/elements/search-html.html:header_row, 'header' => $opt{'header'},