Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/reports/querytable.cpp
Context not available. | |||||
42 | // Project Includes | 42 | // Project Includes | ||
---|---|---|---|---|---|
43 | 43 | | |||
44 | #include "mymoneyfile.h" | 44 | #include "mymoneyfile.h" | ||
45 | #include "mymoneyaccount.h" | ||||
46 | #include "mymoneyinstitution.h" | ||||
47 | #include "mymoneyprice.h" | ||||
48 | #include "mymoneypayee.h" | ||||
49 | #include "mymoneytag.h" | ||||
45 | #include "mymoneytransaction.h" | 50 | #include "mymoneytransaction.h" | ||
46 | #include "mymoneyreport.h" | 51 | #include "mymoneyreport.h" | ||
47 | #include "mymoneyexception.h" | 52 | #include "mymoneyexception.h" | ||
Context not available. | |||||
1688 | // Note, "Investment" accounts are never included in account rows because | 1693 | // Note, "Investment" accounts are never included in account rows because | ||
1689 | // they don't contain anything by themselves. In reports, they are only | 1694 | // they don't contain anything by themselves. In reports, they are only | ||
1690 | // useful as a "topaccount" aggregator of stock accounts | 1695 | // useful as a "topaccount" aggregator of stock accounts | ||
1691 | if ((*it_account).isAssetLiability() && m_config.includes((*it_account)) && (*it_account).accountType() != MyMoneyAccount::Investment) { | 1696 | if ((*it_account).isAssetLiability() && m_config.includes((*it_account)) && (*it_account).accountType() != eMyMoney::Account::Investment) { | ||
1692 | // don't add the account if it is closed. In fact, the business logic | 1697 | // don't add the account if it is closed. In fact, the business logic | ||
1693 | // should prevent that an account can be closed with a balance not equal | 1698 | // should prevent that an account can be closed with a balance not equal | ||
1694 | // to zero, but we never know. | 1699 | // to zero, but we never know. | ||
Context not available. |