diff options
| author | ivan <ivan> | 2008-07-08 02:03:07 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2008-07-08 02:03:07 +0000 |
| commit | 4a621a8ef69cb404a419bab97bc17f18ca5f959b (patch) | |
| tree | 2539f882c7704eaea75784a130eb286c30d1a11c /httemplate/search/cust_bill_pkg.cgi | |
| parent | dc54bf85943272b539324bbc52c82cc80434ba34 (diff) | |
fix line-item reports on taxclass-less regions
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'); |
