[ofbiz-framework] branch trunk updated: Fixed: Wrong heading on creating quote under order component (OFBIZ-11221)

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

[ofbiz-framework] branch trunk updated: Fixed: Wrong heading on creating quote under order component (OFBIZ-11221)

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 7fb64ba  Fixed: Wrong heading on creating quote under order component (OFBIZ-11221)
7fb64ba is described below

commit 7fb64ba5b562fb03880a86d73db529ceff5707d3
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Sat Feb 20 13:28:06 2021 +0100

    Fixed: Wrong heading on creating quote under order component (OFBIZ-11221)
   
    Steps to re-generate :
   
    1. Login with the username and password.
    2. Go to order component order.
    3. Click on Quotes
    4. Click on new quotes
   
    Error: Edit quote is shown on the place of New quote.
    Actual: New quote should be shown on the place of edit quote on UI.
   
    Thanks: jai kumar raghuwanshi for report, Pradyum Dharwa  for 1st patch,
    Ratnesh Upadhyay for better suggestion and Ankit Joshi for the patch
---
 applications/order/widget/ordermgr/QuoteScreens.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/order/widget/ordermgr/QuoteScreens.xml b/applications/order/widget/ordermgr/QuoteScreens.xml
index ec00ec6..64361e9 100644
--- a/applications/order/widget/ordermgr/QuoteScreens.xml
+++ b/applications/order/widget/ordermgr/QuoteScreens.xml
@@ -246,7 +246,7 @@ under the License.
             <widgets>
                 <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
                     <decorator-section name="body">
-                        <screenlet title="${uiLabelMap.OrderOrderQuoteEdit}">
+                        <screenlet title="${groovy: parameters.quoteId ? uiLabelMap.OrderOrderQuoteEdit : uiLabelMap.OrderNewQuote}">
                             <include-form name="EditQuote" location="component://order/widget/ordermgr/QuoteForms.xml"/>
                         </screenlet>
                     </decorator-section>