diff options
| author | Mark Wells <mark@freeside.biz> | 2012-05-07 12:44:11 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2012-05-07 12:44:11 -0700 |
| commit | 01d9085c7db7c3c96c3a8ef9ebe049b4a3bbbb18 (patch) | |
| tree | e2125b28acd8b72de65f26492d83be023b80be59 /FS/FS | |
| parent | a7ec3dcd42e7f15b2bce2abfb5dc9ea07c964cd4 (diff) | |
fix tax calculation based on ship address, from #17051
Diffstat (limited to 'FS/FS')
| -rw-r--r-- | FS/FS/cust_pkg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index 9d81c67b3..64736ba50 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -3612,7 +3612,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 ) |
