diff options
author | Mitch Jackson <mitch@freeside.biz> | 2018-04-14 19:32:03 -0500 |
---|---|---|
committer | Mitch Jackson <mitch@freeside.biz> | 2018-04-14 19:32:03 -0500 |
commit | fe2fad859d8444565c0bb35f438accfdf4a240af (patch) | |
tree | db194b2a6043acd89eabd29716a354a28715778f /FS/FS/Template_Mixin.pm | |
parent | 49bedb2bc744edc47f5e189e449c7272da5510db (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 04ef4aa..4f5501d 100644 --- 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; |