diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-05-18 21:48:50 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-05-18 21:48:50 -0500 |
commit | def6b8e117f3f470170be6fc62e70911450e0aca (patch) | |
tree | f5d63f0bfa59477a3173e9f1be5b9c2f91d2d19f | |
parent | 40a41fd8ce8cbab036e952a56b1bb5d68293c97c (diff) |
RT#42591: OBH Adding Quotation error
-rw-r--r-- | FS/FS/Template_Mixin.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index 5e79ae18b..6b231498e 100644 --- a/FS/FS/Template_Mixin.pm +++ b/FS/FS/Template_Mixin.pm @@ -1063,7 +1063,7 @@ sub print_generic { # start setting up summary subtotals my @summary_subtotals; my $method = $conf->config('summary_subtotals_method'); - if ( $method and $method ne $conf->config($tc.'sections_method') ) { + if ( ( ref($self) ne 'FS::quotation' ) and $method and $method ne $conf->config($tc.'sections_method') ) { # then re-section them by the correct method my %section_method = ( by_category => 1 ); if ( $conf->config('summary_subtotals_method') eq 'location' ) { |