mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-29 20:24:25 -06:00
Fix income statement when trading accounts not used
Fix cosmetic bug http://gnucash.1415818.n4.nabble.com/unknown-column-in-Income-Statement-Profit-amp-Loss-td4680661.html#a4692940 Insert empty-cell instead of #unspecified result of (if predicate? result-if-true) where predicate? is #false
This commit is contained in:
parent
54f9cd69af
commit
0bb972cd02
@ -647,14 +647,16 @@
|
||||
(if standard-order?
|
||||
(list
|
||||
(gnc:make-html-table-cell inc-table)
|
||||
(if (not (null? trading-accounts))
|
||||
(if (null? trading-accounts)
|
||||
(gnc:html-make-empty-cell)
|
||||
(gnc:make-html-table-cell tra-table))
|
||||
(gnc:make-html-table-cell exp-table)
|
||||
)
|
||||
(list
|
||||
(gnc:make-html-table-cell exp-table)
|
||||
(gnc:make-html-table-cell inc-table)
|
||||
(if (not (null? trading-accounts))
|
||||
(if (null? trading-accounts)
|
||||
(gnc:html-make-empty-cell)
|
||||
(gnc:make-html-table-cell tra-table))
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user