Skip to content

Commit

Permalink
fix: undefined error in consolidated financial report
Browse files Browse the repository at this point in the history
  • Loading branch information
ruthra-kumar committed Dec 28, 2023
1 parent 46035ed commit 49f93f9
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 49f93f9

Please sign in to comment.