summaryrefslogtreecommitdiff
path: root/httemplate/misc/xmlhttp-calculate_taxes.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-02-26 13:12:37 -0800
committerIvan Kohler <ivan@freeside.biz>2014-02-26 13:12:37 -0800
commit5e78b358502a9506b60b5e1f888feb83a1f8fa86 (patch)
treefee3f0e6f21eee0455c9655a5e98cb04cabfe0c4 /httemplate/misc/xmlhttp-calculate_taxes.html
parent3198bdfc17b6c1370dadc17d608a571c0f811b5c (diff)
parente8fb3448ac1b9dae5410f88cf70eb36cd822c247 (diff)
Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE_3_BRANCH
Diffstat (limited to 'httemplate/misc/xmlhttp-calculate_taxes.html')
-rw-r--r--httemplate/misc/xmlhttp-calculate_taxes.html9
1 files changed, 1 insertions, 8 deletions
diff --git a/httemplate/misc/xmlhttp-calculate_taxes.html b/httemplate/misc/xmlhttp-calculate_taxes.html
index ed7bd0173..2bb1f4cce 100644
--- a/httemplate/misc/xmlhttp-calculate_taxes.html
+++ b/httemplate/misc/xmlhttp-calculate_taxes.html
@@ -62,14 +62,7 @@ if ( $sub eq 'calculate_taxes' ) {
my $taxlisthash = {};
foreach my $cust_bill_pkg (values %cust_bill_pkg) {
- my $part_pkg = $cust_bill_pkg->part_pkg;
- $cust_main->_handle_taxes( $part_pkg,
- $taxlisthash,
- $cust_bill_pkg,
- $cust_bill_pkg->cust_pkg,
- $cust_bill_pkg->cust_bill->_date,
- $cust_bill_pkg->cust_pkg->pkgpart,
- );
+ $cust_main->_handle_taxes( $taxlisthash, $cust_bill_pkg );
}
my $listref_or_error =
$cust_main->calculate_taxes( [ values %cust_bill_pkg ], $taxlisthash, [ values %cust_bill_pkg ]->[0]->cust_bill->_date );