From a69eea569bf7db91a4e15c0339c9201841c0b003 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 16 Dec 2011 04:48:07 +0000 Subject: [PATCH] fix "tax invoiced" links on tax report for the taxclass + not taxclass in same region case, RT#15469 --- httemplate/search/cust_bill_pkg.cgi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/httemplate/search/cust_bill_pkg.cgi b/httemplate/search/cust_bill_pkg.cgi index 58856f387..5cffd2b3e 100644 --- a/httemplate/search/cust_bill_pkg.cgi +++ b/httemplate/search/cust_bill_pkg.cgi @@ -303,8 +303,11 @@ if ( $cgi->param('out') ) { #warn "neither nottax nor istax parameters specified"; } - if ( $cgi->param('taxclassNULL') ) { - + if ( $cgi->param('taxclassNULL') + && ! $cgi->param('istax') #no part_pkg.taxclass in this case + #(see comment above?) + ) + { my %hash = ( 'country' => scalar($cgi->param('country')) ); foreach (qw( state county )) { $hash{$_} = scalar($cgi->param($_)) if $cgi->param($_); -- 2.20.1