Changeset 732 for trunk/grails-app/controllers
- Timestamp:
- Nov 30, 2010, 10:24:52 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/ReportController.groovy
r710 r732 85 85 def reactiveRatio = { 86 86 87 def result = taskReportService.getReactiveRatio(params, RCU.getLocale(request)) 88 87 89 params.reportTitle = "Reactive Ratio Report" 88 90 params.logoUrl = grailsApplication.mainContext.getResource('images/logo.png').getURL() 89 91 params.currentUser = authService.currentUser 90 params.startDateString = g.formatDate(format: "EEE, dd-MMM-yyyy", date: params.startDate) 91 params.endDateString = g.formatDate(format: "EEE, dd-MMM-yyyy", date: params.endDate) 92 93 def result = taskReportService.getReactiveRatio(params, RCU.getLocale(request)) 92 params.startDateString = result.startDateString 93 params.endDateString = result.endDateString 94 94 95 95 if(!result.error) { … … 106 106 def immediateCallouts = { 107 107 108 def result = taskReportService.getImmediateCallouts(params, RCU.getLocale(request)) 109 108 110 params.reportTitle = "Immediate Callouts" 109 111 params.logoUrl = grailsApplication.mainContext.getResource('images/logo.png').getURL() 110 112 params.currentUser = authService.currentUser 111 params.startDateString = g.formatDate(format: "EEE, dd-MMM-yyyy", date: params.startDate) 112 params.endDateString = g.formatDate(format: "EEE, dd-MMM-yyyy", date: params.endDate) 113 114 def result = taskReportService.getImmediateCallouts(params, RCU.getLocale(request)) 113 params.startDateString = result.startDateString 114 params.endDateString = result.endDateString 115 115 116 116 if(!result.error) {
Note: See TracChangeset
for help on using the changeset viewer.