git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@720114 13f79535-47bb-0310-9956-ffa450edef68
74 lines
3.9 KiB
XML
74 lines
3.9 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="RequestTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
|
|
<menu-item name="ViewRequest" title="Overview" >
|
|
<link target="ViewRequest?custRequestId=${custRequest.custRequestId}"/>
|
|
</menu-item>
|
|
<menu-item name="request" title="Request" >
|
|
<link target="request?custRequestId=${custRequest.custRequestId}"/>
|
|
</menu-item>
|
|
<menu-item name="requestroles" title="Request Roles" >
|
|
<link target="requestroles?custRequestId=${custRequest.custRequestId}"/>
|
|
</menu-item>
|
|
<menu-item name="requestitems" title="Request Items" >
|
|
<link target="/requestitems?custRequestId=${custRequest.custRequestId}"/>
|
|
</menu-item>
|
|
<menu-item name="custRequestContent" title="Content">
|
|
<condition>
|
|
<and>
|
|
<not><if-empty field-name="custRequest"/></not>
|
|
<if-compare field-name="custRequest.statusId" operator="not-equals" value="CRQ_CANCELLED"/>
|
|
<if-compare field-name="custRequest.statusId" operator="not-equals" value="CRQ_COMPLETED"/>
|
|
</and>
|
|
</condition>
|
|
<link target="EditCustRequestContent?custRequestId=${custRequest.custRequestId}"/>
|
|
</menu-item>
|
|
</menu>
|
|
|
|
<menu name="RequestSubTabBar" type="simple" menu-container-style="button-bar button-style-2">
|
|
<menu-item name="newRequest" title="${uiLabelMap.OrderNewRequest}">
|
|
<link target="request"/>
|
|
</menu-item>
|
|
<menu-item name="createQuoteFromRequest" title="Create Quote from request" >
|
|
<link target="createQuoteFromCustRequest?custRequestId=${custRequest.custRequestId}"/>
|
|
</menu-item>
|
|
</menu>
|
|
|
|
<menu name="editrequestitemmenu" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
|
|
<menu-item name="requestitem">
|
|
<link id="requestitem" target="requestitem?custRequestId=${custRequest.custRequestId}&custRequestItemSeqId=${custRequestItem.custRequestItemSeqId}"/>
|
|
</menu-item>
|
|
<menu-item name="requestitemnotes" title="Request Item Notes" >
|
|
<link id="requestitemnotes" target="requestitemnotes?custRequestId=${custRequest.custRequestId}&custRequestItemSeqId=${custRequestItem.custRequestItemSeqId}"/>
|
|
</menu-item>
|
|
<menu-item name="requestitemquotes" title="Request Item Quotes" >
|
|
<link id="requestitemquotes" target="RequestItemQuotes?custRequestId=${custRequest.custRequestId}&custRequestItemSeqId=${custRequestItem.custRequestItemSeqId}"/>
|
|
</menu-item>
|
|
<menu-item name="workeffortrequirements" title="WorkEffort Requirements" >
|
|
<link id="workeffortrequirements" target="requestitemrequirements?custRequestId=${custRequest.custRequestId}&custRequestItemSeqId=${custRequestItem.custRequestItemSeqId}"/>
|
|
</menu-item>
|
|
</menu>
|
|
</menus>
|
|
|