svn commit: r1207093 - /ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1207093 - /ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml

hansbak-2
Author: hansbak
Date: Mon Nov 28 11:51:19 2011
New Revision: 1207093

URL: http://svn.apache.org/viewvc?rev=1207093&view=rev
Log:
by default only show open opertunities in the find list

Modified:
    ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml

Modified: ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml?rev=1207093&r1=1207092&r2=1207093&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml (original)
+++ ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml Mon Nov 28 11:51:19 2011
@@ -47,6 +47,9 @@ under the License.
         odd-row-style="alternate-row" default-table-style="basic-table hover-bar" header-row-style="header-row-2">
         <actions>
             <set field="parameters.noConditionFind" value="Y"/>
+            <set field="opportunityStageId" from-field="parameters.opportunityStageId"/>
+            <set field="parameters.opportunityStageId" value="${groovy:opportunityStageId==null?&quot;SOSTG_CLOSED&quot;:opportunityStageId}"/>
+            <set field="parameters.opportunityStageId_op" value="${groovy:opportunityStageId==null?&quot;notEqual&quot;:&quot;equals&quot;}"/>
             <service service-name="performFind" result-map="result" result-map-list="listIt">
                 <field-map field-name="inputFields" from-field="parameters"/>
                 <field-map field-name="entityName" value="SalesOpportunity"/>