Bug 498072 - GnuCash show taxes on invoice when individual taxes is not checked

Use more descriptive option name and tool tip as proposed in the bug.
This commit is contained in:
Geert Janssens 2018-11-18 15:38:59 +01:00
parent ae862e6aa5
commit f13d21b973
2 changed files with 4 additions and 3 deletions

View File

@ -316,8 +316,8 @@ for styling the invoice. Please see the exported report for the CSS class names.
(gnc:register-inv-option
(gnc:make-simple-boolean-option
(N_ "Display") (N_ "Individual Taxes")
"o" (N_ "Display all the individual taxes?") #f))
(N_ "Display") (N_ "Use Detailed Tax Summary")
"o" (N_ "Display all tax categories separately (one per line) instead of one single tax line.?") #f))
(gnc:register-inv-option (gnc:make-internal-option "Display" "Totals" #t))
@ -415,7 +415,7 @@ for styling the invoice. Please see the exported report for the CSS class names.
(gnc:lookup-option options section name)))
(let ((show-payments (opt-val "Display" "Payments"))
(display-all-taxes (opt-val "Display" "Individual Taxes"))
(display-all-taxes (opt-val "Display" "Use Detailed Tax Summary"))
(display-subtotal? (opt-val "Display" "Subtotal"))
(lot (gncInvoiceGetPostedLot invoice))
(txn (gncInvoiceGetPostedTxn invoice))

View File

@ -1723,6 +1723,7 @@
"Void Transactions?" (cons "Filter" "Void Transactions")
"Void Transactions" (cons "Filter" "Void Transactions")
"Account Substring" (cons "Filter" "Account Name Filter")
"Individual Taxes" (cons "#f" "Use Detailed Tax Summary") ;invoice.scm, renamed November 2018
))
(name-match (member name new-names-list)))