X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=conf%2Finvoice_htmlsummary;h=c07d7e229a4fd96fe9f65992a5bdfc1009487504;hp=249db9b07d25fe67ee95c1e424d2a5271c9c0567;hb=51c0d6572357ba4d7c11a11e7ff506428c1cc045;hpb=22dd0016d0938f6acb2127d8168a4a1c5e296d3f 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) %>