svn commit: r797349 - in /ofbiz/trunk/applications/accounting: webapp/accounting/WEB-INF/actions/reports/GlAccountTrialBalance.groovy widget/ReportFinancialSummaryForms.xml

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

svn commit: r797349 - in /ofbiz/trunk/applications/accounting: webapp/accounting/WEB-INF/actions/reports/GlAccountTrialBalance.groovy widget/ReportFinancialSummaryForms.xml

apatel-2
Author: apatel
Date: Fri Jul 24 07:28:24 2009
New Revision: 797349

URL: http://svn.apache.org/viewvc?rev=797349&view=rev
Log:
Clened up, no functional change.

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

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=797349&r1=797348&r2=797349&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 Fri Jul 24 07:28:24 2009
@@ -32,7 +32,7 @@
     customTimePeriodResults = dispatcher.runSync("findCustomTimePeriods", [findDate : UtilDateTime.nowTimestamp(), organizationPartyId : organizationPartyId, onlyIncludePeriodTypeIdList : onlyIncludePeriodTypeIdList, userLogin : userLogin]);
     customTimePeriodList = customTimePeriodResults.customTimePeriodList;
     if (UtilValidate.isNotEmpty(customTimePeriodList)) {
-        context.cutomTimePeriod = EntityUtil.getFirst(customTimePeriodList);
+        context.timePeriod = (EntityUtil.getFirst(customTimePeriodList)).customTimePeriodId;
     }
     decimals = UtilNumber.getBigDecimalScale("ledger.decimals");
     rounding = UtilNumber.getBigDecimalRoundingMode("ledger.rounding");

Modified: ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryForms.xml?rev=797349&r1=797348&r2=797349&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryForms.xml Fri Jul 24 07:28:24 2009
@@ -436,7 +436,6 @@
         </field>
         <field name="timePeriod">
             <drop-down>
-                <option key="cutomTimePeriod.cutomTimePeriodId" description="${cutomTimePeriod.fromDate} - ${cutomTimePeriod.thruDate}"/>
                 <list-options list-name="customTimePeriods" key-name="customTimePeriodId" description="${fromDate} - ${thruDate}"/>
             </drop-down>
         </field>