summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-07-10 01:00:55 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-07-10 01:00:55 +0000
commit6e9961e99c62bdf8fd47956fe73988293de4f43d (patch)
tree8ebf36ca945729eeddd13c794b4222227c0003c4 /LedgerSMB
parent3b9ecc996fb7c992670442a95db6d7165a751e24 (diff)
Fixing minor issues relating to the partial transaction issue
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1365 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/OP.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/OP.pm b/LedgerSMB/OP.pm
index f5592086..525717ff 100755
--- a/LedgerSMB/OP.pm
+++ b/LedgerSMB/OP.pm
@@ -36,6 +36,7 @@ package OP;
sub overpayment {
my ( $self, $myconfig, $form, $dbh, $amount, $ml ) = @_;
+ my $invnumber = $form->{invnumber};
$invnumber =
$form->update_defaults( $myconfig, ( $form->{arap} eq 'ar' )
@@ -62,7 +63,6 @@ sub overpayment {
$query = qq|SELECT id FROM $form->{arap} WHERE invnumber = '$uid'|;
($uid) = $dbh->selectrow_array($query);
- my $invnumber = $form->{invnumber};
$query = qq|
UPDATE $form->{arap}