mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/business/business-core/gncInvoice.c: actually apply
a payment to the proper transfer account. Fixes bug #102893 git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7804 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
* apply patch to use Euclid's algo for gnc_numeric_reduce
|
||||
more fixes for #95474
|
||||
|
||||
* src/business/business-core/gncInvoice.c: actually apply
|
||||
a payment to the proper transfer account. Fixes bug #102893
|
||||
|
||||
2003-01-08 Christian Stimming <stimming@tuhh.de>
|
||||
|
||||
* po/ru.po: Updated very complete (!) Russian translation by
|
||||
|
||||
@@ -980,9 +980,9 @@ gncOwnerApplyPayment (GncOwner *owner, Account *posted_acc, Account *xfer_acc,
|
||||
xaccSplitSetMemo (split, memo);
|
||||
xaccSplitSetBaseValue (split, reverse ? amount :
|
||||
gnc_numeric_neg (amount), commodity);
|
||||
xaccAccountBeginEdit (posted_acc);
|
||||
xaccAccountInsertSplit (posted_acc, split);
|
||||
xaccAccountCommitEdit (posted_acc);
|
||||
xaccAccountBeginEdit (xfer_acc);
|
||||
xaccAccountInsertSplit (xfer_acc, split);
|
||||
xaccAccountCommitEdit (xfer_acc);
|
||||
xaccTransAppendSplit (txn, split);
|
||||
|
||||
/* Now, find all "open" lots in the posting account for this
|
||||
|
||||
Reference in New Issue
Block a user