Files
ofbiz-plugins/assetmaint/widget/Menus.xml
T
Adrian Crum 83a3adb124 More work in the Asset Maintenance component:
1. Eliminated UI label redefinitions.
2. Fixed a bug I introduced in a previous commit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@677012 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 19:20:15 +00:00

72 lines
4.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd">
<menu name="FixedAssetTabBar" extends="FixedAssetTabBar" extends-resource="component://accounting/widget/Menus.xml">
<menu-item name="EditProductMaints" title="${uiLabelMap.AssetMaintProductMaint}">
<condition><not><if-empty field-name="fixedAsset.instanceOfProductId"/></not></condition>
<link target="EditProductMaints?fixedAssetId=${fixedAsset.fixedAssetId}&amp;productId=${fixedAsset.instanceOfProductId}"/>
</menu-item>
</menu>
<menu name="FixedAssetMaintTabBar" extends="FixedAssetMaintTabBar" extends-resource="component://accounting/widget/Menus.xml">
<menu-item name="EditWorkEfforts" title="${uiLabelMap.WorkEffortAllTasks}">
<link target="EditWorkEfforts?fixedAssetId=${fixedAssetMaint.fixedAssetId}&amp;maintHistSeqId=${fixedAssetMaint.maintHistSeqId}&amp;workEffortId=${fixedAssetMaint.scheduleWorkEffortId}"/>
</menu-item>
<menu-item name="EditWorkEffortTimeEntries" title="${uiLabelMap.TimesheetTimeEntries}">
<link target="EditWorkEffortTimeEntries?fixedAssetId=${fixedAssetMaint.fixedAssetId}&amp;maintHistSeqId=${fixedAssetMaint.maintHistSeqId}&amp;workEffortId=${fixedAssetMaint.scheduleWorkEffortId}"/>
</menu-item>
<menu-item name="EditWorkEffortNotes" title="${uiLabelMap.WorkEffortNotes}">
<link target="EditWorkEffortNotes?fixedAssetId=${fixedAssetMaint.fixedAssetId}&amp;maintHistSeqId=${fixedAssetMaint.maintHistSeqId}&amp;workEffortId=${fixedAssetMaint.scheduleWorkEffortId}"/>
</menu-item>
<menu-item name="EditItemIssuances" title="${uiLabelMap.AssetMaintItemIssuance}">
<link target="EditItemIssuances?fixedAssetId=${fixedAssetMaint.fixedAssetId}&amp;maintHistSeqId=${fixedAssetMaint.maintHistSeqId}"/>
</menu-item>
</menu>
<menu name="FacilityTabBar" default-menu-item-name="ViewFacilityInventoryByProduct"
default-selected-style="selected" menu-container-style="button-bar tab-bar" selected-menuitem-context-field-name="tabButtonItem">
<menu-item name="EditFacility" title="${uiLabelMap.ProductFacility}">
<link target="EditFacility?facilityId=${facilityId}"/>
</menu-item>
<menu-item name="ViewContactMechs" title="${uiLabelMap.PartyContactMechs}">
<link target="ViewContactMechs?facilityId=${facilityId}"/>
</menu-item>
<menu-item name="FindFacilityLocation" title="${uiLabelMap.ProductLocations}">
<link target="FindFacilityLocation?facilityId=${facilityId}"/>
</menu-item>
<menu-item name="ViewFacilityInventoryByProduct" title="${uiLabelMap.ProductInventory}">
<link target="ViewFacilityInventoryByProduct?facilityId=${facilityId}"/>
</menu-item>
<menu-item name="EditFacilityInventoryItems" title="${uiLabelMap.ProductInventoryItems}">
<link target="EditFacilityInventoryItems?facilityId=${facilityId}"/>
</menu-item>
<menu-item name="ReceiveInventory" title="${uiLabelMap.ProductInventoryReceive}">
<link target="ReceiveInventory?facilityId=${facilityId}"/>
</menu-item>
<menu-item name="FindFacilityTransfers" title="${uiLabelMap.ProductInventoryXfers}">
<link target="FindFacilityTransfers?facilityId=${facilityId}"/>
</menu-item>
</menu>
</menus>