diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-10 02:27:33 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-10 02:27:33 -0600 |
commit | 080c1d9a2d0f3013a4d26879a3e98cfa62ef3e48 (patch) | |
tree | b95c15c1dc13925bcc4b3c11d98c06c50bba1bcc /src/annotate.h | |
parent | 50f202c4e8faecf7398fb21ba5b31768ec46c826 (diff) | |
download | fork-ledger-080c1d9a2d0f3013a4d26879a3e98cfa62ef3e48.tar.gz fork-ledger-080c1d9a2d0f3013a4d26879a3e98cfa62ef3e48.tar.bz2 fork-ledger-080c1d9a2d0f3013a4d26879a3e98cfa62ef3e48.zip |
Added syntactic sugar for lot pricing: {{$500.00}}
Diffstat (limited to 'src/annotate.h')
-rw-r--r-- | src/annotate.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/annotate.h b/src/annotate.h index 22c3d8ad..606c6a60 100644 --- a/src/annotate.h +++ b/src/annotate.h @@ -55,9 +55,10 @@ struct annotation_t : public supports_flags<>, { #define ANNOTATION_PRICE_CALCULATED 0x01 #define ANNOTATION_PRICE_FIXATED 0x02 -#define ANNOTATION_DATE_CALCULATED 0x04 -#define ANNOTATION_TAG_CALCULATED 0x08 -#define ANNOTATION_VALUE_EXPR_CALCULATED 0x10 +#define ANNOTATION_PRICE_NOT_PER_UNIT 0x04 +#define ANNOTATION_DATE_CALCULATED 0x08 +#define ANNOTATION_TAG_CALCULATED 0x10 +#define ANNOTATION_VALUE_EXPR_CALCULATED 0x20 optional<amount_t> price; optional<date_t> date; |