Adding lookup for internal organizations only.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@799283 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -5482,6 +5482,9 @@
|
||||
<value xml:lang="th">ค้นหาการติดต่อที่เหมือนกัน</value>
|
||||
<value xml:lang="zh">查找联系方法</value>
|
||||
</property>
|
||||
<property key="PartyLookupInternalOrganization">
|
||||
<value xml:lang="en">Lookup Internal Organization</value>
|
||||
</property>
|
||||
<property key="PartyLookupParty">
|
||||
<value xml:lang="de">Akteur suchen</value>
|
||||
<value xml:lang="en">Lookup Party</value>
|
||||
|
||||
@@ -425,4 +425,12 @@ under the License.
|
||||
<field name="contactMechTypeId"><display-entity entity-name="ContactMechType"/></field>
|
||||
<field name="cmDetail"><display description="[${infoString}] [${tnCountryCode}-${tnAreaCode}-${tnContactNumber}] [${paAddress1}, ${paAddress2}, ${paCity}, ${paStateProvinceGeoId}, ${paPostalCode}, ${paPostalCodeExt} ${paCountryGeoId}]" also-hidden="false"/></field>
|
||||
</form>
|
||||
|
||||
<form name="LookupInternalOrganization" type="single" target="LookupInternalOrganization" default-table-style="basic-table">
|
||||
<field name="roleTypeId"><hidden value="INTERNAL_ORGANIZATIO"/></field>
|
||||
<field name="partyId"><text-find/></field>
|
||||
<field name="groupName"><text-find/></field>
|
||||
<field name="noConditionFind"><hidden value="Y"/></field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonFind}"><submit button-type="button"/></field>
|
||||
</form>
|
||||
</forms>
|
||||
@@ -335,4 +335,28 @@ under the License.
|
||||
</widgets>
|
||||
</section>
|
||||
</screen>
|
||||
|
||||
<screen name="LookupInternalOrganization">
|
||||
<section>
|
||||
<condition>
|
||||
<if-service-permission service-name="partyBasePermissionCheck" main-action="VIEW"/>
|
||||
</condition>
|
||||
<actions>
|
||||
<property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
|
||||
<set field="title" value="${uiLabelMap.PartyLookupInternalOrganization}"/>
|
||||
<set field="entityName" value="PartyRoleAndPartyDetail"/>
|
||||
<set field="roleTypeId" value="INTERNAL_ORGANIZATIO"/>
|
||||
</actions>
|
||||
<widgets>
|
||||
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
||||
<decorator-section name="search-options">
|
||||
<include-form name="LookupInternalOrganization" location="component://party/webapp/partymgr/lookup/LookupForms.xml"/>
|
||||
</decorator-section>
|
||||
<decorator-section name="search-results">
|
||||
<include-form name="listLookupPartyGroup" location="component://party/webapp/partymgr/lookup/LookupForms.xml"/>
|
||||
</decorator-section>
|
||||
</decorator-screen>
|
||||
</widgets>
|
||||
</section>
|
||||
</screen>
|
||||
</screens>
|
||||
|
||||
Reference in New Issue
Block a user