summaryrefslogtreecommitdiff
path: root/FS/FS/Template_Mixin.pm
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2018-04-14 17:29:03 -0500
committerMitch Jackson <mitch@freeside.biz>2018-04-16 22:48:19 +0000
commit799369dbc4827b78a1e9cd5e931bc861ce2ac449 (patch)
tree3117dcb21a60cf9fa4eb3202d329ea1f5b289905 /FS/FS/Template_Mixin.pm
parentf8d0dfdccd91859dc643d8e97f75d82a08694dc4 (diff)
RT# 79636,42357 Suppress $0.00 summary line items
Diffstat (limited to 'FS/FS/Template_Mixin.pm')
-rw-r--r--FS/FS/Template_Mixin.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index 2091c48..c56bbed 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