Author: apatel
Date: Wed Jul  8 12:49:59 2009
New Revision: 792121

URL: http://svn.apache.org/viewvc?rev=792121&view=rev
Log:
fixed typo in script.

Modified:
    
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/GlAccountTrialBalance.groovy

Modified: 
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/GlAccountTrialBalance.groovy
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/GlAccountTrialBalance.groovy?rev=792121&r1=792120&r2=792121&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/GlAccountTrialBalance.groovy
 (original)
+++ 
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/reports/GlAccountTrialBalance.groovy
 Wed Jul  8 12:49:59 2009
@@ -43,7 +43,7 @@
 
         if (previousTimePeriod) {
             glAccountHistory = delegator.findOne("GlAccountHistory", 
-                    [customTimePeriodId : 
previousTimePeriod.previousTimePeriod.customTimePeriodId, glAccountId : 
parameters.glAccountId, organizationPartyId : organizationPartyId], false);
+                    [customTimePeriodId : 
previousTimePeriod.customTimePeriodId, glAccountId : parameters.glAccountId, 
organizationPartyId : organizationPartyId], false);
             if (glAccountHistory) {
                 context.openingBalance = glAccountHistory.endingBalance;
                 balanceOfTheAcctgForYear = glAccountHistory.endingBalance;


Reply via email to