Last change
on this file since 134 was
134,
checked in by gav, 15 years ago
|
Add icons from famfamfam silk icons, add acknowledgement page to suite.
Adjust AssignedPerson? controller so that a task.id is required to create.
Move Add AssignedPerson? link up to TaskDetailed? show page.
Further improvements to taskDetailed show tabs.
Adjust TaskProcedureDetailed? controller to allow linking a Procedure to a task during creation.
Adjust TaskRecurringSchedule? to a one-to-one cascading relationship.
Modify CSS class duration to time and added icons.
Regenerate some pages.
|
File size:
500 bytes
|
Line | |
---|
1 | class TaskRecurringSchedule { |
---|
2 | |
---|
3 | Task lastGeneratedSubTask |
---|
4 | Period period |
---|
5 | |
---|
6 | Integer recurEvery |
---|
7 | Date startDate = new Date() |
---|
8 | Date lastGeneratedDate |
---|
9 | Date nextDueDate |
---|
10 | boolean isEnabled = true |
---|
11 | |
---|
12 | // static hasMany = [] |
---|
13 | |
---|
14 | static belongsTo = [task: Task] |
---|
15 | |
---|
16 | static constraints = { |
---|
17 | lastGeneratedDate(blank:true, nullable:true) |
---|
18 | lastGeneratedSubTask(blank:true, nullable:true) |
---|
19 | } |
---|
20 | |
---|
21 | String toString() { |
---|
22 | "Recur every ${recurEvery} ${period}" |
---|
23 | } |
---|
24 | } |
---|
25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.