Changeset 741 for trunk


Ignore:
Timestamp:
Dec 13, 2010, 4:59:29 AM (14 years ago)
Author:
gav
Message:

Add regulatoryRequirements report, part 2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/AssetReportService.groovy

    r740 r741  
    374374            if(task.subTaskTotalCount) {
    375375                percentComplete = (task.subTaskCompletedCount / task.subTaskTotalCount) * 100
    376                 task.completionFigures = "$percentComplete% ($task.subTaskCompletedCount/$task.subTaskTotalCount)"
     376                task.completionFigures = "${percentComplete.toInteger()}% ($task.subTaskCompletedCount/$task.subTaskTotalCount)"
    377377            }
    378378            else
Note: See TracChangeset for help on using the changeset viewer.