Changeset 432 for trunk/grails-app/services
- Timestamp:
- Mar 7, 2010, 12:06:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/TaskService.groovy
r431 r432 675 675 result.taskInstance.approved = true 676 676 result.taskInstance.leadPerson = authService.currentUser 677 result.taskInstance.targetCompletionDate = result.taskInstance.targetStartDate 677 678 678 679 if(result.taskInstance.hasErrors() || !result.taskInstance.save()) … … 695 696 entryType: EntryType.get(1), 696 697 comment: params.entryFault.comment, 698 dateDone: result.taskInstance.targetStartDate, 697 699 productionReference: productionReference, 698 700 durationHour: params.entryFault.durationHour, … … 703 705 def causeParams = [task: result.taskInstance, 704 706 entryType: EntryType.get(2), 707 dateDone: result.taskInstance.targetStartDate, 705 708 comment: params.entryCause.comment] 706 709 def causeResult = saveEntry(causeParams) … … 710 713 entryType: EntryType.get(3), 711 714 comment: params.entryWorkDone.comment, 715 dateDone: result.taskInstance.targetStartDate, 712 716 durationHour: params.entryWorkDone.durationHour, 713 717 durationMinute: params.entryWorkDone.durationMinute]
Note: See TracChangeset
for help on using the changeset viewer.