[116] | 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 InventoryStore</title> |
---|
[377] | 8 | <nav:resources override="true"/> |
---|
[116] | 9 | </head> |
---|
| 10 | <body> |
---|
| 11 | <div class="nav"> |
---|
[377] | 12 | <nav:renderSubItems group="navAlt"/> |
---|
[116] | 13 | </div> |
---|
| 14 | <div class="body"> |
---|
| 15 | <g:if test="${flash.message}"> |
---|
| 16 | <div class="message">${flash.message}</div> |
---|
| 17 | </g:if> |
---|
| 18 | <div class="dialog"> |
---|
| 19 | <table> |
---|
| 20 | <tbody> |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | <tr class="prop"> |
---|
| 24 | <td valign="top" class="name">Id:</td> |
---|
| 25 | |
---|
| 26 | <td valign="top" class="value">${fieldValue(bean:inventoryStoreInstance, field:'id')}</td> |
---|
| 27 | |
---|
| 28 | </tr> |
---|
| 29 | |
---|
| 30 | <tr class="prop"> |
---|
| 31 | <td valign="top" class="name">Name:</td> |
---|
| 32 | |
---|
| 33 | <td valign="top" class="value">${fieldValue(bean:inventoryStoreInstance, field:'name')}</td> |
---|
| 34 | |
---|
| 35 | </tr> |
---|
| 36 | |
---|
| 37 | <tr class="prop"> |
---|
| 38 | <td valign="top" class="name">Description:</td> |
---|
| 39 | |
---|
| 40 | <td valign="top" class="value">${fieldValue(bean:inventoryStoreInstance, field:'description')}</td> |
---|
| 41 | |
---|
| 42 | </tr> |
---|
| 43 | |
---|
| 44 | <tr class="prop"> |
---|
[377] | 45 | <td valign="top" class="name">Is Active:</td> |
---|
[116] | 46 | |
---|
[377] | 47 | <td valign="top" class="value">${fieldValue(bean:inventoryStoreInstance, field:'isActive')}</td> |
---|
[116] | 48 | |
---|
| 49 | </tr> |
---|
| 50 | |
---|
| 51 | <tr class="prop"> |
---|
[377] | 52 | <td valign="top" class="name">Site:</td> |
---|
[116] | 53 | |
---|
[377] | 54 | <td valign="top" class="value"><g:link controller="siteDetailed" action="show" id="${inventoryStoreInstance?.site?.id}">${inventoryStoreInstance?.site?.encodeAsHTML()}</g:link></td> |
---|
[116] | 55 | |
---|
| 56 | </tr> |
---|
| 57 | |
---|
| 58 | <tr class="prop"> |
---|
[377] | 59 | <td valign="top" class="name">Inventory Locations:</td> |
---|
[116] | 60 | |
---|
[377] | 61 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 62 | <ul> |
---|
| 63 | <g:each var="i" in="${inventoryStoreInstance.inventoryLocations}"> |
---|
| 64 | <li><g:link controller="inventoryLocationDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> |
---|
| 65 | </g:each> |
---|
| 66 | </ul> |
---|
| 67 | </td> |
---|
[116] | 68 | |
---|
| 69 | </tr> |
---|
| 70 | |
---|
| 71 | </tbody> |
---|
| 72 | </table> |
---|
| 73 | </div> |
---|
| 74 | <div class="buttons"> |
---|
| 75 | <g:form> |
---|
| 76 | <input type="hidden" name="id" value="${inventoryStoreInstance?.id}" /> |
---|
| 77 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 78 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 79 | </g:form> |
---|
| 80 | </div> |
---|
| 81 | </div> |
---|
| 82 | </body> |
---|
| 83 | </html> |
---|