*** empty log message ***
This commit is contained in:
parent
fa61061bc2
commit
46a3f91c4e
1 changed files with 6 additions and 4 deletions
|
|
@ -231,8 +231,10 @@ void print_register(const std::string& acct_name, std::ostream& out,
|
||||||
balance.credit(street);
|
balance.credit(street);
|
||||||
|
|
||||||
// If there are two transactions, use the one which does not
|
// If there are two transactions, use the one which does not
|
||||||
// refer to this account. If there are more than two, we will
|
// refer to this account. If there are more than two, print
|
||||||
// just have to print all of the splits, like gnucash does.
|
// "<Splits...>", unless the -s option is being used (show
|
||||||
|
// children), in which case print all of the splits, like
|
||||||
|
// gnucash does.
|
||||||
|
|
||||||
transaction * xact;
|
transaction * xact;
|
||||||
if ((*i)->xacts.size() == 2) {
|
if ((*i)->xacts.size() == 2) {
|
||||||
|
|
@ -259,7 +261,7 @@ void print_register(const std::string& acct_name, std::ostream& out,
|
||||||
|
|
||||||
out << std::endl;
|
out << std::endl;
|
||||||
|
|
||||||
if (! show_subtotals || xact != *x)
|
if (! show_children || xact != *x)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
for (std::list<transaction *>::iterator y = (*i)->xacts.begin();
|
for (std::list<transaction *>::iterator y = (*i)->xacts.begin();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue