Christopher Dembek
03/01/2021, 2:53 PMfunction _hasAccessories(item) {
return item.get('custitem_cust_field') && item.get('custitem_cust_field') !== ' ';
}
ItemKeyMapping.getKeyMapping = _.wrap(ItemKeyMapping.getKeyMapping, function wrapGetKeyMapping(getKeyMappingFn) {
var keyMapping = getKeyMappingFn.apply(this, _.toArray(arguments).slice(1));
_(keyMapping).extend({
_hasAccessories: _hasAccessories
});
return keyMapping;
});
Steve Goldberg
03/01/2021, 3:08 PMChristopher Dembek
03/01/2021, 3:24 PMSteve Goldberg
03/01/2021, 3:44 PM