mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Only show Subtotal Prefix with Transactions
If `Show subtotals only (hide transactional data)` is selected then the `Total For` prefix should not be shown.
This commit is contained in:
parent
43eb36c311
commit
ebdab86ec1
@ -1671,7 +1671,10 @@ be excluded from periodic reporting.")
|
|||||||
(data-columns (car list-of-commodities))))
|
(data-columns (car list-of-commodities))))
|
||||||
(loop "" (cdr list-of-commodities))))))
|
(loop "" (cdr list-of-commodities))))))
|
||||||
|
|
||||||
(define (total-string str) (string-append (G_ "Total For ") str))
|
(define (total-string str)
|
||||||
|
(if (opt-val pagename-sorting optname-show-subtotals-only)
|
||||||
|
str
|
||||||
|
(string-append (G_ "Total For ") str)))
|
||||||
|
|
||||||
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; renderers
|
;; renderers
|
||||||
|
Loading…
Reference in New Issue
Block a user