diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-03 20:28:09 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-03 20:28:09 -0400 |
commit | 1540ccec01661867b5d758c1e57f26a73b039ac6 (patch) | |
tree | 4f68ad30f6fec17d6f1d9f71fe18276be1d15461 /src/xact.cc | |
parent | eb45a0a4f46577c6615695256e5f6866a27ef20e (diff) | |
download | fork-ledger-1540ccec01661867b5d758c1e57f26a73b039ac6.tar.gz fork-ledger-1540ccec01661867b5d758c1e57f26a73b039ac6.tar.bz2 fork-ledger-1540ccec01661867b5d758c1e57f26a73b039ac6.zip |
Gather account details in a details_t structure
Diffstat (limited to 'src/xact.cc')
-rw-r--r-- | src/xact.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xact.cc b/src/xact.cc index 0e5914d1..8b834f53 100644 --- a/src/xact.cc +++ b/src/xact.cc @@ -317,11 +317,13 @@ bool xact_base_t::finalize() post->amount.in_place_reduce(); - add_or_set_value(post->account->xdata().value, post->amount); + add_or_set_value(post->account->xdata().self_details.total, + post->amount); DEBUG("xact.finalize.totals", "Total for " << post->account->fullname() << " + " - << post->amount << ": " << post->account->xdata().value); + << post->amount << ": " + << post->account->xdata().self_details.total); } else { some_null = true; } |