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:25:13 +0000 |
| commit | b3f2ec98134fb50128e2bbe00bd22c3a3dc18a9a (patch) | |
| tree | db33edadce5e4bb3d2b09955fd40f10a976a31ce | |
| parent | a66fcac48d676a3218f5d25aa270a2e18554acd5 (diff) | |
RT# 79636,42357 invoice_sections_with_taxes bugfix
| -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 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; |
