Rename option name from "Invoice number" to "Invoice Number"

This ensures it matches all other invoice reports.
This commit is contained in:
Christopher Lam 2021-07-21 22:38:09 +08:00
parent 2fccf30c14
commit 2606ddf905
2 changed files with 4 additions and 3 deletions

View File

@ -41,7 +41,6 @@
(define generalpage gnc:pagename-general)
; option names
(define optname-report-title (N_ "Report title"))
(define optname-invoice-number (N_ "Invoice number"))
(define optname-template-file (N_ "Template file"))
(define optname-css-file (N_ "CSS stylesheet file"))
(define optname-heading-font (N_ "Heading font"))
@ -73,7 +72,7 @@
(add-option
(gnc:make-invoice-option ; defined in gnucash/scm/business-options.scm
generalpage optname-invoice-number
generalpage gnc:optname-invoice-number
"a" "" (lambda () '()) #f))
;; Display options
@ -164,7 +163,7 @@
; Get all the options
(let* ((document (gnc:make-html-document))
(opt-invoice (opt-value generalpage optname-invoice-number))
(opt-invoice (opt-value generalpage gnc:optname-invoice-number))
(opt-template-file (find-template
(opt-value displaypage optname-template-file)))
(opt-css-file (find-stylesheet

View File

@ -1832,6 +1832,8 @@ the option '~a'."))
("Links" #f "Transaction Links")
;; invoice.scm, renamed November 2018
("Individual Taxes" #f "Use Detailed Tax Summary")
;; receipt.scm, renamed July 2021
("Invoice number" #f "Invoice Number")
;; income-gst-statement.scm
("default format" #f "Default Format")
("Report format" #f "Report Format")