projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49bedb2
)
RT# 79636,42357 invoice_sections_with_taxes bugfix
author
Mitch Jackson
<mitch@freeside.biz>
Sun, 15 Apr 2018 00:32:03 +0000
(19:32 -0500)
committer
Mitch Jackson
<mitch@freeside.biz>
Sun, 15 Apr 2018 00:32:03 +0000
(19:32 -0500)
FS/FS/Template_Mixin.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Template_Mixin.pm
b/FS/FS/Template_Mixin.pm
index
04ef4aa
..
4f5501d
100644
(file)
--- a/
FS/FS/Template_Mixin.pm
+++ b/
FS/FS/Template_Mixin.pm
@@
-1195,7
+1195,8
@@
sub print_generic {
my %options = ();
$options{'section'} = $section if $multisection;
$options{'section_with_taxes'} = 1
- if $conf->config_bool('invoice_sections_with_taxes', $cust_main->agentnum);
+ if $multisection
+ && $conf->config_bool('invoice_sections_with_taxes', $cust_main->agentnum);
$options{'format'} = $format;
$options{'escape_function'} = $escape_function;
$options{'no_usage'} = 1 unless $unsquelched;