diff options
Diffstat (limited to 'httemplate/search/cust_bill_pkg.cgi')
| -rw-r--r-- | httemplate/search/cust_bill_pkg.cgi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/search/cust_bill_pkg.cgi b/httemplate/search/cust_bill_pkg.cgi index 5a86dc6e2..306bb3340 100644 --- a/httemplate/search/cust_bill_pkg.cgi +++ b/httemplate/search/cust_bill_pkg.cgi @@ -126,6 +126,11 @@ if ( $cgi->param('out') ) { $where .= ' AND 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; + } + } $where .= ' AND pkgnum != 0' if $cgi->param('nottax'); |
