From c7ad63f42570c80ba01e00326e62a8ef66ba86c3 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Mon, 7 May 2012 12:45:22 -0700 Subject: fix tax calculation based on ship address, from #17051 --- httemplate/search/report_tax.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate') 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 -- cgit v1.2.1