mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-03 15:26:33 +00:00
fix: add translate function to string on budget_variance_report.js to match the variance word translated
This commit is contained in:
@@ -75,7 +75,7 @@ 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 (column.fieldname.includes(__("variance"))) {
|
||||
|
||||
if (data[column.fieldname] < 0) {
|
||||
value = "<span style='color:red'>" + value + "</span>";
|
||||
|
||||
Reference in New Issue
Block a user