mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-20 15:32:14 +00:00
fix: 'undefined' in PL and BS report summary on Consolidated report
(cherry picked from commit dd5a5e4919)
This commit is contained in:
@@ -104,7 +104,7 @@ def get_balance_sheet_data(fiscal_year, companies, columns, filters):
|
|||||||
if total_credit:
|
if total_credit:
|
||||||
data.append(total_credit)
|
data.append(total_credit)
|
||||||
|
|
||||||
report_summary = get_bs_summary(
|
report_summary, primitive_summary = get_bs_summary(
|
||||||
companies,
|
companies,
|
||||||
asset,
|
asset,
|
||||||
liability,
|
liability,
|
||||||
@@ -175,7 +175,7 @@ def get_profit_loss_data(fiscal_year, companies, columns, filters):
|
|||||||
|
|
||||||
chart = get_pl_chart_data(filters, columns, income, expense, net_profit_loss)
|
chart = get_pl_chart_data(filters, columns, income, expense, net_profit_loss)
|
||||||
|
|
||||||
report_summary = get_pl_summary(
|
report_summary, primitive_summary = get_pl_summary(
|
||||||
companies, "", income, expense, net_profit_loss, company_currency, filters, True
|
companies, "", income, expense, net_profit_loss, company_currency, filters, True
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user