diff options
-rw-r--r-- | doc/ledger3.texi | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi index 8c3ab3e8..fe4cd209 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -8510,6 +8510,19 @@ Assets:Cash ยค 123,45 @end smallexample @end defun +@defvar account +@defvarx a +@defvarx A +Return the concerned account. + +It may be appended with @code{.note} or @code{.depth} to get either the note +or the depth of the account +@end defvar + +@defvar account_base +Return the last part of the account hierarchy. +@end defvar + @defun amount_expr Return the calculated amount of the posting according to the @option{--amount} option. @@ -8573,6 +8586,14 @@ $ ledger -f expr.dat --format "%(date) %(account)\n" reg assets 2015/01/16 Assets:Cash @end smallexample +@defvar display_account +Return the concerned account, surrounded with @code{[]} or @code{()} for +virtual postings. + +It may be appended with @code{.note} or @code{.depth} to get either the note +or the depth of the account +@end defvar + @defvar display_amount @defvarx t @value{FIXME:UNDOCUMENTED} |