Emacs: update ledger expense accounts
Alan Pearce alan@alanpearce.eu
Tue, 26 Nov 2019 22:47:15 +0100
1 files changed, 3 insertions(+), 3 deletions(-)
jump to
M user/emacs/.emacs.d/init.el → user/emacs/.emacs.d/init.el
@@ -704,11 +704,11 @@ :config (progn (setq ledger-reconcile-default-commodity "€" ledger-narrow-on-reconcile t ledger-clear-whole-transactions t - ledger-reports `(("Monthly Expenses" "ledger -f %(ledger-file) reg -M \\^Flex --real -X EUR -l \"payee != 'Opening Balances'\"") + ledger-reports `(("Monthly Expenses" "ledger -f %(ledger-file) reg -M \\^Expenses --real -X EUR -l \"payee != 'Opening Balances'\"") ("Average Monthly Expenses (Past 12 Months)" ,(concat "ledger -f %(ledger-file) -b " (format-time-string "%Y-%m" (time-add (current-time) (days-to-time -365))) - " --monthly --average balance ^Flex")) - ("Expenses:This Month" "ledger -f %(ledger-file) bal \\^Flex -p \"this month\"") + " --monthly --average balance ^Expenses")) + ("Expenses:This Month" "ledger -f %(ledger-file) bal \\^Expenses -p \"this month\"") ("All Account Balances" "ledger -f %(ledger-file) bal --current -R \\^Assets \\^Liabilities")))))