gnucash maint: [balsheet-pnl] Amendment to previous commit.

Christopher Lam clam at code.gnucash.org
Mon Feb 15 19:57:04 EST 2021


Updated	 via  https://github.com/Gnucash/gnucash/commit/7b5f5a85 (commit)
	from  https://github.com/Gnucash/gnucash/commit/b4e99a30 (commit)



commit 7b5f5a8560ae732113b97437afcb464ac3b72ec4
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Feb 16 08:55:02 2021 +0800

    [balsheet-pnl] Amendment to previous commit.
    
    b4e99a304 had another bug.
    
    Monthly pnl from 1-jan to 31-dec uses list of dates (1-jan 1-feb
    ... 1-dec 31-dec) The last period 1-dec to 31-dec needs to retrieve
    price on 31-dec rather than 30-dec, so, is handled differently to
    return 31-dec.
    
    We can now reuse col-idx->price-date as the 'enddate' for pnl column
    data.



Summary of changes:
 gnucash/report/reports/standard/balsheet-pnl.scm | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)



More information about the gnucash-patches mailing list