summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-05-07 12:44:11 -0700
committerMark Wells <mark@freeside.biz>2012-05-07 12:44:11 -0700
commit01d9085c7db7c3c96c3a8ef9ebe049b4a3bbbb18 (patch)
treee2125b28acd8b72de65f26492d83be023b80be59 /httemplate
parenta7ec3dcd42e7f15b2bce2abfb5dc9ea07c964cd4 (diff)
fix tax calculation based on ship address, from #17051
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/search/report_tax.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/report_tax.cgi b/httemplate/search/report_tax.cgi
index bfbc5fe5a..248f6c5e4 100755
--- a/httemplate/search/report_tax.cgi
+++ b/httemplate/search/report_tax.cgi
@@ -275,7 +275,7 @@ sub gotcust {
my $table = shift;
my $prefix = @_ ? shift : '';
"
- ( $table.${prefix}district = cust_main_county.district
+ ( $table.district = cust_main_county.district
OR cust_main_county.district = ''
OR cust_main_county.district IS NULL )
AND ( $table.${prefix}city = cust_main_county.city