From adfc623691f9de2feacdb62b5b596112509e2ce9 Mon Sep 17 00:00:00 2001 From: Mitch Jackson Date: Sun, 15 Apr 2018 16:41:32 -0500 Subject: RT# 78190,42357 Correct layout discrepancies for bill summary --- conf/invoice_htmlsummary | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) (limited to 'conf/invoice_htmlsummary') diff --git a/conf/invoice_htmlsummary b/conf/invoice_htmlsummary index 249db9b07..c07d7e229 100644 --- a/conf/invoice_htmlsummary +++ b/conf/invoice_htmlsummary @@ -35,15 +35,6 @@ <%= $dollar.$current_less_finance %>
- -
Summary of Payments and Credits
- - - - Payments and Credits - -<%= $dollar.$balance_adjustments %> - -

Invoice Summary @@ -61,16 +52,14 @@ New Charges <%= $dollar.$current_less_finance %> - <%= - foreach my $section ( grep $_->{adjust_section}, @sections) { - $OUT .= ''. ($section->{'description'} ? $section->{'description'} : 'Charges' ). ''; - $OUT .= qq(). $section->{'subtotal'}. ""; - } - %> - - Payments and Credits - -<%= $dollar.sprintf('%.2f', $balance_adjustments) %> - + <%= if ( $balance_adjustments > 0 ) { + $OUT .= " + + Payments and Credits + -$dollar" . sprintf('%.2f', $balance_adjustments). " + + "; + } %> Total Amount Due <%= $dollar.sprintf('%.2f', $balance) %> -- cgit v1.2.1