X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fsearch%2Ffuture_autobill.html;h=2e723ec79d025d281cc8818e51b288800e73fb76;hb=fc263806f5e475559a0c4cfdb70a5f1cefe0ffa3;hp=8f59d71dbb5c69de66d52e240b1bc3c81462a5b5;hpb=8807939a466d20893efc5655e61ac38f891d6d05;p=freeside.git 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>