fix: Add missing Cost Center filter in cash flow statement
This commit is contained in:
parent
d749f20f63
commit
285701d9f1
@ -8,17 +8,19 @@ frappe.require("assets/erpnext/js/financial_statements.js", function() {
|
|||||||
// The last item in the array is the definition for Presentation Currency
|
// The last item in the array is the definition for Presentation Currency
|
||||||
// filter. It won't be used in cash flow for now so we pop it. Please take
|
// filter. It won't be used in cash flow for now so we pop it. Please take
|
||||||
// of this if you are working here.
|
// of this if you are working here.
|
||||||
frappe.query_reports["Cash Flow"]["filters"].pop();
|
|
||||||
|
|
||||||
frappe.query_reports["Cash Flow"]["filters"].push({
|
frappe.query_reports["Cash Flow"]["filters"].splice(5, 1);
|
||||||
"fieldname": "accumulated_values",
|
|
||||||
"label": __("Accumulated Values"),
|
|
||||||
"fieldtype": "Check"
|
|
||||||
});
|
|
||||||
|
|
||||||
frappe.query_reports["Cash Flow"]["filters"].push({
|
frappe.query_reports["Cash Flow"]["filters"].push(
|
||||||
"fieldname": "include_default_book_entries",
|
{
|
||||||
"label": __("Include Default Book Entries"),
|
"fieldname": "accumulated_values",
|
||||||
"fieldtype": "Check"
|
"label": __("Accumulated Values"),
|
||||||
});
|
"fieldtype": "Check"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "include_default_book_entries",
|
||||||
|
"label": __("Include Default Book Entries"),
|
||||||
|
"fieldtype": "Check"
|
||||||
|
}
|
||||||
|
);
|
||||||
});
|
});
|
||||||
Loading…
x
Reference in New Issue
Block a user