diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-07-07 18:46:23 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-07-07 18:46:23 +0000 |
commit | d70512a802e60a52847a42f4f70bb91a2d16218d (patch) | |
tree | 55aee1d50c20ea0b16184963b86e55d3608d5472 /LedgerSMB | |
parent | 9b2ca60860546153ef23ee991ed01a299cdab003 (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-x | LedgerSMB/IR.pm | 2 |
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; |