summaryrefslogtreecommitdiff
path: root/src/xact.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-09-14 19:38:44 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-09-14 19:38:44 -0400
commit7d1809cb15b1ebea4d96341ae0e5fc655487788a (patch)
treefa56bc87e3798b5529640075885271b8fa02f359 /src/xact.h
parent0135c28049839c2db25351b8d8114f9f31649afc (diff)
downloadfork-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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xact.h b/src/xact.h
index bb2f1e23..70d411ed 100644
--- a/src/xact.h
+++ b/src/xact.h
@@ -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)