mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 05:39:12 +00:00
Merge pull request #39598 from GursheenK/type-error-dashboard-report
fix(minor): type error in financial statements for dashboard
This commit is contained in:
@@ -74,6 +74,7 @@ erpnext.financial_statements = {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (report.page){
|
||||||
const views_menu = report.page.add_custom_button_group(__('Financial Statements'));
|
const views_menu = report.page.add_custom_button_group(__('Financial Statements'));
|
||||||
|
|
||||||
report.page.add_custom_menu_item(views_menu, __("Balance Sheet"), function() {
|
report.page.add_custom_menu_item(views_menu, __("Balance Sheet"), function() {
|
||||||
@@ -91,6 +92,7 @@ erpnext.financial_statements = {
|
|||||||
frappe.set_route('query-report', 'Cash Flow', {company: filters.company});
|
frappe.set_route('query-report', 'Cash Flow', {company: filters.company});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
function get_filters() {
|
function get_filters() {
|
||||||
|
|||||||
Reference in New Issue
Block a user