From e8fb3448ac1b9dae5410f88cf70eb36cd822c247 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Tue, 25 Feb 2014 23:13:32 -0800 Subject: non-package fees, #25899 --- httemplate/misc/xmlhttp-calculate_taxes.html | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'httemplate/misc/xmlhttp-calculate_taxes.html') 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 ); -- cgit v1.2.1