RT# 71364 - Added group total to top of payment report
authorChristopher Burger <burgerc@freeside.biz>
Wed, 20 Dec 2017 16:26:37 +0000 (11:26 -0500)
committerMitch Jackson <mitch@freeside.biz>
Tue, 9 Jan 2018 03:35:46 +0000 (21:35 -0600)
httemplate/search/elements/grouped-search/html

index c1fd9bd..ae80865 100644 (file)
@@ -90,6 +90,8 @@ if ($group_info->{num} > 1) {
 #  }
 #}
 
+my $conf = FS::Conf->new;
+my $money = $conf->config('money_char') || '$';
 </%init>
 
 <& /elements/header.html, $opt{title} &>
@@ -107,7 +109,7 @@ 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><% emt('[quant,_1,_2]', $group->num_rows, $opt{name_singular}) %> for <% emt($money.$group->paid) %>
 </P>
 %# download links
 <P><% emt('Download results:') %>