svn commit: r675506 - in /ofbiz/trunk/applications/workeffort: config/WorkEffortUiLabels.xml widget/WorkEffortPartyAssignForms.xml

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

svn commit: r675506 - in /ofbiz/trunk/applications/workeffort: config/WorkEffortUiLabels.xml widget/WorkEffortPartyAssignForms.xml

ashish-18
Author: ashish
Date: Thu Jul 10 03:52:52 2008
New Revision: 675506

URL: http://svn.apache.org/viewvc?rev=675506&view=rev
Log:
Added the GUI support for delegateReasonEnumId field in WorkEffortPartyAssignment entity.

Modified:
    ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels.xml
    ofbiz/trunk/applications/workeffort/widget/WorkEffortPartyAssignForms.xml

Modified: ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels.xml?rev=675506&r1=675505&r2=675506&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels.xml (original)
+++ ofbiz/trunk/applications/workeffort/config/WorkEffortUiLabels.xml Thu Jul 10 03:52:52 2008
@@ -2189,6 +2189,9 @@
         <value xml:lang="th">แสดงวัน</value>
         <value xml:lang="zh">浏览日</value>
     </property>
+    <property key="WorkEffortDelegateReason">
+        <value xml:lang="en">Delegate Reason</value>
+    </property>    
     <property key="WorkEffortDeletePermissionError">
         <value xml:lang="en">Security Error: to run this operation you must have the WORKEFFORTMGR_DELETE or WORKEFFORTMGR_ADMIN permission</value>
         <value xml:lang="it">Errore Sicurezza: per eseguire questa operazione tu devi avere il permesso WORKEFFORTMGR_DELETE o WORKEFFORTMGR_ADMIN</value>

Modified: ofbiz/trunk/applications/workeffort/widget/WorkEffortPartyAssignForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/WorkEffortPartyAssignForms.xml?rev=675506&r1=675505&r2=675506&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/widget/WorkEffortPartyAssignForms.xml (original)
+++ ofbiz/trunk/applications/workeffort/widget/WorkEffortPartyAssignForms.xml Thu Jul 10 03:52:52 2008
@@ -54,6 +54,14 @@
                 </entity-options>
             </drop-down>
         </field>
+        <field name="delegateReasonEnumId" title="${uiLabelMap.WorkEffortDelegateReason}">
+            <drop-down allow-empty="true">
+                <entity-options description="${description}" entity-name="Enumeration" key-field-name="enumId">
+                    <entity-constraint name="enumTypeId" operator="equals" value="WORK_EFF_DEL_REAS"/>
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>
         <field name="facilityId"><lookup target-form-name="LookupFacility"/></field>
         <field name="mustRsvp"><check/></field>
         <field name="comments"><text size="60" maxlength="255"/></field>
@@ -89,6 +97,14 @@
                 </entity-options>
             </drop-down>
         </field>
+        <field name="delegateReasonEnumId" title="${uiLabelMap.WorkEffortDelegateReason}">
+            <drop-down allow-empty="true">
+                <entity-options description="${description}" entity-name="Enumeration" key-field-name="enumId">
+                    <entity-constraint name="enumTypeId" operator="equals" value="WORK_EFF_DEL_REAS"/>
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>
         <field name="facilityId"><lookup target-form-name="LookupFacility"/></field>
         <field name="mustRsvp" widget-style="tabletext"><check/></field>
         <field name="comments"><text size="60" maxlength="255"/></field>