| [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" /> | 
|---|
| [826] | 8 |         <resource:dateChooser /> | 
|---|
 | 9 |         <g:javascript src="taskShow.js" /> | 
|---|
| [84] | 10 |     </head> | 
|---|
 | 11 |     <body> | 
|---|
 | 12 |         <div class="nav"> | 
|---|
| [139] | 13 |             <nav:renderSubItems group="nav"/> | 
|---|
| [84] | 14 |         </div> | 
|---|
 | 15 |         <div class="body"> | 
|---|
| [418] | 16 |             <g:render template="/shared/messages" /> | 
|---|
| [181] | 17 |             <g:if test="${taskInstance.trash}" > | 
|---|
 | 18 |                 <div class="errors"> | 
|---|
| [418] | 19 |                         <ul><li>This task is in the trash bin, but can be restored if required.<li><ul> | 
|---|
| [181] | 20 |                 </div> | 
|---|
 | 21 |             </g:if> | 
|---|
| [180] | 22 |             <g:hasErrors bean="${taskInstance}"> | 
|---|
| [133] | 23 |             <div class="errors"> | 
|---|
| [180] | 24 |                 <g:renderErrors bean="${taskInstance}" as="list" /> | 
|---|
| [133] | 25 |             </div> | 
|---|
 | 26 |             </g:hasErrors> | 
|---|
| [126] | 27 |  | 
|---|
| [418] | 28 |             <div class="tabHeader"> | 
|---|
| [852] | 29 |                 <g:render template="showTabHeader" /> | 
|---|
| [418] | 30 |             </div> | 
|---|
 | 31 |  | 
|---|
 | 32 |             <br/> | 
|---|
 | 33 |  | 
|---|
| [131] | 34 |             <richui:tabView id="tabView"> | 
|---|
| [126] | 35 |  | 
|---|
 | 36 |                 <richui:tabLabels> | 
|---|
| [418] | 37 |                     <richui:tabLabel selected="${showTab.task}" title="Details" /> | 
|---|
| [574] | 38 |                     <g:if test="${taskProcedureExits}"> | 
|---|
 | 39 |                         <richui:tabLabel selected="${showTab.procedure}" title="Procedure (!)" /> | 
|---|
 | 40 |                     </g:if> | 
|---|
 | 41 |                     <g:else> | 
|---|
 | 42 |                         <richui:tabLabel selected="${showTab.procedure}" title="Procedure" /> | 
|---|
 | 43 |                     </g:else> | 
|---|
 | 44 |                     <g:if test="${taskRecurringScheduleExits}"> | 
|---|
 | 45 |                         <richui:tabLabel selected="${showTab.recurrence}" title="Recurrence (!)" /> | 
|---|
 | 46 |                     </g:if> | 
|---|
 | 47 |                     <g:else> | 
|---|
 | 48 |                         <richui:tabLabel selected="${showTab.recurrence}" title="Recurrence" /> | 
|---|
 | 49 |                     </g:else> | 
|---|
 | 50 |                     <g:if test="${!inventoryMovementList.isEmpty()}"> | 
|---|
 | 51 |                         <richui:tabLabel selected="${showTab.inventory}" title="Inventory (${inventoryMovementList.size()})" /> | 
|---|
 | 52 |                     </g:if> | 
|---|
 | 53 |                     <g:else> | 
|---|
 | 54 |                         <richui:tabLabel selected="${showTab.inventory}" title="Inventory (0)" /> | 
|---|
 | 55 |                     </g:else> | 
|---|
 | 56 |                     <g:if test="${subTaskInstanceTotal > 0}"> | 
|---|
 | 57 |                         <richui:tabLabel selected="${showTab.subTasks}" title="Sub Tasks (${subTaskInstanceTotal})" /> | 
|---|
 | 58 |                     </g:if> | 
|---|
 | 59 |                     <g:else> | 
|---|
 | 60 |                         <richui:tabLabel selected="${showTab.subTasks}" title="Sub Tasks (0)" /> | 
|---|
 | 61 |                     </g:else> | 
|---|
| [126] | 62 |                 </richui:tabLabels> | 
|---|
| [131] | 63 |  | 
|---|
| [126] | 64 |                 <richui:tabContents> | 
|---|
| [131] | 65 |  | 
|---|
| [126] | 66 |                     <richui:tabContent> | 
|---|
| [822] | 67 |                         <g:render template="showTaskTab" /> | 
|---|
| [131] | 68 |                     </richui:tabContent> | 
|---|
| [126] | 69 |  | 
|---|
| [131] | 70 |                     <richui:tabContent> | 
|---|
| [822] | 71 |                         <g:render template="showProcedureTab" /> | 
|---|
| [131] | 72 |                     </richui:tabContent> | 
|---|
| [126] | 73 |  | 
|---|
| [131] | 74 |                     <richui:tabContent> | 
|---|
| [822] | 75 |                         <g:render template="showRecurrenceTab" /> | 
|---|
| [131] | 76 |                     </richui:tabContent> | 
|---|
| [126] | 77 |  | 
|---|
| [131] | 78 |                     <richui:tabContent> | 
|---|
| [822] | 79 |                         <g:render template="showInventoryTab" /> | 
|---|
| [131] | 80 |                     </richui:tabContent> | 
|---|
| [126] | 81 |  | 
|---|
| [131] | 82 |                     <richui:tabContent> | 
|---|
| [822] | 83 |                         <g:render template="showSubTaskTab" /> | 
|---|
| [131] | 84 |                     </richui:tabContent> | 
|---|
| [126] | 85 |  | 
|---|
| [131] | 86 |                 </richui:tabContents> | 
|---|
 | 87 |             </richui:tabView> | 
|---|
| [153] | 88 |  | 
|---|
| [418] | 89 |         </div> <!--body--> | 
|---|
| [84] | 90 |     </body> | 
|---|
 | 91 | </html> | 
|---|