summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-04-18 16:08:51 -0700
committerMark Wells <mark@freeside.biz>2013-04-18 16:08:51 -0700
commit12a3d3ad7798abc90c2076dc314e5ab538a9d064 (patch)
tree0c885797142794ab6e3a931b6a53de22d54c42f8
parent351fb8da86c1c20e0f672b3262850d14f756bedf (diff)
use cust_main.district for tax calculation based on service address, #21404
-rw-r--r--FS/FS/cust_main/Billing.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/cust_main/Billing.pm b/FS/FS/cust_main/Billing.pm
index 8f7038f0d..e35128557 100644
--- a/FS/FS/cust_main/Billing.pm
+++ b/FS/FS/cust_main/Billing.pm
@@ -1225,6 +1225,8 @@ sub _handle_taxes {
? 'ship_'
: '';
%taxhash = map { $_ => $self->get("$prefix$_") } @loc_keys;
+ # special case--there's no 'ship_district' field
+ $taxhash{'district'} = $self->get('district');
}
$taxhash{'taxclass'} = $part_pkg->taxclass;