[84] | 1 | <html> |
---|
| 2 | <head> |
---|
| 3 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
---|
| 4 | <meta name="layout" content="main" /> |
---|
[196] | 5 | <title>Show Task #${taskInstance.id}</title> |
---|
[139] | 6 | <nav:resources override="true"/> |
---|
[126] | 7 | <resource:tabView skin="tabviewCustom" /> |
---|
[84] | 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
[139] | 11 | <nav:renderSubItems group="nav"/> |
---|
[84] | 12 | </div> |
---|
| 13 | <div class="body"> |
---|
[418] | 14 | <g:render template="/shared/messages" /> |
---|
[181] | 15 | <g:if test="${taskInstance.trash}" > |
---|
| 16 | <div class="errors"> |
---|
[418] | 17 | <ul><li>This task is in the trash bin, but can be restored if required.<li><ul> |
---|
[181] | 18 | </div> |
---|
| 19 | </g:if> |
---|
[180] | 20 | <g:hasErrors bean="${taskInstance}"> |
---|
[133] | 21 | <div class="errors"> |
---|
[180] | 22 | <g:renderErrors bean="${taskInstance}" as="list" /> |
---|
[133] | 23 | </div> |
---|
| 24 | </g:hasErrors> |
---|
[126] | 25 | |
---|
[418] | 26 | <div class="tabHeader"> |
---|
[500] | 27 | <h1> |
---|
[418] | 28 | Task #${taskInstance.id} |
---|
[729] | 29 | |
---|
| 30 | <g:if test="${taskInstance.approved}" > |
---|
| 31 | <img src="${resource(dir:'images/skin',file:'cog.png')}" alt="Approved" title="Approved" /> |
---|
| 32 | </g:if> |
---|
[730] | 33 | <g:if test="${taskRecurringScheduleInstance?.enabled}" > |
---|
| 34 | <img src="${resource(dir:'images/skin',file:'arrow_refresh.png')}" alt="Recurrence Enabled" title="Recurrence Enabled" /> |
---|
| 35 | </g:if> |
---|
[729] | 36 | <g:if test="${taskInstance.taskStatus.id == 2}" > |
---|
[736] | 37 | <img src="${resource(dir:'images/skin',file:'arrow_right.png')}" alt="In Progress" title="In Progress" /> |
---|
[729] | 38 | </g:if> |
---|
[418] | 39 | <g:if test="${taskInstance.attentionFlag}" > |
---|
[728] | 40 | <img src="${resource(dir:'images/skin',file:'flag_red.png')}" alt="Attention Flag" title="Attention Flag" /> |
---|
[418] | 41 | </g:if> |
---|
| 42 | <g:if test="${taskInstance.taskStatus.id == 3}" > |
---|
[728] | 43 | <img src="${resource(dir:'images/skin',file:'tick.png')}" alt="Complete" title="Complete" /> |
---|
[418] | 44 | </g:if> |
---|
| 45 | </h1> |
---|
| 46 | ${fieldValue(bean:taskInstance, field:'description')} |
---|
[729] | 47 | <g:if test="${taskInstance.safetyRequirement}" > |
---|
| 48 | <img src="${resource(dir:'images/skin',file:'lightning.png')}" alt="Safety Requirement" title="Safety Requirement" /> |
---|
| 49 | Safety |
---|
| 50 | </g:if> |
---|
| 51 | <g:if test="${taskInstance.regulatoryRequirement}" > |
---|
| 52 | <img src="${resource(dir:'images/skin',file:'script_lightning.png')}" alt="Regulatory Requirement" title="Regulatory Requirement" /> |
---|
| 53 | Regulatory |
---|
| 54 | </g:if> |
---|
| 55 | <g:if test="${taskInstance.mandatoryRequirement}" > |
---|
| 56 | <img src="${resource(dir:'images/skin',file:'script.png')}" alt="Mandatory Requirement" title="Mandatory Requirement" /> |
---|
| 57 | Mandatory |
---|
| 58 | </g:if> |
---|
[418] | 59 | </div> |
---|
| 60 | |
---|
| 61 | <br/> |
---|
| 62 | |
---|
[131] | 63 | <richui:tabView id="tabView"> |
---|
[126] | 64 | |
---|
| 65 | <richui:tabLabels> |
---|
[418] | 66 | <richui:tabLabel selected="${showTab.task}" title="Details" /> |
---|
[574] | 67 | <g:if test="${taskProcedureExits}"> |
---|
| 68 | <richui:tabLabel selected="${showTab.procedure}" title="Procedure (!)" /> |
---|
| 69 | </g:if> |
---|
| 70 | <g:else> |
---|
| 71 | <richui:tabLabel selected="${showTab.procedure}" title="Procedure" /> |
---|
| 72 | </g:else> |
---|
| 73 | <g:if test="${taskRecurringScheduleExits}"> |
---|
| 74 | <richui:tabLabel selected="${showTab.recurrence}" title="Recurrence (!)" /> |
---|
| 75 | </g:if> |
---|
| 76 | <g:else> |
---|
| 77 | <richui:tabLabel selected="${showTab.recurrence}" title="Recurrence" /> |
---|
| 78 | </g:else> |
---|
| 79 | <g:if test="${!inventoryMovementList.isEmpty()}"> |
---|
| 80 | <richui:tabLabel selected="${showTab.inventory}" title="Inventory (${inventoryMovementList.size()})" /> |
---|
| 81 | </g:if> |
---|
| 82 | <g:else> |
---|
| 83 | <richui:tabLabel selected="${showTab.inventory}" title="Inventory (0)" /> |
---|
| 84 | </g:else> |
---|
| 85 | <g:if test="${subTaskInstanceTotal > 0}"> |
---|
| 86 | <richui:tabLabel selected="${showTab.subTasks}" title="Sub Tasks (${subTaskInstanceTotal})" /> |
---|
| 87 | </g:if> |
---|
| 88 | <g:else> |
---|
| 89 | <richui:tabLabel selected="${showTab.subTasks}" title="Sub Tasks (0)" /> |
---|
| 90 | </g:else> |
---|
[126] | 91 | </richui:tabLabels> |
---|
[131] | 92 | |
---|
[126] | 93 | <richui:tabContents> |
---|
[131] | 94 | |
---|
| 95 | <!-- Start Task tab --> |
---|
[126] | 96 | <richui:tabContent> |
---|
[153] | 97 | |
---|
[131] | 98 | <div class="dialog"> |
---|
| 99 | <table> |
---|
| 100 | <tbody> |
---|
[153] | 101 | |
---|
[244] | 102 | <g:if test="${taskInstance.parentTask}"> |
---|
| 103 | <tr class="prop"> |
---|
| 104 | <td valign="top" class="name">Parent Task:</td> |
---|
| 105 | |
---|
[431] | 106 | <td valign="top" class="value"> |
---|
| 107 | <g:link controller="taskDetailed" action="show" id="${taskInstance.parentTask.id}"> |
---|
| 108 | ${taskInstance.parentTask.encodeAsHTML()} |
---|
| 109 | </g:link> |
---|
| 110 | </td> |
---|
[244] | 111 | |
---|
| 112 | </tr> |
---|
| 113 | </g:if> |
---|
| 114 | |
---|
[131] | 115 | <tr class="prop"> |
---|
| 116 | <td valign="top" class="name">Comment:</td> |
---|
[153] | 117 | |
---|
[131] | 118 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'comment')}</td> |
---|
[153] | 119 | |
---|
[131] | 120 | </tr> |
---|
[153] | 121 | |
---|
[131] | 122 | <tr class="prop"> |
---|
[180] | 123 | <td valign="top" class="name">Target Start:</td> |
---|
[153] | 124 | |
---|
[431] | 125 | <td valign="top" class="value"> |
---|
| 126 | <g:formatDate date="${taskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/> |
---|
| 127 | </td> |
---|
[153] | 128 | |
---|
[131] | 129 | </tr> |
---|
[153] | 130 | |
---|
[131] | 131 | <tr class="prop"> |
---|
[180] | 132 | <td valign="top" class="name">Target Completion:</td> |
---|
[153] | 133 | |
---|
[431] | 134 | <td valign="top" class="value"> |
---|
| 135 | <g:formatDate date="${taskInstance.targetCompletionDate}" format="EEE, dd-MMM-yyyy"/> |
---|
| 136 | </td> |
---|
[153] | 137 | |
---|
[131] | 138 | </tr> |
---|
[153] | 139 | |
---|
[131] | 140 | <tr class="prop"> |
---|
[180] | 141 | <td valign="top" class="name"> |
---|
[323] | 142 | |
---|
| 143 | <jsUtil:toggleControl toggleId="modifications" |
---|
| 144 | imageId="modificationsImg" |
---|
| 145 | closedImgUrl="${resource(dir:'images/skin',file:'bullet_toggle_plus.png')}" |
---|
| 146 | openImgUrl="${resource(dir:'images/skin',file:'bullet_toggle_minus.png')}" |
---|
| 147 | effect="fade" |
---|
| 148 | text="Modifications" |
---|
| 149 | /> |
---|
[180] | 150 | </td> |
---|
| 151 | |
---|
| 152 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 153 | <div id="modifications" style="display:none;"> |
---|
| 154 | <ul> |
---|
| 155 | <g:each var="a" in="${taskModificationList}"> |
---|
| 156 | <li>${a?.encodeAsHTML()}</li> |
---|
| 157 | </g:each> |
---|
| 158 | </ul> |
---|
| 159 | </div> |
---|
| 160 | </td> |
---|
| 161 | </tr> |
---|
| 162 | |
---|
| 163 | <tr class="prop"> |
---|
[168] | 164 | <td valign="top" class="name">Primary Asset:</td> |
---|
| 165 | |
---|
| 166 | <td valign="top" class="value"><g:link controller="assetDetailed" action="show" id="${taskInstance?.primaryAsset?.id}">${taskInstance?.primaryAsset?.encodeAsHTML()}</g:link></td> |
---|
| 167 | |
---|
| 168 | </tr> |
---|
| 169 | |
---|
| 170 | <tr class="prop"> |
---|
| 171 | <td valign="top" class="name">Associated Assets:</td> |
---|
| 172 | |
---|
| 173 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 174 | <ul> |
---|
| 175 | <g:each var="a" in="${taskInstance.associatedAssets}"> |
---|
| 176 | <li>${a?.encodeAsHTML()}</li> |
---|
| 177 | </g:each> |
---|
| 178 | </ul> |
---|
| 179 | </td> |
---|
| 180 | |
---|
| 181 | </tr> |
---|
| 182 | |
---|
| 183 | <tr class="prop"> |
---|
[180] | 184 | <td valign="top" class="name">Priority:</td> |
---|
[153] | 185 | |
---|
[131] | 186 | <td valign="top" class="value">${taskInstance?.taskPriority?.encodeAsHTML()}</td> |
---|
[153] | 187 | |
---|
[131] | 188 | </tr> |
---|
[153] | 189 | |
---|
[131] | 190 | <tr class="prop"> |
---|
[592] | 191 | <td valign="top" class="name">Positive Fault:</td> |
---|
| 192 | |
---|
| 193 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'positiveFault')}</td> |
---|
| 194 | |
---|
| 195 | </tr> |
---|
| 196 | |
---|
| 197 | <tr class="prop"> |
---|
[244] | 198 | <td valign="top" class="name">Group:</td> |
---|
[153] | 199 | |
---|
[244] | 200 | <td valign="top" class="value">${taskInstance?.taskGroup?.encodeAsHTML()}</td> |
---|
[153] | 201 | |
---|
[131] | 202 | </tr> |
---|
[153] | 203 | |
---|
[131] | 204 | <tr class="prop"> |
---|
[244] | 205 | <td valign="top" class="name">Type:</td> |
---|
[153] | 206 | |
---|
[244] | 207 | <td valign="top" class="value">${taskInstance?.taskType?.encodeAsHTML()}</td> |
---|
[153] | 208 | |
---|
[131] | 209 | </tr> |
---|
[153] | 210 | |
---|
[131] | 211 | <tr class="prop"> |
---|
[244] | 212 | <td valign="top" class="name">Lead Person:</td> |
---|
[153] | 213 | |
---|
[244] | 214 | <td valign="top" class="value">${taskInstance?.leadPerson?.encodeAsHTML()}</td> |
---|
[153] | 215 | |
---|
[131] | 216 | </tr> |
---|
[153] | 217 | |
---|
[131] | 218 | <tr class="prop"> |
---|
[242] | 219 | <td valign="top" class="name">Assigned Groups:</td> |
---|
| 220 | |
---|
| 221 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 222 | <ul> |
---|
[253] | 223 | <g:each var="a" in="${assignedGroupList}"> |
---|
[247] | 224 | <li><g:link controller="assignedGroupDetailed" action="edit" id="${a.id}" params="['task.id':taskInstance.id]">${a?.encodeAsHTML()}</g:link></li> |
---|
[242] | 225 | </g:each> |
---|
| 226 | </ul> |
---|
[410] | 227 | <g:link controller="assignedGroupDetailed" action="create" params="['task.id':taskInstance.id]">+Add Group</g:link> |
---|
[242] | 228 | </td> |
---|
| 229 | |
---|
| 230 | </tr> |
---|
| 231 | |
---|
| 232 | |
---|
| 233 | <tr class="prop"> |
---|
[241] | 234 | <td valign="top" class="name">Assigned Persons:</td> |
---|
[153] | 235 | |
---|
[131] | 236 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 237 | <ul> |
---|
[253] | 238 | <g:each var="a" in="${assignedPersonList}"> |
---|
[249] | 239 | <li><g:link controller="assignedPersonDetailed" action="edit" id="${a.id}" params="['task.id':taskInstance.id]">${a?.encodeAsHTML()}</g:link></li> |
---|
[131] | 240 | </g:each> |
---|
| 241 | </ul> |
---|
[410] | 242 | <g:link controller="assignedPersonDetailed" action="create" params="['task.id':taskInstance?.id]">+Add Person</g:link> |
---|
[131] | 243 | </td> |
---|
[153] | 244 | |
---|
[131] | 245 | </tr> |
---|
[153] | 246 | |
---|
[131] | 247 | </tbody> |
---|
| 248 | </table> |
---|
| 249 | </div> |
---|
[153] | 250 | |
---|
[131] | 251 | <div class="buttons"> |
---|
| 252 | <g:form> |
---|
| 253 | <input type="hidden" name="id" value="${taskInstance?.id}" /> |
---|
[181] | 254 | |
---|
| 255 | <g:if test="${taskInstance.trash}" > |
---|
[736] | 256 | <span class="button"><g:actionSubmit class="restore" onclick="return confirm('Are you sure?');" value="Restore"/></span> |
---|
[181] | 257 | </g:if> |
---|
| 258 | <g:else> |
---|
| 259 | |
---|
| 260 | <g:if test="${taskInstance.taskStatus.id != 3}" > |
---|
| 261 | |
---|
[418] | 262 | <g:if test="${taskInstance.attentionFlag}" > |
---|
| 263 | <span class="button"><g:actionSubmit class="flag" value="Clear" action="clearAttentionFlag"/></span> |
---|
| 264 | </g:if> |
---|
| 265 | <g:else> |
---|
| 266 | <span class="button"><g:actionSubmit class="flag" value="Unresolved" action="setAttentionFlag"/></span> |
---|
[431] | 267 | <g:helpBalloon class="helpballoon" code="task.status.unresolved" /> |
---|
[418] | 268 | </g:else> |
---|
| 269 | |
---|
| 270 | <span class="button"><g:actionSubmit class="complete" value="Resolved" action="complete"/></span> |
---|
[431] | 271 | <g:helpBalloon class="helpballoon" code="task.status.resolved" /> |
---|
[418] | 272 | |
---|
[181] | 273 | <g:if test="${taskInstance.approved}" > |
---|
| 274 | <span class="button"><g:actionSubmit class="renegeApproval" value="Renege Approval" action="renegeApproval" /></span> |
---|
| 275 | </g:if> |
---|
| 276 | <g:else> |
---|
| 277 | <span class="button"><g:actionSubmit class="approve" value="Approve" /></span> |
---|
| 278 | </g:else> |
---|
| 279 | |
---|
| 280 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 281 | <span class="button"><g:actionSubmit class="trash" onclick="return confirm('Are you sure?');" value="Trash" /></span> |
---|
| 282 | |
---|
| 283 | </g:if> |
---|
| 284 | <g:else> |
---|
| 285 | <span class="button"><g:actionSubmit class="reopen" value="Reopen" /></span> |
---|
| 286 | </g:else> |
---|
| 287 | |
---|
| 288 | </g:else> |
---|
[131] | 289 | </g:form> |
---|
| 290 | </div> |
---|
[153] | 291 | |
---|
[191] | 292 | <br /> |
---|
[153] | 293 | |
---|
[191] | 294 | <g:if test="${entryFaultList.isEmpty()}"> |
---|
| 295 | <h1>No Faults</h1> |
---|
| 296 | <br /> |
---|
| 297 | </g:if> |
---|
| 298 | <g:else> |
---|
| 299 | <div class="list"> |
---|
| 300 | <h1>Faults</h1> |
---|
| 301 | <table> |
---|
| 302 | <thead> |
---|
| 303 | <tr> |
---|
| 304 | <th>Comment</th> |
---|
[431] | 305 | <th>Date</th> |
---|
| 306 | <th>Production</th> |
---|
[418] | 307 | <th>Down Time</th> |
---|
[191] | 308 | <th>Entered By</th> |
---|
| 309 | <th></th> |
---|
[131] | 310 | </tr> |
---|
[191] | 311 | </thead> |
---|
| 312 | <tbody> |
---|
| 313 | <g:each in="${entryFaultList}" status="i" var="entry"> |
---|
[498] | 314 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/> |
---|
[153] | 315 | |
---|
[498] | 316 | <td style="width:65%" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> |
---|
| 317 | ${entry.comment.encodeAsHTML()} |
---|
| 318 | </td> |
---|
| 319 | |
---|
| 320 | <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> |
---|
| 321 | <g:formatDate date="${entry.dateDone}" format="EEE, dd-MMM-yyyy"/> |
---|
| 322 | </td> |
---|
| 323 | |
---|
| 324 | <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> |
---|
[431] | 325 | <g:if test="${entry.productionReference}"> |
---|
| 326 | ${entry.productionReference.encodeAsHTML()} |
---|
| 327 | </g:if> |
---|
| 328 | <g:else> |
---|
| 329 | <g:message code="default.none.text" /> |
---|
| 330 | </g:else> |
---|
| 331 | </td> |
---|
[153] | 332 | |
---|
[498] | 333 | <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> |
---|
| 334 | ${entry.durationHour}:${entry.durationMinute} |
---|
| 335 | </td> |
---|
| 336 | |
---|
| 337 | <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> |
---|
| 338 | ${entry.enteredBy.encodeAsHTML()} |
---|
| 339 | </td> |
---|
| 340 | |
---|
| 341 | <td class="notClickable"> |
---|
[191] | 342 | <g:link controller="entryDetailed" action="edit" id="${entry.id}"> |
---|
[736] | 343 | <img src="${resource(dir:'images/skin',file:'database_edit.png')}" alt="Edit" title="Edit" /> |
---|
[191] | 344 | </g:link> |
---|
| 345 | </td> |
---|
[153] | 346 | |
---|
[191] | 347 | </tr> |
---|
| 348 | </g:each> |
---|
| 349 | </tbody> |
---|
| 350 | </table> |
---|
| 351 | </div> |
---|
| 352 | </g:else> |
---|
[153] | 353 | |
---|
[191] | 354 | <div class="buttons"> |
---|
| 355 | <g:form controller="entryDetailed"> |
---|
| 356 | <g:hiddenField name="taskInstance.id" value="${taskInstance?.id}" /> |
---|
| 357 | <g:hiddenField name="entryType.id" value="1" /> |
---|
| 358 | <span class="button"> |
---|
| 359 | <g:actionSubmit value="Add Fault" action="create" class="add"/> |
---|
| 360 | </span> |
---|
| 361 | </g:form> |
---|
[131] | 362 | </div> |
---|
[153] | 363 | |
---|
[131] | 364 | <br /> |
---|
[153] | 365 | |
---|
[418] | 366 | <g:if test="${entryCauseList.isEmpty()}"> |
---|
| 367 | <h1>No Causes</h1> |
---|
| 368 | <br /> |
---|
| 369 | </g:if> |
---|
| 370 | <g:else> |
---|
| 371 | <div class="list"> |
---|
| 372 | <h1>Causes</h1> |
---|
| 373 | <table> |
---|
| 374 | <thead> |
---|
| 375 | <tr> |
---|
| 376 | <th>Comment</th> |
---|
| 377 | <th>Date Done</th> |
---|
| 378 | <th>Entered By</th> |
---|
| 379 | <th></th> |
---|
| 380 | </tr> |
---|
| 381 | </thead> |
---|
| 382 | <tbody> |
---|
| 383 | <g:each in="${entryCauseList}" status="i" var="entry"> |
---|
[498] | 384 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/> |
---|
[418] | 385 | |
---|
[498] | 386 | <td style="width:65%" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> |
---|
| 387 | ${entry.comment.encodeAsHTML()} |
---|
| 388 | </td> |
---|
[418] | 389 | |
---|
[498] | 390 | <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> |
---|
| 391 | <g:formatDate date="${entry.dateDone}" format="EEE, dd-MMM-yyyy"/> |
---|
| 392 | </td> |
---|
| 393 | |
---|
| 394 | <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> |
---|
| 395 | ${entry.enteredBy.encodeAsHTML()} |
---|
| 396 | </td> |
---|
| 397 | |
---|
| 398 | <td class="notClickable"> |
---|
[418] | 399 | <g:link controller="entryDetailed" action="edit" id="${entry.id}"> |
---|
[736] | 400 | <img src="${resource(dir:'images/skin',file:'database_edit.png')}" alt="Edit" title="Edit" /> |
---|
[418] | 401 | </g:link> |
---|
| 402 | </td> |
---|
| 403 | |
---|
| 404 | </tr> |
---|
| 405 | </g:each> |
---|
| 406 | </tbody> |
---|
| 407 | </table> |
---|
| 408 | </div> |
---|
| 409 | </g:else> |
---|
| 410 | |
---|
| 411 | <div class="buttons"> |
---|
| 412 | <g:form controller="entryDetailed"> |
---|
| 413 | <g:hiddenField name="taskInstance.id" value="${taskInstance?.id}" /> |
---|
| 414 | <g:hiddenField name="entryType.id" value="2" /> |
---|
| 415 | <span class="button"> |
---|
| 416 | <g:actionSubmit value="Add Cause" action="create" class="add"/> |
---|
| 417 | </span> |
---|
| 418 | </g:form> |
---|
| 419 | </div> |
---|
| 420 | |
---|
| 421 | <br /> |
---|
| 422 | |
---|
[191] | 423 | <g:if test="${entryWorkDoneList.isEmpty()}"> |
---|
| 424 | <h1>No Work Done</h1> |
---|
| 425 | <br /> |
---|
| 426 | </g:if> |
---|
| 427 | <g:else> |
---|
| 428 | <div class="list"> |
---|
| 429 | <h1>Work Done</h1> |
---|
| 430 | <table> |
---|
| 431 | <thead> |
---|
| 432 | <tr> |
---|
| 433 | <th>Comment</th> |
---|
| 434 | <th>Date Done</th> |
---|
| 435 | <th>Duration</th> |
---|
| 436 | <th>Entered By</th> |
---|
| 437 | <th></th> |
---|
| 438 | </tr> |
---|
| 439 | </thead> |
---|
| 440 | <tbody> |
---|
| 441 | <g:each in="${entryWorkDoneList}" status="i" var="entry"> |
---|
[498] | 442 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/> |
---|
[191] | 443 | |
---|
[498] | 444 | <td width="65%" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> |
---|
| 445 | ${entry.comment.encodeAsHTML()} |
---|
| 446 | </td> |
---|
| 447 | |
---|
| 448 | <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> |
---|
| 449 | <g:formatDate date="${entry.dateDone}" format="EEE, dd-MMM-yyyy"/> |
---|
| 450 | </td> |
---|
| 451 | |
---|
| 452 | <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> |
---|
| 453 | ${entry.durationHour}:${entry.durationMinute} |
---|
| 454 | </td> |
---|
| 455 | |
---|
| 456 | <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> |
---|
| 457 | ${entry.enteredBy.encodeAsHTML()} |
---|
| 458 | </td> |
---|
[191] | 459 | |
---|
[498] | 460 | <td class="notClickable"> |
---|
[191] | 461 | <g:link controller="entryDetailed" action="edit" id="${entry.id}"> |
---|
[736] | 462 | <img src="${resource(dir:'images/skin',file:'database_edit.png')}" alt="Edit" title="Edit" /> |
---|
[191] | 463 | </g:link> |
---|
| 464 | </td> |
---|
| 465 | |
---|
| 466 | </tr> |
---|
| 467 | </g:each> |
---|
| 468 | </tbody> |
---|
| 469 | </table> |
---|
| 470 | </div> |
---|
| 471 | </g:else> |
---|
| 472 | |
---|
[131] | 473 | <div class="buttons"> |
---|
| 474 | <g:form controller="entryDetailed"> |
---|
[191] | 475 | <g:hiddenField name="taskInstance.id" value="${taskInstance?.id}" /> |
---|
[418] | 476 | <g:hiddenField name="entryType.id" value="3" /> |
---|
[131] | 477 | <span class="button"> |
---|
[191] | 478 | <g:actionSubmit value="Add Work Done" action="create" class="add"/> |
---|
[131] | 479 | </span> |
---|
| 480 | </g:form> |
---|
| 481 | </div> |
---|
| 482 | </richui:tabContent> |
---|
| 483 | <!-- End Task tab --> |
---|
[126] | 484 | |
---|
[137] | 485 | |
---|
[131] | 486 | <!-- Start Task Procedure tab--> |
---|
| 487 | <richui:tabContent> |
---|
[133] | 488 | <g:if test="${!taskProcedureExits}"> |
---|
[153] | 489 | <br /> |
---|
| 490 | No Procedure linked. |
---|
| 491 | <br /> |
---|
| 492 | <br /> |
---|
[134] | 493 | <g:form controller="taskProcedureDetailed" > |
---|
[203] | 494 | <g:hiddenField name="taskInstance.id" value="${taskInstance?.id}" /> |
---|
[133] | 495 | |
---|
| 496 | <div class="buttons"> |
---|
| 497 | <span class="button"> |
---|
[175] | 498 | <g:actionSubmit value="New" action="create" class="add"/> |
---|
[133] | 499 | </span> |
---|
| 500 | <span class="button"> |
---|
[175] | 501 | <g:actionSubmit value="Search" action="search" class="search"/> |
---|
[133] | 502 | </span> |
---|
| 503 | </div> |
---|
[134] | 504 | |
---|
[133] | 505 | </g:form> |
---|
[126] | 506 | |
---|
[133] | 507 | </g:if> |
---|
| 508 | <g:else> |
---|
[153] | 509 | <div class="dialog"> |
---|
[133] | 510 | <table> |
---|
| 511 | <tbody> |
---|
[153] | 512 | |
---|
[133] | 513 | <tr class="prop"> |
---|
| 514 | <td valign="top" class="name">Procedure Id:</td> |
---|
[770] | 515 | <td valign="top" class="value"> |
---|
| 516 | ${fieldValue(bean:taskProcedureInstance, field:'id')} |
---|
| 517 | </td> |
---|
| 518 | </tr> |
---|
[153] | 519 | |
---|
[770] | 520 | <tr class="prop"> |
---|
| 521 | <td valign="top" class="name">Linked Task:</td> |
---|
| 522 | <td valign="top" class="value"> |
---|
| 523 | <g:link controller="taskDetailed" |
---|
| 524 | action="show" |
---|
| 525 | id="${taskProcedureInstance.linkedTask.id}"> |
---|
| 526 | ${taskProcedureInstance.linkedTask.encodeAsHTML()} |
---|
| 527 | </g:link> |
---|
| 528 | </td> |
---|
| 529 | </tr> |
---|
[153] | 530 | |
---|
[770] | 531 | <tr class="prop"> |
---|
| 532 | <td valign="top" class="name">Linked Asset:</td> |
---|
| 533 | <td valign="top" class="value"> |
---|
[780] | 534 | <g:render template="/shared/assetTreeCompact" model="['assetInstance': taskProcedureInstance.linkedTask.primaryAsset]" /> |
---|
[770] | 535 | </td> |
---|
[133] | 536 | </tr> |
---|
[153] | 537 | |
---|
[770] | 538 | <tr class="prop"> |
---|
| 539 | <td valign="top" class="name">Version:</td> |
---|
| 540 | <td valign="top" class="value"> |
---|
| 541 | ${fieldValue(bean:taskProcedureInstance, field:'version')} |
---|
| 542 | </td> |
---|
| 543 | </tr> |
---|
[760] | 544 | |
---|
[772] | 545 | <tr class="prop"> |
---|
| 546 | <td valign="top" class="name">Last Updated:</td> |
---|
| 547 | <td valign="top" class="value"> |
---|
| 548 | <g:formatDate date="${taskProcedureInstance.lastUpdated}" |
---|
| 549 | format="EEE, dd-MMM-yyyy"/> |
---|
| 550 | </td> |
---|
| 551 | </tr> |
---|
| 552 | |
---|
[133] | 553 | </tbody> |
---|
| 554 | </table> |
---|
| 555 | </div> |
---|
| 556 | <div class="buttons"> |
---|
| 557 | <g:form controller="taskProcedureDetailed"> |
---|
| 558 | <input type="hidden" name="id" value="${taskProcedureInstance?.id}" /> |
---|
| 559 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
[153] | 560 | </g:form> |
---|
[133] | 561 | </div> |
---|
[126] | 562 | |
---|
[793] | 563 | <br /> |
---|
| 564 | |
---|
| 565 | <g:if test="${taskProcedureInstance.documentReferences}"> |
---|
| 566 | <div class="list"> |
---|
| 567 | <table> |
---|
| 568 | <thead> |
---|
| 569 | <tr> |
---|
| 570 | <th>Document Reference</th> |
---|
| 571 | <th>Location</th> |
---|
| 572 | </tr> |
---|
| 573 | </thead> |
---|
| 574 | <tbody> |
---|
| 575 | <g:each in="${taskProcedureInstance.documentReferences}" status="i" var="docRef"> |
---|
| 576 | <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
| 577 | |
---|
| 578 | <td valign="top" class="name"> |
---|
| 579 | ${fieldValue(bean:docRef, field:'name')} |
---|
| 580 | </td> |
---|
| 581 | |
---|
| 582 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 583 | ${fieldValue(bean:docRef, field:'location')} |
---|
| 584 | </td> |
---|
| 585 | |
---|
| 586 | </tr> |
---|
| 587 | </g:each> |
---|
| 588 | |
---|
| 589 | </tbody> |
---|
| 590 | </table> |
---|
| 591 | </div> |
---|
| 592 | </g:if> |
---|
| 593 | |
---|
| 594 | <br /> |
---|
| 595 | |
---|
[153] | 596 | <div class="list"> |
---|
| 597 | <table> |
---|
| 598 | <thead> |
---|
| 599 | <tr> |
---|
| 600 | <th>Step</th> |
---|
[776] | 601 | <th>Assembly</th> |
---|
[153] | 602 | <th>Description</th> |
---|
[788] | 603 | <th>Page Ref</th> |
---|
[794] | 604 | <th>Condition</th> |
---|
[153] | 605 | </tr> |
---|
| 606 | </thead> |
---|
| 607 | <tbody> |
---|
| 608 | <g:each in="${maintenanceActionList}" status="i" var="maintenanceAction"> |
---|
| 609 | <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
| 610 | |
---|
| 611 | <td valign="top" class="name"> |
---|
[498] | 612 | ${fieldValue(bean:maintenanceAction, field:'procedureStepNumber')} |
---|
[153] | 613 | </td> |
---|
| 614 | |
---|
| 615 | <td valign="top" style="text-align:left;" class="value"> |
---|
[785] | 616 | <g:if test="${maintenanceAction.assetSubItem}"> |
---|
| 617 | ${maintenanceAction.assetSubItem.parentItem?.encodeAsHTML()} |
---|
| 618 | -- |
---|
| 619 | ${maintenanceAction.assetSubItem.encodeAsHTML()} |
---|
| 620 | </g:if> |
---|
[153] | 621 | </td> |
---|
| 622 | |
---|
[474] | 623 | <td valign="top" style="text-align:left;" class="value"> |
---|
[770] | 624 | ${fieldValue(bean:maintenanceAction, field:'description')} |
---|
[474] | 625 | </td> |
---|
| 626 | |
---|
| 627 | <td valign="top" style="text-align:left;" class="value"> |
---|
[788] | 628 | ${fieldValue(bean:maintenanceAction, field:'pageRef')} |
---|
[474] | 629 | </td> |
---|
| 630 | |
---|
[794] | 631 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 632 | </td> |
---|
| 633 | |
---|
[153] | 634 | </tr> |
---|
| 635 | </g:each> |
---|
| 636 | |
---|
| 637 | </tbody> |
---|
| 638 | </table> |
---|
| 639 | </div> |
---|
| 640 | |
---|
[133] | 641 | </g:else> |
---|
| 642 | |
---|
[131] | 643 | </richui:tabContent> |
---|
| 644 | <!-- End Task Procedure tab--> |
---|
[126] | 645 | |
---|
[131] | 646 | <!-- Start Task Recurrence tab --> |
---|
| 647 | <richui:tabContent> |
---|
[134] | 648 | |
---|
| 649 | <g:if test="${!taskRecurringScheduleExits}"> |
---|
[153] | 650 | <br /> |
---|
| 651 | No Recurring Schedule. |
---|
| 652 | <br /> |
---|
| 653 | <br /> |
---|
[134] | 654 | <g:form controller="taskRecurringScheduleDetailed" > |
---|
[203] | 655 | <g:hiddenField name="task.id" value="${taskInstance.id}" /> |
---|
[134] | 656 | |
---|
| 657 | <div class="buttons"> |
---|
| 658 | <span class="button"> |
---|
[736] | 659 | <g:actionSubmit value="Add" action="create" class="add" /> |
---|
[134] | 660 | </span> |
---|
| 661 | </div> |
---|
| 662 | |
---|
| 663 | </g:form> |
---|
| 664 | |
---|
| 665 | </g:if> |
---|
| 666 | <g:else> |
---|
[153] | 667 | |
---|
| 668 | <div class="dialog"> |
---|
| 669 | <table> |
---|
| 670 | <tbody> |
---|
| 671 | <tr class="prop"> |
---|
| 672 | <td valign="top" class="name">Recurring Schedule:</td> |
---|
| 673 | |
---|
| 674 | <td valign="top" class="value">${taskRecurringScheduleInstance.encodeAsHTML()}</td> |
---|
[137] | 675 | </tr> |
---|
[153] | 676 | |
---|
[137] | 677 | <tr class="prop"> |
---|
[445] | 678 | <td valign="top" class="name">Enabled:</td> |
---|
| 679 | |
---|
| 680 | <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'enabled')}</td> |
---|
| 681 | </tr> |
---|
| 682 | |
---|
| 683 | <tr class="prop"> |
---|
[199] | 684 | <td valign="top" class="name">Next Generation Date:</td> |
---|
[153] | 685 | |
---|
| 686 | <td valign="top" class="value"> |
---|
[199] | 687 | <g:formatDate date="${taskRecurringScheduleInstance.nextGenerationDate}" format="EEE, dd-MMM-yyyy"/> |
---|
[153] | 688 | </td> |
---|
| 689 | </tr> |
---|
| 690 | |
---|
| 691 | <tr class="prop"> |
---|
[137] | 692 | <td valign="top" class="name">Generate Ahead:</td> |
---|
[153] | 693 | |
---|
[137] | 694 | <td valign="top" class="value"> |
---|
[199] | 695 | ${taskRecurringScheduleInstance?.generateAhead} ${Period.get(1).encodeAsHTML()} |
---|
[137] | 696 | </td> |
---|
| 697 | </tr> |
---|
[153] | 698 | |
---|
| 699 | <tr class="prop"> |
---|
[199] | 700 | <td valign="top" class="name">Next Target Start Date:</td> |
---|
[153] | 701 | |
---|
| 702 | <td valign="top" class="value"> |
---|
| 703 | <g:formatDate date="${taskRecurringScheduleInstance.nextTargetStartDate}" format="EEE, dd-MMM-yyyy"/> |
---|
| 704 | </td> |
---|
| 705 | </tr> |
---|
| 706 | |
---|
| 707 | <tr class="prop"> |
---|
[199] | 708 | <td valign="top" class="name">Task Duration:</td> |
---|
[153] | 709 | |
---|
[137] | 710 | <td valign="top" class="value"> |
---|
[199] | 711 | ${taskRecurringScheduleInstance?.taskDuration} ${taskRecurringScheduleInstance?.taskDurationPeriod} |
---|
[137] | 712 | </td> |
---|
| 713 | </tr> |
---|
[153] | 714 | |
---|
[137] | 715 | <tr class="prop"> |
---|
[199] | 716 | <td valign="top" class="name">Next Target Completion Date:</td> |
---|
[153] | 717 | |
---|
[137] | 718 | <td valign="top" class="value"> |
---|
[199] | 719 | <g:formatDate date="${taskRecurringScheduleInstance.nextTargetCompletionDate}" format="EEE, dd-MMM-yyyy"/> |
---|
[137] | 720 | </td> |
---|
| 721 | </tr> |
---|
[153] | 722 | |
---|
| 723 | </tbody> |
---|
| 724 | </table> |
---|
| 725 | </div> |
---|
[134] | 726 | <div class="buttons"> |
---|
| 727 | <g:form controller="taskRecurringScheduleDetailed"> |
---|
[135] | 728 | <input type="hidden" name="id" value="${taskRecurringScheduleInstance?.id}" /> |
---|
[134] | 729 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
[199] | 730 | <span class="button"><g:actionSubmit class="go" value="Show" /></span> |
---|
[153] | 731 | </g:form> |
---|
[134] | 732 | </div> |
---|
[153] | 733 | |
---|
| 734 | </g:else> |
---|
[131] | 735 | </richui:tabContent> |
---|
| 736 | <!-- End Task Recurrence tab --> |
---|
[126] | 737 | |
---|
[131] | 738 | <!-- Start Inventory tab --> |
---|
| 739 | <richui:tabContent> |
---|
[175] | 740 | |
---|
| 741 | <g:if test="${inventoryMovementList.isEmpty()}"> |
---|
| 742 | <br /> |
---|
[225] | 743 | No Inventory Movements. |
---|
[175] | 744 | <br /> |
---|
| 745 | <br /> |
---|
| 746 | </g:if> |
---|
| 747 | <g:else> |
---|
| 748 | <div class="list"> |
---|
| 749 | <table> |
---|
| 750 | <thead> |
---|
| 751 | <tr> |
---|
| 752 | <th>Inventory Item</th> |
---|
| 753 | <th>Quantity</th> |
---|
| 754 | <th>Movement Type</th> |
---|
| 755 | <th>Date</th> |
---|
| 756 | <th></th> |
---|
| 757 | </tr> |
---|
| 758 | </thead> |
---|
| 759 | <tbody> |
---|
| 760 | <g:each in="${inventoryMovementList}" status="i" var="inventoryMovementInstance"> |
---|
[498] | 761 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/> |
---|
[175] | 762 | |
---|
[498] | 763 | <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'> |
---|
| 764 | ${fieldValue(bean:inventoryMovementInstance, field:'inventoryItem')} |
---|
| 765 | </td> |
---|
| 766 | |
---|
| 767 | <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'> |
---|
| 768 | ${fieldValue(bean:inventoryMovementInstance, field:'quantity')} |
---|
| 769 | </td> |
---|
| 770 | |
---|
| 771 | <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'> |
---|
| 772 | ${fieldValue(bean:inventoryMovementInstance, field:'inventoryMovementType')} |
---|
| 773 | </td> |
---|
| 774 | |
---|
| 775 | <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'> |
---|
| 776 | <g:formatDate date="${inventoryMovementInstance.date}" format="EEE, dd-MMM-yyyy"/> |
---|
| 777 | </td> |
---|
| 778 | |
---|
| 779 | <td class="notClickable"> |
---|
[175] | 780 | <g:link controller="inventoryMovementDetailed" action="show" id="${inventoryMovementInstance.id}"> |
---|
[736] | 781 | <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" title="Show" /> |
---|
[175] | 782 | </g:link> |
---|
| 783 | </td> |
---|
| 784 | |
---|
| 785 | </tr> |
---|
| 786 | </g:each> |
---|
| 787 | </tbody> |
---|
| 788 | </table> |
---|
| 789 | </div> |
---|
| 790 | </g:else> |
---|
| 791 | |
---|
[225] | 792 | <g:form controller="inventoryItemDetailed" > |
---|
| 793 | <g:hiddenField name="task.id" value="${taskInstance?.id}" /> |
---|
[175] | 794 | <div class="buttons"> |
---|
| 795 | <g:if test="${!inventoryMovementList.isEmpty()}"> |
---|
| 796 | Results: ${inventoryMovementList.size()} |
---|
| 797 | <br /> |
---|
| 798 | </g:if> |
---|
| 799 | <span class="button"> |
---|
[736] | 800 | <g:actionSubmit action="findInventoryItemForMovement" class="add" value="Add" /> |
---|
[175] | 801 | </span> |
---|
| 802 | </div> |
---|
| 803 | </g:form> |
---|
| 804 | |
---|
[131] | 805 | </richui:tabContent> |
---|
| 806 | <!-- End Inventory tab --> |
---|
[126] | 807 | |
---|
[153] | 808 | <!-- Start Sub Task tab --> |
---|
[131] | 809 | <richui:tabContent> |
---|
[574] | 810 | <g:if test="${subTaskInstanceTotal > 0}"> |
---|
[153] | 811 | <div class="list"> |
---|
| 812 | <table> |
---|
| 813 | <thead> |
---|
| 814 | <tr> |
---|
[134] | 815 | |
---|
[153] | 816 | <th>Id</th> |
---|
| 817 | |
---|
| 818 | <th>Target Start Date</th> |
---|
| 819 | |
---|
| 820 | <th>Description</th> |
---|
| 821 | |
---|
| 822 | <th>Lead Person</th> |
---|
| 823 | |
---|
| 824 | <th>Task Priority</th> |
---|
| 825 | |
---|
| 826 | <th>Task Status</th> |
---|
| 827 | |
---|
| 828 | <th></th> |
---|
| 829 | |
---|
| 830 | </tr> |
---|
| 831 | </thead> |
---|
| 832 | <tbody> |
---|
| 833 | <g:each in="${subTaskInstanceList}" status="i" var="subTaskInstance"> |
---|
[498] | 834 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/> |
---|
[153] | 835 | |
---|
[498] | 836 | <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'> |
---|
| 837 | ${fieldValue(bean:subTaskInstance, field:'id')} |
---|
| 838 | </td> |
---|
[153] | 839 | |
---|
[498] | 840 | <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'> |
---|
| 841 | <g:formatDate date="${subTaskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/> |
---|
| 842 | </td> |
---|
[153] | 843 | |
---|
[498] | 844 | <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'> |
---|
| 845 | ${fieldValue(bean:subTaskInstance, field:'description')} |
---|
| 846 | </td> |
---|
[153] | 847 | |
---|
| 848 | |
---|
[498] | 849 | <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'> |
---|
| 850 | ${fieldValue(bean:subTaskInstance, field:'leadPerson')} |
---|
| 851 | </td> |
---|
[153] | 852 | |
---|
[498] | 853 | <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'> |
---|
| 854 | ${fieldValue(bean:subTaskInstance, field:'taskPriority')} |
---|
| 855 | </td> |
---|
[153] | 856 | |
---|
[498] | 857 | <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'> |
---|
| 858 | ${fieldValue(bean:subTaskInstance, field:'taskStatus')} |
---|
| 859 | </td> |
---|
[153] | 860 | |
---|
[498] | 861 | <td class="notClickable"> |
---|
[153] | 862 | <g:link action="show" id="${subTaskInstance.id}"> |
---|
[736] | 863 | <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" title="Show" /> |
---|
[153] | 864 | </g:link> |
---|
| 865 | </td> |
---|
| 866 | |
---|
| 867 | </tr> |
---|
| 868 | </g:each> |
---|
| 869 | </tbody> |
---|
| 870 | </table> |
---|
| 871 | </div> |
---|
| 872 | |
---|
| 873 | <div class="buttons"> |
---|
| 874 | <g:form> |
---|
[196] | 875 | <g:hiddenField name="id" value="${taskInstance?.id}" /> |
---|
[153] | 876 | <g:if test="${subTaskInstanceTotal > subTaskInstanceMax}"> |
---|
| 877 | Showing ${subTaskInstanceMax} of ${subTaskInstanceTotal} |
---|
| 878 | <br /> |
---|
| 879 | </g:if> |
---|
| 880 | <g:else> |
---|
| 881 | Total ${subTaskInstanceTotal} |
---|
| 882 | <br /> |
---|
| 883 | </g:else> |
---|
[196] | 884 | <span class="button"><g:actionSubmit action="listSubTasks" class="table" value="List" /></span> |
---|
[257] | 885 | <span class="button"><g:actionSubmit action="createSubTask" class="save" value="Create" onclick="return confirm('${g.message(code: 'sub.task.create.confirm')}');" /></span> |
---|
[153] | 886 | </g:form> |
---|
| 887 | </div> |
---|
| 888 | |
---|
| 889 | </g:if> |
---|
| 890 | <g:else> |
---|
| 891 | <br /> |
---|
| 892 | No Sub Tasks. |
---|
[196] | 893 | <br /> |
---|
| 894 | <br /> |
---|
| 895 | |
---|
| 896 | <div class="buttons"> |
---|
| 897 | <g:form> |
---|
| 898 | <g:hiddenField name="id" value="${taskInstance?.id}" /> |
---|
[257] | 899 | <span class="button"><g:actionSubmit action="createSubTask" class="save" value="Create" onclick="return confirm('${g.message(code: 'sub.task.create.confirm')}');" /></span> |
---|
[196] | 900 | </g:form> |
---|
| 901 | </div> |
---|
[153] | 902 | </g:else> |
---|
| 903 | |
---|
[131] | 904 | </richui:tabContent> |
---|
| 905 | <!-- End Sub Task tab --> |
---|
[126] | 906 | |
---|
[131] | 907 | </richui:tabContents> |
---|
| 908 | </richui:tabView> |
---|
[153] | 909 | |
---|
[418] | 910 | </div> <!--body--> |
---|
[84] | 911 | </body> |
---|
| 912 | </html> |
---|