summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2017-12-20 11:26:37 -0500
committerMitch Jackson <mitch@freeside.biz>2018-01-08 21:35:46 -0600
commit8ae6cc966366a9b97dfb0262307a83ad59120ed2 (patch)
treedc603883343df2057cdb36db5428898ee5dd7840
parentefa77ef0e8309528eb3b613a5b28d173f765b6c3 (diff)
RT# 71364 - Added group total to top of payment report
-rw-r--r--httemplate/search/elements/grouped-search/html4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/search/elements/grouped-search/html b/httemplate/search/elements/grouped-search/html
index c1fd9bd..ae80865 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') || '$';
</%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:') %>