You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by de...@apache.org on 2017/07/09 08:45:06 UTC
svn commit: r1801353 -
/ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/agreement/AgreementServices.groovy
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