2015-03-03 14:55:30 +05:30
|
|
|
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
|
2014-07-14 19:06:52 +05:30
|
|
|
// License: GNU General Public License v3. See license.txt
|
|
|
|
|
2016-04-29 17:22:42 +05:30
|
|
|
frappe.require("assets/erpnext/js/financial_statements.js", function() {
|
2019-11-13 12:46:19 +05:30
|
|
|
frappe.query_reports["Balance Sheet"] = $.extend({}, erpnext.financial_statements);
|
2017-03-31 02:18:54 -03:00
|
|
|
|
2020-05-26 19:23:45 +05:30
|
|
|
erpnext.utils.add_dimensions('Balance Sheet', 10);
|
|
|
|
|
2017-03-31 02:18:54 -03:00
|
|
|
frappe.query_reports["Balance Sheet"]["filters"].push({
|
|
|
|
"fieldname": "accumulated_values",
|
|
|
|
"label": __("Accumulated Values"),
|
2017-05-04 12:12:29 +05:30
|
|
|
"fieldtype": "Check",
|
|
|
|
"default": 1
|
2017-03-31 02:18:54 -03:00
|
|
|
});
|
2019-06-18 18:34:14 +05:30
|
|
|
|
|
|
|
frappe.query_reports["Balance Sheet"]["filters"].push({
|
|
|
|
"fieldname": "include_default_book_entries",
|
|
|
|
"label": __("Include Default Book Entries"),
|
2020-01-27 15:18:51 +05:30
|
|
|
"fieldtype": "Check",
|
|
|
|
"default": 1
|
2019-06-18 18:34:14 +05:30
|
|
|
});
|
2016-04-29 17:22:42 +05:30
|
|
|
});
|