[66] | 1 | |
---|
| 2 | |
---|
| 3 | <html> |
---|
| 4 | <head> |
---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
---|
| 6 | <meta name="layout" content="main" /> |
---|
| 7 | <title>Show Task</title> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
| 11 | <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> |
---|
| 12 | <span class="menuButton"><g:link class="list" action="list">Task List</g:link></span> |
---|
| 13 | <span class="menuButton"><g:link class="create" action="create">New Task</g:link></span> |
---|
| 14 | </div> |
---|
| 15 | <div class="body"> |
---|
| 16 | <h1>Show Task</h1> |
---|
| 17 | <g:if test="${flash.message}"> |
---|
| 18 | <div class="message">${flash.message}</div> |
---|
| 19 | </g:if> |
---|
| 20 | <div class="dialog"> |
---|
| 21 | <table> |
---|
| 22 | <tbody> |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | <tr class="prop"> |
---|
| 26 | <td valign="top" class="name">Id:</td> |
---|
| 27 | |
---|
| 28 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'id')}</td> |
---|
| 29 | |
---|
| 30 | </tr> |
---|
| 31 | |
---|
| 32 | <tr class="prop"> |
---|
[131] | 33 | <td valign="top" class="name">Description:</td> |
---|
| 34 | |
---|
| 35 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'description')}</td> |
---|
| 36 | |
---|
| 37 | </tr> |
---|
| 38 | |
---|
| 39 | <tr class="prop"> |
---|
| 40 | <td valign="top" class="name">Comment:</td> |
---|
| 41 | |
---|
| 42 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'comment')}</td> |
---|
| 43 | |
---|
| 44 | </tr> |
---|
| 45 | |
---|
| 46 | <tr class="prop"> |
---|
[66] | 47 | <td valign="top" class="name">Target Start Date:</td> |
---|
| 48 | |
---|
| 49 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'targetStartDate')}</td> |
---|
| 50 | |
---|
| 51 | </tr> |
---|
| 52 | |
---|
| 53 | <tr class="prop"> |
---|
[131] | 54 | <td valign="top" class="name">Target Completion Date:</td> |
---|
[66] | 55 | |
---|
[131] | 56 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'targetCompletionDate')}</td> |
---|
[66] | 57 | |
---|
| 58 | </tr> |
---|
| 59 | |
---|
| 60 | <tr class="prop"> |
---|
| 61 | <td valign="top" class="name">Lead Person:</td> |
---|
| 62 | |
---|
| 63 | <td valign="top" class="value"><g:link controller="person" action="show" id="${taskInstance?.leadPerson?.id}">${taskInstance?.leadPerson?.encodeAsHTML()}</g:link></td> |
---|
| 64 | |
---|
| 65 | </tr> |
---|
| 66 | |
---|
| 67 | <tr class="prop"> |
---|
[70] | 68 | <td valign="top" class="name">Task Priority:</td> |
---|
| 69 | |
---|
| 70 | <td valign="top" class="value"><g:link controller="taskPriority" action="show" id="${taskInstance?.taskPriority?.id}">${taskInstance?.taskPriority?.encodeAsHTML()}</g:link></td> |
---|
| 71 | |
---|
| 72 | </tr> |
---|
| 73 | |
---|
| 74 | <tr class="prop"> |
---|
[66] | 75 | <td valign="top" class="name">Task Status:</td> |
---|
| 76 | |
---|
| 77 | <td valign="top" class="value"><g:link controller="taskStatus" action="show" id="${taskInstance?.taskStatus?.id}">${taskInstance?.taskStatus?.encodeAsHTML()}</g:link></td> |
---|
| 78 | |
---|
| 79 | </tr> |
---|
| 80 | |
---|
| 81 | <tr class="prop"> |
---|
[69] | 82 | <td valign="top" class="name">Parent Task:</td> |
---|
| 83 | |
---|
| 84 | <td valign="top" class="value"><g:link controller="task" action="show" id="${taskInstance?.parentTask?.id}">${taskInstance?.parentTask?.encodeAsHTML()}</g:link></td> |
---|
| 85 | |
---|
| 86 | </tr> |
---|
| 87 | |
---|
| 88 | <tr class="prop"> |
---|
[131] | 89 | <td valign="top" class="name">Primary Asset:</td> |
---|
[66] | 90 | |
---|
[131] | 91 | <td valign="top" class="value"><g:link controller="asset" action="show" id="${taskInstance?.primaryAsset?.id}">${taskInstance?.primaryAsset?.encodeAsHTML()}</g:link></td> |
---|
[66] | 92 | |
---|
| 93 | </tr> |
---|
| 94 | |
---|
| 95 | <tr class="prop"> |
---|
[131] | 96 | <td valign="top" class="name">Task Recurring Schedule:</td> |
---|
[122] | 97 | |
---|
[131] | 98 | <td valign="top" class="value"><g:link controller="taskRecurringSchedule" action="show" id="${taskInstance?.taskRecurringSchedule?.id}">${taskInstance?.taskRecurringSchedule?.encodeAsHTML()}</g:link></td> |
---|
[122] | 99 | |
---|
| 100 | </tr> |
---|
| 101 | |
---|
| 102 | <tr class="prop"> |
---|
[131] | 103 | <td valign="top" class="name">Task Procedure:</td> |
---|
| 104 | |
---|
| 105 | <td valign="top" class="value"><g:link controller="taskProcedure" action="show" id="${taskInstance?.taskProcedure?.id}">${taskInstance?.taskProcedure?.encodeAsHTML()}</g:link></td> |
---|
| 106 | |
---|
| 107 | </tr> |
---|
| 108 | |
---|
| 109 | <tr class="prop"> |
---|
[66] | 110 | <td valign="top" class="name">Assigned Persons:</td> |
---|
| 111 | |
---|
[96] | 112 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 113 | <ul> |
---|
| 114 | <g:each var="a" in="${taskInstance.assignedPersons}"> |
---|
| 115 | <li><g:link controller="assignedPerson" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> |
---|
| 116 | </g:each> |
---|
| 117 | </ul> |
---|
| 118 | </td> |
---|
[66] | 119 | |
---|
| 120 | </tr> |
---|
| 121 | |
---|
| 122 | <tr class="prop"> |
---|
[122] | 123 | <td valign="top" class="name">Associated Assets:</td> |
---|
| 124 | |
---|
| 125 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 126 | <ul> |
---|
| 127 | <g:each var="a" in="${taskInstance.associatedAssets}"> |
---|
| 128 | <li><g:link controller="asset" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> |
---|
| 129 | </g:each> |
---|
| 130 | </ul> |
---|
| 131 | </td> |
---|
| 132 | |
---|
| 133 | </tr> |
---|
| 134 | |
---|
| 135 | <tr class="prop"> |
---|
[66] | 136 | <td valign="top" class="name">Entries:</td> |
---|
| 137 | |
---|
| 138 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 139 | <ul> |
---|
| 140 | <g:each var="e" in="${taskInstance.entries}"> |
---|
| 141 | <li><g:link controller="entry" action="show" id="${e.id}">${e?.encodeAsHTML()}</g:link></li> |
---|
| 142 | </g:each> |
---|
| 143 | </ul> |
---|
| 144 | </td> |
---|
| 145 | |
---|
| 146 | </tr> |
---|
| 147 | |
---|
| 148 | <tr class="prop"> |
---|
[122] | 149 | <td valign="top" class="name">Inventory Movements:</td> |
---|
| 150 | |
---|
| 151 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 152 | <ul> |
---|
| 153 | <g:each var="i" in="${taskInstance.inventoryMovements}"> |
---|
| 154 | <li><g:link controller="inventoryMovement" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> |
---|
| 155 | </g:each> |
---|
| 156 | </ul> |
---|
| 157 | </td> |
---|
| 158 | |
---|
| 159 | </tr> |
---|
| 160 | |
---|
| 161 | <tr class="prop"> |
---|
[66] | 162 | <td valign="top" class="name">Is Active:</td> |
---|
| 163 | |
---|
| 164 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isActive')}</td> |
---|
| 165 | |
---|
| 166 | </tr> |
---|
| 167 | |
---|
| 168 | <tr class="prop"> |
---|
| 169 | <td valign="top" class="name">Is Approved:</td> |
---|
| 170 | |
---|
| 171 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isApproved')}</td> |
---|
| 172 | |
---|
| 173 | </tr> |
---|
| 174 | |
---|
| 175 | <tr class="prop"> |
---|
| 176 | <td valign="top" class="name">Is Scheduled:</td> |
---|
| 177 | |
---|
| 178 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isScheduled')}</td> |
---|
| 179 | |
---|
| 180 | </tr> |
---|
| 181 | |
---|
| 182 | <tr class="prop"> |
---|
[69] | 183 | <td valign="top" class="name">Sub Tasks:</td> |
---|
| 184 | |
---|
| 185 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 186 | <ul> |
---|
| 187 | <g:each var="s" in="${taskInstance.subTasks}"> |
---|
| 188 | <li><g:link controller="task" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> |
---|
| 189 | </g:each> |
---|
| 190 | </ul> |
---|
| 191 | </td> |
---|
| 192 | |
---|
| 193 | </tr> |
---|
| 194 | |
---|
| 195 | <tr class="prop"> |
---|
[66] | 196 | <td valign="top" class="name">Task Group:</td> |
---|
| 197 | |
---|
| 198 | <td valign="top" class="value"><g:link controller="taskGroup" action="show" id="${taskInstance?.taskGroup?.id}">${taskInstance?.taskGroup?.encodeAsHTML()}</g:link></td> |
---|
| 199 | |
---|
| 200 | </tr> |
---|
| 201 | |
---|
[70] | 202 | <tr class="prop"> |
---|
[96] | 203 | <td valign="top" class="name">Task Modifications:</td> |
---|
| 204 | |
---|
| 205 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 206 | <ul> |
---|
| 207 | <g:each var="t" in="${taskInstance.taskModifications}"> |
---|
| 208 | <li><g:link controller="taskModification" action="show" id="${t.id}">${t?.encodeAsHTML()}</g:link></li> |
---|
| 209 | </g:each> |
---|
| 210 | </ul> |
---|
| 211 | </td> |
---|
| 212 | |
---|
| 213 | </tr> |
---|
| 214 | |
---|
| 215 | <tr class="prop"> |
---|
[70] | 216 | <td valign="top" class="name">Task Type:</td> |
---|
| 217 | |
---|
| 218 | <td valign="top" class="value"><g:link controller="taskType" action="show" id="${taskInstance?.taskType?.id}">${taskInstance?.taskType?.encodeAsHTML()}</g:link></td> |
---|
| 219 | |
---|
| 220 | </tr> |
---|
| 221 | |
---|
[66] | 222 | </tbody> |
---|
| 223 | </table> |
---|
| 224 | </div> |
---|
| 225 | <div class="buttons"> |
---|
| 226 | <g:form> |
---|
| 227 | <input type="hidden" name="id" value="${taskInstance?.id}" /> |
---|
| 228 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 229 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 230 | </g:form> |
---|
| 231 | </div> |
---|
| 232 | </div> |
---|
| 233 | </body> |
---|
| 234 | </html> |
---|