summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d
diff options
context:
space:
mode:
authorAlan Pearce2016-02-05 17:31:07 +0100
committerAlan Pearce2016-02-05 17:31:07 +0100
commited0669abc63b735fbbb482c63e8ccb9373a18ab1 (patch)
tree3d444bd107702a60cba1befb411334afee680bd8 /tag-emacs/emacs.d
parentd16f4df11a799ae990c07629f60a11d5ad8d22ba (diff)
downloaddotfiles-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.org11
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")