Author: arunpatidar
Date: Sat Jul 8 20:06:38 2017
New Revision: 1801319
URL:
http://svn.apache.org/viewvc?rev=1801319&view=revLog:
Fixed: Missing productId in input field after Atp/Qoh button is clicked on create PO screen. (OFBIZ-9470)
Thanks Pallavi for your contribution.
Modified:
ofbiz/ofbiz-framework/trunk/applications/order/template/entry/cart/ShowCart.ftl
Modified: ofbiz/ofbiz-framework/trunk/applications/order/template/entry/cart/ShowCart.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/order/template/entry/cart/ShowCart.ftl?rev=1801319&r1=1801318&r2=1801319&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/order/template/entry/cart/ShowCart.ftl (original)
+++ ofbiz/ofbiz-framework/trunk/applications/order/template/entry/cart/ShowCart.ftl Sat Jul 8 20:06:38 2017
@@ -89,7 +89,7 @@ under the License.
<#else>
<#assign fieldFormName="LookupProduct">
</#if>
- <@htmlTemplate.lookupField formName="quickaddform" name="add_product_id" id="add_product_id" fieldFormName="${fieldFormName}"/>
+ <@htmlTemplate.lookupField formName="quickaddform" name="add_product_id" id="add_product_id" fieldFormName="${fieldFormName}" value="${parameters.productId!}"/>
<a href="javascript:quicklookup(document.quickaddform.add_product_id)" class="buttontext">${uiLabelMap.OrderQuickLookup}</a>
<#if "SALES_ORDER" == shoppingCart.getOrderType()>
<a href="javascript:quicklookupGiftCertificate()" class="buttontext">${uiLabelMap.OrderAddGiftCertificate}</a>