summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h7
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");