[freeside-commits] branch FREESIDE_4_BRANCH updated. 35e572b136e0197043ea159ae28fef3d57aeeec2
Mitch Jackson
mitch at freeside.biz
Mon Apr 16 16:28:00 PDT 2018
The branch, FREESIDE_4_BRANCH has been updated
via 35e572b136e0197043ea159ae28fef3d57aeeec2 (commit)
from 799369dbc4827b78a1e9cd5e931bc861ce2ac449 (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 35e572b136e0197043ea159ae28fef3d57aeeec2
Author: Mitch Jackson <mitch at freeside.biz>
Date: Sat Apr 14 19:32:03 2018 -0500
RT# 79636,42357 invoice_sections_with_taxes bugfix
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index c56bbed5a..9b3506156 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -1194,7 +1194,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;
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Template_Mixin.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list