changed default to Monthly in new grid reports

This commit is contained in:
Anand Doshi 2012-11-28 17:12:18 +05:30
parent 77aa0ef4f6
commit 01bf10b8b6
4 changed files with 4 additions and 4 deletions

View File

@ -76,7 +76,7 @@ erpnext.FinancialAnalytics = erpnext.AccountTreeGrid.extend({
},
init_filter_values: function() {
this._super();
this.filter_inputs.range.val('Weekly');
this.filter_inputs.range.val('Monthly');
},
prepare_balances: function() {
var me = this;

View File

@ -128,7 +128,7 @@ erpnext.PurchaseAnalytics = wn.views.TreeGridReport.extend({
},
init_filter_values: function() {
this._super();
this.filter_inputs.range.val('Weekly');
this.filter_inputs.range.val('Monthly');
},
prepare_data: function() {
var me = this;

View File

@ -136,7 +136,7 @@ erpnext.SalesAnalytics = wn.views.TreeGridReport.extend({
},
init_filter_values: function() {
this._super();
this.filter_inputs.range.val('Weekly');
this.filter_inputs.range.val('Monthly');
},
prepare_data: function() {
var me = this;

View File

@ -103,7 +103,7 @@ erpnext.StockAnalytics = erpnext.StockGridReport.extend({
},
init_filter_values: function() {
this._super();
this.filter_inputs.range.val('Weekly');
this.filter_inputs.range.val('Monthly');
},
prepare_data: function() {
var me = this;