summaryrefslogtreecommitdiff
path: root/LedgerSMB/IR.pm
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-09 19:43:31 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-09 19:43:31 +0000
commitd3f27376d7ec8e8c157021189787dd1dff302479 (patch)
tree404f161fd3572e9f37da98a6af1c6370f2a828ca /LedgerSMB/IR.pm
parent5f87c41f16ab2c9da14f85f1b2d7e7b771059c10 (diff)
Fixing sales tax posting issues not taking contact into consideration
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1044 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/IR.pm')
-rwxr-xr-xLedgerSMB/IR.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/LedgerSMB/IR.pm b/LedgerSMB/IR.pm
index a1e0a8d9..6effad33 100755
--- a/LedgerSMB/IR.pm
+++ b/LedgerSMB/IR.pm
@@ -218,7 +218,8 @@ sub post_invoice {
$fxdiff += $amount - $linetotal;
@taxaccounts = Tax::init_taxes(
- $form, $form->{"taxaccounts_$i"});
+ $form, $form->{"taxaccounts_$i"},
+ $form->{'taxaccounts'});
$tax = Math::BigFloat->bzero();
$fxtax = Math::BigFloat->bzero();