svn commit: r1801353 - /ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/agreement/AgreementServices.groovy

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

svn commit: r1801353 - /ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/agreement/AgreementServices.groovy

Deepak Dixit-5
Author: deepak
Date: Sun Jul  9 08:45:05 2017
New Revision: 1801353

URL: http://svn.apache.org/viewvc?rev=1801353&view=rev
Log:
Fixed typo,
Thanks Renuka for reporting this issue.

Modified:
    ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/agreement/AgreementServices.groovy

Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/agreement/AgreementServices.groovy
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/agreement/AgreementServices.groovy?rev=1801353&r1=1801352&r2=1801353&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/agreement/AgreementServices.groovy (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/agreement/AgreementServices.groovy Sun Jul  9 08:45:05 2017
@@ -81,7 +81,7 @@ def copyAgreement() {
             }
         }
         if (parameters.copyAgreementFacilities && parameters.copyAgreementFacilities == 'Y') {
-            agreementTerms = agreement.getRelated('AgreementFacilityAppl', null, null, false)
+            agreementFacilityAppls = agreement.getRelated('AgreementFacilityAppl', null, null, false)
             agreementFacilityAppls.each { agreementFacilityAppl ->
                 Map createAgreementFacilityApplInMap = dispatcher.getDispatchContext().makeValidContext('createAgreementFacilityAppl', 'IN', agreementFacilityAppl)
                 createAgreementFacilityApplInMap.agreementId = agreementIdTo