Remove unnecessary columns Analytics Reports (#13344)

This commit is contained in:
Faris Ansari
2018-03-22 11:12:02 +05:30
committed by GitHub
parent 4fc74333bd
commit 34dd079a68
7 changed files with 14 additions and 34 deletions

View File

@@ -33,7 +33,7 @@ erpnext.SupportAnalytics = frappe.views.GridReportWithPlot.extend({
{fieldname: "range", fieldtype:"Select", label: __("Range"),
options:["Daily", "Weekly", "Monthly", "Quarterly", "Yearly"], default_value: "Monthly"}
],
init_filter_values: function() {
this._super();
this.filter_inputs.range.val('Monthly');
@@ -41,8 +41,6 @@ erpnext.SupportAnalytics = frappe.views.GridReportWithPlot.extend({
setup_columns: function() {
var std_columns = [
{id: "_check", name: __("Plot"), field: "_check", width: 30,
formatter: this.check_formatter},
{id: "name", name: __("Status"), field: "name", width: 100},
];
this.make_date_range_columns();