svn commit: r1802972 - in /ofbiz/ofbiz-framework/trunk/applications/order: config/OrderUiLabels.xml minilang/quote/QuoteServices.xml

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

svn commit: r1802972 - in /ofbiz/ofbiz-framework/trunk/applications/order: config/OrderUiLabels.xml minilang/quote/QuoteServices.xml

pranayp
Author: pranayp
Date: Tue Jul 25 16:12:15 2017
New Revision: 1802972

URL: http://svn.apache.org/viewvc?rev=1802972&view=rev
Log:
Improved: User should be notified with success message on Update Quote page.
(OFBIZ-9519)

Created a new UiLabel for success message and returned it from 'updateQuote' service.

Thanks Sonal Patwari for reporting and providing the patch.

Modified:
    ofbiz/ofbiz-framework/trunk/applications/order/config/OrderUiLabels.xml
    ofbiz/ofbiz-framework/trunk/applications/order/minilang/quote/QuoteServices.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=1802972&r1=1802971&r2=1802972&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/order/config/OrderUiLabels.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/order/config/OrderUiLabels.xml Tue Jul 25 16:12:15 2017
@@ -8929,6 +8929,9 @@
         <value xml:lang="zh-CN">报价单位标识</value>
         <value xml:lang="zh-TW">報價度量單位識別</value>
     </property>
+    <property key="OrderOrderQuoteUpdatedSuccessfully">
+        <value xml:lang="en">Quote updated successfully.</value>
+    </property>
     <property key="OrderOrderQuoteViewProfit">
         <value xml:lang="ar">مشاهدة ربحية عرض السعر</value>
         <value xml:lang="de">Angebotsgewinn anzeigen</value>

Modified: ofbiz/ofbiz-framework/trunk/applications/order/minilang/quote/QuoteServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/order/minilang/quote/QuoteServices.xml?rev=1802972&r1=1802971&r2=1802972&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/order/minilang/quote/QuoteServices.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/order/minilang/quote/QuoteServices.xml Tue Jul 25 16:12:15 2017
@@ -187,6 +187,7 @@ under the License.
         <set-nonpk-fields map="parameters" value-field="quote"/>
         <store-value value-field="quote"/>
         <check-errors/>
+        <property-to-field resource="OrderUiLabels" property="OrderOrderQuoteUpdatedSuccessfully" field="successMessage"/>
     </simple-method>
 
     <!-- copy an existing Quote -->