summaryrefslogtreecommitdiff
path: root/httemplate/search/elements/grouped-search/html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-12-01 14:35:59 -0800
committerMark Wells <mark@freeside.biz>2016-12-01 14:39:46 -0800
commit0ed150d5dd7027513942b74eb362460bc7c2e884 (patch)
treed68ceca5ed60478b20d13b720db523e409235268 /httemplate/search/elements/grouped-search/html
parent85d0dbbdb844857f17192c5f0740f63c9681b9e6 (diff)
fix subtotal and per-group item count on payment report, #25944 and #71364
Diffstat (limited to 'httemplate/search/elements/grouped-search/html')
-rw-r--r--httemplate/search/elements/grouped-search/html10
1 files changed, 7 insertions, 3 deletions
diff --git a/httemplate/search/elements/grouped-search/html b/httemplate/search/elements/grouped-search/html
index 9c2418a..28d0040 100644
--- a/httemplate/search/elements/grouped-search/html
+++ b/httemplate/search/elements/grouped-search/html
@@ -106,14 +106,18 @@ if ($group_info->{num} > 1) {
&>
<DIV CLASS="fstabcontainer">
+% if ( $group->num_rows > 0 ) {
+<P><% emt('[quant,_1,_2]', $group->num_rows, $opt{name_singular}) %>
+</P>
%# download links
-<P><% emt('Download full results') %><BR>
+<P><% emt('Download results:') %>
% $cgi->param('type', 'xls');
-<A HREF="<% $cgi->self_url %>"><% emt('as Excel spreadsheet') %></A><BR>
+<A HREF="<% $cgi->self_url %>"><% emt('Spreadsheet') %></A>&nbsp;|&nbsp;
% $cgi->param('type', 'html-print');
-<A HREF="<% $cgi->self_url %>"><% emt('as printable copy') %></A><BR>
+<A HREF="<% $cgi->self_url %>"><% emt('webpage') %></A>
% $cgi->delete('type');
</P>
+% }
<% $pager %>