You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ak...@apache.org on 2017/10/28 09:27:21 UTC

svn commit: r1813597 - /ofbiz/ofbiz-framework/trunk/applications/marketing/widget/sfa/forms/EventForms.xml

Author: akashjain
Date: Sat Oct 28 09:27:21 2017
New Revision: 1813597

URL: http://svn.apache.org/viewvc?rev=1813597&view=rev
Log:
Improved: No option to add Event Purpose on Events page, applied patch from jira issue with slightly changes (OFBIZ-9680)

Thanks: Sonal Patwari and Lalit Dashora for your contribution.

Modified:
    ofbiz/ofbiz-framework/trunk/applications/marketing/widget/sfa/forms/EventForms.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/marketing/widget/sfa/forms/EventForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/marketing/widget/sfa/forms/EventForms.xml?rev=1813597&r1=1813596&r2=1813597&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/marketing/widget/sfa/forms/EventForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/marketing/widget/sfa/forms/EventForms.xml Sat Oct 28 09:27:21 2017
@@ -94,6 +94,11 @@ under the License.
         <field name="estimatedStartDate"><date-time input-method="time-dropdown" default-value="${nowTimestamp}"/></field>
         <field name="estimatedCompletionDate"><date-time input-method="time-dropdown" default-value="${nowTimestamp}"/></field>
         <field name="partyId" title="${uiLabelMap.FormFieldTitle_toPartyId}"><lookup target-form-name="LookupPartyName" default-value="${userLogin.partyId}"/></field>
+        <field name="workEffortPurposeTypeId" title="${uiLabelMap.CommonPurpose}">
+            <drop-down allow-empty="true">
+                <entity-options entity-name="WorkEffortPurposeType" key-field-name="workEffortPurposeTypeId" description="${description}"></entity-options>
+            </drop-down>
+        </field>
         <sort-order>
             <sort-field name="workEffortId"/>
             <sort-field name="partyId"/>
@@ -105,6 +110,7 @@ under the License.
             <sort-field name="scopeEnumId"/>
             <sort-field name="actualStartDate"/>
             <sort-field name="actualCompletionDate"/>
+            <sort-field name="workEffortPurposeTypeId"/>
             <sort-field name="workEffortName"/>
             <sort-field name="description"/>
             <sort-field name="priority"/>