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