summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-12-16 05:12:02 +0000
committerivan <ivan>2011-12-16 05:12:02 +0000
commit4e5fc2ececbe47679c3cf99c2d8a4a7ce358952e (patch)
treef2c8617041e81463b024d9397e20e3bfe020cabc
parenta69eea569bf7db91a4e15c0339c9201841c0b003 (diff)
fix "tax credited" links on tax report for the taxclass + not taxclass in same region case, RT#15469
-rw-r--r--httemplate/search/cust_credit_bill_pkg.html5
1 files changed, 4 insertions, 1 deletions
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 )) {