summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-12 00:53:58 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-12 00:53:58 +0000
commitb1b990f2bbcb1c0d054a8c147b9574aca74b8aa9 (patch)
tree6162dac06e2fe073a1d31edf42abc337e5350e9a /LedgerSMB
parent046aec62960a06b27e6cd624d8cd97842cbe0277 (diff)
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
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/IS.pm2
1 files changed, 1 insertions, 1 deletions
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"} ) {