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/amount.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/amount.h') diff --git a/src/amount.h b/src/amount.h index 990b326f..b3c632af 100644 --- a/src/amount.h +++ b/src/amount.h @@ -384,6 +384,8 @@ public: const optional& moment = none, const optional& in_terms_of = none) const; + amount_t price() const; + /*@}*/ /** @name Truth tests -- cgit v1.2.3