summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-07-07 18:46:23 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-07-07 18:46:23 +0000
commitd70512a802e60a52847a42f4f70bb91a2d16218d (patch)
tree55aee1d50c20ea0b16184963b86e55d3608d5472 /LedgerSMB
parent9b2ca60860546153ef23ee991ed01a299cdab003 (diff)
Applying Victor Sterpu's fix to bug 1748895
Fixing bareword error with pos.conf.pl Adding Victor to contributors file git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1352 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/IR.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/LedgerSMB/IR.pm b/LedgerSMB/IR.pm
index 714acf61..709d5dcf 100755
--- a/LedgerSMB/IR.pm
+++ b/LedgerSMB/IR.pm
@@ -390,6 +390,8 @@ sub post_invoice {
$form->update_balance( $dbh, "invoice", "allocated",
qq|id = $ref->{id}|,
$qty * -1 );
+ $form->update_balance( $dbh, "invoice", "allocated",
+ qq|id =$invoice_id|,$qty);
$allocated += $qty;