X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Fgrouped-search%2Fhtml;h=24cf50e9645a8a6b28edbad250f33049351e8f81;hb=fc263806f5e475559a0c4cfdb70a5f1cefe0ffa3;hp=28d00404b2e64e3811240be034ca689d24e48248;hpb=0ed150d5dd7027513942b74eb362460bc7c2e884;p=freeside.git diff --git a/httemplate/search/elements/grouped-search/html b/httemplate/search/elements/grouped-search/html index 28d00404b..24cf50e96 100644 --- a/httemplate/search/elements/grouped-search/html +++ b/httemplate/search/elements/grouped-search/html @@ -34,7 +34,7 @@ my $footer = $group_info->{group_footers}[$curr_group]; my $total_footer = $group_info->{total_footer} || []; # pagination my ($limit, $offset); -my $maxrecords = $conf->config('maxsearchrecordsperpage') || 50; +my $maxrecords = $conf->config('maxsearchrecordsperpage') || 100; if ( $cgi->param('maxrecords') =~ /^(\d+)$/ ) { $maxrecords = $1; } @@ -90,6 +90,8 @@ if ($group_info->{num} > 1) { # } #} +my $conf = FS::Conf->new; +my $money = $conf->config('money_char') || '$'; <& /elements/header.html, $opt{title} &> @@ -107,14 +109,18 @@ if ($group_info->{num} > 1) {
% if ( $group->num_rows > 0 ) { -

<% emt('[quant,_1,_2]', $group->num_rows, $opt{name_singular}) %> +

<% emt('[quant,_1,_2]', $group->num_rows, $opt{name_singular}) %> for <% emt($money.$group->paid) %>

%# download links

<% emt('Download results:') %> % $cgi->param('type', 'xls'); -<% emt('Spreadsheet') %> |  +<% emt('Spreadsheet') %> | % $cgi->param('type', 'html-print'); <% emt('webpage') %> +% if ( ref($query) && $query->{table} eq 'cust_pay' ) { +% $cgi->param('type', 'deposit_slip'); + | <% emt('deposit slip') %> +% } % $cgi->delete('type');

% }