gnucash maint: [income-gst-statement] trep-engine currency section moved
Christopher Lam
clam at code.gnucash.org
Fri Jan 29 08:07:28 EST 2021
Updated via https://github.com/Gnucash/gnucash/commit/ed033f4f (commit)
from https://github.com/Gnucash/gnucash/commit/79d3a156 (commit)
commit ed033f4fd2f801e15fa92e24d168b09ea11877c5
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Fri Jan 29 20:42:00 2021 +0800
[income-gst-statement] trep-engine currency section moved
From "General" to "Currency". Missed out in 854c11782 commit
diff --git a/gnucash/report/reports/standard/income-gst-statement.scm b/gnucash/report/reports/standard/income-gst-statement.scm
index 234422416..66e22e73f 100644
--- a/gnucash/report/reports/standard/income-gst-statement.scm
+++ b/gnucash/report/reports/standard/income-gst-statement.scm
@@ -201,8 +201,8 @@ with *EUGOODS* in the account description."))) #f
;; multiple currencies in a government report. Plus, single currency
;; means only 1 amount per heading for CSV output.
(gnc:option-set-default-value
- (gnc:lookup-option options gnc:pagename-general "Common Currency") #t)
- (gnc:option-make-internal! options gnc:pagename-general "Common Currency")
+ (gnc:lookup-option options "Currency" "Common Currency") #t)
+ (gnc:option-make-internal! options "Currency" "Common Currency")
;; Set default dates to report on last quarter.
(gnc:option-set-default-value
@@ -263,7 +263,7 @@ with *EUGOODS* in the account description."))) #f
(accounts-tax-paid (accfilter tax-accounts ACCT-TYPE-ASSET))
(accounts-sales (opt-val gnc:pagename-accounts "Sales"))
(accounts-purchases (opt-val gnc:pagename-accounts "Purchases"))
- (common-currency (opt-val gnc:pagename-general "Report's currency")))
+ (common-currency (opt-val "Currency" "Report's currency")))
(define (split-adder split accountlist)
(define txn (xaccSplitGetParent split))
Summary of changes:
gnucash/report/reports/standard/income-gst-statement.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
More information about the gnucash-changes
mailing list