summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2011-12-16 05:12:00 +0000
committerivan <ivan>2011-12-16 05:12:00 +0000
commit41c4deea5e98dcfa55662b9a9a623902c4ce16ed (patch)
treeefd1297e9f1eeebbc5964172562b43d3ff6951c5 /httemplate
parent3c8da02d0f84b7f40eca60415983135b8d4c9704 (diff)
fix "tax credited" links on tax report for the taxclass + not taxclass in same region case, RT#15469
Diffstat (limited to 'httemplate')
-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 )) {