bug fix: account-get-comm-balance should use split-get-share-balance

to get balance in units of local commodity


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3736 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2001-03-03 04:26:05 +00:00
parent 01a15a1658
commit 59241c0842

View File

@ -434,7 +434,7 @@
(if (and splits (not (null? splits)))
(balance-collector 'add (gnc:account-get-commodity account)
(gnc:split-get-balance (car splits))))
(gnc:split-get-share-balance (car splits))))
balance-collector))
;; get the balance of a group of accounts at the specified date.