fix: codasy dix
This commit is contained in:
parent
8718daa11e
commit
b3bd780d46
@ -74,9 +74,9 @@ frappe.query_reports["Budget Variance Report"] = {
|
||||
],
|
||||
"formatter": function (value, row, column, data, default_formatter) {
|
||||
value = default_formatter(value, row, column, data);
|
||||
|
||||
|
||||
if (column.fieldname.includes('variance')) {
|
||||
|
||||
|
||||
if (data[column.fieldname] < 0) {
|
||||
value = "<span style='color:red'>" + value + "</span>";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user