svn commit: r1806280 - in /ofbiz/ofbiz-framework/trunk/applications/party: config/PartyUiLabels.xml src/main/java/org/apache/ofbiz/party/party/PartyServices.java

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

svn commit: r1806280 - in /ofbiz/ofbiz-framework/trunk/applications/party: config/PartyUiLabels.xml src/main/java/org/apache/ofbiz/party/party/PartyServices.java

Arun Patidar-4
Author: arunpatidar
Date: Sat Aug 26 09:29:55 2017
New Revision: 1806280

URL: http://svn.apache.org/viewvc?rev=1806280&view=rev
Log:
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;
     }