Calculate cleared balance in core
Review Request #118107 - Created May 12, 2014 and submitted - Latest diff uploaded
It calculates cleared balance for an account in MyMoneyFile, instead of doing it in the ledger view (kgloballedgerview.cpp) I'm posting it here because I'm a bit concerned on the performance it may have for everyday use. I'm keen on optimizing, but this kind of code should be removed from the views in the long-term.
I tested with a small file. It works ok. I still have to add a unit test for it.