Bug 689753- Budget Report: Neg Num Not Colored Red

Use consistent formating in budget/actual/difference
showing negative budgets in red (same as actual/dif)
This commit is contained in:
Adrian Panella 2019-05-25 01:00:08 -05:00
parent f6d607d787
commit 69ea174cd1

View File

@ -367,7 +367,8 @@
(col3 (+ col2 (if show-diff? 1 0))))
(if show-budget?
(gnc:html-table-set-cell/tag!
html-table rownum col0 style-tag
html-table rownum col0
(if (negative? bgt-val) style-tag-neg style-tag)
(if (zero? bgt-val) "."
(gnc:make-gnc-monetary comm bgt-val))))
(if show-actual?