From 7f5987962e31731e57ddeabb1fd20d65324f7e72 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Wed, 20 Dec 2017 11:26:37 -0500 Subject: [PATCH] RT# 71364 - Added group total to top of payment report --- httemplate/search/elements/grouped-search/html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/httemplate/search/elements/grouped-search/html b/httemplate/search/elements/grouped-search/html index c1fd9bd5e..ae8086512 100644 --- a/httemplate/search/elements/grouped-search/html +++ b/httemplate/search/elements/grouped-search/html @@ -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,7 +109,7 @@ 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:') %> -- 2.11.0