[fix] uppercase filter frappe/erpnext#8996 (#9026)

This commit is contained in:
Prateeksha Singh 2017-05-26 21:34:18 +05:30 committed by Nabin Hait
parent 157c334737
commit e38c70c8bc

View File

@ -709,7 +709,7 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
filter: function (item, input) { filter: function (item, input) {
var value = item.value.toLowerCase(); var value = item.value.toLowerCase();
if (value.indexOf('is_action') !== -1 || if (value.indexOf('is_action') !== -1 ||
value.indexOf(input) !== -1) { value.indexOf(input.toLowerCase()) !== -1) {
return true; return true;
} }
}, },