diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-09 01:28:20 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-09 01:28:20 -0600 |
commit | c9f7195936090ecbe2d5b4ec88c196660ae24f81 (patch) | |
tree | 7bfbe9d00de44c0c79c460169ad324b6a17c6379 /src/xact.cc | |
parent | 9f81c798ee0854cab038714670123bff6676a5d5 (diff) | |
download | fork-ledger-c9f7195936090ecbe2d5b4ec88c196660ae24f81.tar.gz fork-ledger-c9f7195936090ecbe2d5b4ec88c196660ae24f81.tar.bz2 fork-ledger-c9f7195936090ecbe2d5b4ec88c196660ae24f81.zip |
Added the notion of "virtual costs"
Diffstat (limited to 'src/xact.cc')
-rw-r--r-- | src/xact.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xact.cc b/src/xact.cc index 4e43e680..4e8e56fa 100644 --- a/src/xact.cc +++ b/src/xact.cc @@ -269,7 +269,7 @@ bool xact_base_t::finalize() cost_breakdown_t breakdown = commodity_pool_t::current_pool->exchange - (post->amount, *post->cost, false, + (post->amount, *post->cost, false, ! post->has_flags(POST_COST_VIRTUAL), datetime_t(date(), time_duration(0, 0, 0, 0))); if (post->amount.has_annotation() && post->amount.annotation().price) { |