diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-04 05:22:30 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-05 05:03:52 -0600 |
commit | 5d8cb30774cf630cddd26407202c1cad8568bbef (patch) | |
tree | c97ae3166261d9a0feb78144d380d8cc78f743dd /src/report.cc | |
parent | e9108783122ae4d775046ced646b14552f1e184d (diff) | |
download | fork-ledger-5d8cb30774cf630cddd26407202c1cad8568bbef.tar.gz fork-ledger-5d8cb30774cf630cddd26407202c1cad8568bbef.tar.bz2 fork-ledger-5d8cb30774cf630cddd26407202c1cad8568bbef.zip |
Implemented first cut at price conversion logic
Diffstat (limited to 'src/report.cc')
-rw-r--r-- | src/report.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/report.cc b/src/report.cc index 689028d0..2d825751 100644 --- a/src/report.cc +++ b/src/report.cc @@ -878,12 +878,9 @@ value_t report_t::echo_command(call_scope_t& args) value_t report_t::pricemap_command(call_scope_t& args) { std::ostream& out(output_stream); -#if 0 - // jww (2012-03-04): TODO - commodity_pool_t::current_pool->print_pricemap - (out, what_to_keep(), args.has<string>(0) ? + commodity_pool_t::current_pool->commodity_price_history.print_map + (out, args.has<string>(0) ? optional<datetime_t>(datetime_t(parse_date(args.get<string>(0)))) : none); -#endif return true; } |