[freeside-commits] branch FREESIDE_3_BRANCH updated. b3f2ec98134fb50128e2bbe00bd22c3a3dc18a9a

Mitch Jackson mitch at freeside.biz
Mon Apr 16 16:28:46 PDT 2018


The branch, FREESIDE_3_BRANCH has been updated
       via  b3f2ec98134fb50128e2bbe00bd22c3a3dc18a9a (commit)
      from  a66fcac48d676a3218f5d25aa270a2e18554acd5 (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 b3f2ec98134fb50128e2bbe00bd22c3a3dc18a9a
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 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;

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/Template_Mixin.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list