projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2450436
)
RT# 79636,42357 Suppress $0.00 summary line items
author
Mitch Jackson
<mitch@freeside.biz>
Sat, 14 Apr 2018 22:29:03 +0000
(17:29 -0500)
committer
Mitch Jackson
<mitch@freeside.biz>
Sat, 14 Apr 2018 22:29:03 +0000
(17:29 -0500)
FS/FS/Template_Mixin.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Template_Mixin.pm
b/FS/FS/Template_Mixin.pm
index
6c1e30e
..
04ef4aa
100644
(file)
--- a/
FS/FS/Template_Mixin.pm
+++ b/
FS/FS/Template_Mixin.pm
@@
-1090,7
+1090,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