summaryrefslogtreecommitdiff
path: root/src/post.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/post.h')
-rw-r--r--src/post.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/post.h b/src/post.h
index addf0629..d9e50580 100644
--- a/src/post.h
+++ b/src/post.h
@@ -61,6 +61,7 @@ public:
account_t * account;
amount_t amount; // can be null until finalization
+ optional<expr_t> amount_expr;
optional<amount_t> cost;
optional<amount_t> assigned_amount;
@@ -212,6 +213,7 @@ private:
ar & xact;
ar & account;
ar & amount;
+ ar & amount_expr;
ar & cost;
ar & assigned_amount;
}