diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-08-12 00:53:37 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-08-12 00:53:37 +0000 |
commit | 0cb00fa62bff950afe3c9a46d3c38abbe3fb23e5 (patch) | |
tree | 519e600ce9934f49509b6255d628c613a18b010f /LedgerSMB | |
parent | cb92467b6c9f4a6bd223ee7896cb5ad6ee012c97 (diff) |
Correcting AR allocation bug, 1881199
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2244 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rw-r--r-- | LedgerSMB/IS.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/IS.pm b/LedgerSMB/IS.pm index 0fb7203a..aa6d31f9 100644 --- a/LedgerSMB/IS.pm +++ b/LedgerSMB/IS.pm @@ -908,7 +908,6 @@ sub post_invoice { my $i; my $item; - my $allocated = 0; my $taxrate; my $tax; my $fxtax; @@ -928,6 +927,7 @@ sub post_invoice { } foreach $i ( 1 .. $form->{rowcount} ) { + my $allocated = 0; $form->{"qty_$i"} = $form->parse_amount( $myconfig, $form->{"qty_$i"} ); if ($form->{reverse}){ $form->{"qty_$i"} *= -1; |