Ignore:
Timestamp:
Mar 5, 2010, 12:45:43 PM (14 years ago)
Author:
gav
Message:

Add ProductionReference.
Add ProductionManager and ProductionUser roles.
Update immediate callout help definitions, roll errors into one ul.
Add help definitions for resolved and unresolved.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/TaskService.groovy

    r418 r431  
    688688            }
    689689
     690            def productionReference
     691            if(params.entryFault.productionReference.id.isLong())
     692                productionReference = ProductionReference.get(params.entryFault.productionReference.id.toLong())
     693
    690694            def faultParams = [task: result.taskInstance,
    691695                                            entryType: EntryType.get(1),
    692696                                            comment: params.entryFault.comment,
     697                                            productionReference: productionReference,
    693698                                            durationHour: params.entryFault.durationHour,
    694699                                            durationMinute: params.entryFault.durationMinute]
Note: See TracChangeset for help on using the changeset viewer.