Permalink
Browse files

Issue 19453: Added search fields to advanced search for quote

  • Loading branch information...
1 parent 6b8751f commit f97426867c04392cc89ed7d400f641af5ce0e190 Linda Nichols committed Mar 18, 2013
Showing with 20 additions and 1 deletion.
  1. +20 −1 enyo-client/application/source/widgets/parameter.js
@@ -548,7 +548,7 @@ trailing:true white:true*/
{name: "excludeProspects", label: "_excludeProspects".loc(), attr: "customer.status", defaultKind: "XV.CheckboxWidget",
getParameter: function () {
var param;
- if (!this.getValue()) {
+ if (this.getValue()) {
param = {
attribute: this.getAttr(),
operator: '!=',
@@ -558,6 +558,25 @@ trailing:true white:true*/
return param;
}
},
+ // {name: "showOpenOnly", label: "_showOpenOnly".loc(), attr: "status", defaultKind: "XV.CheckboxWidget",
+ // getParameter: function () {
+ // var param;
+ // if (this.getValue()) {
+ // param = {
+ // attribute: this.getAttr(),
+ // operator: '=',
+ // value: "O"
+ // };
+ // }
+ // return param;
+ // }
+ // },
+ {name: "number", label: "_number".loc(), attr: "number"},
+ {name: "salesRep", attr: "salesRep", label: "_salesRep".loc(), defaultKind: "XV.SalesRepPicker"},
+ // {name: "itemSite", attr: "lineItems.itemSite", label: "_itemSite".loc(), defaultKind: "XV.ItemSiteWidget"},
+ {kind: "onyx.GroupboxHeader", content: "_customer".loc()},
+ {name: "customer", attr: "customer", label: "_customer".loc(), defaultKind: "XV.CustomerProspectWidget"},
+ {name: "customerType", attr: "customer.customerType", label: "_customerType".loc(), defaultKind: "XV.CustomerTypePicker"},
{name: "customerPurchaseOrderNumber", attr: "customerPurchaseOrderNumber",
label: "_custPO".loc()},
{kind: "onyx.GroupboxHeader", content: "_quoteDate".loc()},

0 comments on commit f974268

Please sign in to comment.