Author: surajk
Date: Sat Apr 27 06:00:20 2019
New Revision: 1858241
URL:
http://svn.apache.org/viewvc?rev=1858241&view=revLog:
Improved: Submit button should not display when there is no item present over Quote Prices Screen.
(OFBIZ-10627)
Thanks Ratnesh Upadhyay for reporting the issue and Kumar Rahul for providing the patch.
Modified:
ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/QuoteForms.xml
Modified: ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/QuoteForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/QuoteForms.xml?rev=1858241&r1=1858240&r2=1858241&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/QuoteForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/QuoteForms.xml Sat Apr 27 06:00:20 2019
@@ -365,7 +365,7 @@ under the License.
<field name="quoteUnitPrice" title="${uiLabelMap.OrderOrderQuoteUnitPrice}"><display/></field>
<field name="manualQuoteUnitPrice" title="${uiLabelMap.OrderOrderQuoteManualUnitPrice}"><text/></field>
<field name="_rowSubmit" title="${uiLabelMap.CommonSelected}"><check/></field>
- <field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit"><submit/></field>
+ <field name="submitButton" title="${uiLabelMap.CommonSubmit}" use-when="quoteItemAndCostInfos!=[]" widget-style="smallSubmit"><submit/></field>
</form>
<form name="ListQuoteAdjustments" target="" title="" type="list" list-name="quoteAdjustments"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar" paginate-target="ListQuoteAdjustments">