From: Mitch Jackson Date: Thu, 20 Sep 2018 18:20:47 +0000 (-0400) Subject: RT# 78547 Future autobill report - report totals X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=d88a4d4ce7b2852ee631164483d077783c048cba RT# 78547 Future autobill report - report totals --- diff --git a/httemplate/search/future_autobill.html b/httemplate/search/future_autobill.html index 8f59d71db..2e723ec79 100644 --- a/httemplate/search/future_autobill.html +++ b/httemplate/search/future_autobill.html @@ -52,16 +52,18 @@ there will be 1,400 billing and payment cycles simulated % } -% $pmt_type_subtotal{Total} += $_ for values %pmt_type_subtotal; - - - <% sprintf( '$%.2f', $pmt_type_subtotal{Total} ) %> - - - Total - - - +% if ( keys %pmt_type_subtotal > 1 ) { +% $pmt_type_subtotal{Total} += $_ for values %pmt_type_subtotal; + + + <% sprintf( '$%.2f', $pmt_type_subtotal{Total} ) %> + + + Total + + + +% } % } <%init>