2015-03-03 09:25:30 +00:00
|
|
|
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
|
2014-07-14 13:36:52 +00:00
|
|
|
// License: GNU General Public License v3. See license.txt
|
|
|
|
|
2016-04-29 11:52:42 +00:00
|
|
|
frappe.require("assets/erpnext/js/financial_statements.js", function() {
|
2019-11-13 07:16:19 +00:00
|
|
|
frappe.query_reports["Balance Sheet"] = $.extend({}, erpnext.financial_statements);
|
2017-03-31 05:18:54 +00:00
|
|
|
|
2020-05-26 13:53:45 +00:00
|
|
|
erpnext.utils.add_dimensions('Balance Sheet', 10);
|
|
|
|
|
2017-03-31 05:18:54 +00:00
|
|
|
frappe.query_reports["Balance Sheet"]["filters"].push({
|
|
|
|
"fieldname": "accumulated_values",
|
|
|
|
"label": __("Accumulated Values"),
|
2017-05-04 06:42:29 +00:00
|
|
|
"fieldtype": "Check",
|
|
|
|
"default": 1
|
2017-03-31 05:18:54 +00:00
|
|
|
});
|
2019-06-18 13:04:14 +00:00
|
|
|
|
|
|
|
frappe.query_reports["Balance Sheet"]["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-06-18 13:04:14 +00:00
|
|
|
});
|
2016-04-29 11:52:42 +00:00
|
|
|
});
|