Author: nmalin
Date: Sat Jun 20 21:06:33 2015
New Revision: 1686671
URL: http://svn.apache.org/r1686671
Log:
Add orderRoleInfo screen to display on vieworder all role associate to this
order. Came from issue OFBIZ-6044, thanks to Pierre Smiths for this suggestion
Modified:
ofbiz/trunk/applications/order/widget/ordermgr/OrderForms.xml
ofbiz/trunk/applications/order/widget/ordermgr/OrderViewScreens.xml
Modified: ofbiz/trunk/applications/order/widget/ordermgr/OrderForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/OrderForms.xml?rev=1686671&r1=1686670&r2=1686671&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/widget/ordermgr/OrderForms.xml (original)
+++ ofbiz/trunk/applications/order/widget/ordermgr/OrderForms.xml Sat Jun 20
21:06:33 2015
@@ -110,6 +110,16 @@ under the License.
</hyperlink>
</field>
</form>
+ <grid name="ListOrderRoles" target="" title=""
+ odd-row-style="alternate-row" header-row-style="header-row-2"
default-table-style="basic-table hover-bar">
+ <actions>
+ <entity-condition entity-name="OrderRole">
+ <condition-expr field-name="orderId" from-field="orderId"/>
+ </entity-condition>
+ </actions>
+ <field name="roleTypeId"><display-entity entity-name="RoleType"
description="[${roleTypeId}] ${description}"/></field>
+ <field name="partyId"><display-entity entity-name="PartyNameView"
description="[${partyId}] ${firstName} ${lastName} ${groupName}"/></field>
+ </grid>
<form name="AddOrderTerm" type="single" target="createOrderTerm" title=""
header-row-style="header-row" default-table-style="basic-table">
<auto-fields-entity entity-name="OrderTerm" default-field-type="edit"/>
Modified: ofbiz/trunk/applications/order/widget/ordermgr/OrderViewScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/OrderViewScreens.xml?rev=1686671&r1=1686670&r2=1686671&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/widget/ordermgr/OrderViewScreens.xml
(original)
+++ ofbiz/trunk/applications/order/widget/ordermgr/OrderViewScreens.xml Sat Jun
20 21:06:33 2015
@@ -92,6 +92,7 @@ under the License.
</container>
<container style="righthalf">
<include-screen name="ordercontactinfo"/>
+ <include-screen name="OrderRoleInfo"/>
<include-screen name="ordershippinginfo"/>
<include-screen name="OrderSalesReps"/>
</container>
@@ -168,6 +169,15 @@ under the License.
</widgets>
</section>
</screen>
+ <screen name="OrderRoleInfo">
+ <section>
+ <widgets>
+ <screenlet name="OrderRoles" title="${uiLabelMap.CommonRoles}"
initially-collapsed="true">
+ <include-grid name="ListOrderRoles"
location="component://order/widget/ordermgr/OrderForms.xml"/>
+ </screenlet>
+ </widgets>
+ </section>
+ </screen>
<screen name="ordershippinginfo">
<section>
<widgets>