Merge pull request #38995 from ruthra-kumar/undefined_error_in_consolidated_report

fix: undefined error in consolidated financial report
This commit is contained in:
ruthra kumar
2023-12-28 17:42:18 +05:30
committed by GitHub

View File

@@ -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");