mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[taxtxf-de_DE] fix invalid code
(unless book ...) is equivalent to (if (not book) ...) therefore this snippet was incorrect. previous commit ensures book always returns a non-#f object therefore there's no need to handle #f anymore.
This commit is contained in:
parent
3208879e64
commit
2da5944596
@ -768,12 +768,7 @@
|
||||
(to-year (gnc-print-time64 to-value "%Y"))
|
||||
(today-date (gnc-print-time64 (time64CanonicalDayTime (current-time))
|
||||
"%d.%m.%Y"))
|
||||
(tax-nr (unless book
|
||||
(or
|
||||
(gnc:option-get-value book gnc:*tax-label* gnc:*tax-nr-label*)
|
||||
"")
|
||||
""))
|
||||
)
|
||||
(tax-nr (gnc:option-get-value book gnc:*tax-label* gnc:*tax-nr-label*)))
|
||||
|
||||
;; Now, the main body
|
||||
;; Reset all the balance collectors
|
||||
|
Loading…
Reference in New Issue
Block a user