git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689347 13f79535-47bb-0310-9956-ffa450edef68
58 lines
4.3 KiB
XML
58 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.
|
|
-->
|
|
<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
|
|
<form name="FindResource" type="single" target="FindResource"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="resourceName" parameter-name="partyId" title="${uiLabelMap.ProjectMgrResourceName}"><text/></field>
|
|
<field name="find" title="${uiLabelMap.CommonFind}"><submit/></field>
|
|
</form>
|
|
<form name="ListResources" type="list" list-name="resources" paginate-target="FindResource"
|
|
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
|
|
<row-actions>
|
|
<service service-name="getPartyEmail" result-map-name="emailResult"/>
|
|
<service service-name="getPartyTelephone" result-map-name="telResult"/>
|
|
</row-actions>
|
|
<field name="resourceName" parameter-name="partyId" title="${uiLabelMap.ProjectMgrResourceName}" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" description="${firstName} ${middleName} ${lastName} ${groupName}" target="viewprofile?partyId=${partyId}"/>
|
|
</field>
|
|
<field name="roleTypeId"><hidden/></field>
|
|
<field name="emailAddess" title="${uiLabelMap.PartyEmailAddress}"><hyperlink target="/partymgr/control/EditCommunicationEvent?partyIdFrom=${userLogin.partyId}&partyIdTo=${partyId}&communicationEventTypeId=EMAIL_COMMUNICATION&contactMechIdTo=${contactMechId}&contactMechTypeId=EMAIL_ADDRESS" description="${emailResult.emailAddress}" target-type="inter-app"/></field>
|
|
<field use-when="telResult.get("extension")!=null" name="telephone" title="${uiLabelMap.PartyPhoneNumber}"><display description="${telResult.countryCode} ${telResult.areaCode} ${telResult.contactNumber} Ext:${telResult.extension}"/></field>
|
|
<field use-when="telResult.get("extension")==null" name="telephone" title="${uiLabelMap.PartyPhoneNumber}"><display description="${telResult.countryCode} ${telResult.areaCode} ${telResult.contactNumber}"/></field>
|
|
<field name="contactMechPurposeTypeId" entry-name="telResult.contactMechPurposeTypeId" title="${uiLabelMap.CommonPurpose}"><display-entity entity-name="ContactMechPurposeType"/></field>
|
|
<field name="remove" title="${uiLabelMap.CommonRemove}"><hyperlink target="removeResource?partyId=${partyId}&roleTypeId=${roleTypeId}" description="${uiLabelMap.CommonRemove}"/></field>
|
|
</form>
|
|
<form name="ListUnBilledHours" type="list" list-name="unBilledList" paginate-target="ListResourcesUnBilledHours"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<field name="projectName"><display/></field>
|
|
<field name="phaseName"><display/></field>
|
|
<field name="taskName"><display/></field>
|
|
<field name="hours"><display/></field>
|
|
<field name="rate"><display/></field>
|
|
<field name="total"><display/></field>
|
|
</form>
|
|
<form name="AddResource" type="single" target="addResource"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="PartyId" parameter-name="partyId" title="${uiLabelMap.PartyPartyId}"><lookup target-form-name="LookupPartyName"/></field>
|
|
<field name="roleTypeId"><hidden value="PROJECT_TEAM"/></field>
|
|
<field name="addButton" ><submit/></field>
|
|
</form>
|
|
</forms> |