diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-06 02:52:14 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-06 02:52:14 -0400 |
commit | 4a0f5f9034dc24c7ae5f0464d407f4cf2279558b (patch) | |
tree | b7a4fa4659d366b34e8ecb25267ec2ea9c11f93c /src/report.h | |
parent | 80c51bf0a524ed80c0c248374a75e7fc392e1a3d (diff) | |
parent | aff490534a8e7826d89bbc75c6885b4a6bff4d17 (diff) | |
download | fork-ledger-4a0f5f9034dc24c7ae5f0464d407f4cf2279558b.tar.gz fork-ledger-4a0f5f9034dc24c7ae5f0464d407f4cf2279558b.tar.bz2 fork-ledger-4a0f5f9034dc24c7ae5f0464d407f4cf2279558b.zip |
Merge branch 'next'
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/report.h b/src/report.h index b39cd53a..a8f048d3 100644 --- a/src/report.h +++ b/src/report.h @@ -145,6 +145,7 @@ public: value_t fn_scrub(call_scope_t& scope); value_t fn_quantity(call_scope_t& scope); value_t fn_rounded(call_scope_t& scope); + value_t fn_unrounded(call_scope_t& scope); value_t fn_truncated(call_scope_t& scope); value_t fn_abs(call_scope_t& scope); value_t fn_justify(call_scope_t& scope); @@ -613,8 +614,6 @@ public: set_expr(args[0].to_string()); }); - OPTION(report_t, totals); - OPTION_(report_t, total_data, DO() { // -J parent->HANDLER(format_).on_with(parent->HANDLER(plot_total_format_).value); }); @@ -641,7 +640,9 @@ public: parent->HANDLER(limit_).on("uncleared|pending"); }); - OPTION(report_t, unround); + OPTION_(report_t, unround, DO() { + parent->HANDLER(amount_).set_expr("unrounded(amount)"); + }); OPTION_(report_t, weekly, DO() { // -W parent->HANDLER(period_).on("weekly"); |