diff options
author | Alan Pearce | 2016-02-05 17:31:07 +0100 |
---|---|---|
committer | Alan Pearce | 2016-02-05 17:31:07 +0100 |
commit | ed0669abc63b735fbbb482c63e8ccb9373a18ab1 (patch) | |
tree | 3d444bd107702a60cba1befb411334afee680bd8 /tag-emacs/emacs.d | |
parent | d16f4df11a799ae990c07629f60a11d5ad8d22ba (diff) | |
download | dotfiles-ed0669abc63b735fbbb482c63e8ccb9373a18ab1.tar.lz dotfiles-ed0669abc63b735fbbb482c63e8ccb9373a18ab1.tar.zst dotfiles-ed0669abc63b735fbbb482c63e8ccb9373a18ab1.zip |
Emacs: Update ledger-mode reports
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r-- | tag-emacs/emacs.d/init.org | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 2536223..2fc1fe6 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -1540,11 +1540,12 @@ works really nicely. ledger-clear-whole-transactions t ledger-narrow-on-reconcile t ledger-default-date-format "%Y-%m-%d" - ledger-reports '(("Monthly Expenses" "ledger -f %(ledger-file) reg -M Expenses -l \"commodity == '€'\"") - ("Forecast:Next Month" "ledger -f %(ledger-file) bal --forecast 'format_date(d, \"%Y%m%d\")<(to_string(to_int(format_date(now, \"%Y%m01\"))+100))' --limit 'format_date(date, \"%Y%m%d\")>(to_string(to_int(format_date(now, \"%Y%m01\"))+200))' ^Expenses: ^Funds:") - ("Expenses:This Month" "ledger -f %(ledger-file) bal ^Expenses -p \"this month\"") - ("Asset & Liability Balances" "ledger -f %(ledger-file) bal --current -R :Budget: Assets:Receivable Liabilities:Personal") - ("Budget" "ledger -f %(ledger-file) bal ^Funds") + ledger-reports '(("Monthly Expenses" "ledger -f %(ledger-file) reg -M Expenses --real -l \"payee != 'Opening Balances'\"") + ("Expenses:This Month" "ledger -f %(ledger-file) bal \\^Expenses -p \"this month\"") + ("On-budget Balances" "ledger -f %(ledger-file) bal --current -R :Budget: Assets:Receivable Liabilities:Personal") + ("All Account Balances" "ledger -f %(ledger-file) bal --current -R \\^Assets \\^Liabilities") + ("Budget (Current Month)" "ledger -f %(ledger-file) bal --current \\^Funds") + ("Budget (All)" "ledger -f %(ledger-file) bal \\^Funds") ("bal" "ledger -f %(ledger-file) bal") ("reg" "ledger -f %(ledger-file) reg") ("equity" "ledger -f %(ledger-file) equity") |