summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2011-12-16 04:48:36 +0000
committerivan <ivan>2011-12-16 04:48:36 +0000
commit980123f76a0d19a7e875c6655c4912d7ea239446 (patch)
treea58d8d864a69c96b88833e21243de19f85cffffc /httemplate
parentbd88a766f5d9e2f03f4edb5c3a9541aed1a30758 (diff)
fix "tax invoiced" 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_bill_pkg.cgi7
1 files changed, 5 insertions, 2 deletions
diff --git a/httemplate/search/cust_bill_pkg.cgi b/httemplate/search/cust_bill_pkg.cgi
index 15edba0b7..13fb9f836 100644
--- a/httemplate/search/cust_bill_pkg.cgi
+++ b/httemplate/search/cust_bill_pkg.cgi
@@ -300,8 +300,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($_);