projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
351fb8d
)
use cust_main.district for tax calculation based on service address, #21404
author
Mark Wells
<mark@freeside.biz>
Thu, 18 Apr 2013 23:08:51 +0000
(16:08 -0700)
committer
Mark Wells
<mark@freeside.biz>
Thu, 18 Apr 2013 23:08:51 +0000
(16:08 -0700)
FS/FS/cust_main/Billing.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main/Billing.pm
b/FS/FS/cust_main/Billing.pm
index
8f7038f
..
e351285
100644
(file)
--- 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;