Ignore:
Timestamp:
Nov 10, 2010, 5:30:28 AM (14 years ago)
Author:
gav
Message:

Implement ticket #88 - "Implement Regulatory Task Completion on Equipmet Register Report OH&S"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/ReportController.groovy

    r696 r706  
    173173    } // assetRegister
    174174
     175    def equipmentRegisterOhsGsp = {
     176        render(view: 'equipmentRegisterOhs')
     177    }
     178
    175179    def equipmentRegisterOhs = {
    176180
     
    178182        params.logoUrl = grailsApplication.mainContext.getResource('images/logo.png').getURL()
    179183        params.currentUser = authService.currentUser
     184
     185        params.calculateRegulatoryTaskCompletion = true
     186        params.startDateString = g.formatDate(format: "EEE, dd-MMM-yyyy", date: params.startDate)
     187        params.endDateString = g.formatDate(format: "EEE, dd-MMM-yyyy", date: params.endDate)
    180188
    181189        def dataModel = assetReportService.getEquipmentRegister(params, RCU.getLocale(request))
Note: See TracChangeset for help on using the changeset viewer.