diff options
author | John Wiegley <johnw@newartisans.com> | 2009-06-26 17:09:34 +0100 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-06-26 17:15:35 +0100 |
commit | 2ef1934bb0dbcd08dfe8d4dc68bfd1509c8f51ce (patch) | |
tree | 5225fc7f164feed6a0af36f552b9fa713a3d8840 /src/balance.h | |
parent | 4574c30fcfd3b03bab9a368a6ff2928af7e11e28 (diff) | |
download | fork-ledger-2ef1934bb0dbcd08dfe8d4dc68bfd1509c8f51ce.tar.gz fork-ledger-2ef1934bb0dbcd08dfe8d4dc68bfd1509c8f51ce.tar.bz2 fork-ledger-2ef1934bb0dbcd08dfe8d4dc68bfd1509c8f51ce.zip |
Restored --price option, added baseline test
This option reports only in terms of the annotated price of the
commodities involved, otherwise it reports the amounts themselves. It
can be used in conjunction with other reports, as it applies to the
displayed amounts, not the actual amounts being calculated.
Diffstat (limited to 'src/balance.h')
-rw-r--r-- | src/balance.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/balance.h b/src/balance.h index 142621f8..765c46dd 100644 --- a/src/balance.h +++ b/src/balance.h @@ -367,6 +367,8 @@ public: const optional<datetime_t>& moment = none, const optional<commodity_t&>& in_terms_of = none) const; + balance_t price() const; + /** * Truth tests. An balance may be truth test in two ways: * |