Changeset 676 for trunk/grails-app/controllers
- Timestamp:
- Oct 4, 2010, 3:18:35 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/ReportController.groovy
r671 r676 213 213 } 214 214 215 def inventoryValueOverviewGsp = { 216 render(view: 'inventoryValueOverview') 217 } 218 219 def inventoryValueOverview = { 220 221 params.reportTitle = "Inventory Value Overview" 222 params.logoUrl = grailsApplication.mainContext.getResource('images/logo.png').getURL() 223 params.currentUser = authService.currentUser 224 225 def dataModel = inventoryReportService.getInventoryValueOverview(params, RCU.getLocale(request)) 226 227 // Jasper plugin controller expects data to be a Collection. 228 chain(controller:'jasper', action:'index', model:[data: [dataModel]], params:params) 229 230 } 231 215 232 } // end of class.
Note: See TracChangeset
for help on using the changeset viewer.