[freeside-commits] branch FREESIDE_4_BRANCH updated. 799369dbc4827b78a1e9cd5e931bc861ce2ac449

Mitch Jackson mitch at freeside.biz
Mon Apr 16 16:20:56 PDT 2018


The branch, FREESIDE_4_BRANCH has been updated
       via  799369dbc4827b78a1e9cd5e931bc861ce2ac449 (commit)
      from  f8d0dfdccd91859dc643d8e97f75d82a08694dc4 (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 799369dbc4827b78a1e9cd5e931bc861ce2ac449
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 2091c48c8..c56bbed5a 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -1089,7 +1089,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