summaryrefslogtreecommitdiff
path: root/src/post.h
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2014-07-14 21:05:54 -0400
committerMartin Michlmayr <tbm@cyrius.com>2014-07-14 21:05:54 -0400
commitb88634206402814f63ba8db192e52d3e3bec2b38 (patch)
tree08ffacae3c1d72251d8ba25a446c5ea10140f40f /src/post.h
parenta44572f3ecc8649539d574bd7171597644d1e92e (diff)
downloadfork-ledger-b88634206402814f63ba8db192e52d3e3bec2b38.tar.gz
fork-ledger-b88634206402814f63ba8db192e52d3e3bec2b38.tar.bz2
fork-ledger-b88634206402814f63ba8db192e52d3e3bec2b38.zip
Preserve the given cost for print
Patch from John Wiegley
Diffstat (limited to 'src/post.h')
-rw-r--r--src/post.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/post.h b/src/post.h
index 51a75ade..c2f77b32 100644
--- a/src/post.h
+++ b/src/post.h
@@ -68,6 +68,7 @@ public:
amount_t amount; // can be null until finalization
optional<expr_t> amount_expr;
optional<amount_t> cost;
+ optional<amount_t> given_cost;
optional<amount_t> assigned_amount;
optional<datetime_t> checkin;
optional<datetime_t> checkout;