summaryrefslogtreecommitdiff
path: root/src/journal.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-02 04:46:06 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:36 -0400
commitf0508a9f86be63fc4f98e9943ce2f226339e6309 (patch)
treeefe3bce9d361b64b1fc39ec450241f0e7dbb92c1 /src/journal.h
parentc676527270e2e5b23de0e4b99e85010c76eb72b0 (diff)
downloadfork-ledger-f0508a9f86be63fc4f98e9943ce2f226339e6309.tar.gz
fork-ledger-f0508a9f86be63fc4f98e9943ce2f226339e6309.tar.bz2
fork-ledger-f0508a9f86be63fc4f98e9943ce2f226339e6309.zip
In the middle of revising commodities.
Diffstat (limited to 'src/journal.h')
-rw-r--r--src/journal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/journal.h b/src/journal.h
index 5ac7c48c..f9393677 100644
--- a/src/journal.h
+++ b/src/journal.h
@@ -32,15 +32,15 @@ class transaction_t
enum state_t { UNCLEARED, CLEARED, PENDING };
entry_t * entry;
+ unsigned short flags;
+ state_t state;
+ account_t * account;
optional<moment_t> _date;
optional<moment_t> _date_eff;
- account_t * account;
optional<amount_t> amount;
optional<string> amount_expr;
optional<amount_t> cost;
optional<string> cost_expr;
- state_t state;
- unsigned short flags;
optional<string> note;
unsigned long beg_pos;
unsigned long beg_line;