You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2014/09/22 19:39:58 UTC

svn commit: r1626855 - in /ofbiz/branches/release13.07: ./ applications/accounting/src/org/ofbiz/accounting/payment/PaymentWorker.java

Author: jleroux
Date: Mon Sep 22 17:39:58 2014
New Revision: 1626855

URL: http://svn.apache.org/r1626855
Log:
"Applied fix from trunk for revision: 1626797" 
------------------------------------------------------------------------
r1626797 | apatel | 2014-09-22 16:51:43 +0200 (lun. 22 sept. 2014) | 1 ligne

Use purposeFromDate instead of formDate.
------------------------------------------------------------------------


Modified:
    ofbiz/branches/release13.07/   (props changed)
    ofbiz/branches/release13.07/applications/accounting/src/org/ofbiz/accounting/payment/PaymentWorker.java

Propchange: ofbiz/branches/release13.07/
------------------------------------------------------------------------------
  Merged /ofbiz/trunk:r1626797

Modified: ofbiz/branches/release13.07/applications/accounting/src/org/ofbiz/accounting/payment/PaymentWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/accounting/src/org/ofbiz/accounting/payment/PaymentWorker.java?rev=1626855&r1=1626854&r2=1626855&view=diff
==============================================================================
--- ofbiz/branches/release13.07/applications/accounting/src/org/ofbiz/accounting/payment/PaymentWorker.java (original)
+++ ofbiz/branches/release13.07/applications/accounting/src/org/ofbiz/accounting/payment/PaymentWorker.java Mon Sep 22 17:39:58 2014
@@ -160,7 +160,7 @@ public class PaymentWorker {
         try {
             paymentAddresses = delegator.findByAnd("PartyContactWithPurpose",
                     UtilMisc.toMap("partyId", partyId, "contactMechPurposeTypeId", "PAYMENT_LOCATION"),
-                    UtilMisc.toList("-fromDate"), false);
+                    UtilMisc.toList("-purposeFromDate"), false);
             paymentAddresses = EntityUtil.filterByDate(paymentAddresses, null, "contactFromDate", "contactThruDate", true);
             paymentAddresses = EntityUtil.filterByDate(paymentAddresses, null, "purposeFromDate", "purposeThruDate", true);
         } catch (GenericEntityException e) {