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