From 69ea174cd106da81c2b5b34a3f6d080327c24eb7 Mon Sep 17 00:00:00 2001 From: Adrian Panella Date: Sat, 25 May 2019 01:00:08 -0500 Subject: [PATCH] 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) --- gnucash/report/standard-reports/budget.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnucash/report/standard-reports/budget.scm b/gnucash/report/standard-reports/budget.scm index 2e6bacf0f2..fa82bd9ff8 100644 --- a/gnucash/report/standard-reports/budget.scm +++ b/gnucash/report/standard-reports/budget.scm @@ -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?