diff options
author | Mitch Jackson <mitch@freeside.biz> | 2018-04-14 19:32:03 -0500 |
---|---|---|
committer | Mitch Jackson <mitch@freeside.biz> | 2018-04-16 23:24:41 +0000 |
commit | 35e572b136e0197043ea159ae28fef3d57aeeec2 (patch) | |
tree | 2ceb7edaf0ae1967f6aa025fa576475e1e7e0fd0 /FS/FS/Template_Mixin.pm | |
parent | 799369dbc4827b78a1e9cd5e931bc861ce2ac449 (diff) |
RT# 79636,42357 invoice_sections_with_taxes bugfix
Diffstat (limited to 'FS/FS/Template_Mixin.pm')
-rw-r--r-- | FS/FS/Template_Mixin.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index c56bbed..9b35061 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; |