Author: sichen
Date: Tue Feb 6 09:55:36 2007
New Revision: 504223
URL: http://svn.apache.org/viewvc?view=rev&rev=504223
Log:
Allow change of InventoryItem owner party.
Modified:
ofbiz/trunk/applications/product/webapp/facility/inventory/EditInventoryItem.ftl
ofbiz/trunk/applications/product/webapp/facility/inventory/receiveInventory.ftl
Modified:
ofbiz/trunk/applications/product/webapp/facility/inventory/EditInventoryItem.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/inventory/EditInventoryItem.ftl?view=diff&rev=504223&r1=504222&r2=504223
==============================================================================
---
ofbiz/trunk/applications/product/webapp/facility/inventory/EditInventoryItem.ftl
(original)
+++
ofbiz/trunk/applications/product/webapp/facility/inventory/EditInventoryItem.ftl
Tue Feb 6 09:55:36 2007
@@ -80,6 +80,14 @@
<a
href="javascript:call_fieldlookup2(document.inventoryItemForm.partyId,
'LookupPartyName');"><img
src="<@ofbizContentUrl>/images/fieldlookup.gif</@ofbizContentUrl>" width="16"
height="16" border="0" alt="Lookup"/></a>
</td>
</tr>
+ <tr>
+ <td align="right"><div
class="tabletext">${uiLabelMap.ProductFacilityOwner}</div></td>
+ <td> </td>
+ <td>
+ <input type="text" name="ownerPartyId"
value="${inventoryItemData.ownerPartyId?if_exists}" size="20" maxlength="20"
class="inputBox">
+ <a
href="javascript:call_fieldlookup2(document.inventoryItemForm.ownerPartyId,
'LookupPartyName');"><img
src="<@ofbizContentUrl>/images/fieldlookup.gif</@ofbizContentUrl>" width="16"
height="16" border="0" alt="Lookup"/></a>
+ </td>
+ </tr>
<#if "SERIALIZED_INV_ITEM" ==
(inventoryItem.inventoryItemTypeId)?if_exists>
<tr>
<td align="right"><div
class="tabletext">${uiLabelMap.ProductStatus}</div></td>
Modified:
ofbiz/trunk/applications/product/webapp/facility/inventory/receiveInventory.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/inventory/receiveInventory.ftl?view=diff&rev=504223&r1=504222&r2=504223
==============================================================================
---
ofbiz/trunk/applications/product/webapp/facility/inventory/receiveInventory.ftl
(original)
+++
ofbiz/trunk/applications/product/webapp/facility/inventory/receiveInventory.ftl
Tue Feb 6 09:55:36 2007
@@ -145,6 +145,15 @@
</tr>
<tr>
<td width="14%"> </td>
+ <td width="6%" align="right" nowrap><div
class="tabletext">${uiLabelMap.ProductFacilityOwner}</div></td>
+ <td width="6%"> </td>
+ <td width="74%">
+ <input type="text" name="ownerPartyId" value="" size="20"
maxlength="20" class="inputBox">
+ <a
href="javascript:call_fieldlookup2(document.selectAllForm.ownerPartyId,
'LookupPartyName');"><img
src="<@ofbizContentUrl>/images/fieldlookup.gif</@ofbizContentUrl>" width="16"
height="16" border="0" alt="Lookup"/></a>
+ </td>
+ </tr>
+ <tr>
+ <td width="14%"> </td>
<td width="6%" align="right" nowrap><div
class="tabletext">${uiLabelMap.ProductDateReceived}</div></td>
<td width="6%"> </td>
<td width="74%">