From 2ef1934bb0dbcd08dfe8d4dc68bfd1509c8f51ce Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 26 Jun 2009 17:09:34 +0100 Subject: 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. --- src/balance.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/balance.h') 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& moment = none, const optional& in_terms_of = none) const; + balance_t price() const; + /** * Truth tests. An balance may be truth test in two ways: * -- cgit v1.2.3