diff options
author | Mark Wells <mark@freeside.biz> | 2014-01-17 16:39:28 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-01-17 16:39:28 -0800 |
commit | a292db1a4cf376464f01b5625da8680bcb7928da (patch) | |
tree | 7167c34cbebdf073ca7feb7be61b65521d2c9da0 /httemplate/search/cust_bill_pkg.cgi | |
parent | 8271307cb4cb22192c3f1837ead6073cde1c0963 (diff) |
fix a snarl in query construction
Diffstat (limited to 'httemplate/search/cust_bill_pkg.cgi')
-rw-r--r-- | httemplate/search/cust_bill_pkg.cgi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/httemplate/search/cust_bill_pkg.cgi b/httemplate/search/cust_bill_pkg.cgi index 61093d262..7476f4d8c 100644 --- a/httemplate/search/cust_bill_pkg.cgi +++ b/httemplate/search/cust_bill_pkg.cgi @@ -436,12 +436,12 @@ if ( $cgi->param('nottax') ) { $join_pkg .= " LEFT JOIN ($exempt_sub) AS item_exempt USING (billpkgnum)"; - } - # process tax restrictions - unshift @tax_where, - 'cust_bill_pkg_tax_location.taxable_billpkgnum = cust_bill_pkg.billpkgnum', - 'cust_main_county.tax > 0'; + # process tax restrictions + unshift @tax_where, + 'cust_bill_pkg_tax_location.taxable_billpkgnum = cust_bill_pkg.billpkgnum', + 'cust_main_county.tax > 0'; + } my $tax_sub = "SELECT 1 FROM cust_bill_pkg_tax_location |