Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fine-tune ledger reports

  • Loading branch information...
commit 39b06070d02443c9b02208e8e9a13c0d50015e9e 1 parent 07d033b
gwenhael authored June 24, 2012

Showing 1 changed file with 4 additions and 3 deletions. Show diff stats Hide diff stats

  1. 7  babel-init.org
7  babel-init.org
Source Rendered
@@ -852,15 +852,16 @@ puts content.gsub(/\<[\\/]*p\>/,'')\
852 852
     (ledger-reports-add "by Payee" "ledger -y '%a %e %b %Y' -f %(ledger-file) register -P")
853 853
     (ledger-reports-add "uncleared" "ledger -y '%a %e %b %Y' -f %(ledger-file) register -U")
854 854
     (ledger-reports-add "bal" "ledger -y '%a %e %b %Y' -f %(ledger-file) cleared")
855  
-    (ledger-reports-add "monthly expenses" "ledger -y '%b %Y' -f %(ledger-file) -M -n reg Expenses")
856  
-    (ledger-reports-add "monthly expenses weekly" "ledger -y '%a %e %b %Y' -f %(ledger-file) -W -n reg Expenses -p \"this month\"")
857  
-    (ledger-reports-add "monthly expenses daily" "ledger -y '%a %e %b %Y' -f %(ledger-file) -D -n reg Expenses -p \"this month\"")
  855
+    (ledger-reports-add "monthly expenses" "ledger -y '%b %Y' -f %(ledger-file) -MAn reg Expenses")
  856
+    (ledger-reports-add "monthly expenses weekly" "ledger -y '%a %e %b %Y' -f %(ledger-file) -WAn reg Expenses -p \"this month\"")
  857
+    (ledger-reports-add "monthly expenses daily" "ledger -y '%a %e %b %Y' -f %(ledger-file) -DAn reg Expenses -p \"this month\"")
858 858
   
859 859
     (defun cyco:ledger-edit ()
860 860
       "Open my ledger."
861 861
       (interactive)
862 862
       (find-file (getenv "LEDGER_FILE"))
863 863
       (ledger-find-slot (current-time))))
  864
+  
864 865
 #+end_src
865 866
 
866 867
 ** Goto last change

0 notes on commit 39b0607

Please sign in to comment.
Something went wrong with that request. Please try again.