------------------------------------------------------------ revno: 6846 committer: Lars Helge Overland <larshe...@gmail.com> branch nick: dhis2 timestamp: Thu 2012-05-03 18:08:40 +0200 message: Fixed bug with last 5 year relative period in report table modified: dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/tablecreator/action/SaveTableAction.java dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/addTableForm.vm
-- lp:dhis2 https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk Your team DHIS 2 developers is subscribed to branch lp:dhis2. To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/tablecreator/action/SaveTableAction.java' --- dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/tablecreator/action/SaveTableAction.java 2012-04-20 07:38:56 +0000 +++ dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/tablecreator/action/SaveTableAction.java 2012-05-03 16:08:40 +0000 @@ -293,11 +293,11 @@ this.quartersLastYear = quartersLastYear; } - private boolean last5years; + private boolean last5Years; - public void setLast5years( boolean last5years ) + public void setLast5Years( boolean last5Years ) { - this.last5years = last5years; + this.last5Years = last5Years; } private boolean lastYear; @@ -438,7 +438,7 @@ RelativePeriods relatives = new RelativePeriods( reportingMonth, reportingBimonth, reportingQuarter, lastSixMonth, monthsThisYear, quartersThisYear, thisYear, monthsLastYear, quartersLastYear, lastYear, - last5years, last12Months, false, last4Quarters, last2SixMonths, + last5Years, last12Months, false, last4Quarters, last2SixMonths, thisFinancialYear, lastFinancialYear, last5FinancialYears ); ReportParams reportParams = new ReportParams(); === modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/addTableForm.vm' --- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/addTableForm.vm 2012-04-20 07:38:56 +0000 +++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/addTableForm.vm 2012-05-03 16:08:40 +0000 @@ -434,7 +434,7 @@ <label for="lastFinancialYear">$i18n.getString( "last_financial_year" )</label> <input type="checkbox" id="lastFinancialYear" name="lastFinancialYear" value="true"#if( $reportTable.relatives.isLastFinancialYear() ) checked#end><br><br> - <label for="last5years">$i18n.getString( "last_5_years" )</label> + <label for="last5Years">$i18n.getString( "last_5_years" )</label> <input type="checkbox" id="last5Years" name="last5Years" value="true"#if( $reportTable.relatives.isLast5Years() ) checked#end> <label for="last12Months">$i18n.getString( "last_12_months" )</label> <input type="checkbox" id="last12Months" name="last12Months" value="true"#if( $reportTable.relatives.isLast12Months() ) checked#end>
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp