svn commit: r1868739 - in /ofbiz/ofbiz-framework/branches/release18.12: ./ applications/order/config/OrderUiLabels.xml applications/order/minilang/shoppinglist/ShoppingListServices.xml

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

svn commit: r1868739 - in /ofbiz/ofbiz-framework/branches/release18.12: ./ applications/order/config/OrderUiLabels.xml applications/order/minilang/shoppinglist/ShoppingListServices.xml

adityasharma
Author: adityasharma
Date: Tue Oct 22 07:33:44 2019
New Revision: 1868739

URL: http://svn.apache.org/viewvc?rev=1868739&view=rev
Log:
Applied fix from trunk for revision: 1868738
===

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/branches/release18.12/   (props changed)
    ofbiz/ofbiz-framework/branches/release18.12/applications/order/config/OrderUiLabels.xml
    ofbiz/ofbiz-framework/branches/release18.12/applications/order/minilang/shoppinglist/ShoppingListServices.xml

Propchange: ofbiz/ofbiz-framework/branches/release18.12/
------------------------------------------------------------------------------
  Merged /ofbiz/ofbiz-framework/trunk:r1868738

Modified: ofbiz/ofbiz-framework/branches/release18.12/applications/order/config/OrderUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/branches/release18.12/applications/order/config/OrderUiLabels.xml?rev=1868739&r1=1868738&r2=1868739&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/branches/release18.12/applications/order/config/OrderUiLabels.xml (original)
+++ ofbiz/ofbiz-framework/branches/release18.12/applications/order/config/OrderUiLabels.xml Tue Oct 22 07:33:44 2019
@@ -13912,6 +13912,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/branches/release18.12/applications/order/minilang/shoppinglist/ShoppingListServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/branches/release18.12/applications/order/minilang/shoppinglist/ShoppingListServices.xml?rev=1868739&r1=1868738&r2=1868739&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/branches/release18.12/applications/order/minilang/shoppinglist/ShoppingListServices.xml (original)
+++ ofbiz/ofbiz-framework/branches/release18.12/applications/order/minilang/shoppinglist/ShoppingListServices.xml Tue Oct 22 07:33:44 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">