[freeside-commits] branch FREESIDE_3_BRANCH updated. a66fcac48d676a3218f5d25aa270a2e18554acd5

Mitch Jackson mitch at freeside.biz
Mon Apr 16 16:23:35 PDT 2018


The branch, FREESIDE_3_BRANCH has been updated
       via  a66fcac48d676a3218f5d25aa270a2e18554acd5 (commit)
      from  1a49f525882c638ef2df5b9732d2504f18c14da7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a66fcac48d676a3218f5d25aa270a2e18554acd5
Author: Mitch Jackson <mitch at freeside.biz>
Date:   Sat Apr 14 17:29:03 2018 -0500

    RT# 79636,42357 Suppress $0.00 summary line items

diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index 3c063f9eb..54a5d132e 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -1086,7 +1086,7 @@ sub print_generic {
     }
   } else {
     # subtotal sectioning is the same as for the actual invoice sections
-    @summary_subtotals = @sections;
+    @summary_subtotals = grep $_->{subtotal}, @sections;
   }
 
   # Hereafter, push sections to both @sections and @summary_subtotals

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/Template_Mixin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list