fix: set route to cost center
cost center mapping is not correct
This commit is contained in:
parent
a444906093
commit
5e4b73918d
@ -112,7 +112,7 @@ frappe.require("assets/erpnext/js/financial_statements.js", function() {
|
|||||||
"to_fiscal_year": data.fiscal_year
|
"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
|
frappe.route_options["cost_center"] = data.account
|
||||||
} else {
|
} else {
|
||||||
frappe.route_options["project"] = data.account
|
frappe.route_options["project"] = data.account
|
||||||
|
Loading…
Reference in New Issue
Block a user