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