summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_bill_pkg.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/cust_bill_pkg.cgi')
-rw-r--r--httemplate/search/cust_bill_pkg.cgi5
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/search/cust_bill_pkg.cgi b/httemplate/search/cust_bill_pkg.cgi
index d04888177..4ac9d9f3f 100644
--- a/httemplate/search/cust_bill_pkg.cgi
+++ b/httemplate/search/cust_bill_pkg.cgi
@@ -122,6 +122,11 @@ if ( $cgi->param('out') ) {
push @where, ' taxclass = '. dbh->quote( $cgi->param('taxclass') )
if $cgi->param('taxclass');
+ if ( $cgi->param('taxclassNULL') ) {
+ my $same_sql = $r->sql_taxclass_sameregion;
+ push @where, $same_sql if $same_sql;
+ }
+
}
push @where, 'pkgnum != 0' if $cgi->param('nottax');