diff options
author | John Wiegley <johnw@newartisans.com> | 2008-09-14 19:38:44 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-09-14 19:38:44 -0400 |
commit | 7d1809cb15b1ebea4d96341ae0e5fc655487788a (patch) | |
tree | fa56bc87e3798b5529640075885271b8fa02f359 /src/xact.h | |
parent | 0135c28049839c2db25351b8d8114f9f31649afc (diff) | |
download | fork-ledger-7d1809cb15b1ebea4d96341ae0e5fc655487788a.tar.gz fork-ledger-7d1809cb15b1ebea4d96341ae0e5fc655487788a.tar.bz2 fork-ledger-7d1809cb15b1ebea4d96341ae0e5fc655487788a.zip |
Transactional assignments (i.e., confirmed balances) are working now.
Diffstat (limited to 'src/xact.h')
-rw-r--r-- | src/xact.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -69,6 +69,8 @@ public: optional<expr_t> amount_expr; optional<amount_t> cost; optional<expr_t> cost_expr; + optional<amount_t> assigned_amount; + optional<expr_t> assigned_amount_expr; istream_pos_type beg_pos; unsigned long beg_line; @@ -84,7 +86,7 @@ public: { TRACE_CTOR(xact_t, "account_t *, flags_t"); } - xact_t(account_t * _account, + xact_t(account_t * _account, const amount_t& _amount, flags_t _flags = XACT_NORMAL, const optional<string>& _note = none) |