While I believe this is intended behaviour (the code explicitly mentions an if-branch with the comment below) I do believe this bug can be rephrased as: "the wording of the option "Individual taxes" can be confusing". The option may be changed to a droplist for example stating "Display individual taxes per account" and "Only display total tax").
Code taken from current SVN 2.4.99
[From invoice.scm both simple invoice & printable invoice show the same behavior)
(if display-all-taxes
(hash-for-each
(lambda (acct value)
(let ((collector (gnc:make-commodity-collector))
(commodity (xaccAccountGetCommodity acct))
(name (xaccAccountGetName acct)))
(collector 'add commodity value) (add-subtotal-row table used-columns collector "grand-total" name)))
acct-hash)
; nope, just show the total tax.
(add-subtotal-row table used-columns tax-collector
"grand-total" (_ "Tax")))
While I believe this is intended behaviour (the code explicitly mentions an if-branch with the comment below) I do believe this bug can be rephrased as: "the wording of the option "Individual taxes" can be confusing". The option may be changed to a droplist for example stating "Display individual taxes per account" and "Only display total tax").
Code taken from current SVN 2.4.99
[From invoice.scm both simple invoice & printable invoice show the same behavior) commodity- collector) ) Commodity acct))
(add-subtotal- row table used-columns collector
"grand- total" name)))
(if display-all-taxes
(hash-for-each
(lambda (acct value)
(let ((collector (gnc:make-
(commodity (xaccAccountGet
(name (xaccAccountGetName acct)))
(collector 'add commodity value)
acct-hash)
; nope, just show the total tax.
(add-subtotal-row table used-columns tax-collector
"grand-total" (_ "Tax")))