This is an automated email from the ASF dual-hosted git repository.

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


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

commit f2b04b53395e04b57704b633adde927295fdd50a
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
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 a49dba4..02db9e4 100644
--- a/applications/order/widget/ordermgr/QuoteScreens.xml
+++ b/applications/order/widget/ordermgr/QuoteScreens.xml
@@ -236,7 +236,7 @@ under the License.
             <widgets>
                 <decorator-screen name="CommonQuoteDecorator" 
location="${parameters.quoteDecoratorLocation}">
                     <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>

Reply via email to