diff options
author | Christophe Rhodes <csr21@cantab.net> | 2014-05-13 16:24:46 +0100 |
---|---|---|
committer | Christophe Rhodes <csr21@cantab.net> | 2014-05-13 16:24:46 +0100 |
commit | 798eac3c6f599e99ff7e6778b4fb3ecdb0568430 (patch) | |
tree | c5c13433c125feddfe9fa0a391b3a57df28a1612 /doc | |
parent | da51f5b51051bdc6a0fe10325a3b8b1a2f30d21d (diff) | |
download | fork-ledger-798eac3c6f599e99ff7e6778b4fb3ecdb0568430.tar.gz fork-ledger-798eac3c6f599e99ff7e6778b4fb3ecdb0568430.tar.bz2 fork-ledger-798eac3c6f599e99ff7e6778b4fb3ecdb0568430.zip |
document payee uuid subdirective
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ledger3.texi | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi index dfdafc05..68f47d99 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -2416,17 +2416,19 @@ before using the @code{fixed} directive in production. Include the stated file as if it were part of the current file. @item payee -@c instance_t::payee_mapping_directive in textual.cc +@c instance_t::payee_alias_mapping_directive in textual.cc +@c instance_t::payee_uuid_mapping_directive in textual.cc @findex print @findex register -The @code{payee} directive supports one optional sub-directive, if it -immediately follows the payee directive and---if it is on a successive +The @code{payee} directive supports two optional sub-directives, if they +immediately follow the payee directive and---if it is on a successive line---begins with whitespace: @smallexample @c input:validate payee KFC alias KENTUCKY FRIED CHICKEN + uuid 2a2e21d434356f886c84371eebac6e44f1337fda @end smallexample The @code{alias} sub-directive provides a regex which, if it matches @@ -2437,6 +2439,14 @@ a parsed payee, the declared payee name is substituted: ... @end smallexample +The @code{uuid} sub-directive specifies that a transaction with exactly +the uuid given should have the declared payee name substituted: + +@smallexample +2014-05-13 UNHELPFUL PAYEE ; will be read as being 'KFC' + ; UUID: 2a2e21d434356f886c84371eebac6e44f1337fda +@end smallexample + Ledger will display the mapped payees in @command{print} and @command{register} reports. |