[175] | 1 | |
---|
| 2 | |
---|
| 3 | <html> |
---|
| 4 | <head> |
---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
---|
| 6 | <meta name="layout" content="main" /> |
---|
| 7 | <title>Show InventoryMovement</title> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
| 11 | <h1>Show Inventory Movement</h1> |
---|
| 12 | </div> |
---|
| 13 | <div class="body"> |
---|
| 14 | <g:if test="${flash.message}"> |
---|
| 15 | <div class="message">${flash.message}</div> |
---|
| 16 | </g:if> |
---|
[177] | 17 | <g:hasErrors bean="${inventoryMovementInstance}"> |
---|
| 18 | <div class="errors"> |
---|
| 19 | <g:renderErrors bean="${inventoryMovementInstance}" as="list" /> |
---|
| 20 | </div> |
---|
| 21 | </g:hasErrors> |
---|
[175] | 22 | <div class="dialog"> |
---|
| 23 | <table> |
---|
| 24 | <tbody> |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | <tr class="prop"> |
---|
| 28 | <td valign="top" class="name">Id:</td> |
---|
| 29 | |
---|
| 30 | <td valign="top" class="value">${fieldValue(bean:inventoryMovementInstance, field:'id')}</td> |
---|
| 31 | |
---|
| 32 | </tr> |
---|
| 33 | |
---|
| 34 | <tr class="prop"> |
---|
| 35 | <td valign="top" class="name">Inventory Item:</td> |
---|
| 36 | |
---|
| 37 | <td valign="top" class="value"><g:link controller="inventoryItemDetailed" action="show" id="${inventoryMovementInstance?.inventoryItem?.id}">${inventoryMovementInstance?.inventoryItem?.encodeAsHTML()}</g:link></td> |
---|
| 38 | |
---|
| 39 | </tr> |
---|
| 40 | |
---|
| 41 | <tr class="prop"> |
---|
| 42 | <td valign="top" class="name">Quantity:</td> |
---|
| 43 | |
---|
[217] | 44 | <td valign="top" class="value"> |
---|
| 45 | ${fieldValue(bean:inventoryMovementInstance, field:'quantity')} |
---|
| 46 | ${inventoryMovementInstance.inventoryItem.unitOfMeasure.encodeAsHTML()} |
---|
| 47 | </td> |
---|
[175] | 48 | |
---|
| 49 | </tr> |
---|
| 50 | |
---|
| 51 | <tr class="prop"> |
---|
| 52 | <td valign="top" class="name">Movement Type:</td> |
---|
| 53 | |
---|
| 54 | <td valign="top" class="value">${inventoryMovementInstance?.inventoryMovementType?.encodeAsHTML()}</td> |
---|
| 55 | |
---|
| 56 | </tr> |
---|
| 57 | |
---|
| 58 | <tr class="prop"> |
---|
| 59 | <td valign="top" class="name">Task:</td> |
---|
| 60 | |
---|
| 61 | <td valign="top" class="value"><g:link controller="taskDetailed" action="show" id="${inventoryMovementInstance?.task?.id}">${inventoryMovementInstance?.task?.encodeAsHTML()}</g:link></td> |
---|
| 62 | |
---|
| 63 | </tr> |
---|
| 64 | |
---|
| 65 | <tr class="prop"> |
---|
| 66 | <td valign="top" class="name">Date:</td> |
---|
| 67 | |
---|
| 68 | <td valign="top" class="value"> |
---|
| 69 | <g:formatDate date="${inventoryMovementInstance?.date}" format="EEE, dd-MMM-yyyy @ HH:mm"/> |
---|
| 70 | </td> |
---|
| 71 | |
---|
| 72 | </tr> |
---|
[217] | 73 | |
---|
| 74 | <tr class="prop"> |
---|
| 75 | <td valign="top" class="name">Person:</td> |
---|
| 76 | |
---|
| 77 | <td valign="top" class="value">${inventoryMovementInstance?.person?.encodeAsHTML()}</td> |
---|
| 78 | |
---|
| 79 | </tr> |
---|
| 80 | |
---|
[175] | 81 | </tbody> |
---|
| 82 | </table> |
---|
| 83 | </div> |
---|
| 84 | <div class="buttons"> |
---|
| 85 | <g:form> |
---|
| 86 | <input type="hidden" name="id" value="${inventoryMovementInstance?.id}" /> |
---|
| 87 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 88 | </g:form> |
---|
| 89 | </div> |
---|
| 90 | </div> |
---|
| 91 | </body> |
---|
| 92 | </html> |
---|