<reponame>dineshpanchal93/Tuna-IRD<filename>tuna_ird/tuna_technology_ird/report/materialised_view/materialised_view.js<gh_stars>0// Copyright (c) 2022, hzdkv@example.com and contributors
// For license information, please see license.txt
/* eslint-disable */

frappe.query_reports["Materialised View"] = {
	"filters": [
		{
			"fieldname":"company",
			"label": __("Company"),
			"fieldtype": "Link",
			"options": "Company",
			"default": frappe.defaults.get_user_default("Company")
		},
		{
			"fieldname":"from_date",
			"label": __("From Date"),
			"fieldtype": "Date",
			"default": frappe.datetime.add_months(frappe.datetime.get_today(), -1),
			"width": "80"
		},
		{
			"fieldname":"to_date",
			"label": __("To Date"),
			"fieldtype": "Date",
			"default": frappe.datetime.get_today()
		}	

	]
};
erpnext.utils.add_dimensions('Materialised View', 7);
Footer
