Skip to content

Commit 5e0c5a8

Browse files
authored
Merge pull request #3448 from AtlasOfLivingAustralia/feature/issue3429
Fixed type error on costing amount #3429
2 parents 7276bd9 + f574bd2 commit 5e0c5a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

grails-app/services/au/org/ala/merit/OrganisationService.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class OrganisationService {
147147
reportService.generateTargetPeriods(targetsReportConfig, owner, targetsConfig.periodLabelFormat)
148148
}
149149

150-
double getRcsFundingForPeriod(Map organisation, String periodEndDate) {
150+
String getRcsFundingForPeriod(Map organisation, String periodEndDate) {
151151

152152
int index = findIndexOfPeriod(organisation, periodEndDate)
153153
def result = 0

src/main/groovy/au/org/ala/merit/reports/RegionalCapacityServicesReportLifecycleListener.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class RegionalCapacityServicesReportLifecycleListener extends ReportLifecycleLis
2424
[periodTargets:periodTargets, totalContractValue:funding, reportedFundingExcludingThisReport:reportedFundingExcludingThisReport]
2525
}
2626

27-
private double getFundingForPeriod(Map organisation, Map report) {
27+
private def getFundingForPeriod(Map organisation, Map report) {
2828
String endDate = report.toDate
2929
organisationService.getRcsFundingForPeriod(organisation, endDate)
3030

0 commit comments

Comments
 (0)