Changeset 696 for trunk/grails-app
- Timestamp:
- Oct 18, 2010, 5:02:00 PM (14 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/ReportController.groovy
r695 r696 192 192 } // equipmentRegisterOhs 193 193 194 def equipmentRegisterFinancial = { 195 196 params.reportTitle = "Equipment Register Financial" 197 params.logoUrl = grailsApplication.mainContext.getResource('images/logo.png').getURL() 198 params.currentUser = authService.currentUser 199 200 def dataModel = assetReportService.getEquipmentRegister(params, RCU.getLocale(request)) 201 202 // Jasper plugin controller expects data to be a Collection. 203 chain(controller:'jasper', action:'index', model:[data: [dataModel]], params:params) 204 205 } // equipmentRegisterFinancial 206 194 207 def inventoryValueDetailedGsp = { 195 208 render(view: 'inventoryValueDetailed') -
trunk/grails-app/views/appCore/start.gsp
r695 r696 172 172 <br /> 173 173 <g:jasperReport controller="report" 174 action="equipmentRegisterFinancial" 175 jasper="equipmentRegisterFinancial" 176 name="Equipment Register (Financial)" 177 format="PDF, XLS"> 178 <g:select optionKey="id" 179 from="${sections}" 180 name="section.id"> 181 </g:select> 182 </g:jasperReport> 183 <br /> 184 <g:jasperReport controller="report" 174 185 action="templatePortrait" 175 186 jasper="templatePortrait"
Note: See TracChangeset
for help on using the changeset viewer.