summaryrefslogtreecommitdiff
path: root/src/xact.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-09 14:53:29 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-09 14:53:29 -0400
commit02110394b45fdf4121f00f3484f0caeacb7c404e (patch)
tree61feecac387c78bbcc7c0b0c894c0b8aa4d26d31 /src/xact.h
parent3ee3b8f327fa1943dba4ef6043559186b26f86b4 (diff)
downloadfork-ledger-02110394b45fdf4121f00f3484f0caeacb7c404e.tar.gz
fork-ledger-02110394b45fdf4121f00f3484f0caeacb7c404e.tar.bz2
fork-ledger-02110394b45fdf4121f00f3484f0caeacb7c404e.zip
Use the report's amount_expr everywhere that computes an xact's amount.
Diffstat (limited to 'src/xact.h')
-rw-r--r--src/xact.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xact.h b/src/xact.h
index ae5a2a19..5beb4d9c 100644
--- a/src/xact.h
+++ b/src/xact.h
@@ -174,7 +174,7 @@ public:
return *xdata_;
}
- void add_to_value(value_t& value);
+ void add_to_value(value_t& value, expr_t& expr);
date_t reported_date() const {
if (xdata_ && is_valid(xdata_->date))