projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix new tax report w/FS::tax_rate_location->location_sql, RT#12332
[freeside.git]
/
httemplate
/
search
/
report_newtax.cgi
diff --git
a/httemplate/search/report_newtax.cgi
b/httemplate/search/report_newtax.cgi
index
0961bbb
..
5b8604b
100755
(executable)
--- 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
);