summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-12 00:53:37 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-12 00:53:37 +0000
commit0cb00fa62bff950afe3c9a46d3c38abbe3fb23e5 (patch)
tree519e600ce9934f49509b6255d628c613a18b010f /LedgerSMB
parentcb92467b6c9f4a6bd223ee7896cb5ad6ee012c97 (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.pm2
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;