Skip to content

Commit

Permalink
fix: broken route option in Profitability report
Browse files Browse the repository at this point in the history
  • Loading branch information
ruthra-kumar committed Feb 8, 2024
1 parent ae4c907 commit f79e0d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ frappe.require("assets/erpnext/js/financial_statements.js", function() {
"to_fiscal_year": data.fiscal_year
};

if(data.based_on == 'cost_center'){
if(data.based_on == 'Cost Center'){
frappe.route_options["cost_center"] = data.account
} else {
frappe.route_options["project"] = data.account
Expand Down

0 comments on commit f79e0d1

Please sign in to comment.