mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[income-gst-statement] bugfix must not translate option names
This bug would cause report crash for localized builds because the option names were localized and could never be retrieved from the options tree.
This commit is contained in:
parent
a5057e8116
commit
bcf5f7d751
@ -147,8 +147,8 @@ for taxes paid on expenses, and type LIABILITY for taxes collected on sales.")
|
||||
(accounts-tax-paid (filter (lambda (acc) (eq? (xaccAccountGetType acc) ACCT-TYPE-ASSET)) tax-accounts))
|
||||
(accounts-sales (filter (lambda (acc) (eq? (xaccAccountGetType acc) ACCT-TYPE-INCOME)) accounts))
|
||||
(accounts-purchases (filter (lambda (acc) (eq? (xaccAccountGetType acc) ACCT-TYPE-EXPENSE)) accounts))
|
||||
(common-currency (and (opt-val gnc:pagename-general (_ "Common Currency")) ; if a common currency was specified,
|
||||
(opt-val gnc:pagename-general (_ "Report's currency")))) ; use it
|
||||
(common-currency (and (opt-val gnc:pagename-general "Common Currency") ; if a common currency was specified,
|
||||
(opt-val gnc:pagename-general "Report's currency"))) ; use it
|
||||
(split-date (lambda (s) (xaccTransGetDate (xaccSplitGetParent s))))
|
||||
(split-currency (lambda (s) (xaccAccountGetCommodity (xaccSplitGetAccount s))))
|
||||
(split-adder (lambda (split accountlist)
|
||||
|
Loading…
Reference in New Issue
Block a user