This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch release17.12
in repository
https://gitbox.apache.org/repos/asf/ofbiz-framework.gitThe following commit(s) were added to refs/heads/release17.12 by this push:
new 26a2be1 Fixed: Wrong heading on creating quote under order component (OFBIZ-11221)
26a2be1 is described below
commit 26a2be13929d153f225b29e28d03b9d7d1c844b2
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 79381c4..d4d244d 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>