diff options
Diffstat (limited to 'reports.cc')
-rw-r--r-- | reports.cc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -231,9 +231,13 @@ void print_register(const std::string& acct_name, std::ostream& out, } else { xact = *x; } + std::string xact_str = xact->acct_as_str(); + + if (xact == *x && ! show_subtotals) + xact_str = "(Splits...)"; out.width(22); - out << std::left << truncated(xact->acct_as_str(), 22) << " "; + out << std::left << truncated(xact_str(), 22) << " "; out.width(12); out << std::right << street->as_str(true); |