

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>Show InventoryMovement</title>
    </head>
    <body>
        <div class="nav">
            <h1>Show Inventory Movement</h1>
        </div>
        <div class="body">
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${inventoryMovementInstance}">
            <div class="errors">
                <g:renderErrors bean="${inventoryMovementInstance}" as="list" />
            </div>
            </g:hasErrors>
            <div class="dialog">
                <table>
                    <tbody>

                    
                        <tr class="prop">
                            <td valign="top" class="name">Id:</td>
                            
                            <td valign="top" class="value">${fieldValue(bean:inventoryMovementInstance, field:'id')}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Inventory Item:</td>
                            
                            <td valign="top" class="value"><g:link controller="inventoryItemDetailed" action="show" id="${inventoryMovementInstance?.inventoryItem?.id}">${inventoryMovementInstance?.inventoryItem?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Quantity:</td>
                            
                            <td valign="top" class="value">
                                ${fieldValue(bean:inventoryMovementInstance, field:'quantity')}
                                ${inventoryMovementInstance.inventoryItem.unitOfMeasure.encodeAsHTML()}
                            </td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Movement Type:</td>
                            
                            <td valign="top" class="value">${inventoryMovementInstance?.inventoryMovementType?.encodeAsHTML()}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Task:</td>
                            
                            <td valign="top" class="value"><g:link controller="taskDetailed" action="show" id="${inventoryMovementInstance?.task?.id}">${inventoryMovementInstance?.task?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Date:</td>
                            
                            <td valign="top" class="value">
                                <g:formatDate date="${inventoryMovementInstance?.date}" format="EEE, dd-MMM-yyyy @ HH:mm"/>
                            </td>
                            
                        </tr>

                         <tr class="prop">
                            <td valign="top" class="name">Person:</td>

                            <td valign="top" class="value">${inventoryMovementInstance?.person?.encodeAsHTML()}</td>

                        </tr>

                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <input type="hidden" name="id" value="${inventoryMovementInstance?.id}" />
                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
                </g:form>
            </div>
        </div>
    </body>
</html>
