[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 Manufacturer</title> |
---|
[374] | 8 | <nav:resources override="true"/> |
---|
[116] | 9 | </head> |
---|
| 10 | <body> |
---|
| 11 | <div class="nav"> |
---|
[374] | 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:manufacturerInstance, field:'id')}</td> |
---|
| 27 | |
---|
| 28 | </tr> |
---|
| 29 | |
---|
| 30 | <tr class="prop"> |
---|
[374] | 31 | <td valign="top" class="name">Name:</td> |
---|
[116] | 32 | |
---|
[374] | 33 | <td valign="top" class="value">${fieldValue(bean:manufacturerInstance, field:'name')}</td> |
---|
[116] | 34 | |
---|
| 35 | </tr> |
---|
| 36 | |
---|
| 37 | <tr class="prop"> |
---|
[374] | 38 | <td valign="top" class="name">Description:</td> |
---|
[116] | 39 | |
---|
[374] | 40 | <td valign="top" class="value">${fieldValue(bean:manufacturerInstance, field:'description')}</td> |
---|
[116] | 41 | |
---|
| 42 | </tr> |
---|
| 43 | |
---|
| 44 | <tr class="prop"> |
---|
| 45 | <td valign="top" class="name">Is Active:</td> |
---|
| 46 | |
---|
| 47 | <td valign="top" class="value">${fieldValue(bean:manufacturerInstance, field:'isActive')}</td> |
---|
| 48 | |
---|
| 49 | </tr> |
---|
| 50 | |
---|
| 51 | <tr class="prop"> |
---|
| 52 | <td valign="top" class="name">Manufacturer Type:</td> |
---|
| 53 | |
---|
[374] | 54 | <td valign="top" class="value"><g:link controller="manufacturerTypeDetailed" action="show" id="${manufacturerInstance?.manufacturerType?.id}">${manufacturerInstance?.manufacturerType?.encodeAsHTML()}</g:link></td> |
---|
[116] | 55 | |
---|
| 56 | </tr> |
---|
[402] | 57 | |
---|
| 58 | <tr class="prop"> |
---|
| 59 | <td valign="top" class="name">Contact:</td> |
---|
| 60 | |
---|
| 61 | <td valign="top" class="value"> |
---|
| 62 | <ul> |
---|
| 63 | <g:each var="i" in="${manufacturerInstance.contacts}"> |
---|
| 64 | <li><g:link controller="contactDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> |
---|
| 65 | </g:each> |
---|
| 66 | </ul> |
---|
| 67 | </td> |
---|
| 68 | |
---|
| 69 | </tr> |
---|
| 70 | |
---|
[116] | 71 | |
---|
| 72 | <tr class="prop"> |
---|
[397] | 73 | <td valign="top" class="name">Addresses:</td> |
---|
| 74 | |
---|
| 75 | <td valign="top" class="value"> |
---|
| 76 | <ul> |
---|
| 77 | <g:each var="i" in="${manufacturerInstance.addresses}"> |
---|
| 78 | <li><g:link controller="addressDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> |
---|
| 79 | </g:each> |
---|
| 80 | </ul> |
---|
| 81 | </td> |
---|
| 82 | |
---|
| 83 | </tr> |
---|
| 84 | |
---|
| 85 | <tr class="prop"> |
---|
[374] | 86 | <td valign="top" class="name">Inventory Items:</td> |
---|
[116] | 87 | |
---|
[374] | 88 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 89 | <ul> |
---|
| 90 | <g:each var="i" in="${manufacturerInstance.inventoryItems}"> |
---|
| 91 | <li><g:link controller="inventoryItemDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> |
---|
| 92 | </g:each> |
---|
| 93 | </ul> |
---|
| 94 | </td> |
---|
[116] | 95 | |
---|
| 96 | </tr> |
---|
| 97 | |
---|
| 98 | </tbody> |
---|
| 99 | </table> |
---|
| 100 | </div> |
---|
| 101 | <div class="buttons"> |
---|
| 102 | <g:form> |
---|
| 103 | <input type="hidden" name="id" value="${manufacturerInstance?.id}" /> |
---|
| 104 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 105 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 106 | </g:form> |
---|
| 107 | </div> |
---|
| 108 | </div> |
---|
| 109 | </body> |
---|
| 110 | </html> |
---|