add --collapse to reconcile balance calculation

This commit is contained in:
Craig Earls 2013-03-25 14:05:29 -04:00
parent e5525130c0
commit 862a83e792

View file

@ -76,7 +76,7 @@ reconcile-finish will mark all pending posting cleared."
;; split arguments like the shell does, so you need to
;; specify the individual fields in the command line.
(if (ledger-exec-ledger buffer (current-buffer)
"balance" "--limit" "cleared or pending" "--empty"
"balance" "--limit" "cleared or pending" "--empty" "--collapse"
"--format" "%(display_total)" account)
(ledger-split-commodity-string
(buffer-substring-no-properties (point-min) (point-max)))))))