Bug 799452 - Transaction Report: Cannot subtotal based on Number field

enable grouping and subtotals for Num field
This commit is contained in:
Christopher Lam 2024-10-30 08:27:03 +08:00
parent 2e52086451
commit cf73829e24

View File

@ -243,19 +243,19 @@ in the Options panel."))
(cons 'sortkey (list SPLIT-ACTION))
(cons 'split-sortvalue xaccSplitGetAction)
(cons 'text (G_ "Number/Action"))
(cons 'renderer-fn #f))
(cons 'renderer-fn xaccSplitGetAction))
(list 'number
(cons 'sortkey (list SPLIT-TRANS TRANS-NUM))
(cons 'split-sortvalue (compose xaccTransGetNum xaccSplitGetParent))
(cons 'text (G_ "Number"))
(cons 'renderer-fn #f)))
(cons 'renderer-fn (compose xaccTransGetNum xaccSplitGetParent))))
(list 't-number
(cons 'sortkey (list SPLIT-TRANS TRANS-NUM))
(cons 'split-sortvalue (compose xaccTransGetNum xaccSplitGetParent))
(cons 'text (G_ "Transaction Number"))
(cons 'renderer-fn #f))
(cons 'renderer-fn (compose xaccTransGetNum xaccSplitGetParent)))
(list 'memo
(cons 'sortkey (list SPLIT-MEMO))