Skip to content

Commit

Permalink
Merge pull request #38996 from frappe/mergify/bp/version-15/pr-38995
Browse files Browse the repository at this point in the history
fix: undefined error in consolidated financial report (backport #38995)
  • Loading branch information
ruthra-kumar authored Dec 28, 2023
2 parents 7e7eb95 + 0a3e378 commit 12c5f0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ frappe.query_reports["Consolidated Financial Statement"] = {
}

value = default_formatter(value, row, column, data);
if (!data.parent_account) {
if (data && !data.parent_account) {
value = $(`<span>${value}</span>`);

var $value = $(value).css("font-weight", "bold");
Expand Down

0 comments on commit 12c5f0b

Please sign in to comment.