Changeset 733 for trunk/grails-app/controllers
- Timestamp:
- Nov 30, 2010, 10:48:14 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/ReportController.groovy
r732 r733 191 191 def equipmentRegisterOhs = { 192 192 193 params.calculateRegulatoryTaskCompletion = true 194 def result = assetReportService.getEquipmentRegister(params, RCU.getLocale(request)) 195 193 196 params.reportTitle = "Equipment Register OH&S" 194 197 params.logoUrl = grailsApplication.mainContext.getResource('images/logo.png').getURL() 195 198 params.currentUser = authService.currentUser 196 197 params.calculateRegulatoryTaskCompletion = true 198 params.startDateString = g.formatDate(format: "EEE, dd-MMM-yyyy", date: params.startDate) 199 params.endDateString = g.formatDate(format: "EEE, dd-MMM-yyyy", date: params.endDate) 200 201 def result = assetReportService.getEquipmentRegister(params, RCU.getLocale(request)) 199 params.startDateString = result.startDateString 200 params.endDateString = result.endDateString 202 201 203 202 if(!result.error) {
Note: See TracChangeset
for help on using the changeset viewer.