From b1b990f2bbcb1c0d054a8c147b9574aca74b8aa9 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Tue, 12 Aug 2008 00:53:58 +0000 Subject: Merging fix for 1881199 git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@2245 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/IS.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LedgerSMB/IS.pm b/LedgerSMB/IS.pm index 9946b891..7c873e9e 100755 --- a/LedgerSMB/IS.pm +++ b/LedgerSMB/IS.pm @@ -905,7 +905,6 @@ sub post_invoice { my $i; my $item; - my $allocated = 0; my $taxrate; my $tax; my $fxtax; @@ -925,6 +924,7 @@ sub post_invoice { } foreach $i ( 1 .. $form->{rowcount} ) { + my $allocated = 0; $form->{"qty_$i"} = $form->parse_amount( $myconfig, $form->{"qty_$i"} ); if ( $form->{"qty_$i"} ) { -- cgit v1.2.3