summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-05-07 12:45:22 -0700
committerMark Wells <mark@freeside.biz>2012-05-07 12:45:22 -0700
commitc7ad63f42570c80ba01e00326e62a8ef66ba86c3 (patch)
tree9c2e486064d53b37e297e1f33f905cd07dc70b1e /FS
parentcfcc4c14a40c84d1603c707066e7644aefef5690 (diff)
fix tax calculation based on ship address, from #17051
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index 1cca10b..27c25da 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -3682,7 +3682,7 @@ sub _location_sql_where {
# ( $table.${prefix}city = ? $or_empty_city $ornull )
"
- ( $table.${prefix}district = ? OR ? = '' OR CAST(? AS text) IS NULL )
+ ( $table.district = ? OR ? = '' OR CAST(? AS text) IS NULL )
AND ( $table.${prefix}city = ? OR ? = '' OR CAST(? AS text) IS NULL )
AND ( $table.${prefix}county = ? $or_empty_county $ornull )
AND ( $table.${prefix}state = ? $or_empty_state $ornull )