summaryrefslogtreecommitdiff
path: root/src/account.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/account.h')
-rw-r--r--src/account.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/account.h b/src/account.h
index 0abbd87a..2db36cea 100644
--- a/src/account.h
+++ b/src/account.h
@@ -170,6 +170,7 @@ public:
struct details_t
{
value_t total;
+ value_t real_total;
bool calculated;
bool gathered;
@@ -277,7 +278,7 @@ public:
return *xdata_;
}
- value_t amount(const optional<expr_t&>& expr = none) const;
+ value_t amount(const optional<bool> real_only = false, const optional<expr_t&>& expr = none) const;
value_t total(const optional<expr_t&>& expr = none) const;
const xdata_t::details_t& self_details(bool gather_all = true) const;