brotherton-erpnext/erpnext/projects/report/project_summary/project_summary.js
Shivam Mishra 2a81058f90
refactor: project summary report (#21943)
* feat: added more filters

* feat: show only first 30 projects in chart

* Update erpnext/projects/report/project_summary/project_summary.js

Co-authored-by: Marica <maricadsouza221197@gmail.com>

Co-authored-by: Marica <maricadsouza221197@gmail.com>
2020-05-27 11:53:48 +05:30

43 lines
938 B
JavaScript

// Copyright (c) 2016, Frappe Technologies Pvt. Ltd. and contributors
// For license information, please see license.txt
/* eslint-disable */
frappe.query_reports["Project Summary"] = {
"filters": [
{
"fieldname": "company",
"label": __("Company"),
"fieldtype": "Link",
"options": "Company",
"default": frappe.defaults.get_user_default("Company"),
"reqd": 1
},
{
"fieldname": "is_active",
"label": __("Is Active"),
"fieldtype": "Select",
"options": "\nYes\nNo",
"default": "Yes",
},
{
"fieldname": "status",
"label": __("Status"),
"fieldtype": "Select",
"options": "\nOpen\nCompleted\nCancelled",
"default": "Open"
},
{
"fieldname": "project_type",
"label": __("Project Type"),
"fieldtype": "Link",
"options": "Project Type"
},
{
"fieldname": "priority",
"label": __("Priority"),
"fieldtype": "Select",
"options": "\nLow\nMedium\nHigh"
}
]
};