mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +00:00
get_query continued
This commit is contained in:
@@ -114,8 +114,7 @@ erpnext.StockLedger = erpnext.StockGridReport.extend({
|
||||
},
|
||||
|
||||
toggle_enable_brand: function() {
|
||||
if(this.filter_inputs.item_code.val() ==
|
||||
this.filter_inputs.item_code.get(0).opts.default_value) {
|
||||
if(!this.filter_inputs.item_code.val()) {
|
||||
this.filter_inputs.brand.removeAttr("disabled");
|
||||
} else {
|
||||
this.filter_inputs.brand
|
||||
|
||||
@@ -127,8 +127,7 @@ erpnext.StockLevel = erpnext.StockGridReport.extend({
|
||||
},
|
||||
|
||||
toggle_enable_brand: function() {
|
||||
if(this.filter_inputs.item_code.val() ==
|
||||
this.filter_inputs.item_code.get(0).opts.default_value) {
|
||||
if(!this.filter_inputs.item_code.val()) {
|
||||
this.filter_inputs.brand.removeAttr("disabled");
|
||||
} else {
|
||||
this.filter_inputs.brand
|
||||
|
||||
Reference in New Issue
Block a user