Index: trunk/grails-app/views/taskDetailed/show.gsp
===================================================================
--- trunk/grails-app/views/taskDetailed/show.gsp	(revision 168)
+++ trunk/grails-app/views/taskDetailed/show.gsp	(revision 175)
@@ -194,10 +194,4 @@
                                         <th>Entered By</th>
                                         <th></th>
-
-            <!--                            <g:sortableColumn property="comment" title="Comment" />
-
-                                        <g:sortableColumn property="dateDone" title="Date Done" />
-
-                                        <g:sortableColumn property="enteredBy" title="Entered By" />-->
                                     </tr>
                                 </thead>
@@ -288,8 +282,8 @@
                                 <div class="buttons">
                                     <span class="button">
-                                        <g:actionSubmit value="New" action="create"  class="add"/>
+                                        <g:actionSubmit value="New" action="create" class="add"/>
                                     </span>
                                     <span class="button">
-                                        <g:actionSubmit value="Search" action="search"  class="search"/>
+                                        <g:actionSubmit value="Search" action="search" class="search"/>
                                     </span>
                                 </div>
@@ -506,5 +500,57 @@
 <!-- Start Inventory tab -->
                     <richui:tabContent>
-                        Used Inventory
+
+                        <g:if test="${inventoryMovementList.isEmpty()}">
+                            <br />
+                            No Inventory Used.
+                            <br />
+                            <br />
+                        </g:if>
+                        <g:else>
+                            <div class="list">
+                                <table>
+                                    <thead>
+                                        <tr>
+                                            <th>Inventory Item</th>
+                                            <th>Quantity</th>
+                                            <th>Movement Type</th>
+                                            <th>Date</th>
+                                            <th></th>
+                                        </tr>
+                                    </thead>
+                                    <tbody>
+                                        <g:each in="${inventoryMovementList}" status="i" var="inventoryMovementInstance">
+                                            <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'/>
+
+                                                <td>${fieldValue(bean:inventoryMovementInstance, field:'inventoryItem')}</td>
+                                                <td>${fieldValue(bean:inventoryMovementInstance, field:'quantity')}</td>
+                                                <td>${fieldValue(bean:inventoryMovementInstance, field:'inventoryMovementType')}</td>
+                                                <td><g:formatDate date="${inventoryMovementInstance.date}" format="EEE, dd-MMM-yyyy"/></td>
+                                                <td>
+                                                    <g:link controller="inventoryMovementDetailed" action="show" id="${inventoryMovementInstance.id}">
+                                                        <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
+                                                    </g:link>
+                                                </td>
+
+                                            </tr>
+                                        </g:each>
+                                    </tbody>
+                                </table>
+                            </div>
+                        </g:else>
+
+                        <g:form controller="inventoryMovementDetailed" >
+                            <input type="hidden" name="task.id" value="${taskInstance?.id}" />
+                            <div class="buttons">
+                                <g:if test="${!inventoryMovementList.isEmpty()}">
+                                    Results: ${inventoryMovementList.size()}
+                                    <br />
+                                </g:if>
+                                <span class="button">
+                                    <g:actionSubmit value="Add" action="create"  class="add"/>
+                                </span>
+                            </div>
+                        </g:form>
+
                     </richui:tabContent>
 <!-- End Inventory tab -->
