Author: apatel
Date: Wed Aug 19 09:00:25 2009 New Revision: 805710 URL: http://svn.apache.org/viewvc?rev=805710&view=rev Log: Add Payment details to PaymentGroup members list. Modified: ofbiz/trunk/applications/accounting/widget/PaymentGroupForms.xml Modified: ofbiz/trunk/applications/accounting/widget/PaymentGroupForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/PaymentGroupForms.xml?rev=805710&r1=805709&r2=805710&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/PaymentGroupForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/PaymentGroupForms.xml Wed Aug 19 09:00:25 2009 @@ -91,13 +91,33 @@ <!-- Payment Group Member --> <form name="ListPaymentGroupMember" type="list" list-name="paymentGroupMembers" target="updatePaymentGroupMember"> - <auto-fields-service service-name="updatePaymentGroupMember"/> + <row-actions> + <entity-one entity-name="Payment" value-field="payment"/> + <set field="paymentTypeId" from-field="payment.paymentTypeId"/> + <set field="partyIdFrom" from-field="payment.partyIdFrom"/> + <set field="partyIdTo" from-field="payment.partyIdTo"/> + </row-actions> <field name="paymentGroupId"><hidden/></field> <field name="paymentId"> <hyperlink target="paymentOverview" description="${paymentId}"> <parameter param-name="paymentId"/> </hyperlink> </field> + <field name="partyIdFrom" title="${uiLabelMap.AccountingFromParty}"> + <display-entity entity-name="PartyNameView" key-field-name="partyId" description="${groupName} ${lastName} ${firstName}"> + <sub-hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="[${partyIdFrom}]" > + <parameter param-name="partyId" from-field="partyIdFrom"/> + </sub-hyperlink> + </display-entity> + </field> + <field name="partyIdTo" title="${uiLabelMap.AccountingToParty}"> + <display-entity entity-name="PartyNameView" key-field-name="partyId" description="${groupName} ${lastName} ${firstName}"> + <sub-hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="[${partyIdTo}]" > + <parameter param-name="partyId" from-field="partyIdTo"/> + </sub-hyperlink> + </display-entity> + </field> + <field name="paymentTypeId" title="${uiLabelMap.OrderPaymentType}"><display-entity entity-name="PaymentType" description="${description}"/></field> <field name="fromDate"><display/></field> <field name="thruDate"><date-time/></field> <field name="deleteLink" title="" widget-style="buttontext"> @@ -124,15 +144,31 @@ <set field="statusId" from-field="payment.statusId"/> <set field="amount" from-field="payment.amount"/> <set field="paymentTypeId" from-field="payment.paymentTypeId"/> + <set field="partyIdFrom" from-field="payment.partyIdFrom"/> + <set field="partyIdTo" from-field="payment.partyIdTo"/> </row-actions> <field name="paymentId"> <hyperlink target="paymentOverview" description="${paymentId}"> <parameter param-name="paymentId"/> </hyperlink> </field> + <field name="partyIdFrom" title="${uiLabelMap.AccountingFromParty}"> + <display-entity entity-name="PartyNameView" key-field-name="partyId" description="${groupName} ${lastName} ${firstName}"> + <sub-hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="[${partyIdFrom}]" > + <parameter param-name="partyId" from-field="partyIdFrom"/> + </sub-hyperlink> + </display-entity> + </field> + <field name="partyIdTo" title="${uiLabelMap.AccountingToParty}"> + <display-entity entity-name="PartyNameView" key-field-name="partyId" description="${groupName} ${lastName} ${firstName}"> + <sub-hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="[${partyIdTo}]" > + <parameter param-name="partyId" from-field="partyIdTo"/> + </sub-hyperlink> + </display-entity> + </field> <field name="paymentTypeId" title="${uiLabelMap.OrderPaymentType}"><display-entity entity-name="PaymentType" description="${description}"/></field> <field name="statusId" title="${uiLabelMap.AccountingPaymentStatus}"><display-entity entity-name="StatusItem"/></field> - <field name="amount"><display also-hidden="false" type="currency" currency="${currencyUomId}"/></field> + <field name="amount"><display also-hidden="false" type="currency" currency="${payment.currencyUomId}"/></field> <field name="fromDate"><display/></field> <field name="thruDate"><display/></field> </form> |
Free forum by Nabble | Edit this page |