From: Mitch Jackson Date: Sun, 15 Apr 2018 00:32:03 +0000 (-0500) Subject: RT# 79636,42357 invoice_sections_with_taxes bugfix X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=b3f2ec98134fb50128e2bbe00bd22c3a3dc18a9a;p=freeside.git RT# 79636,42357 invoice_sections_with_taxes bugfix --- diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index 54a5d132e..f32412212 100644 --- a/FS/FS/Template_Mixin.pm +++ b/FS/FS/Template_Mixin.pm @@ -1191,7 +1191,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;