summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2011-04-15 23:33:50 +0000
committerivan <ivan>2011-04-15 23:33:50 +0000
commit69b7b85a2f35062008efe5fc73e7769eef92ab11 (patch)
treea9293c6470e9139f96daab4ac232ff49e3069110 /httemplate
parent5ce7e6b73c3fc869e90dece88557ff3951c9d52b (diff)
fix new tax report w/FS::tax_rate_location->location_sql, RT#12332
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/search/report_newtax.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/report_newtax.cgi b/httemplate/search/report_newtax.cgi
index 0961bbb4c..5b8604b1d 100755
--- a/httemplate/search/report_newtax.cgi
+++ b/httemplate/search/report_newtax.cgi
@@ -121,7 +121,7 @@ foreach my $t (qsearch({ table => 'cust_bill_pkg',
my $payby_itemdesc_loc =
" payby != 'COMP' ".
- "AND itemdesc = ? OR ? = '' AND itemdesc IS NULL ".
+ "AND ( itemdesc = ? OR ? = '' AND itemdesc IS NULL ) ".
"AND ". FS::tax_rate_location->location_sql( map { $_ => $t->$_ }
@taxparams
);