Author: adityasharma
Date: Tue Oct 22 07:31:09 2019
New Revision: 1868738

URL: http://svn.apache.org/viewvc?rev=1868738&view=rev
Log:
Improved: User should be notified with success message on creating shopping 
list in ecommerce component
(OFBIZ-9522)
On performing any action, user should be notified with the success message if 
the action has been performed successfully.

Thanks Chandrashekhar Dhakad for the patch

Modified:
    ofbiz/ofbiz-framework/trunk/applications/order/config/OrderUiLabels.xml
    
ofbiz/ofbiz-framework/trunk/applications/order/minilang/shoppinglist/ShoppingListServices.xml

Modified: 
ofbiz/ofbiz-framework/trunk/applications/order/config/OrderUiLabels.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/order/config/OrderUiLabels.xml?rev=1868738&r1=1868737&r2=1868738&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/order/config/OrderUiLabels.xml 
(original)
+++ ofbiz/ofbiz-framework/trunk/applications/order/config/OrderUiLabels.xml Tue 
Oct 22 07:31:09 2019
@@ -13954,6 +13954,12 @@
         <value 
xml:lang="zh">基于自动重下订单创建新的送货列表时出错${errorString}</value>
         <value xml:lang="zh-TW">基於自動重下訂單新建新的送貨清
單時出錯${errorString}</value>
     </property>
+    <property key="OrderShoppingListCreatedSuccessfully">
+        <value xml:lang="en">Shopping list has been created 
successfully.</value>
+    </property>
+    <property key="OrderShoppingListUpdatedSuccessfully">
+        <value xml:lang="en">Shopping list has been updated 
successfully.</value>
+    </property>
     <property key="OrderShortfalled">
         <value xml:lang="de">Rückstand</value>
         <value xml:lang="en">Shortfalled</value>

Modified: 
ofbiz/ofbiz-framework/trunk/applications/order/minilang/shoppinglist/ShoppingListServices.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/order/minilang/shoppinglist/ShoppingListServices.xml?rev=1868738&r1=1868737&r2=1868738&view=diff
==============================================================================
--- 
ofbiz/ofbiz-framework/trunk/applications/order/minilang/shoppinglist/ShoppingListServices.xml
 (original)
+++ 
ofbiz/ofbiz-framework/trunk/applications/order/minilang/shoppinglist/ShoppingListServices.xml
 Tue Oct 22 07:31:09 2019
@@ -53,6 +53,8 @@ under the License.
         <sequenced-id sequence-name="ShoppingList" 
field="newEntity.shoppingListId"/>
         <field-to-result field="newEntity.shoppingListId" 
result-name="shoppingListId"/>
         <create-value value-field="newEntity"/>
+        <property-to-field resource="OrderUiLabels" 
property="OrderShoppingListCreatedSuccessfully" field="successMessage"/>
+        <field-to-result  field="successMessage"/>
     </simple-method>
 
     <simple-method method-name="updateShoppingList" short-description="Update 
a ShoppingList">
@@ -79,6 +81,8 @@ under the License.
         </if>
 
         <store-value value-field="shoppingList"/>
+        <property-to-field resource="OrderUiLabels" 
property="OrderShoppingListUpdatedSuccessfully" field="successMessage"/>
+        <field-to-result  field="successMessage"/>
     </simple-method>
 
     <simple-method method-name="removeShoppingList" short-description="Remove 
a ShoppingList">


Reply via email to