Author: arunpatidar
Date: Sat Aug 26 09:29:55 2017
New Revision: 1806280
URL:
http://svn.apache.org/viewvc?rev=1806280&view=revLog:
Improvement: User should be notified with success message on adding note for party in party component. (OFBIZ-9538)
Thanks Aditya Sharma and Anushi Gupta for your contribution.
Modified:
ofbiz/ofbiz-framework/trunk/applications/party/config/PartyUiLabels.xml
ofbiz/ofbiz-framework/trunk/applications/party/src/main/java/org/apache/ofbiz/party/party/PartyServices.java
Modified: ofbiz/ofbiz-framework/trunk/applications/party/config/PartyUiLabels.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/config/PartyUiLabels.xml?rev=1806280&r1=1806279&r2=1806280&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/party/config/PartyUiLabels.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/party/config/PartyUiLabels.xml Sat Aug 26 09:29:55 2017
@@ -9782,6 +9782,9 @@
<value xml:lang="zh">å¦æä¸éæ°å建å®å
¨ç»çè¯ï¼ä¸è½ä¿®æ¹è¿ä¸ªã</value>
<value xml:lang="zh-TW">å¦æä¸éæ°æ°å»ºå®å
¨ç¾¤çµç話,ä¸è½ä¿®æ¹éå.</value>
</property>
+ <property key="PartyNoteCreatedSuccessfully">
+ <value xml:lang="en">Party Note created successfully.</value>
+ </property>
<property key="PartyNotificationMailActivated">
<value xml:lang="de">Akteur Kontoaktivierung Mailbenachrichtigung</value>
<value xml:lang="en">Party Account Activated Notification Mail</value>
Modified: ofbiz/ofbiz-framework/trunk/applications/party/src/main/java/org/apache/ofbiz/party/party/PartyServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/src/main/java/org/apache/ofbiz/party/party/PartyServices.java?rev=1806280&r1=1806279&r2=1806280&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/party/src/main/java/org/apache/ofbiz/party/party/PartyServices.java (original)
+++ ofbiz/ofbiz-framework/trunk/applications/party/src/main/java/org/apache/ofbiz/party/party/PartyServices.java Sat Aug 26 09:29:55 2017
@@ -690,6 +690,8 @@ public class PartyServices {
"partyservices.problem_associating_note_with_party",
UtilMisc.toMap("errMessage", ee.getMessage()), locale));
}
+ result.put(ModelService.SUCCESS_MESSAGE,
+ UtilProperties.getMessage(resource, "PartyNoteCreatedSuccessfully", locale));
return result;
}