diff options
| author | Mark Wells <mark@freeside.biz> | 2013-04-18 16:08:51 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2013-04-18 16:08:51 -0700 |
| commit | 12a3d3ad7798abc90c2076dc314e5ab538a9d064 (patch) | |
| tree | 0c885797142794ab6e3a931b6a53de22d54c42f8 | |
| parent | 351fb8da86c1c20e0f672b3262850d14f756bedf (diff) | |
use cust_main.district for tax calculation based on service address, #21404
| -rw-r--r-- | FS/FS/cust_main/Billing.pm | 2 |
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; |
