fix: undefined error in consolidated financial report
(cherry picked from commit 49f93f9fa1
)
This commit is contained in:
parent
7e7eb95934
commit
0a3e378f5e
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user