Added form to the 'inventory item detail' screen to show information about order's reservations.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520846 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -665,6 +665,7 @@ ProductInventoryDetails=Inventory Details
|
||||
ProductInventoryFacility=Inventory Facility
|
||||
ProductInventoryItem=Inventory Item
|
||||
ProductInventoryItemId=Inventory Item Id
|
||||
ProductInventoryItemReservations=Inventory Item Reservations
|
||||
ProductInventoryItemType=Inventory Item Type
|
||||
ProductInventoryItemTypeId=InventoryItem Type ID
|
||||
ProductInventoryItems=Inventory Items
|
||||
|
||||
@@ -70,5 +70,11 @@ under the License.
|
||||
<!-- workEffortId - not sure if it's better to show manufacturing or workeffort app
|
||||
itemIssuanceId, receiptId, physicalInventoryId - no natural screens to show these -->
|
||||
</form>
|
||||
|
||||
<form name="InventoryItemReservations" type="list" target="" title="" list-name="inventoryItemReservations">
|
||||
<auto-fields-entity entity-name="OrderItemShipGrpInvRes" default-field-type="display"/>
|
||||
<field name="inventoryItemId"><hidden/></field>
|
||||
<field name="orderId" widget-style="buttontext">
|
||||
<hyperlink target="/ordermgr/control/orderview?orderId=${orderId}" target-type="inter-app" description="${orderId}" />
|
||||
</field>
|
||||
</form>
|
||||
</forms>
|
||||
|
||||
@@ -456,6 +456,12 @@ under the License.
|
||||
<set field="displayWithNoFacility" value="Y"/>
|
||||
|
||||
<script location="component://product/webapp/facility/WEB-INF/actions/inventory/EditInventoryItem.bsh"/>
|
||||
<entity-condition entity-name="OrderItemShipGrpInvRes" list-name="inventoryItemReservations">
|
||||
<condition-list combine="and">
|
||||
<condition-expr field-name="inventoryItemId" operator="equals" env-name="inventoryItemId"/>
|
||||
</condition-list>
|
||||
<order-by field-name="reservedDatetime"/>
|
||||
</entity-condition>
|
||||
</actions>
|
||||
<widgets>
|
||||
<decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}">
|
||||
@@ -463,6 +469,10 @@ under the License.
|
||||
<platform-specific>
|
||||
<html><html-template location="component://product/webapp/facility/inventory/EditInventoryItem.ftl"/></html>
|
||||
</platform-specific>
|
||||
<container>
|
||||
<label style="head2">${uiLabelMap.ProductInventoryItemReservations}</label>
|
||||
</container>
|
||||
<include-form name="InventoryItemReservations" location="component://product/webapp/facility/inventory/InventoryForms.xml"/>
|
||||
<section>
|
||||
<condition>
|
||||
<if-compare field-name="inventoryItem.inventoryItemTypeId" operator="equals" value="NON_SERIAL_INV_ITEM"/>
|
||||
|
||||
Reference in New Issue
Block a user