Author: ashish
Date: Thu Nov 26 13:57:39 2009
New Revision: 884556
URL:
http://svn.apache.org/viewvc?rev=884556&view=revLog:
Shown product lookup instead of text. Patch from Akash Jain.
Lookup added at:
(1) Go to Facility > Shipments, depress Find Shipment(s) link.
(2) Depress any shipment Id (hyperlink) which have Input status.
(3) Depress Items tab, there should be product lookup for Product Id.
Modified:
ofbiz/trunk/applications/product/webapp/facility/shipment/EditShipmentItems.ftl
Modified: ofbiz/trunk/applications/product/webapp/facility/shipment/EditShipmentItems.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/shipment/EditShipmentItems.ftl?rev=884556&r1=884555&r2=884556&view=diff==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/shipment/EditShipmentItems.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/facility/shipment/EditShipmentItems.ftl Thu Nov 26 13:57:39 2009
@@ -131,7 +131,12 @@
<form action="<@ofbizUrl>createShipmentItem</@ofbizUrl>" method="post" name="createShipmentItemForm">
<input type="hidden" name="shipmentId" value="${shipmentId}"/>
<td><span class="label">${uiLabelMap.ProductNewItem}</span></td>
- <td colspan="2"><span class="label">${uiLabelMap.ProductProductId}</span> <input type="text" name="productId" size="15" maxlength="20"/></td>
+ <td colspan="2"><span class="label">${uiLabelMap.ProductProductId}</span>
+ <input type="text" id="productId" name="productId" size="15" maxlength="20" />
+ <a href="javascript:call_fieldlookup2($('productId'),'LookupProduct');">
+ <img src="<@ofbizContentUrl>/images/fieldlookup.gif"</@ofbizContentUrl>" width="15" height="14" alt="${uiLabelMap.CommonClickHereForFieldLookup}" />
+ </a>
+ </td>
<td><input type="text" name="quantity" size="5" value="0"/></td>
<td colspan="2"><span class="label">${uiLabelMap.ProductProductDescription}</span> <input name="shipmentContentDescription" size="30" maxlength="255"/></td>
<td><a href="javascript:document.createShipmentItemForm.submit()" class="buttontext">${uiLabelMap.CommonCreate}</a></td>