Permalink
Browse files

Issue 19453: Added more fields to the parameter widget for Quote

  • Loading branch information...
1 parent 6285654 commit 523c6c4440f7fc1edad645fb7e132fd95f02597e Linda Nichols committed Mar 15, 2013
@@ -177,6 +177,7 @@ var lang = XT.stringsFor("en_US", {
"_error": "Error",
"_errorColor": "Error Color",
"_eventRecipient": "Event Recipient",
+ "_excludeProspects": "Exclude Prospects",
"_expenses": "Expenses",
"_expiredColor": "Expired Color",
"_expires": "Expires",
@@ -545,6 +545,21 @@ trailing:true white:true*/
return param;
}
},
+ {name: "excludeProspects", label: "_excludeProspects".loc(), attr: "customer.status", defaultKind: "XV.CheckboxWidget",
+ getParameter: function () {
+ var param;
+ if (!this.getValue()) {
+ param = {
+ attribute: this.getAttr(),
+ operator: '!=',
+ value: "P"
+ };
+ }
+ return param;
+ }
+ },
+ {name: "customerPurchaseOrderNumber", attr: "customerPurchaseOrderNumber",
+ label: "_custPO".loc()},
{kind: "onyx.GroupboxHeader", content: "_quoteDate".loc()},
{name: "createdFromDate", label: "_fromDate".loc(),
filterLabel: "_quoteDate".loc() + " " + "_fromDate".loc(),

0 comments on commit 523c6c4

Please sign in to comment.