Author: erwan
Date: Tue Jan 17 17:55:41 2012
New Revision: 1232508
URL:
http://svn.apache.org/viewvc?rev=1232508&view=revLog:
Adding a success message when a leave is created
Modified:
ofbiz/trunk/applications/humanres/config/HumanResUiLabels.xml
ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml
Modified: ofbiz/trunk/applications/humanres/config/HumanResUiLabels.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/config/HumanResUiLabels.xml?rev=1232508&r1=1232507&r2=1232508&view=diff==============================================================================
--- ofbiz/trunk/applications/humanres/config/HumanResUiLabels.xml (original)
+++ ofbiz/trunk/applications/humanres/config/HumanResUiLabels.xml Tue Jan 17 17:55:41 2012
@@ -1486,6 +1486,10 @@
<value xml:lang="pt_BR">Licença</value>
<value xml:lang="zh">离è</value>
</property>
+ <property key="HumanResLeaveCreationSuccess">
+ <value xml:lang="en">Leave request created successfully</value>
+ <value xml:lang="fr">Demande de congés créée avec succès</value>
+ </property>
<property key="HumanResListEmployments">
<value xml:lang="en">List Employment</value>
<value xml:lang="fr">Liste d'emplois</value>
Modified: ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml?rev=1232508&r1=1232507&r2=1232508&view=diff==============================================================================
--- ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml (original)
+++ ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml Tue Jan 17 17:55:41 2012
@@ -660,6 +660,8 @@
<set-nonpk-fields value-field="newEntity" map="parameters"/>
<create-value value-field="newEntity"/>
<check-errors/>
+ <property-to-field resource="HumanResUiLabels" property="HumanResLeaveCreationSuccess" field="successMessage"/>
+ <field-to-result field="responseMessage" result-name="successMessage"/>
</simple-method>
<simple-method method-name="updateEmplLeave" short-description="Update Employee Leave">