From 4e5fc2ececbe47679c3cf99c2d8a4a7ce358952e Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 16 Dec 2011 05:12:02 +0000 Subject: fix "tax credited" links on tax report for the taxclass + not taxclass in same region case, RT#15469 --- httemplate/search/cust_credit_bill_pkg.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/httemplate/search/cust_credit_bill_pkg.html b/httemplate/search/cust_credit_bill_pkg.html index 622d1cf..fef295e 100644 --- a/httemplate/search/cust_credit_bill_pkg.html +++ b/httemplate/search/cust_credit_bill_pkg.html @@ -264,7 +264,10 @@ if ( $cgi->param('out') ) { #warn "neither nottax nor istax parameters specified"; } - if ( $cgi->param('taxclassNULL') ) { + if ( $cgi->param('taxclassNULL') + && ! $cgi->param('istax') #no taxclass in this case + ) + { my %hash = ( 'country' => scalar($cgi->param('country')) ); foreach (qw( state county )) { -- cgit v1.1