| <?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. |
| --> |
| |
| <screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-screen.xsd"> |
| <screen name="WorkEffortSummary"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleWorkEffortRelatedSummary"/> |
| <set field="tabButtonItem" value="WorkEffortRelatedSummary"/> |
| <set field="labelTitleProperty" value="PageTitleWorkEffortRelatedSummary"/> |
| |
| <set field="workEffortId" from-field="parameters.workEffortId"/> |
| <entity-one entity-name="WorkEffort" value-name="workEffort"/> |
| <get-related-one value-name="workEffort" relation-name="WorkEffortType" to-value-name="workEffortType"/> |
| <get-related-one value-name="workEffort" relation-name="CurrentStatusItem" to-value-name="currentStatusItem"/> |
| <get-related-one value-name="workEffort" relation-name="WorkEffortPurposeType" to-value-name="workEffortPurposeType"/> |
| <get-related-one value-name="workEffort" relation-name="ScopeEnumeration" to-value-name="scopeEnumeration"/> |
| |
| <entity-and entity-name="WorkEffortPartyAssignView" list-name="relatedPartyAssigns"> |
| <field-map field-name="workEffortId"/> |
| </entity-and> |
| <entity-and entity-name="WorkEffortCommunicationEventView" list-name="commEvents"> |
| <field-map field-name="workEffortId"/> |
| </entity-and> |
| <entity-and entity-name="WorkEffortShoppingListView" list-name="shoppingLists"> |
| <field-map field-name="workEffortId"/> |
| </entity-and> |
| <entity-and entity-name="WorkEffortQuoteView" list-name="quotes"> |
| <field-map field-name="workEffortId"/> |
| </entity-and> |
| <entity-and entity-name="WorkEffortOrderHeaderView" list-name="orderHeaders"> |
| <field-map field-name="workEffortId"/> |
| </entity-and> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <label style="head1">${uiLabelMap.PageTitleWorkEffortRelatedSummary} ${uiLabelMap.CommonFor} ${uiLabelMap.CommonId} [${workEffortId}]</label> |
| <container><label style="head2">${uiLabelMap.WorkEffortWorkEffort}</label></container> |
| <container> |
| <label text="${uiLabelMap.CommonName}: " style="tableheadtext"/><label text="${workEffort.workEffortName}" style="tabletext"/> |
| <label text=", ${uiLabelMap.CommonType}: " style="tableheadtext"/><label text="${workEffortType.description}" style="tabletext"/> |
| <label text=", ${uiLabelMap.CommonPurpose}: " style="tableheadtext"/><label text="${workEffortPurposeType.description}" style="tabletext"/> |
| </container> |
| <container> |
| <label text="${uiLabelMap.CommonStatus}: " style="tableheadtext"/><label text="${currentStatusItem.description}" style="tabletext"/> |
| <label text=", ${uiLabelMap.WorkEffortPercentComplete}: " style="tableheadtext"/><label text="${workEffort.percentComplete}" style="tabletext"/> |
| <label text=", ${uiLabelMap.CommonPriority}: " style="tableheadtext"/><label text="${workEffort.priority}" style="tabletext"/> |
| </container> |
| <container> |
| <label text="${uiLabelMap.WorkEffortEstimatedStartDate}: " style="tableheadtext"/><label text="${workEffort.estimatedStartDate}" style="tabletext"/> |
| <label text=", ${uiLabelMap.WorkEffortEstimatedCompletionDate}: " style="tableheadtext"/><label text="${workEffort.estimatedCompletionDate}" style="tabletext"/> |
| </container> |
| <container><label style="head2">${uiLabelMap.PartyPartyAssignmentsDetail}</label></container> |
| <iterate-section list-name="relatedPartyAssigns" entry-name="partyAssign"> |
| <section> |
| <actions> |
| <get-related-one value-name="partyAssign" relation-name="RoleType" to-value-name="partyAssignRoleType" use-cache="true"/> |
| <get-related-one value-name="partyAssign" relation-name="StatusItem" to-value-name="partyAssignStatusItem" use-cache="true"/> |
| <get-related-one value-name="partyAssign" relation-name="ExpectationEnumeration" to-value-name="partyAssignExpectationEnumeration" use-cache="true"/> |
| </actions> |
| <widgets> |
| <container> |
| <link target="/partymgr/control/viewprofile?partyId=${partyAssign.partyId}" url-mode="inter-app" text="[${partyAssign.partyId}]" style="linktext"/> |
| <label text="${partyAssign.firstName} ${partyAssign.lastName} ${partyAssign.groupName}" style="tabletext"/> |
| <label text=", ${uiLabelMap.PartyRoleId}" style="tableheadtext"/><label text="${partyAssignRoleType.description}" style="tabletext"/> |
| <label text=", ${uiLabelMap.CommonStatus}: " style="tableheadtext"/><label text="${partyAssignStatusItem.description}" style="tabletext"/> |
| <label text=", ${uiLabelMap.CommonExpectation}: " style="tableheadtext"/><label text="${partyAssignExpectationEnumeration.description}" style="tabletext"/> |
| </container> |
| </widgets> |
| </section> |
| </iterate-section> |
| |
| <container><label style="head2">${uiLabelMap.WorkEffortCommEvents}</label></container> |
| <iterate-section list-name="commEvents" entry-name="commEvent"> |
| <section> |
| <widgets> |
| <container> |
| <link target="/partymgr/control/EditCommunicationEvent?communicationEventId=${commEvent.communicationEventId}" url-mode="inter-app" text="[${commEvent.communicationEventId}]" style="linktext"/> |
| <label text="${commEvent.subject}" style="tabletext"/> |
| </container> |
| </widgets> |
| </section> |
| </iterate-section> |
| |
| <container><label style="head2">${uiLabelMap.WorkEffortShopLists}</label></container> |
| <iterate-section list-name="shoppingLists" entry-name="shopList"> |
| <section> |
| <widgets> |
| <container> |
| <link target="/partymgr/control/editShoppingList?shoppingListId=${shopList.shoppingListId}" url-mode="inter-app" text="[${shopList.shoppingListId}]" style="linktext"/> |
| <label text="${shopList.listName} ${shopList.description}" style="tabletext"/> |
| </container> |
| </widgets> |
| </section> |
| </iterate-section> |
| |
| <container><label style="head2">${uiLabelMap.WorkEffortQuotes}</label></container> |
| <iterate-section list-name="quotes" entry-name="quote"> |
| <section> |
| <widgets> |
| <container> |
| <link target="/ordermgr/control/EditQuote?quoteId=${quote.quoteId}" url-mode="inter-app" text="[${quote.quoteId}]" style="linktext"/> |
| <label text="${quote.quoteName} ${quote.description}" style="tabletext"/> |
| </container> |
| </widgets> |
| </section> |
| </iterate-section> |
| |
| <container><label style="head2">${uiLabelMap.WorkEffortOrderHeaders}</label></container> |
| <iterate-section list-name="orderHeaders" entry-name="orderHeader"> |
| <section> |
| <widgets> |
| <container> |
| <link target="/ordermgr/control/orderview?orderId=${orderHeader.orderId}" url-mode="inter-app" text="[${orderHeader.orderId}]" style="linktext"/> |
| <label text="${uiLabelMap.CommonType}: " style="tableheadtext"/><label text="${orderHeader.orderTypeDescription}" style="tabletext"/> |
| <label text=", ${uiLabelMap.CommonStatus} : " style="tableheadtext"/><label text="${orderHeader.statusItemDescription}" style="tabletext"/> |
| <label text=", ${uiLabelMap.CommonTotal}: " style="tableheadtext"/><label text="${orderHeader.grandTotal}" style="tabletext"/> |
| <label text=", ${uiLabelMap.CommonDate}: " style="tableheadtext"/><label text="${orderHeader.orderDate}" style="tabletext"/> |
| </container> |
| </widgets> |
| </section> |
| </iterate-section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| </screens> |