Author: mridulpathak
Date: Sat Jul 16 06:28:45 2016
New Revision: 1752894
URL: http://svn.apache.org/viewvc?rev=1752894&view=rev
Log:
[OFBIZ-7823] Product lookup should be available while adding items in the
shopping list. Thanks Ankit Joshi for contribution.
Modified:
ofbiz/trunk/applications/party/template/party/EditShoppingList.ftl
Modified: ofbiz/trunk/applications/party/template/party/EditShoppingList.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/template/party/EditShoppingList.ftl?rev=1752894&r1=1752893&r2=1752894&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/template/party/EditShoppingList.ftl
(original)
+++ ofbiz/trunk/applications/party/template/party/EditShoppingList.ftl Sat Jul
16 06:28:45 2016
@@ -254,7 +254,7 @@ under the License.
<form name="addToShoppingList" method="post"
action="<@ofbizUrl>addItemToShoppingList</@ofbizUrl>">
<input type="hidden" name="shoppingListId"
value="${shoppingList.shoppingListId}" />
<input type="hidden" name="partyId" value="${shoppingList.partyId!}" />
- <input type="text" name="productId" value="" />
+ <@htmlTemplate.lookupField formName="addToShoppingList" name="productId"
id="productId" fieldFormName="LookupProduct"/>
<input type="text" size="5" name="quantity"
value="${requestParameters.quantity?default("1")}" />
<input type="submit" value="${uiLabelMap.PartyAddToShoppingList}" />
</form>