svn commit: r781900 - in /ofbiz/trunk/applications/party: webapp/partymgr/party/PartyForms.xml widget/partymgr/ProfileScreens.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r781900 - in /ofbiz/trunk/applications/party: webapp/partymgr/party/PartyForms.xml widget/partymgr/ProfileScreens.xml

hansbak-2
Author: hansbak
Date: Fri Jun  5 03:13:22 2009
New Revision: 781900

URL: http://svn.apache.org/viewvc?rev=781900&view=rev
Log:
missed some files on last commit

Modified:
    ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml
    ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml

Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml?rev=781900&r1=781899&r2=781900&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml Fri Jun  5 03:13:22 2009
@@ -840,6 +840,7 @@
     <form name="AddAccount" type="single" target="createPartyRelationship">
         <field name="partyId"><hidden value="${parameters.partyId}"/></field>
         <field name="partyIdFrom"><lookup target-form-name="LookupAccount"/></field>
+        <field name="comments"><text/></field>
         <field name="roleTypeIdFrom"><hidden value="ACCOUNT"/></field>
         <field name="partyIdTo"><hidden value="${parameters.partyId}"/></field>
         <field name="roleTypeIdTo"><hidden value="CONTACT"/></field>
@@ -852,6 +853,7 @@
         <field name="partyIdFrom"><hidden value="${parameters.partyId}"/></field>
         <field name="roleTypeIdFrom"><hidden value="ACCOUNT"/></field>
         <field name="partyIdTo"><lookup target-form-name="LookupContact"/></field>
+        <field name="comments"><text/></field>
         <field name="roleTypeIdTo"><hidden value="CONTACT"/></field>
         <field name="partyRelationshipTypeId"><hidden value="EMPLOYMENT"/></field>
         <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>

Modified: ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml?rev=781900&r1=781899&r2=781900&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml Fri Jun  5 03:13:22 2009
@@ -470,10 +470,11 @@
     <screen name="partyRelContacts">
         <section>
             <actions>
-                <entity-and list="contacts" entity-name="PartyRelationship">
+                <entity-and list="contacts" entity-name="PartyRelationship" filter-by-date="true">
                     <field-map field-name="partyIdFrom" from-field="parameters.partyId"/>
                     <field-map field-name="roleTypeIdFrom" value="ACCOUNT"/>
                     <field-map field-name="roleTypeIdTo" value="CONTACT"/>
+                    <order-by field-name="partyIdTo"/>
                 </entity-and>
             </actions>
             <widgets>
@@ -494,10 +495,11 @@
     <screen name="partyRelAccounts">
         <section>
             <actions>
-                <entity-and list="accounts" entity-name="PartyRelationship">
+                <entity-and list="accounts" entity-name="PartyRelationship" filter-by-date="true">
                     <field-map field-name="partyIdTo" from-field="parameters.partyId"/>
                     <field-map field-name="roleTypeIdFrom" value="ACCOUNT"/>
                     <field-map field-name="roleTypeIdTo" value="CONTACT"/>
+                    <order-by field-name="partyIdFrom"/>
                 </entity-and>
             </actions>
             <widgets>