[ \t]+$ => "" (empty) Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg) Of course this effort to remove trailing spaces has no functional implications. Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135 In the meantime I did some refactoring also in *.java and *.groovy files : ){ => ) { if( => if ( while( => while ( }else => } else else{ => else { switch( => switch ( try{ => try { }catch => } catch catch( => catch ( }finally{ => } finally { So these changes are also in this commit, should not be a problem anyway. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
1191 lines
66 KiB
XML
1191 lines
66 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.
|
|
-->
|
|
|
|
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
|
|
|
|
<!-- Party Find Screen -->
|
|
<screen name="findparty">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleFindParty"/>
|
|
<set field="headerItem" value="find"/>
|
|
<set field="tabButtonItem" value="findparty"/>
|
|
|
|
<service service-name="findParty" auto-field-map="parameters"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<!-- do check for PARTYMGR, _VIEW permission -->
|
|
<condition>
|
|
<if-has-permission permission="PARTYMGR" action="_VIEW"/>
|
|
</condition>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html><html-template location="component://party/webapp/partymgr/party/findparty.ftl"/></html>
|
|
</platform-specific>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="h3" text="${uiLabelMap.PartyMgrViewPermissionError}"/>
|
|
</fail-widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- Party Profile Screens -->
|
|
|
|
<screen name="viewprofile">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleViewPartyProfile"/>
|
|
<set field="tabButtonItem" value="viewprofile"/>
|
|
<set field="headerItem" value="find"/>
|
|
<set field="labelTitleProperty" value="PartyTaxAuthInfos"/>
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
<set field="layoutSettings.javaScripts[]" value="/images/prototypejs/prototype.js" global="true"/>
|
|
<set field="layoutSettings.javaScripts[]" value="/images/prototypejs/control.progress_bar.js" global="true"/>
|
|
<set field="layoutSettings.styleSheets[]" value="/images/prototypejs/progress_bar.css" global="true"/>
|
|
<set field="layoutSettings.javaScripts[]" value="/partymgr/js/PartyProfileContent.js" global="true"/>
|
|
<script location="component://party/webapp/partymgr/WEB-INF/actions/party/ViewProfile.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<condition>
|
|
<not><if-empty field="party"/></not>
|
|
</condition>
|
|
<widgets>
|
|
<section>
|
|
<condition>
|
|
<if-compare field="showOld" operator="equals" value="true" type="Boolean"/>
|
|
</condition>
|
|
<widgets>
|
|
<container style="button-bar button-style-2">
|
|
<link target="viewprofile" text="${uiLabelMap.PartyHideOld}">
|
|
<parameter param-name="partyId" from-field="party.partyId"/>
|
|
</link>
|
|
</container>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<container style="button-bar button-style-2">
|
|
<link target="viewprofile" text="${uiLabelMap.PartyShowOld}">
|
|
<parameter param-name="partyId" from-field="party.partyId"/>
|
|
<parameter param-name="SHOW_OLD" value="true"/>
|
|
</link>
|
|
</container>
|
|
</fail-widgets>
|
|
</section>
|
|
<section>
|
|
<widgets>
|
|
<container style="profile-left">
|
|
<include-screen name="Party" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="Contact" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="contactsAndAccounts" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="LoyaltyPoints" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="PaymentMethods" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="AvsSettings" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
</container>
|
|
<container style="profile-right">
|
|
<include-screen name="FinAccounts" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="UserLogin" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="Attributes" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="Visits" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="Cart" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="SerializedInventory" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="Subscriptions" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="Content" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="ShipperAccount" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="Notes" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
<include-screen name="mytasks" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
|
</container>
|
|
</widgets>
|
|
</section>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<container>
|
|
<label style="h3">${uiLabelMap.PartyNoPartyFoundWithPartyId}: ${parameters.partyId}</label>
|
|
</container>
|
|
</fail-widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="viewroles">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleViewPartyRole"/>
|
|
<set field="headerItem" value="find"/>
|
|
<set field="tabButtonItem" value="viewroles"/>
|
|
<set field="labelTitleProperty" value="PartyMemberRoles"/>
|
|
<entity-condition entity-name="RoleTypeAndParty" list="partyRoles">
|
|
<condition-list combine="and">
|
|
<condition-expr field-name="partyId" operator="equals" value="${parameters.partyId}"/>
|
|
<condition-expr field-name="roleTypeId" operator="not-equals" value="_NA_"/>
|
|
</condition-list>
|
|
</entity-condition>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.PartyMemberRoles}" navigation-form-name="ViewPartyRoles">
|
|
<include-form name="ViewPartyRoles" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</screenlet>
|
|
<section>
|
|
<condition>
|
|
<if-has-permission permission="PARTYMGR" action="_UPDATE"/>
|
|
</condition>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.PartyAddToRole}">
|
|
<include-form name="AddPartyRole" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</screenlet>
|
|
</widgets>
|
|
</section>
|
|
<section>
|
|
<condition>
|
|
<if-has-permission permission="PARTYMGR" action="_CREATE"/>
|
|
</condition>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.PartyNewRoleType}">
|
|
<include-form name="AddRoleType" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</screenlet>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="linkparty">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PartyLink"/>
|
|
<set field="headerItem" value="link"/>
|
|
<set field="tabButtonItem" value="linkparty"/>
|
|
<script location="component://party/webapp/partymgr/WEB-INF/actions/HasPartyPermissions.groovy"/>
|
|
<script location="component://party/webapp/partymgr/WEB-INF/actions/party/LinkParty.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://party/webapp/partymgr/party/linkparty.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditPartyRelationships">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditPartyRelationships"/>
|
|
<set field="tabButtonItem" value="EditPartyRelationships"/>
|
|
<set field="labelTitleProperty" value="PartyRelationships"/>
|
|
<set field="headerItem" value="find"/>
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
<entity-one entity-name="Party" value-field="party"/>
|
|
<entity-condition entity-name="RoleType" list="roleTypes">
|
|
<order-by field-name="description"/>
|
|
<order-by field-name="roleTypeId"/>
|
|
</entity-condition>
|
|
<entity-condition entity-name="RoleTypeAndParty" list="roleTypesForCurrentParty">
|
|
<condition-expr field-name="partyId" from-field="partyId"/>
|
|
<order-by field-name="description"/>
|
|
<order-by field-name="roleTypeId"/>
|
|
</entity-condition>
|
|
<entity-condition entity-name="PartyRelationshipType" list="relateTypes">
|
|
<order-by field-name="description"/>
|
|
<order-by field-name="partyRelationshipTypeId"/>
|
|
</entity-condition>
|
|
<entity-condition entity-name="PartyRelationship" list="partyRelationships">
|
|
<condition-list combine="or">
|
|
<condition-expr field-name="partyIdTo" from-field="partyId"/>
|
|
<condition-expr field-name="partyIdFrom" from-field="partyId"/>
|
|
</condition-list>
|
|
<order-by field-name="partyIdTo"/>
|
|
<order-by field-name="partyRelationshipTypeId"/>
|
|
<order-by field-name="-fromDate"/>
|
|
</entity-condition>
|
|
<entity-condition entity-name="SecurityGroup" list="securityGroups"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.PartyRelationships}" navigation-form-name="ListPartyRelationships">
|
|
<include-form name="ListPartyRelationships" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</screenlet>
|
|
<container style="lefthalf">
|
|
<section>
|
|
<condition>
|
|
<if-compare field="party.partyTypeId" operator="equals" value="PERSON"/>
|
|
</condition>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.PartyAddRelatedAccount}">
|
|
<include-form name="AddAccount" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</screenlet>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<screenlet title="${uiLabelMap.PartyAddRelatedContact}">
|
|
<include-form name="AddContact" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</screenlet>
|
|
</fail-widgets>
|
|
</section>
|
|
<section>
|
|
<condition>
|
|
<if-has-permission permission="PARTYMGR" action="_CREATE"/>
|
|
</condition>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.PartyNewRelationshipType}">
|
|
<include-form name="AddPartyRelationshipType" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</screenlet>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
<container style="righthalf">
|
|
<screenlet title="${uiLabelMap.PartyAddOtherRelationship}">
|
|
<include-form name="AddOtherPartyRelationship" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</screenlet>
|
|
</container>
|
|
<container style="clear"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="viewvendor">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleViewVendorParty"/>
|
|
<set field="headerItem" value="find"/>
|
|
<set field="tabButtonItem" value="viewvendor"/>
|
|
|
|
<set field="labelTitleProperty" value="PartyVendorInformation"/>
|
|
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
<entity-one entity-name="Party" value-field="party"/>
|
|
<entity-one entity-name="Vendor" value-field="vendor"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PartyVendorInformation}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="EditVendor" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditPartyAttribute">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditPartyAttribute"/>
|
|
<set field="headerItem" value="find"/>
|
|
<set field="tabButtonItem" value="viewvendor"/>
|
|
|
|
<set field="labelTitleProperty" value="PartyAttribute"/>
|
|
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
<set field="attrName" from-field="parameters.attrName"/>
|
|
<entity-one entity-name="Party" value-field="party"/>
|
|
<entity-one entity-name="PartyAttribute" value-field="attribute"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<label style="h3" text="${uiLabelMap.PartyAttribute}"/>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<include-form name="EditPartyAttribute" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</container>
|
|
</container>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditPartyTaxAuthInfos">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditPartyTaxAuthInfos"/>
|
|
<set field="headerItem" value="find"/>
|
|
<set field="tabButtonItem" value="EditPartyTaxAuthInfos"/>
|
|
<set field="labelTitleProperty" value="PartyTaxAuthInfos"/>
|
|
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
<entity-one entity-name="Party" value-field="party"/>
|
|
<entity-and entity-name="PartyTaxAuthInfo" list="partyTaxInfos">
|
|
<field-map field-name="partyId"/>
|
|
<order-by field-name="taxAuthGeoId"/>
|
|
<order-by field-name="taxAuthPartyId"/>
|
|
<order-by field-name="fromDate"/>
|
|
</entity-and>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="AddPartyTaxAuthInfospanel" title="${uiLabelMap.PageTitleAddPartyTaxAuthInfos}" collapsible="true">
|
|
<include-form name="AddPartyTaxAuthInfo" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="UpdatePartyTaxAuthInfo" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="editShoppingList">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleShoppingList"/>
|
|
<set field="headerItem" value="find"/>
|
|
<set field="tabButtonItem" value="editShoppingList"/>
|
|
|
|
<set field="labelTitleProperty" value="PartyShoppingLists"/>
|
|
|
|
<script location="component://party/webapp/partymgr/WEB-INF/actions/party/EditShoppingList.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://party/webapp/partymgr/party/editShoppingList.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="editcontactmech">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditContactMech"/>
|
|
<set field="headerItem" value="find"/>
|
|
<set field="tabButtonItem" value="editcontactmech"/>
|
|
|
|
<set field="labelTitleProperty" value="PageTitleEditContactMech"/>
|
|
|
|
<script location="component://party/webapp/partymgr/WEB-INF/actions/HasPartyPermissions.groovy"/>
|
|
<script location="component://party/webapp/partymgr/WEB-INF/actions/party/EditContactMech.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<condition>
|
|
<or>
|
|
<if-compare field="hasViewPermission" operator="equals" value="true" type="Boolean"/>
|
|
<if-compare field="hasPcmCreatePermission" operator="equals" value="true" type="Boolean"/>
|
|
<if-compare field="hasPcmUpdatePermission" operator="equals" value="true" type="Boolean"/>
|
|
<if-compare-field field="parameters.partyId" operator="equals" to-field="userLogin.partyId"/>
|
|
<not><if-empty field="mechMap.partyContactMech"/></not>
|
|
</or>
|
|
</condition>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html><html-template location="component://party/webapp/partymgr/party/editcontactmech.ftl"/></html>
|
|
</platform-specific>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<container style="button-bar">
|
|
<link target="backHome" text="[${uiLabelMap.CommonBack}]" style="smallSubmit"/>
|
|
</container>
|
|
<container>
|
|
<label style="h3">${uiLabelMap.PartyMsgContactNotBelongToYou}</label>
|
|
</container>
|
|
</fail-widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditPerson">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditPersonalInformation"/>
|
|
<set field="tabButtonItem" value="viewprofile"/>
|
|
<set field="headerItem" value="create"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditPersonalInformation"/>
|
|
|
|
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="viewprofile"/>
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
<entity-one entity-name="PartyAndPerson" value-field="personInfo"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PageTitleEditPersonalInformation}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="EditPerson" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditPartyGroup">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditGroupInformation"/>
|
|
<set field="tabButtonItem" value="viewprofile"/>
|
|
<set field="headerItem" value="create"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditGroupInformation"/>
|
|
|
|
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="viewprofile"/>
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
<entity-one entity-name="PartyAndGroup" value-field="partyGroup"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PageTitleEditGroupInformation}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="EditPartyGroup" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditUserLogin">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditGroupInformation"/>
|
|
<set field="tabButtonItem" value="viewprofile"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditGroupInformation"/>
|
|
|
|
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="viewprofile"/>
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
<set field="userLoginId" from-field="parameters.userLoginId"/>
|
|
<entity-one entity-name="UserLogin" value-field="editUserLogin"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PartyUserLoginChangePassword}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="updatePassword" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PartyUserLoginUpdateSecuritySettings}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="updateUserLoginSecurity" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="CreateUserLogin">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PartyCreateUserLogin"/>
|
|
<set field="tabButtonItem" value="viewprofile"/>
|
|
<set field="labelTitleProperty" value="PartyCreateUserLogin"/>
|
|
|
|
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="viewprofile"/>
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PartyCreateUserLogin}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="AddUserLogin" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditUserLoginSecurityGroups">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditUserLoginSecurityGroups"/>
|
|
<set field="tabButtonItem" value="viewprofile"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditUserLoginSecurityGroups"/>
|
|
|
|
<set field="userLoginId" from-field="parameters.userLoginId"/>
|
|
<entity-one entity-name="UserLogin" value-field="editUserLogin"/>
|
|
<set field="partyId" from-field="parameters.partyId" default-value="${editUserLogin.partyId}"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="AddUserLoginSecurityGroupsPanel" title="${uiLabelMap.PartyAddUserLoginToSecurityGroup}" collapsible="true">
|
|
<include-form name="AddUserLoginSecurityGroup" location="component://party/widget/partymgr/SecurityForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListUserLoginSecurityGroups" location="component://party/widget/partymgr/SecurityForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="AddPartyNote">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleNewPartyNote"/>
|
|
<set field="tabButtonItem" value="viewprofile"/>
|
|
<set field="labelTitleProperty" value="PageTitleNewPartyNote"/>
|
|
|
|
<set field="donePage" from-field="parameters.DONE_PAGE" default-value="viewprofile"/>
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PageTitleNewPartyNote}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="AddPartyNote" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditPartyRates">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleEditPartyRates"/>
|
|
<set field="headerItem" value="find"/>
|
|
<set field="tabButtonItem" value="EditPartyRates"/>
|
|
<set field="labelTitleProperty" value="PageTitleEditPartyRates"/>
|
|
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="AddPartyRatesPanel" title="${uiLabelMap.PageTitleEditPartyRates}" collapsible="true">
|
|
<include-form name="AddPartyRate" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListPartyRates" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="ViewSegmentRoles">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleViewPartySegmentRoles"/>
|
|
<set field="headerItem" value="find"/>
|
|
<set field="tabButtonItem" value="ViewSegmentRoles"/>
|
|
|
|
<set field="labelTitleProperty" value="ViewSegmentRoles"/>
|
|
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
<entity-one entity-name="Party" value-field="party"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="AddSegmentRolePanel" title="${uiLabelMap.PageTitleAddPartySegmentRoles}" collapsible="true">
|
|
<include-form name="AddSegmentRole" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListSegmentRoles" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- Create New Party Screen -->
|
|
<screen name="CreateNewParty">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleCreateNewPartyDetail"/>
|
|
<set field="headerItem" value="create"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<condition>
|
|
<if-has-permission permission="PARTYMGR" action="_CREATE"/>
|
|
</condition>
|
|
<widgets>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PartyCreateNewParty}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="create-new-party"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="h3">${uiLabelMap.PartyMgrCreatePermissionError}</label>
|
|
</fail-widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- New Customer Party Screen -->
|
|
<screen name="NewCustomer">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PartyCreateNewCustomer"/>
|
|
<set field="headerItem" value="create"/>
|
|
<set field="target" value="createCustomer"/>
|
|
<set field="previousParams" from-field="sessionAttributes._PREVIOUS_PARAMS_"/>
|
|
<property-to-field field="defaultCountryGeoId" resource="general" property="country.geo.id.default" default="USA"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<condition>
|
|
<if-has-permission permission="PARTYMGR" action="_CREATE"/>
|
|
</condition>
|
|
<widgets>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PartyCreateNewCustomer}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="NewUser" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="h3">${uiLabelMap.PartyMgrCreatePermissionError}</label>
|
|
</fail-widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- New Prospect Party Screen -->
|
|
<screen name="NewProspect">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PartyCreateNewProspect"/>
|
|
<set field="headerItem" value="create"/>
|
|
<set field="displayPassword" value="Y"/>
|
|
<set field="target" value="createProspect"/>
|
|
<set field="previousParams" from-field="sessionAttributes._PREVIOUS_PARAMS_"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<condition>
|
|
<if-has-permission permission="PARTYMGR" action="_CREATE"/>
|
|
</condition>
|
|
<widgets>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PartyCreateNewProspect}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="NewUser" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="h3">${uiLabelMap.PartyMgrCreatePermissionError}</label>
|
|
</fail-widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- New Emplyee Party Screen -->
|
|
<screen name="NewEmployee">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PartyCreateNewCustomer"/>
|
|
<set field="headerItem" value="create"/>
|
|
<set field="displayPassword" value="Y"/>
|
|
<set field="target" value="createEmployee"/>
|
|
<set field="previousParams" from-field="sessionAttributes._PREVIOUS_PARAMS_"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<condition>
|
|
<if-has-permission permission="PARTYMGR" action="_CREATE"/>
|
|
</condition>
|
|
<widgets>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PartyCreateNewEmployee}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="NewUser" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="h3">${uiLabelMap.PartyMgrCreatePermissionError}</label>
|
|
</fail-widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- Address Match Map Screen -->
|
|
<screen name="AddressMatchMap">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleAddressMatchMap"/>
|
|
<set field="headerItem" value="addrmap"/>
|
|
<entity-condition entity-name="AddressMatchMap" list="addressMatchMaps">
|
|
<order-by field-name="sequenceNum"/>
|
|
</entity-condition>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://party/webapp/partymgr/party/addressMatchMap.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="FindAddressMatch">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleAddressMatches"/>
|
|
<set field="headerItem" value="addrmap"/>
|
|
<script location="component://party/webapp/partymgr/WEB-INF/actions/party/FindMatches.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://party/webapp/partymgr/party/findMatches.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<!-- Party Content Screen -->
|
|
<screen name="EditPartyContents">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleListContent"/>
|
|
<set field="headerItem" value="find"/>
|
|
<set field="tabButtonItem" value="PartyContents"/>
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
<set field="contentId" from-field="parameters.contentId"/>
|
|
<entity-one entity-name="Content" value-field="content"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PageTitleListContent}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<container>
|
|
<link target="EditPartyContents" text="${uiLabelMap.CommonCreateNew}" style="smallSubmit">
|
|
<parameter param-name="partyId"/>
|
|
</link>
|
|
</container>
|
|
<include-form name="ListPartyContents" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.PageTitleAddPartyContent}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="AddPartyContent" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="editCarrierAccount">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitlePartyCarrierAccount"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.PartyShipperAccount}">
|
|
<include-form name="EditCarrierAccount" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditPartyResumes">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="HumanResEditPartyResume"/>
|
|
<set field="headerItem" value="find"/>
|
|
<set field="tabButtonItem" value="EditPartyResumes"/>
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
<set field="resumeId" from-field="parameters.resumeId"/>
|
|
<set field="partyResumeCtx.resumeId" from-field="parameters.resumeId"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet id="EditPartyResumePanel" title="${uiLabelMap.CommonAdd} ${uiLabelMap.PartyParty} ${uiLabelMap.HumanResPartyResume}" collapsible="true">
|
|
<include-form name="EditPartyResume" location="component://humanres/widget/forms/PartyResumeForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListPartyResumes" location="component://humanres/widget/forms/PartyResumeForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="PartyFinancialHistory">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PartyFinancialHistory"/>
|
|
<set field="headerItem" value="accountsMain"/>
|
|
<set field="tabButtonItem" value="FinancialHistory"/>
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
<entity-one entity-name="Party" value-field="party"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<label style="h1" text="${uiLabelMap.PartyFinancialHistory}"/>
|
|
<section>
|
|
<actions>
|
|
<entity-condition entity-name="InvoiceAndApplAndPayment" list="ListInvoicesApplPayments">
|
|
<condition-list combine="and">
|
|
<condition-list combine="or">
|
|
<condition-list combine="and">
|
|
<condition-expr field-name="partyId" from-field="partyId"/>
|
|
<condition-expr field-name="partyIdFrom" from-field="defaultOrganizationPartyId"/>
|
|
</condition-list>
|
|
<condition-list combine="and">
|
|
<condition-expr field-name="partyId" from-field="defaultOrganizationPartyId"/>
|
|
<condition-expr field-name="partyIdFrom" from-field="partyId"/>
|
|
</condition-list>
|
|
</condition-list>
|
|
<condition-expr field-name="statusId" operator="not-equals" value="INVOICE_IN_PROCESS"/>
|
|
<condition-expr field-name="statusId" operator="not-equals" value="INVOICE_CANCELLED"/>
|
|
<condition-expr field-name="statusId" operator="not-equals" value="INVOICE_WRITEOFF"/>
|
|
</condition-list>
|
|
</entity-condition>
|
|
</actions>
|
|
<widgets>
|
|
<section>
|
|
<condition>
|
|
<not><if-empty field="ListInvoicesApplPayments"/></not>
|
|
</condition>
|
|
<actions>
|
|
<set field="actualCurrency" value="false" type="Boolean"/>
|
|
<set field="actualCurrencyUomId" from-field="defaultOrganizationPartyCurrencyUomId"/>
|
|
</actions>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.AccountingInvoicesApplPayments}" navigation-form-name="Invoices">
|
|
<include-form name="ListInvoicesApplPayments" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
<section>
|
|
<condition>
|
|
<and>
|
|
<not><if-empty field="party.preferredCurrencyUomId"/></not>
|
|
<if-compare-field field="defaultOrganizationPartyCurrencyId" operator="not-equals" to-field="party.preferredCurrencyUomId"/>
|
|
</and>
|
|
</condition>
|
|
<actions>
|
|
<set field="actualCurrency" value="true" type="Boolean"/>
|
|
<set field="actualCurrencyUomId" from-field="party.preferredCurrencyUomId"/>
|
|
</actions>
|
|
<widgets>
|
|
<label style="h2" text="${uiLabelMap.PartyCurrency}"></label>
|
|
<include-form name="ListInvoicesApplPayments" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</screenlet>
|
|
</widgets>
|
|
</section>
|
|
</widgets>
|
|
</section>
|
|
<section>
|
|
<actions>
|
|
<set field="actualCurrency" value="false" type="Boolean"/>
|
|
<set field="actualCurrencyUomId" from-field="defaultOrganizationPartyCurrencyUomId"/>
|
|
</actions>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.PartyInvoicesNotApplied}" navigation-form-name="partyFinancialHistoryInvoicesN">
|
|
<include-form name="ListUnAppliedInvoices" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
<section>
|
|
<condition>
|
|
<and>
|
|
<not><if-empty field="party.preferredCurrencyUomId"/></not>
|
|
<if-compare-field field="defaultOrganizationPartyCurrencyUomId" operator="not-equals" to-field="party.preferredCurrencyUomId"/>
|
|
</and>
|
|
</condition>
|
|
<actions>
|
|
<set field="actualCurrency" value="true" type="Boolean"/>
|
|
<set field="actualCurrencyUomId" from-field="party.preferredCurrencyUomId"/>
|
|
</actions>
|
|
<widgets>
|
|
<label style="h2" text="${uiLabelMap.PartyCurrency}"></label>
|
|
<include-form name="ListUnAppliedInvoices" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</screenlet>
|
|
</widgets>
|
|
</section>
|
|
<section>
|
|
<actions>
|
|
<set field="actualCurrency" value="false" type="Boolean"/>
|
|
<set field="actualCurrencyUomId" from-field="defaultOrganizationPartyCurrencyId"/>
|
|
</actions>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.PartyPaymentsNotApplied}" navigation-form-name="partyFinancialHistoryPaymentsN">
|
|
<include-form name="ListUnAppliedPayments" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
<section>
|
|
<condition>
|
|
<and>
|
|
<not><if-empty field="party.preferredCurrencyUomId"/></not>
|
|
<if-compare-field field="defaultOrganizationPartyCurrencyId" operator="not-equals" to-field="party.preferredCurrencyUomId"/>
|
|
</and>
|
|
</condition>
|
|
<actions>
|
|
<set field="actualCurrency" value="true" type="Boolean"/>
|
|
<set field="actualCurrencyUomId" from-field="party.preferredCurrencyUomId"/>
|
|
</actions>
|
|
<widgets>
|
|
<label style="h2" text="${uiLabelMap.PartyCurrency}"></label>
|
|
<include-form name="ListUnAppliedPayments" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</screenlet>
|
|
</widgets>
|
|
</section>
|
|
<section>
|
|
<actions>
|
|
<set field="actualCurrency" value="false" type="Boolean"/>
|
|
<set field="actualCurrencyUomId" from-field="defaultOrganizationPartyCurrencyUomId"/>
|
|
</actions>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.PartyFinancialSummary}${defaultOrganizationPartyId}" navigation-form-name="partyFinancialSummary">
|
|
<include-form name="partyFinancialSummary" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
<section>
|
|
<condition>
|
|
<and>
|
|
<not><if-empty field="party.preferredCurrencyUomId"/></not>
|
|
<if-compare-field field="defaultOrganizationPartyCurrencyUomId" operator="not-equals" to-field="party.preferredCurrencyUomId"/>
|
|
</and>
|
|
</condition>
|
|
<actions>
|
|
<set field="actualCurrency" value="true" type="Boolean"/>
|
|
<set field="actualCurrencyUomId" from-field="party.preferredCurrencyUomId"/>
|
|
</actions>
|
|
<widgets>
|
|
<label style="h2" text="${uiLabelMap.PartyCurrency}"></label>
|
|
<include-form name="partyFinancialSummary" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</screenlet>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="Preferences">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitleViewPartyPreferences"/>
|
|
<set field="headerItem" value="find"/>
|
|
<set field="tabButtonItem" value="preferences"/>
|
|
<set field="partyId" from-field="parameters.partyId"/>
|
|
<entity-and entity-name="Enumeration" list="userPreferenceList">
|
|
<field-map field-name="enumTypeId" value="GLOBAL_PREFERENCES"/>
|
|
</entity-and>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.CommonPreferences}" >
|
|
<include-form name="ListPreference" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="PartyGeoLocation">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="PageTitlePartyGeoLocation"/>
|
|
<script location="component://party/webapp/partymgr/WEB-INF/actions/party/PartyGeoLocation.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://party/webapp/partymgr/party/partygeolocation.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens> |