svn commit: r1060670 - /ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl

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

svn commit: r1060670 - /ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl

hansbak-2
Author: hansbak
Date: Wed Jan 19 04:09:06 2011
New Revision: 1060670

URL: http://svn.apache.org/viewvc?rev=1060670&view=rev
Log:
small improvement on r1060651 no functional change

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl?rev=1060670&r1=1060669&r2=1060670&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/order/orderpaymentinfo.ftl Wed Jan 19 04:09:06 2011
@@ -49,7 +49,7 @@ under the License.
          <th>${uiLabelMap.CommonStatus}</th>
        </tr>
        <#list orderPaymentPreferences as orderPaymentPreference>
-         <#assign payments = delegator.findByAnd("Payment", {"paymentPreferenceId" : orderPaymentPreference.orderPaymentPreferenceId})>
+         <#assign payments = orderPaymentPreference.getRelated("Payment")>
          <#list payments as payment>
            <#assign statusItem = payment.getRelatedOne("StatusItem")>
            <#assign partyName = delegator.findOne("PartyNameView", {"partyId" : payment.partyIdTo}, true)>