From 3d5b5f472b76999daacc646f8d45dc42aba48bfd Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 26 Feb 2013 01:56:37 -0800 Subject: [PATCH] fix tax credit report detail w/enable_taxclasses, RT#21558, fallout from #18676 --- httemplate/search/cust_credit_bill_pkg.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/httemplate/search/cust_credit_bill_pkg.html b/httemplate/search/cust_credit_bill_pkg.html index b0dbc7000..63d70c27e 100644 --- a/httemplate/search/cust_credit_bill_pkg.html +++ b/httemplate/search/cust_credit_bill_pkg.html @@ -429,7 +429,7 @@ if ( $cgi->param('nottax') ) { s/cust_pkg\.locationnum/cust_bill_pkg_tax_location.locationnum/g for @where; } -} else { +} else { #warn "neither nottax nor istax parameters specified"; #same as before? @@ -464,7 +464,7 @@ my @post_desc_header = (); my @post_desc = (); my @post_desc_null = (); my $post_desc_align = ''; -if ( $conf->exists('enable_taxclasses') ) { +if ( $conf->exists('enable_taxclasses') && ! $cgi->param('istax') ) { push @post_desc_header, 'Tax class'; push @post_desc, 'taxclass'; push @post_desc_null, ''; -- 2.11.0