diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-04 16:24:41 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-04 16:24:41 -0400 |
commit | 9c9a34388a0697c4c4c4bd126ec8dd7e1244cd48 (patch) | |
tree | a06ae88d3464a2fd6c4a3e184e7973768cf0d392 /report.cc | |
parent | 966b231f23a0c74db105784ba1291c860ced483e (diff) | |
download | fork-ledger-9c9a34388a0697c4c4c4bd126ec8dd7e1244cd48.tar.gz fork-ledger-9c9a34388a0697c4c4c4bd126ec8dd7e1244cd48.tar.bz2 fork-ledger-9c9a34388a0697c4c4c4bd126ec8dd7e1244cd48.zip |
First round of work to get the balance report working again.
Diffstat (limited to 'report.cc')
-rw-r--r-- | report.cc | 20 |
1 files changed, 1 insertions, 19 deletions
@@ -331,9 +331,7 @@ void report_t::sum_all_accounts() session.master->calculate_sums(); } -void report_t::accounts_report(acct_handler_ptr handler, - const bool print_final_total, - optional<std::ostream&> ostream) +void report_t::accounts_report(acct_handler_ptr handler) { sum_all_accounts(); @@ -346,22 +344,6 @@ void report_t::accounts_report(acct_handler_ptr handler, } handler->flush(); -#if 0 - // jww (2008-08-02): I need access to the output formatter before this is - // going to work. - if (print_final_total) { - assert(ostream); - assert(account_has_xdata(*session.master)); - - account_xdata_t& xdata(account_xdata(*session.master)); - if (! show_collapsed && xdata.total) { - *ostream << "--------------------\n"; - xdata.value = xdata.total; - handler->format.format(*ostream, *session.master); - } - } -#endif - if (DO_VERIFY()) { session.clean_xacts(); session.clean_accounts(); |