From d88a4d4ce7b2852ee631164483d077783c048cba Mon Sep 17 00:00:00 2001 From: Mitch Jackson Date: Thu, 20 Sep 2018 14:20:47 -0400 Subject: [PATCH] RT# 78547 Future autobill report - report totals --- httemplate/search/future_autobill.html | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) 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> -- 2.11.0