[trep-engine] when Running Balance is shown, print "Balance b/f"

This commit is contained in:
Christopher Lam
2020-03-01 10:36:25 +08:00
parent 1d9c51d8e4
commit 742b97229c

View File

@@ -1401,6 +1401,11 @@ be excluded from periodic reporting.")
(case level
((primary) optname-prime-sortkey)
((secondary) optname-sec-sortkey))))
(data (if (and (any (lambda (c) (eq? 'bal-bf (vector-ref c 5)))
calculated-cells)
(memq sortkey ACCOUNT-SORTING-TYPES))
(string-append data ": " (_ "Balance b/f"))
data))
(renderer-fn (keylist-get-info
(sortkey-list BOOK-SPLIT-ACTION)
sortkey 'renderer-fn))