Author: jacopoc
Date: Fri Feb 23 08:25:08 2007 New Revision: 511011 URL: http://svn.apache.org/viewvc?view=rev&rev=511011 Log: Added support for deleting empty bins and for removing items from bins. Modified: ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml ofbiz/trunk/applications/product/webapp/facility/facility/PicklistManage.ftl Modified: ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml?view=diff&rev=511011&r1=511010&r2=511011 ============================================================================== --- ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml Fri Feb 23 08:25:08 2007 @@ -576,6 +576,18 @@ <response name="success" type="view" value="PicklistManage"/> <response name="error" type="view" value="PicklistManage"/> </request-map> + <request-map uri="deletePicklistBin"> + <security https="true" auth="true"/> + <event type="service" path="" invoke="deletePicklistBin"/> + <response name="success" type="view" value="PicklistManage"/> + <response name="error" type="view" value="PicklistManage"/> + </request-map> + <request-map uri="deletePicklistItem"> + <security https="true" auth="true"/> + <event type="service" path="" invoke="deletePicklistItem"/> + <response name="success" type="view" value="PicklistManage"/> + <response name="error" type="view" value="PicklistManage"/> + </request-map> <request-map uri="PicklistReport.pdf"> <security https="true" auth="true"/> Modified: ofbiz/trunk/applications/product/webapp/facility/facility/PicklistManage.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/facility/PicklistManage.ftl?view=diff&rev=511011&r1=511010&r2=511011 ============================================================================== --- ofbiz/trunk/applications/product/webapp/facility/facility/PicklistManage.ftl (original) +++ ofbiz/trunk/applications/product/webapp/facility/facility/PicklistManage.ftl Fri Feb 23 08:25:08 2007 @@ -98,6 +98,7 @@ <b>${uiLabelMap.ProductBinNum}</b> ${picklistBinInfo.picklistBin.binLocationNumber} (${picklistBinInfo.picklistBin.picklistBinId}) <#if picklistBinInfo.primaryOrderHeader?exists><b>${uiLabelMap.ProductPrimaryOrderId}</b> ${picklistBinInfo.primaryOrderHeader.orderId}</#if> <#if picklistBinInfo.primaryOrderItemShipGroup?exists><b>${uiLabelMap.ProductPrimaryShipGroupSeqId}</b> ${picklistBinInfo.primaryOrderItemShipGroup.shipGroupSeqId}</#if> + <#if !picklistBinInfo.picklistItemInfoList?has_content><a href="<@ofbizUrl>deletePicklistBin?picklistBinId=${picklistBinInfo.picklistBin.picklistBinId}&facilityId=${facilityId?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDelete}</a></#if> </div> <div class="tabletext" style="margin-left: 30px;"> <b>${uiLabelMap.CommonUpdate} ${uiLabelMap.ProductBinNum}:</b> @@ -125,6 +126,7 @@ <b>${uiLabelMap.ProductInventoryItem}</b> ${inventoryItemAndLocation.inventoryItemId} <b>${uiLabelMap.ProductLocation}</b> ${inventoryItemAndLocation.areaId?if_exists}-${inventoryItemAndLocation.aisleId?if_exists}-${inventoryItemAndLocation.sectionId?if_exists}-${inventoryItemAndLocation.levelId?if_exists}-${inventoryItemAndLocation.positionId?if_exists} <b>${uiLabelMap.ProductQuantity}</b> ${picklistItem.quantity}<#-- of ${picklistItemInfo.orderItem.quantity}--> + <#if !picklistItemInfo.itemIssuanceList?has_content><a href="<@ofbizUrl>deletePicklistItem?picklistBinId=${picklistItemInfo.picklistItem.picklistBinId}&orderId=${picklistItemInfo.picklistItem.orderId}&orderItemSeqId=${picklistItemInfo.picklistItem.orderItemSeqId}&shipGroupSeqId=${picklistItemInfo.picklistItem.shipGroupSeqId}&inventoryItemId=${picklistItemInfo.picklistItem.inventoryItemId}&facilityId=${facilityId?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDelete}</a></#if> </div> <#-- picklistItem.orderItemShipGrpInvRes (do we want to display any of this info?) --> <#-- picklistItemInfo.itemIssuanceList --> |
Free forum by Nabble | Edit this page |