2015-12-12 02:33:01 +00:00
|
|
|
// Copyright (c) 2013, Frappe Technologies Pvt. Ltd. and contributors
|
|
|
|
// For license information, please see license.txt
|
|
|
|
|
2016-04-29 11:52:42 +00:00
|
|
|
frappe.require("assets/erpnext/js/financial_statements.js", function() {
|
2016-08-19 06:18:58 +00:00
|
|
|
frappe.query_reports["Cash Flow"] = $.extend({},
|
|
|
|
erpnext.financial_statements);
|
2015-12-12 02:33:01 +00:00
|
|
|
|
2018-02-12 09:34:50 +00:00
|
|
|
// 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
|
|
|
|
// of this if you are working here.
|
|
|
|
|
2020-04-07 06:46:25 +00:00
|
|
|
frappe.query_reports["Cash Flow"]["filters"].splice(8, 1);
|
2019-06-18 13:04:14 +00:00
|
|
|
|
2019-07-10 16:52:14 +00:00
|
|
|
frappe.query_reports["Cash Flow"]["filters"].push(
|
|
|
|
{
|
|
|
|
"fieldname": "include_default_book_entries",
|
|
|
|
"label": __("Include Default Book Entries"),
|
2020-01-27 09:48:51 +00:00
|
|
|
"fieldtype": "Check",
|
|
|
|
"default": 1
|
2019-07-10 16:52:14 +00:00
|
|
|
}
|
|
|
|
);
|
2016-04-29 11:52:42 +00:00
|
|
|
});
|